react-audio-wavekit 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/_virtual/_commonjsHelpers.cjs +6 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/browser.cjs +7 -0
- package/dist/_virtual/browser.js +7 -0
- package/dist/index.d.ts +4 -2
- package/dist/node_modules/@eshaz/web-worker/cjs/browser.cjs +11 -0
- package/dist/node_modules/@eshaz/web-worker/cjs/browser.js +11 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.cjs +168 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.js +168 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.cjs +90 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.js +90 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/utilities.cjs +6 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/utilities.js +6 -0
- package/dist/node_modules/mpg123-decoder/index.cjs +9 -0
- package/dist/node_modules/mpg123-decoder/index.js +9 -0
- package/dist/node_modules/mpg123-decoder/src/EmscriptenWasm.cjs +0 -0
- package/dist/node_modules/mpg123-decoder/src/EmscriptenWasm.js +0 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoder.cjs +147 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoder.js +147 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoderWebWorker.cjs +20 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoderWebWorker.js +20 -0
- package/dist/node_modules/simple-yenc/dist/esm.cjs +41 -0
- package/dist/node_modules/simple-yenc/dist/esm.js +41 -0
- package/dist/waveform/index.cjs +13 -11
- package/dist/waveform/index.js +13 -11
- package/dist/waveform/util-audio-decoder.cjs +36 -18
- package/dist/waveform/util-audio-decoder.js +36 -18
- package/package.json +3 -3
- package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.cjs +0 -137
- package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.js +0 -137
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.cjs +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.js +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.cjs +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.js +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.cjs +0 -12
- package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.js +0 -12
- package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.cjs +0 -8
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.js +0 -8
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.cjs +0 -11
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.js +0 -11
- package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.cjs +0 -11
- package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.js +0 -11
- package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.cjs +0 -8
- package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.js +0 -8
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/constants.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/constants.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.cjs +0 -115
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.js +0 -115
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.cjs +0 -60
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.js +0 -60
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.cjs +0 -73
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.js +0 -73
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.cjs +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.js +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.cjs +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.js +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.cjs +0 -103
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.js +0 -103
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.cjs +0 -58
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.js +0 -58
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.cjs +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.js +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.cjs +0 -220
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.js +0 -220
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.cjs +0 -274
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.js +0 -274
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.cjs +0 -152
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.js +0 -152
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.cjs +0 -83
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.js +0 -83
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.cjs +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.js +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.cjs +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.js +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.cjs +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.js +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.cjs +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.js +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.cjs +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.js +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.cjs +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.js +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.cjs +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.js +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.cjs +0 -53
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.js +0 -53
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.cjs +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.js +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.cjs +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.js +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.cjs +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.js +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.cjs +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.js +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.cjs +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.js +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.cjs +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.js +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.cjs +0 -80
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.js +0 -80
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.cjs +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.js +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.cjs +0 -45
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.js +0 -45
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.cjs +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.js +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.cjs +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.js +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.cjs +0 -39
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.js +0 -39
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.cjs +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.js +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.cjs +0 -93
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.js +0 -93
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.cjs +0 -43
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.js +0 -43
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.cjs +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.js +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.cjs +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.js +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.cjs +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.js +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.cjs +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.js +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.cjs +0 -88
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.js +0 -88
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.cjs +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.js +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.cjs +0 -23
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.js +0 -23
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.cjs +0 -139
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.js +0 -139
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.cjs +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.js +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.cjs +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.js +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.cjs +0 -277
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.js +0 -277
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.cjs +0 -28
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.js +0 -28
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.cjs +0 -244
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.js +0 -244
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.cjs +0 -48
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.js +0 -48
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.cjs +0 -153
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.js +0 -153
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.cjs +0 -71
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.js +0 -71
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.cjs +0 -90
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.js +0 -90
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.cjs +0 -62
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.js +0 -62
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.cjs +0 -109
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.js +0 -109
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.cjs +0 -166
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.js +0 -166
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.cjs +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.js +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.cjs +0 -44
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.js +0 -44
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.cjs +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.js +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.cjs +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.js +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.cjs +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.js +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.cjs +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.js +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.cjs +0 -33
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.js +0 -33
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.cjs +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.js +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/globals.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/globals.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.cjs +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.js +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.cjs +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.js +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.cjs +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.js +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.cjs +0 -5
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.js +0 -5
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.cjs +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.js +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.cjs +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.js +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.cjs +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.js +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.cjs +0 -61
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.js +0 -61
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.cjs +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.js +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.cjs +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.js +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/module.cjs +0 -298
- package/dist/node_modules/standardized-audio-context/build/es2019/module.js +0 -298
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { isOwnedByContext } from "../helpers/is-owned-by-context.js";
|
|
2
|
-
const createConstantSourceNodeRendererFactory = (connectAudioParam, createNativeConstantSourceNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
|
|
3
|
-
return () => {
|
|
4
|
-
const renderedNativeConstantSourceNodes = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
let start = null;
|
|
6
|
-
let stop = null;
|
|
7
|
-
const createConstantSourceNode = async (proxy, nativeOfflineAudioContext) => {
|
|
8
|
-
let nativeConstantSourceNode = getNativeAudioNode(proxy);
|
|
9
|
-
const nativeConstantSourceNodeIsOwnedByContext = isOwnedByContext(nativeConstantSourceNode, nativeOfflineAudioContext);
|
|
10
|
-
if (!nativeConstantSourceNodeIsOwnedByContext) {
|
|
11
|
-
const options = {
|
|
12
|
-
channelCount: nativeConstantSourceNode.channelCount,
|
|
13
|
-
channelCountMode: nativeConstantSourceNode.channelCountMode,
|
|
14
|
-
channelInterpretation: nativeConstantSourceNode.channelInterpretation,
|
|
15
|
-
offset: nativeConstantSourceNode.offset.value
|
|
16
|
-
};
|
|
17
|
-
nativeConstantSourceNode = createNativeConstantSourceNode(nativeOfflineAudioContext, options);
|
|
18
|
-
if (start !== null) {
|
|
19
|
-
nativeConstantSourceNode.start(start);
|
|
20
|
-
}
|
|
21
|
-
if (stop !== null) {
|
|
22
|
-
nativeConstantSourceNode.stop(stop);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
renderedNativeConstantSourceNodes.set(nativeOfflineAudioContext, nativeConstantSourceNode);
|
|
26
|
-
if (!nativeConstantSourceNodeIsOwnedByContext) {
|
|
27
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.offset, nativeConstantSourceNode.offset);
|
|
28
|
-
} else {
|
|
29
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.offset, nativeConstantSourceNode.offset);
|
|
30
|
-
}
|
|
31
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeConstantSourceNode);
|
|
32
|
-
return nativeConstantSourceNode;
|
|
33
|
-
};
|
|
34
|
-
return {
|
|
35
|
-
set start(value) {
|
|
36
|
-
start = value;
|
|
37
|
-
},
|
|
38
|
-
set stop(value) {
|
|
39
|
-
stop = value;
|
|
40
|
-
},
|
|
41
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
42
|
-
const renderedNativeConstantSourceNode = renderedNativeConstantSourceNodes.get(nativeOfflineAudioContext);
|
|
43
|
-
if (renderedNativeConstantSourceNode !== void 0) {
|
|
44
|
-
return Promise.resolve(renderedNativeConstantSourceNode);
|
|
45
|
-
}
|
|
46
|
-
return createConstantSourceNode(proxy, nativeOfflineAudioContext);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export {
|
|
52
|
-
createConstantSourceNodeRendererFactory
|
|
53
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createConvertNumberToUnsignedLong = (unit32Array) => {
|
|
4
|
-
return (value) => {
|
|
5
|
-
unit32Array[0] = value;
|
|
6
|
-
return unit32Array[0];
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
exports.createConvertNumberToUnsignedLong = createConvertNumberToUnsignedLong;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const DEFAULT_OPTIONS = {
|
|
4
|
-
buffer: null,
|
|
5
|
-
channelCount: 2,
|
|
6
|
-
channelCountMode: "clamped-max",
|
|
7
|
-
channelInterpretation: "speakers",
|
|
8
|
-
disableNormalization: false
|
|
9
|
-
};
|
|
10
|
-
const createConvolverNodeConstructor = (audioNodeConstructor, createConvolverNodeRenderer, createNativeConvolverNode, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
11
|
-
return class ConvolverNode extends audioNodeConstructor {
|
|
12
|
-
constructor(context, options) {
|
|
13
|
-
const nativeContext = getNativeContext(context);
|
|
14
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
15
|
-
const nativeConvolverNode = createNativeConvolverNode(nativeContext, mergedOptions);
|
|
16
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
17
|
-
const convolverNodeRenderer = isOffline ? createConvolverNodeRenderer() : null;
|
|
18
|
-
super(context, false, nativeConvolverNode, convolverNodeRenderer);
|
|
19
|
-
this._isBufferNullified = false;
|
|
20
|
-
this._nativeConvolverNode = nativeConvolverNode;
|
|
21
|
-
if (mergedOptions.buffer !== null) {
|
|
22
|
-
setAudioNodeTailTime(this, mergedOptions.buffer.duration);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
get buffer() {
|
|
26
|
-
if (this._isBufferNullified) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
return this._nativeConvolverNode.buffer;
|
|
30
|
-
}
|
|
31
|
-
set buffer(value) {
|
|
32
|
-
this._nativeConvolverNode.buffer = value;
|
|
33
|
-
if (value === null && this._nativeConvolverNode.buffer !== null) {
|
|
34
|
-
const nativeContext = this._nativeConvolverNode.context;
|
|
35
|
-
this._nativeConvolverNode.buffer = nativeContext.createBuffer(1, 1, nativeContext.sampleRate);
|
|
36
|
-
this._isBufferNullified = true;
|
|
37
|
-
setAudioNodeTailTime(this, 0);
|
|
38
|
-
} else {
|
|
39
|
-
this._isBufferNullified = false;
|
|
40
|
-
setAudioNodeTailTime(this, this._nativeConvolverNode.buffer === null ? 0 : this._nativeConvolverNode.buffer.duration);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
get normalize() {
|
|
44
|
-
return this._nativeConvolverNode.normalize;
|
|
45
|
-
}
|
|
46
|
-
set normalize(value) {
|
|
47
|
-
this._nativeConvolverNode.normalize = value;
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
exports.createConvolverNodeConstructor = createConvolverNodeConstructor;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
const DEFAULT_OPTIONS = {
|
|
2
|
-
buffer: null,
|
|
3
|
-
channelCount: 2,
|
|
4
|
-
channelCountMode: "clamped-max",
|
|
5
|
-
channelInterpretation: "speakers",
|
|
6
|
-
disableNormalization: false
|
|
7
|
-
};
|
|
8
|
-
const createConvolverNodeConstructor = (audioNodeConstructor, createConvolverNodeRenderer, createNativeConvolverNode, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
9
|
-
return class ConvolverNode extends audioNodeConstructor {
|
|
10
|
-
constructor(context, options) {
|
|
11
|
-
const nativeContext = getNativeContext(context);
|
|
12
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
13
|
-
const nativeConvolverNode = createNativeConvolverNode(nativeContext, mergedOptions);
|
|
14
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
15
|
-
const convolverNodeRenderer = isOffline ? createConvolverNodeRenderer() : null;
|
|
16
|
-
super(context, false, nativeConvolverNode, convolverNodeRenderer);
|
|
17
|
-
this._isBufferNullified = false;
|
|
18
|
-
this._nativeConvolverNode = nativeConvolverNode;
|
|
19
|
-
if (mergedOptions.buffer !== null) {
|
|
20
|
-
setAudioNodeTailTime(this, mergedOptions.buffer.duration);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
get buffer() {
|
|
24
|
-
if (this._isBufferNullified) {
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
return this._nativeConvolverNode.buffer;
|
|
28
|
-
}
|
|
29
|
-
set buffer(value) {
|
|
30
|
-
this._nativeConvolverNode.buffer = value;
|
|
31
|
-
if (value === null && this._nativeConvolverNode.buffer !== null) {
|
|
32
|
-
const nativeContext = this._nativeConvolverNode.context;
|
|
33
|
-
this._nativeConvolverNode.buffer = nativeContext.createBuffer(1, 1, nativeContext.sampleRate);
|
|
34
|
-
this._isBufferNullified = true;
|
|
35
|
-
setAudioNodeTailTime(this, 0);
|
|
36
|
-
} else {
|
|
37
|
-
this._isBufferNullified = false;
|
|
38
|
-
setAudioNodeTailTime(this, this._nativeConvolverNode.buffer === null ? 0 : this._nativeConvolverNode.buffer.duration);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
get normalize() {
|
|
42
|
-
return this._nativeConvolverNode.normalize;
|
|
43
|
-
}
|
|
44
|
-
set normalize(value) {
|
|
45
|
-
this._nativeConvolverNode.normalize = value;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
createConvolverNodeConstructor
|
|
51
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const nativeAudioNodeFaker = require("../guards/native-audio-node-faker.cjs");
|
|
4
|
-
const isOwnedByContext = require("../helpers/is-owned-by-context.cjs");
|
|
5
|
-
const createConvolverNodeRendererFactory = (createNativeConvolverNode, getNativeAudioNode, renderInputsOfAudioNode) => {
|
|
6
|
-
return () => {
|
|
7
|
-
const renderedNativeConvolverNodes = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
const createConvolverNode = async (proxy, nativeOfflineAudioContext) => {
|
|
9
|
-
let nativeConvolverNode = getNativeAudioNode(proxy);
|
|
10
|
-
const nativeConvolverNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeConvolverNode, nativeOfflineAudioContext);
|
|
11
|
-
if (!nativeConvolverNodeIsOwnedByContext) {
|
|
12
|
-
const options = {
|
|
13
|
-
buffer: nativeConvolverNode.buffer,
|
|
14
|
-
channelCount: nativeConvolverNode.channelCount,
|
|
15
|
-
channelCountMode: nativeConvolverNode.channelCountMode,
|
|
16
|
-
channelInterpretation: nativeConvolverNode.channelInterpretation,
|
|
17
|
-
disableNormalization: !nativeConvolverNode.normalize
|
|
18
|
-
};
|
|
19
|
-
nativeConvolverNode = createNativeConvolverNode(nativeOfflineAudioContext, options);
|
|
20
|
-
}
|
|
21
|
-
renderedNativeConvolverNodes.set(nativeOfflineAudioContext, nativeConvolverNode);
|
|
22
|
-
if (nativeAudioNodeFaker.isNativeAudioNodeFaker(nativeConvolverNode)) {
|
|
23
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeConvolverNode.inputs[0]);
|
|
24
|
-
} else {
|
|
25
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeConvolverNode);
|
|
26
|
-
}
|
|
27
|
-
return nativeConvolverNode;
|
|
28
|
-
};
|
|
29
|
-
return {
|
|
30
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
31
|
-
const renderedNativeConvolverNode = renderedNativeConvolverNodes.get(nativeOfflineAudioContext);
|
|
32
|
-
if (renderedNativeConvolverNode !== void 0) {
|
|
33
|
-
return Promise.resolve(renderedNativeConvolverNode);
|
|
34
|
-
}
|
|
35
|
-
return createConvolverNode(proxy, nativeOfflineAudioContext);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
exports.createConvolverNodeRendererFactory = createConvolverNodeRendererFactory;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { isNativeAudioNodeFaker } from "../guards/native-audio-node-faker.js";
|
|
2
|
-
import { isOwnedByContext } from "../helpers/is-owned-by-context.js";
|
|
3
|
-
const createConvolverNodeRendererFactory = (createNativeConvolverNode, getNativeAudioNode, renderInputsOfAudioNode) => {
|
|
4
|
-
return () => {
|
|
5
|
-
const renderedNativeConvolverNodes = /* @__PURE__ */ new WeakMap();
|
|
6
|
-
const createConvolverNode = async (proxy, nativeOfflineAudioContext) => {
|
|
7
|
-
let nativeConvolverNode = getNativeAudioNode(proxy);
|
|
8
|
-
const nativeConvolverNodeIsOwnedByContext = isOwnedByContext(nativeConvolverNode, nativeOfflineAudioContext);
|
|
9
|
-
if (!nativeConvolverNodeIsOwnedByContext) {
|
|
10
|
-
const options = {
|
|
11
|
-
buffer: nativeConvolverNode.buffer,
|
|
12
|
-
channelCount: nativeConvolverNode.channelCount,
|
|
13
|
-
channelCountMode: nativeConvolverNode.channelCountMode,
|
|
14
|
-
channelInterpretation: nativeConvolverNode.channelInterpretation,
|
|
15
|
-
disableNormalization: !nativeConvolverNode.normalize
|
|
16
|
-
};
|
|
17
|
-
nativeConvolverNode = createNativeConvolverNode(nativeOfflineAudioContext, options);
|
|
18
|
-
}
|
|
19
|
-
renderedNativeConvolverNodes.set(nativeOfflineAudioContext, nativeConvolverNode);
|
|
20
|
-
if (isNativeAudioNodeFaker(nativeConvolverNode)) {
|
|
21
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeConvolverNode.inputs[0]);
|
|
22
|
-
} else {
|
|
23
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeConvolverNode);
|
|
24
|
-
}
|
|
25
|
-
return nativeConvolverNode;
|
|
26
|
-
};
|
|
27
|
-
return {
|
|
28
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
29
|
-
const renderedNativeConvolverNode = renderedNativeConvolverNodes.get(nativeOfflineAudioContext);
|
|
30
|
-
if (renderedNativeConvolverNode !== void 0) {
|
|
31
|
-
return Promise.resolve(renderedNativeConvolverNode);
|
|
32
|
-
}
|
|
33
|
-
return createConvolverNode(proxy, nativeOfflineAudioContext);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
createConvolverNodeRendererFactory
|
|
40
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createCreateNativeOfflineAudioContext = (createNotSupportedError, nativeOfflineAudioContextConstructor) => {
|
|
4
|
-
return (numberOfChannels, length, sampleRate) => {
|
|
5
|
-
if (nativeOfflineAudioContextConstructor === null) {
|
|
6
|
-
throw new Error("Missing the native OfflineAudioContext constructor.");
|
|
7
|
-
}
|
|
8
|
-
try {
|
|
9
|
-
return new nativeOfflineAudioContextConstructor(numberOfChannels, length, sampleRate);
|
|
10
|
-
} catch (err) {
|
|
11
|
-
if (err.name === "SyntaxError") {
|
|
12
|
-
throw createNotSupportedError();
|
|
13
|
-
}
|
|
14
|
-
throw err;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
exports.createCreateNativeOfflineAudioContext = createCreateNativeOfflineAudioContext;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const createCreateNativeOfflineAudioContext = (createNotSupportedError, nativeOfflineAudioContextConstructor) => {
|
|
2
|
-
return (numberOfChannels, length, sampleRate) => {
|
|
3
|
-
if (nativeOfflineAudioContextConstructor === null) {
|
|
4
|
-
throw new Error("Missing the native OfflineAudioContext constructor.");
|
|
5
|
-
}
|
|
6
|
-
try {
|
|
7
|
-
return new nativeOfflineAudioContextConstructor(numberOfChannels, length, sampleRate);
|
|
8
|
-
} catch (err) {
|
|
9
|
-
if (err.name === "SyntaxError") {
|
|
10
|
-
throw createNotSupportedError();
|
|
11
|
-
}
|
|
12
|
-
throw err;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
createCreateNativeOfflineAudioContext
|
|
18
|
-
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.cjs
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const detachArrayBuffer = require("../helpers/detach-array-buffer.cjs");
|
|
4
|
-
const wrapAudioBufferGetChannelDataMethod = require("../helpers/wrap-audio-buffer-get-channel-data-method.cjs");
|
|
5
|
-
const createDecodeAudioData = (audioBufferStore, cacheTestResult, createDataCloneError, createEncodingError, detachedArrayBuffers, getNativeContext, isNativeContext, testAudioBufferCopyChannelMethodsOutOfBoundsSupport, testPromiseSupport, wrapAudioBufferCopyChannelMethods, wrapAudioBufferCopyChannelMethodsOutOfBounds) => {
|
|
6
|
-
return (anyContext, audioData) => {
|
|
7
|
-
const nativeContext = isNativeContext(anyContext) ? anyContext : getNativeContext(anyContext);
|
|
8
|
-
if (detachedArrayBuffers.has(audioData)) {
|
|
9
|
-
const err = createDataCloneError();
|
|
10
|
-
return Promise.reject(err);
|
|
11
|
-
}
|
|
12
|
-
try {
|
|
13
|
-
detachedArrayBuffers.add(audioData);
|
|
14
|
-
} catch {
|
|
15
|
-
}
|
|
16
|
-
if (cacheTestResult(testPromiseSupport, () => testPromiseSupport(nativeContext))) {
|
|
17
|
-
return nativeContext.decodeAudioData(audioData).then((audioBuffer) => {
|
|
18
|
-
detachArrayBuffer.detachArrayBuffer(audioData).catch(() => {
|
|
19
|
-
});
|
|
20
|
-
if (!cacheTestResult(testAudioBufferCopyChannelMethodsOutOfBoundsSupport, () => testAudioBufferCopyChannelMethodsOutOfBoundsSupport(audioBuffer))) {
|
|
21
|
-
wrapAudioBufferCopyChannelMethodsOutOfBounds(audioBuffer);
|
|
22
|
-
}
|
|
23
|
-
audioBufferStore.add(audioBuffer);
|
|
24
|
-
return audioBuffer;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return new Promise((resolve, reject) => {
|
|
28
|
-
const complete = async () => {
|
|
29
|
-
try {
|
|
30
|
-
await detachArrayBuffer.detachArrayBuffer(audioData);
|
|
31
|
-
} catch {
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const fail = (err) => {
|
|
35
|
-
reject(err);
|
|
36
|
-
complete();
|
|
37
|
-
};
|
|
38
|
-
try {
|
|
39
|
-
nativeContext.decodeAudioData(audioData, (audioBuffer) => {
|
|
40
|
-
if (typeof audioBuffer.copyFromChannel !== "function") {
|
|
41
|
-
wrapAudioBufferCopyChannelMethods(audioBuffer);
|
|
42
|
-
wrapAudioBufferGetChannelDataMethod.wrapAudioBufferGetChannelDataMethod(audioBuffer);
|
|
43
|
-
}
|
|
44
|
-
audioBufferStore.add(audioBuffer);
|
|
45
|
-
complete().then(() => resolve(audioBuffer));
|
|
46
|
-
}, (err) => {
|
|
47
|
-
if (err === null) {
|
|
48
|
-
fail(createEncodingError());
|
|
49
|
-
} else {
|
|
50
|
-
fail(err);
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
} catch (err) {
|
|
54
|
-
fail(err);
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
exports.createDecodeAudioData = createDecodeAudioData;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { detachArrayBuffer } from "../helpers/detach-array-buffer.js";
|
|
2
|
-
import { wrapAudioBufferGetChannelDataMethod } from "../helpers/wrap-audio-buffer-get-channel-data-method.js";
|
|
3
|
-
const createDecodeAudioData = (audioBufferStore, cacheTestResult, createDataCloneError, createEncodingError, detachedArrayBuffers, getNativeContext, isNativeContext, testAudioBufferCopyChannelMethodsOutOfBoundsSupport, testPromiseSupport, wrapAudioBufferCopyChannelMethods, wrapAudioBufferCopyChannelMethodsOutOfBounds) => {
|
|
4
|
-
return (anyContext, audioData) => {
|
|
5
|
-
const nativeContext = isNativeContext(anyContext) ? anyContext : getNativeContext(anyContext);
|
|
6
|
-
if (detachedArrayBuffers.has(audioData)) {
|
|
7
|
-
const err = createDataCloneError();
|
|
8
|
-
return Promise.reject(err);
|
|
9
|
-
}
|
|
10
|
-
try {
|
|
11
|
-
detachedArrayBuffers.add(audioData);
|
|
12
|
-
} catch {
|
|
13
|
-
}
|
|
14
|
-
if (cacheTestResult(testPromiseSupport, () => testPromiseSupport(nativeContext))) {
|
|
15
|
-
return nativeContext.decodeAudioData(audioData).then((audioBuffer) => {
|
|
16
|
-
detachArrayBuffer(audioData).catch(() => {
|
|
17
|
-
});
|
|
18
|
-
if (!cacheTestResult(testAudioBufferCopyChannelMethodsOutOfBoundsSupport, () => testAudioBufferCopyChannelMethodsOutOfBoundsSupport(audioBuffer))) {
|
|
19
|
-
wrapAudioBufferCopyChannelMethodsOutOfBounds(audioBuffer);
|
|
20
|
-
}
|
|
21
|
-
audioBufferStore.add(audioBuffer);
|
|
22
|
-
return audioBuffer;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
return new Promise((resolve, reject) => {
|
|
26
|
-
const complete = async () => {
|
|
27
|
-
try {
|
|
28
|
-
await detachArrayBuffer(audioData);
|
|
29
|
-
} catch {
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const fail = (err) => {
|
|
33
|
-
reject(err);
|
|
34
|
-
complete();
|
|
35
|
-
};
|
|
36
|
-
try {
|
|
37
|
-
nativeContext.decodeAudioData(audioData, (audioBuffer) => {
|
|
38
|
-
if (typeof audioBuffer.copyFromChannel !== "function") {
|
|
39
|
-
wrapAudioBufferCopyChannelMethods(audioBuffer);
|
|
40
|
-
wrapAudioBufferGetChannelDataMethod(audioBuffer);
|
|
41
|
-
}
|
|
42
|
-
audioBufferStore.add(audioBuffer);
|
|
43
|
-
complete().then(() => resolve(audioBuffer));
|
|
44
|
-
}, (err) => {
|
|
45
|
-
if (err === null) {
|
|
46
|
-
fail(createEncodingError());
|
|
47
|
-
} else {
|
|
48
|
-
fail(err);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
} catch (err) {
|
|
52
|
-
fail(err);
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
export {
|
|
58
|
-
createDecodeAudioData
|
|
59
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const audioNodeOutputConnection = require("../guards/audio-node-output-connection.cjs");
|
|
4
|
-
const createDecrementCycleCounter = (connectNativeAudioNodeToNativeAudioNode, cycleCounters, getAudioNodeConnections, getNativeAudioNode, getNativeAudioParam, getNativeContext, isActiveAudioNode, isNativeOfflineAudioContext) => {
|
|
5
|
-
return (audioNode, count) => {
|
|
6
|
-
const cycleCounter = cycleCounters.get(audioNode);
|
|
7
|
-
if (cycleCounter === void 0) {
|
|
8
|
-
throw new Error("Missing the expected cycle count.");
|
|
9
|
-
}
|
|
10
|
-
const nativeContext = getNativeContext(audioNode.context);
|
|
11
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
12
|
-
if (cycleCounter === count) {
|
|
13
|
-
cycleCounters.delete(audioNode);
|
|
14
|
-
if (!isOffline && isActiveAudioNode(audioNode)) {
|
|
15
|
-
const nativeSourceAudioNode = getNativeAudioNode(audioNode);
|
|
16
|
-
const { outputs } = getAudioNodeConnections(audioNode);
|
|
17
|
-
for (const output of outputs) {
|
|
18
|
-
if (audioNodeOutputConnection.isAudioNodeOutputConnection(output)) {
|
|
19
|
-
const nativeDestinationAudioNode = getNativeAudioNode(output[0]);
|
|
20
|
-
connectNativeAudioNodeToNativeAudioNode(nativeSourceAudioNode, nativeDestinationAudioNode, output[1], output[2]);
|
|
21
|
-
} else {
|
|
22
|
-
const nativeDestinationAudioParam = getNativeAudioParam(output[0]);
|
|
23
|
-
nativeSourceAudioNode.connect(nativeDestinationAudioParam, output[1]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
} else {
|
|
28
|
-
cycleCounters.set(audioNode, cycleCounter - count);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
exports.createDecrementCycleCounter = createDecrementCycleCounter;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { isAudioNodeOutputConnection } from "../guards/audio-node-output-connection.js";
|
|
2
|
-
const createDecrementCycleCounter = (connectNativeAudioNodeToNativeAudioNode, cycleCounters, getAudioNodeConnections, getNativeAudioNode, getNativeAudioParam, getNativeContext, isActiveAudioNode, isNativeOfflineAudioContext) => {
|
|
3
|
-
return (audioNode, count) => {
|
|
4
|
-
const cycleCounter = cycleCounters.get(audioNode);
|
|
5
|
-
if (cycleCounter === void 0) {
|
|
6
|
-
throw new Error("Missing the expected cycle count.");
|
|
7
|
-
}
|
|
8
|
-
const nativeContext = getNativeContext(audioNode.context);
|
|
9
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
10
|
-
if (cycleCounter === count) {
|
|
11
|
-
cycleCounters.delete(audioNode);
|
|
12
|
-
if (!isOffline && isActiveAudioNode(audioNode)) {
|
|
13
|
-
const nativeSourceAudioNode = getNativeAudioNode(audioNode);
|
|
14
|
-
const { outputs } = getAudioNodeConnections(audioNode);
|
|
15
|
-
for (const output of outputs) {
|
|
16
|
-
if (isAudioNodeOutputConnection(output)) {
|
|
17
|
-
const nativeDestinationAudioNode = getNativeAudioNode(output[0]);
|
|
18
|
-
connectNativeAudioNodeToNativeAudioNode(nativeSourceAudioNode, nativeDestinationAudioNode, output[1], output[2]);
|
|
19
|
-
} else {
|
|
20
|
-
const nativeDestinationAudioParam = getNativeAudioParam(output[0]);
|
|
21
|
-
nativeSourceAudioNode.connect(nativeDestinationAudioParam, output[1]);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
} else {
|
|
26
|
-
cycleCounters.set(audioNode, cycleCounter - count);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export {
|
|
31
|
-
createDecrementCycleCounter
|
|
32
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const DEFAULT_OPTIONS = {
|
|
4
|
-
channelCount: 2,
|
|
5
|
-
channelCountMode: "max",
|
|
6
|
-
channelInterpretation: "speakers",
|
|
7
|
-
delayTime: 0,
|
|
8
|
-
maxDelayTime: 1
|
|
9
|
-
};
|
|
10
|
-
const createDelayNodeConstructor = (audioNodeConstructor, createAudioParam, createDelayNodeRenderer, createNativeDelayNode, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
11
|
-
return class DelayNode extends audioNodeConstructor {
|
|
12
|
-
constructor(context, options) {
|
|
13
|
-
const nativeContext = getNativeContext(context);
|
|
14
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
15
|
-
const nativeDelayNode = createNativeDelayNode(nativeContext, mergedOptions);
|
|
16
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
17
|
-
const delayNodeRenderer = isOffline ? createDelayNodeRenderer(mergedOptions.maxDelayTime) : null;
|
|
18
|
-
super(context, false, nativeDelayNode, delayNodeRenderer);
|
|
19
|
-
this._delayTime = createAudioParam(this, isOffline, nativeDelayNode.delayTime);
|
|
20
|
-
setAudioNodeTailTime(this, mergedOptions.maxDelayTime);
|
|
21
|
-
}
|
|
22
|
-
get delayTime() {
|
|
23
|
-
return this._delayTime;
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
exports.createDelayNodeConstructor = createDelayNodeConstructor;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
const DEFAULT_OPTIONS = {
|
|
2
|
-
channelCount: 2,
|
|
3
|
-
channelCountMode: "max",
|
|
4
|
-
channelInterpretation: "speakers",
|
|
5
|
-
delayTime: 0,
|
|
6
|
-
maxDelayTime: 1
|
|
7
|
-
};
|
|
8
|
-
const createDelayNodeConstructor = (audioNodeConstructor, createAudioParam, createDelayNodeRenderer, createNativeDelayNode, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
9
|
-
return class DelayNode extends audioNodeConstructor {
|
|
10
|
-
constructor(context, options) {
|
|
11
|
-
const nativeContext = getNativeContext(context);
|
|
12
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
13
|
-
const nativeDelayNode = createNativeDelayNode(nativeContext, mergedOptions);
|
|
14
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
15
|
-
const delayNodeRenderer = isOffline ? createDelayNodeRenderer(mergedOptions.maxDelayTime) : null;
|
|
16
|
-
super(context, false, nativeDelayNode, delayNodeRenderer);
|
|
17
|
-
this._delayTime = createAudioParam(this, isOffline, nativeDelayNode.delayTime);
|
|
18
|
-
setAudioNodeTailTime(this, mergedOptions.maxDelayTime);
|
|
19
|
-
}
|
|
20
|
-
get delayTime() {
|
|
21
|
-
return this._delayTime;
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export {
|
|
26
|
-
createDelayNodeConstructor
|
|
27
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const isOwnedByContext = require("../helpers/is-owned-by-context.cjs");
|
|
4
|
-
const createDelayNodeRendererFactory = (connectAudioParam, createNativeDelayNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
|
|
5
|
-
return (maxDelayTime) => {
|
|
6
|
-
const renderedNativeDelayNodes = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
const createDelayNode = async (proxy, nativeOfflineAudioContext) => {
|
|
8
|
-
let nativeDelayNode = getNativeAudioNode(proxy);
|
|
9
|
-
const nativeDelayNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeDelayNode, nativeOfflineAudioContext);
|
|
10
|
-
if (!nativeDelayNodeIsOwnedByContext) {
|
|
11
|
-
const options = {
|
|
12
|
-
channelCount: nativeDelayNode.channelCount,
|
|
13
|
-
channelCountMode: nativeDelayNode.channelCountMode,
|
|
14
|
-
channelInterpretation: nativeDelayNode.channelInterpretation,
|
|
15
|
-
delayTime: nativeDelayNode.delayTime.value,
|
|
16
|
-
maxDelayTime
|
|
17
|
-
};
|
|
18
|
-
nativeDelayNode = createNativeDelayNode(nativeOfflineAudioContext, options);
|
|
19
|
-
}
|
|
20
|
-
renderedNativeDelayNodes.set(nativeOfflineAudioContext, nativeDelayNode);
|
|
21
|
-
if (!nativeDelayNodeIsOwnedByContext) {
|
|
22
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.delayTime, nativeDelayNode.delayTime);
|
|
23
|
-
} else {
|
|
24
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.delayTime, nativeDelayNode.delayTime);
|
|
25
|
-
}
|
|
26
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeDelayNode);
|
|
27
|
-
return nativeDelayNode;
|
|
28
|
-
};
|
|
29
|
-
return {
|
|
30
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
31
|
-
const renderedNativeDelayNode = renderedNativeDelayNodes.get(nativeOfflineAudioContext);
|
|
32
|
-
if (renderedNativeDelayNode !== void 0) {
|
|
33
|
-
return Promise.resolve(renderedNativeDelayNode);
|
|
34
|
-
}
|
|
35
|
-
return createDelayNode(proxy, nativeOfflineAudioContext);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
exports.createDelayNodeRendererFactory = createDelayNodeRendererFactory;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { isOwnedByContext } from "../helpers/is-owned-by-context.js";
|
|
2
|
-
const createDelayNodeRendererFactory = (connectAudioParam, createNativeDelayNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
|
|
3
|
-
return (maxDelayTime) => {
|
|
4
|
-
const renderedNativeDelayNodes = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
const createDelayNode = async (proxy, nativeOfflineAudioContext) => {
|
|
6
|
-
let nativeDelayNode = getNativeAudioNode(proxy);
|
|
7
|
-
const nativeDelayNodeIsOwnedByContext = isOwnedByContext(nativeDelayNode, nativeOfflineAudioContext);
|
|
8
|
-
if (!nativeDelayNodeIsOwnedByContext) {
|
|
9
|
-
const options = {
|
|
10
|
-
channelCount: nativeDelayNode.channelCount,
|
|
11
|
-
channelCountMode: nativeDelayNode.channelCountMode,
|
|
12
|
-
channelInterpretation: nativeDelayNode.channelInterpretation,
|
|
13
|
-
delayTime: nativeDelayNode.delayTime.value,
|
|
14
|
-
maxDelayTime
|
|
15
|
-
};
|
|
16
|
-
nativeDelayNode = createNativeDelayNode(nativeOfflineAudioContext, options);
|
|
17
|
-
}
|
|
18
|
-
renderedNativeDelayNodes.set(nativeOfflineAudioContext, nativeDelayNode);
|
|
19
|
-
if (!nativeDelayNodeIsOwnedByContext) {
|
|
20
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.delayTime, nativeDelayNode.delayTime);
|
|
21
|
-
} else {
|
|
22
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.delayTime, nativeDelayNode.delayTime);
|
|
23
|
-
}
|
|
24
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeDelayNode);
|
|
25
|
-
return nativeDelayNode;
|
|
26
|
-
};
|
|
27
|
-
return {
|
|
28
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
29
|
-
const renderedNativeDelayNode = renderedNativeDelayNodes.get(nativeOfflineAudioContext);
|
|
30
|
-
if (renderedNativeDelayNode !== void 0) {
|
|
31
|
-
return Promise.resolve(renderedNativeDelayNode);
|
|
32
|
-
}
|
|
33
|
-
return createDelayNode(proxy, nativeOfflineAudioContext);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
createDelayNodeRendererFactory
|
|
40
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createDeleteActiveInputConnectionToAudioNode = (pickElementFromSet) => {
|
|
4
|
-
return (activeInputs, source, output, input) => {
|
|
5
|
-
return pickElementFromSet(activeInputs[input], (activeInputConnection) => activeInputConnection[0] === source && activeInputConnection[1] === output);
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
exports.createDeleteActiveInputConnectionToAudioNode = createDeleteActiveInputConnectionToAudioNode;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
const createDeleteActiveInputConnectionToAudioNode = (pickElementFromSet) => {
|
|
2
|
-
return (activeInputs, source, output, input) => {
|
|
3
|
-
return pickElementFromSet(activeInputs[input], (activeInputConnection) => activeInputConnection[0] === source && activeInputConnection[1] === output);
|
|
4
|
-
};
|
|
5
|
-
};
|
|
6
|
-
export {
|
|
7
|
-
createDeleteActiveInputConnectionToAudioNode
|
|
8
|
-
};
|