react-audio-wavekit 0.1.7 → 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 +7 -5
- 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/recorder/live-streaming/recorder/recorder-compound.cjs +1 -1
- package/dist/recorder/live-streaming/recorder/recorder-compound.js +1 -1
- package/dist/waveform/index.cjs +13 -11
- package/dist/waveform/index.js +13 -11
- package/dist/waveform/util-audio-decoder.cjs +36 -15
- package/dist/waveform/util-audio-decoder.js +36 -15
- package/dist/waveform/waveform-renderer.cjs +3 -3
- package/dist/waveform/waveform-renderer.js +3 -3
- 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,49 +0,0 @@
|
|
|
1
|
-
const DEFAULT_OPTIONS = {
|
|
2
|
-
channelCount: 2,
|
|
3
|
-
channelCountMode: "max",
|
|
4
|
-
channelInterpretation: "speakers",
|
|
5
|
-
curve: null,
|
|
6
|
-
oversample: "none"
|
|
7
|
-
};
|
|
8
|
-
const createWaveShaperNodeConstructor = (audioNodeConstructor, createInvalidStateError, createNativeWaveShaperNode, createWaveShaperNodeRenderer, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
9
|
-
return class WaveShaperNode extends audioNodeConstructor {
|
|
10
|
-
constructor(context, options) {
|
|
11
|
-
const nativeContext = getNativeContext(context);
|
|
12
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
13
|
-
const nativeWaveShaperNode = createNativeWaveShaperNode(nativeContext, mergedOptions);
|
|
14
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
15
|
-
const waveShaperNodeRenderer = isOffline ? createWaveShaperNodeRenderer() : null;
|
|
16
|
-
super(context, true, nativeWaveShaperNode, waveShaperNodeRenderer);
|
|
17
|
-
this._isCurveNullified = false;
|
|
18
|
-
this._nativeWaveShaperNode = nativeWaveShaperNode;
|
|
19
|
-
setAudioNodeTailTime(this, 1);
|
|
20
|
-
}
|
|
21
|
-
get curve() {
|
|
22
|
-
if (this._isCurveNullified) {
|
|
23
|
-
return null;
|
|
24
|
-
}
|
|
25
|
-
return this._nativeWaveShaperNode.curve;
|
|
26
|
-
}
|
|
27
|
-
set curve(value) {
|
|
28
|
-
if (value === null) {
|
|
29
|
-
this._isCurveNullified = true;
|
|
30
|
-
this._nativeWaveShaperNode.curve = new Float32Array([0, 0]);
|
|
31
|
-
} else {
|
|
32
|
-
if (value.length < 2) {
|
|
33
|
-
throw createInvalidStateError();
|
|
34
|
-
}
|
|
35
|
-
this._isCurveNullified = false;
|
|
36
|
-
this._nativeWaveShaperNode.curve = value;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
get oversample() {
|
|
40
|
-
return this._nativeWaveShaperNode.oversample;
|
|
41
|
-
}
|
|
42
|
-
set oversample(value) {
|
|
43
|
-
this._nativeWaveShaperNode.oversample = value;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
export {
|
|
48
|
-
createWaveShaperNodeConstructor
|
|
49
|
-
};
|
|
@@ -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 createWaveShaperNodeRendererFactory = (createNativeWaveShaperNode, getNativeAudioNode, renderInputsOfAudioNode) => {
|
|
6
|
-
return () => {
|
|
7
|
-
const renderedNativeWaveShaperNodes = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
const createWaveShaperNode = async (proxy, nativeOfflineAudioContext) => {
|
|
9
|
-
let nativeWaveShaperNode = getNativeAudioNode(proxy);
|
|
10
|
-
const nativeWaveShaperNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeWaveShaperNode, nativeOfflineAudioContext);
|
|
11
|
-
if (!nativeWaveShaperNodeIsOwnedByContext) {
|
|
12
|
-
const options = {
|
|
13
|
-
channelCount: nativeWaveShaperNode.channelCount,
|
|
14
|
-
channelCountMode: nativeWaveShaperNode.channelCountMode,
|
|
15
|
-
channelInterpretation: nativeWaveShaperNode.channelInterpretation,
|
|
16
|
-
curve: nativeWaveShaperNode.curve,
|
|
17
|
-
oversample: nativeWaveShaperNode.oversample
|
|
18
|
-
};
|
|
19
|
-
nativeWaveShaperNode = createNativeWaveShaperNode(nativeOfflineAudioContext, options);
|
|
20
|
-
}
|
|
21
|
-
renderedNativeWaveShaperNodes.set(nativeOfflineAudioContext, nativeWaveShaperNode);
|
|
22
|
-
if (nativeAudioNodeFaker.isNativeAudioNodeFaker(nativeWaveShaperNode)) {
|
|
23
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeWaveShaperNode.inputs[0]);
|
|
24
|
-
} else {
|
|
25
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeWaveShaperNode);
|
|
26
|
-
}
|
|
27
|
-
return nativeWaveShaperNode;
|
|
28
|
-
};
|
|
29
|
-
return {
|
|
30
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
31
|
-
const renderedNativeWaveShaperNode = renderedNativeWaveShaperNodes.get(nativeOfflineAudioContext);
|
|
32
|
-
if (renderedNativeWaveShaperNode !== void 0) {
|
|
33
|
-
return Promise.resolve(renderedNativeWaveShaperNode);
|
|
34
|
-
}
|
|
35
|
-
return createWaveShaperNode(proxy, nativeOfflineAudioContext);
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
exports.createWaveShaperNodeRendererFactory = createWaveShaperNodeRendererFactory;
|
|
@@ -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 createWaveShaperNodeRendererFactory = (createNativeWaveShaperNode, getNativeAudioNode, renderInputsOfAudioNode) => {
|
|
4
|
-
return () => {
|
|
5
|
-
const renderedNativeWaveShaperNodes = /* @__PURE__ */ new WeakMap();
|
|
6
|
-
const createWaveShaperNode = async (proxy, nativeOfflineAudioContext) => {
|
|
7
|
-
let nativeWaveShaperNode = getNativeAudioNode(proxy);
|
|
8
|
-
const nativeWaveShaperNodeIsOwnedByContext = isOwnedByContext(nativeWaveShaperNode, nativeOfflineAudioContext);
|
|
9
|
-
if (!nativeWaveShaperNodeIsOwnedByContext) {
|
|
10
|
-
const options = {
|
|
11
|
-
channelCount: nativeWaveShaperNode.channelCount,
|
|
12
|
-
channelCountMode: nativeWaveShaperNode.channelCountMode,
|
|
13
|
-
channelInterpretation: nativeWaveShaperNode.channelInterpretation,
|
|
14
|
-
curve: nativeWaveShaperNode.curve,
|
|
15
|
-
oversample: nativeWaveShaperNode.oversample
|
|
16
|
-
};
|
|
17
|
-
nativeWaveShaperNode = createNativeWaveShaperNode(nativeOfflineAudioContext, options);
|
|
18
|
-
}
|
|
19
|
-
renderedNativeWaveShaperNodes.set(nativeOfflineAudioContext, nativeWaveShaperNode);
|
|
20
|
-
if (isNativeAudioNodeFaker(nativeWaveShaperNode)) {
|
|
21
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeWaveShaperNode.inputs[0]);
|
|
22
|
-
} else {
|
|
23
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeWaveShaperNode);
|
|
24
|
-
}
|
|
25
|
-
return nativeWaveShaperNode;
|
|
26
|
-
};
|
|
27
|
-
return {
|
|
28
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
29
|
-
const renderedNativeWaveShaperNode = renderedNativeWaveShaperNodes.get(nativeOfflineAudioContext);
|
|
30
|
-
if (renderedNativeWaveShaperNode !== void 0) {
|
|
31
|
-
return Promise.resolve(renderedNativeWaveShaperNode);
|
|
32
|
-
}
|
|
33
|
-
return createWaveShaperNode(proxy, nativeOfflineAudioContext);
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export {
|
|
39
|
-
createWaveShaperNodeRendererFactory
|
|
40
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createWrapAudioBufferCopyChannelMethodsOutOfBounds = (convertNumberToUnsignedLong) => {
|
|
4
|
-
return (audioBuffer) => {
|
|
5
|
-
audioBuffer.copyFromChannel = /* @__PURE__ */ ((copyFromChannel) => {
|
|
6
|
-
return (destination, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
7
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
8
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
9
|
-
if (bufferOffset < audioBuffer.length) {
|
|
10
|
-
return copyFromChannel.call(audioBuffer, destination, channelNumber, bufferOffset);
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
})(audioBuffer.copyFromChannel);
|
|
14
|
-
audioBuffer.copyToChannel = /* @__PURE__ */ ((copyToChannel) => {
|
|
15
|
-
return (source, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
16
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
17
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
18
|
-
if (bufferOffset < audioBuffer.length) {
|
|
19
|
-
return copyToChannel.call(audioBuffer, source, channelNumber, bufferOffset);
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
})(audioBuffer.copyToChannel);
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
exports.createWrapAudioBufferCopyChannelMethodsOutOfBounds = createWrapAudioBufferCopyChannelMethodsOutOfBounds;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const createWrapAudioBufferCopyChannelMethodsOutOfBounds = (convertNumberToUnsignedLong) => {
|
|
2
|
-
return (audioBuffer) => {
|
|
3
|
-
audioBuffer.copyFromChannel = /* @__PURE__ */ ((copyFromChannel) => {
|
|
4
|
-
return (destination, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
5
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
6
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
7
|
-
if (bufferOffset < audioBuffer.length) {
|
|
8
|
-
return copyFromChannel.call(audioBuffer, destination, channelNumber, bufferOffset);
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
})(audioBuffer.copyFromChannel);
|
|
12
|
-
audioBuffer.copyToChannel = /* @__PURE__ */ ((copyToChannel) => {
|
|
13
|
-
return (source, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
14
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
15
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
16
|
-
if (bufferOffset < audioBuffer.length) {
|
|
17
|
-
return copyToChannel.call(audioBuffer, source, channelNumber, bufferOffset);
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
})(audioBuffer.copyToChannel);
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
createWrapAudioBufferCopyChannelMethodsOutOfBounds
|
|
25
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createWrapAudioBufferCopyChannelMethods = (convertNumberToUnsignedLong, createIndexSizeError) => {
|
|
4
|
-
return (audioBuffer) => {
|
|
5
|
-
audioBuffer.copyFromChannel = (destination, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
6
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
7
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
8
|
-
if (channelNumber >= audioBuffer.numberOfChannels) {
|
|
9
|
-
throw createIndexSizeError();
|
|
10
|
-
}
|
|
11
|
-
const audioBufferLength = audioBuffer.length;
|
|
12
|
-
const channelData = audioBuffer.getChannelData(channelNumber);
|
|
13
|
-
const destinationLength = destination.length;
|
|
14
|
-
for (let i = bufferOffset < 0 ? -bufferOffset : 0; i + bufferOffset < audioBufferLength && i < destinationLength; i += 1) {
|
|
15
|
-
destination[i] = channelData[i + bufferOffset];
|
|
16
|
-
}
|
|
17
|
-
};
|
|
18
|
-
audioBuffer.copyToChannel = (source, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
19
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
20
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
21
|
-
if (channelNumber >= audioBuffer.numberOfChannels) {
|
|
22
|
-
throw createIndexSizeError();
|
|
23
|
-
}
|
|
24
|
-
const audioBufferLength = audioBuffer.length;
|
|
25
|
-
const channelData = audioBuffer.getChannelData(channelNumber);
|
|
26
|
-
const sourceLength = source.length;
|
|
27
|
-
for (let i = bufferOffset < 0 ? -bufferOffset : 0; i + bufferOffset < audioBufferLength && i < sourceLength; i += 1) {
|
|
28
|
-
channelData[i + bufferOffset] = source[i];
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
exports.createWrapAudioBufferCopyChannelMethods = createWrapAudioBufferCopyChannelMethods;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
const createWrapAudioBufferCopyChannelMethods = (convertNumberToUnsignedLong, createIndexSizeError) => {
|
|
2
|
-
return (audioBuffer) => {
|
|
3
|
-
audioBuffer.copyFromChannel = (destination, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
4
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
5
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
6
|
-
if (channelNumber >= audioBuffer.numberOfChannels) {
|
|
7
|
-
throw createIndexSizeError();
|
|
8
|
-
}
|
|
9
|
-
const audioBufferLength = audioBuffer.length;
|
|
10
|
-
const channelData = audioBuffer.getChannelData(channelNumber);
|
|
11
|
-
const destinationLength = destination.length;
|
|
12
|
-
for (let i = bufferOffset < 0 ? -bufferOffset : 0; i + bufferOffset < audioBufferLength && i < destinationLength; i += 1) {
|
|
13
|
-
destination[i] = channelData[i + bufferOffset];
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
audioBuffer.copyToChannel = (source, channelNumberAsNumber, bufferOffsetAsNumber = 0) => {
|
|
17
|
-
const bufferOffset = convertNumberToUnsignedLong(bufferOffsetAsNumber);
|
|
18
|
-
const channelNumber = convertNumberToUnsignedLong(channelNumberAsNumber);
|
|
19
|
-
if (channelNumber >= audioBuffer.numberOfChannels) {
|
|
20
|
-
throw createIndexSizeError();
|
|
21
|
-
}
|
|
22
|
-
const audioBufferLength = audioBuffer.length;
|
|
23
|
-
const channelData = audioBuffer.getChannelData(channelNumber);
|
|
24
|
-
const sourceLength = source.length;
|
|
25
|
-
for (let i = bufferOffset < 0 ? -bufferOffset : 0; i + bufferOffset < audioBufferLength && i < sourceLength; i += 1) {
|
|
26
|
-
channelData[i + bufferOffset] = source[i];
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export {
|
|
32
|
-
createWrapAudioBufferCopyChannelMethods
|
|
33
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createWrapAudioBufferSourceNodeStopMethodNullifiedBuffer = (overwriteAccessors) => {
|
|
4
|
-
return (nativeAudioBufferSourceNode, nativeContext) => {
|
|
5
|
-
const nullifiedBuffer = nativeContext.createBuffer(1, 1, 44100);
|
|
6
|
-
if (nativeAudioBufferSourceNode.buffer === null) {
|
|
7
|
-
nativeAudioBufferSourceNode.buffer = nullifiedBuffer;
|
|
8
|
-
}
|
|
9
|
-
overwriteAccessors(nativeAudioBufferSourceNode, "buffer", (get) => () => {
|
|
10
|
-
const value = get.call(nativeAudioBufferSourceNode);
|
|
11
|
-
return value === nullifiedBuffer ? null : value;
|
|
12
|
-
}, (set) => (value) => {
|
|
13
|
-
return set.call(nativeAudioBufferSourceNode, value === null ? nullifiedBuffer : value);
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
exports.createWrapAudioBufferSourceNodeStopMethodNullifiedBuffer = createWrapAudioBufferSourceNodeStopMethodNullifiedBuffer;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const createWrapAudioBufferSourceNodeStopMethodNullifiedBuffer = (overwriteAccessors) => {
|
|
2
|
-
return (nativeAudioBufferSourceNode, nativeContext) => {
|
|
3
|
-
const nullifiedBuffer = nativeContext.createBuffer(1, 1, 44100);
|
|
4
|
-
if (nativeAudioBufferSourceNode.buffer === null) {
|
|
5
|
-
nativeAudioBufferSourceNode.buffer = nullifiedBuffer;
|
|
6
|
-
}
|
|
7
|
-
overwriteAccessors(nativeAudioBufferSourceNode, "buffer", (get) => () => {
|
|
8
|
-
const value = get.call(nativeAudioBufferSourceNode);
|
|
9
|
-
return value === nullifiedBuffer ? null : value;
|
|
10
|
-
}, (set) => (value) => {
|
|
11
|
-
return set.call(nativeAudioBufferSourceNode, value === null ? nullifiedBuffer : value);
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
createWrapAudioBufferSourceNodeStopMethodNullifiedBuffer
|
|
17
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createWrapChannelMergerNode = (createInvalidStateError, monitorConnections) => {
|
|
4
|
-
return (nativeContext, channelMergerNode) => {
|
|
5
|
-
channelMergerNode.channelCount = 1;
|
|
6
|
-
channelMergerNode.channelCountMode = "explicit";
|
|
7
|
-
Object.defineProperty(channelMergerNode, "channelCount", {
|
|
8
|
-
get: () => 1,
|
|
9
|
-
set: () => {
|
|
10
|
-
throw createInvalidStateError();
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(channelMergerNode, "channelCountMode", {
|
|
14
|
-
get: () => "explicit",
|
|
15
|
-
set: () => {
|
|
16
|
-
throw createInvalidStateError();
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const audioBufferSourceNode = nativeContext.createBufferSource();
|
|
20
|
-
const whenConnected = () => {
|
|
21
|
-
const length = channelMergerNode.numberOfInputs;
|
|
22
|
-
for (let i = 0; i < length; i += 1) {
|
|
23
|
-
audioBufferSourceNode.connect(channelMergerNode, 0, i);
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
const whenDisconnected = () => audioBufferSourceNode.disconnect(channelMergerNode);
|
|
27
|
-
monitorConnections(channelMergerNode, whenConnected, whenDisconnected);
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
exports.createWrapChannelMergerNode = createWrapChannelMergerNode;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const createWrapChannelMergerNode = (createInvalidStateError, monitorConnections) => {
|
|
2
|
-
return (nativeContext, channelMergerNode) => {
|
|
3
|
-
channelMergerNode.channelCount = 1;
|
|
4
|
-
channelMergerNode.channelCountMode = "explicit";
|
|
5
|
-
Object.defineProperty(channelMergerNode, "channelCount", {
|
|
6
|
-
get: () => 1,
|
|
7
|
-
set: () => {
|
|
8
|
-
throw createInvalidStateError();
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
Object.defineProperty(channelMergerNode, "channelCountMode", {
|
|
12
|
-
get: () => "explicit",
|
|
13
|
-
set: () => {
|
|
14
|
-
throw createInvalidStateError();
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
const audioBufferSourceNode = nativeContext.createBufferSource();
|
|
18
|
-
const whenConnected = () => {
|
|
19
|
-
const length = channelMergerNode.numberOfInputs;
|
|
20
|
-
for (let i = 0; i < length; i += 1) {
|
|
21
|
-
audioBufferSourceNode.connect(channelMergerNode, 0, i);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
const whenDisconnected = () => audioBufferSourceNode.disconnect(channelMergerNode);
|
|
25
|
-
monitorConnections(channelMergerNode, whenConnected, whenDisconnected);
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
createWrapChannelMergerNode
|
|
30
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const ACTIVE_AUDIO_NODE_STORE = /* @__PURE__ */ new WeakSet();
|
|
4
|
-
const AUDIO_NODE_CONNECTIONS_STORE = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
const AUDIO_NODE_STORE = /* @__PURE__ */ new WeakMap();
|
|
6
|
-
const AUDIO_PARAM_CONNECTIONS_STORE = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
const AUDIO_PARAM_STORE = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
const CONTEXT_STORE = /* @__PURE__ */ new WeakMap();
|
|
9
|
-
const EVENT_LISTENERS = /* @__PURE__ */ new WeakMap();
|
|
10
|
-
const CYCLE_COUNTERS = /* @__PURE__ */ new WeakMap();
|
|
11
|
-
const NODE_NAME_TO_PROCESSOR_CONSTRUCTOR_MAPS = /* @__PURE__ */ new WeakMap();
|
|
12
|
-
exports.ACTIVE_AUDIO_NODE_STORE = ACTIVE_AUDIO_NODE_STORE;
|
|
13
|
-
exports.AUDIO_NODE_CONNECTIONS_STORE = AUDIO_NODE_CONNECTIONS_STORE;
|
|
14
|
-
exports.AUDIO_NODE_STORE = AUDIO_NODE_STORE;
|
|
15
|
-
exports.AUDIO_PARAM_CONNECTIONS_STORE = AUDIO_PARAM_CONNECTIONS_STORE;
|
|
16
|
-
exports.AUDIO_PARAM_STORE = AUDIO_PARAM_STORE;
|
|
17
|
-
exports.CONTEXT_STORE = CONTEXT_STORE;
|
|
18
|
-
exports.CYCLE_COUNTERS = CYCLE_COUNTERS;
|
|
19
|
-
exports.EVENT_LISTENERS = EVENT_LISTENERS;
|
|
20
|
-
exports.NODE_NAME_TO_PROCESSOR_CONSTRUCTOR_MAPS = NODE_NAME_TO_PROCESSOR_CONSTRUCTOR_MAPS;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
const ACTIVE_AUDIO_NODE_STORE = /* @__PURE__ */ new WeakSet();
|
|
2
|
-
const AUDIO_NODE_CONNECTIONS_STORE = /* @__PURE__ */ new WeakMap();
|
|
3
|
-
const AUDIO_NODE_STORE = /* @__PURE__ */ new WeakMap();
|
|
4
|
-
const AUDIO_PARAM_CONNECTIONS_STORE = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
const AUDIO_PARAM_STORE = /* @__PURE__ */ new WeakMap();
|
|
6
|
-
const CONTEXT_STORE = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
const EVENT_LISTENERS = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
const CYCLE_COUNTERS = /* @__PURE__ */ new WeakMap();
|
|
9
|
-
const NODE_NAME_TO_PROCESSOR_CONSTRUCTOR_MAPS = /* @__PURE__ */ new WeakMap();
|
|
10
|
-
export {
|
|
11
|
-
ACTIVE_AUDIO_NODE_STORE,
|
|
12
|
-
AUDIO_NODE_CONNECTIONS_STORE,
|
|
13
|
-
AUDIO_NODE_STORE,
|
|
14
|
-
AUDIO_PARAM_CONNECTIONS_STORE,
|
|
15
|
-
AUDIO_PARAM_STORE,
|
|
16
|
-
CONTEXT_STORE,
|
|
17
|
-
CYCLE_COUNTERS,
|
|
18
|
-
EVENT_LISTENERS,
|
|
19
|
-
NODE_NAME_TO_PROCESSOR_CONSTRUCTOR_MAPS
|
|
20
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const audioNode = require("./audio-node.cjs");
|
|
4
|
-
const isAudioNodeOutputConnection = (outputConnection) => {
|
|
5
|
-
return audioNode.isAudioNode(outputConnection[0]);
|
|
6
|
-
};
|
|
7
|
-
exports.isAudioNodeOutputConnection = isAudioNodeOutputConnection;
|
package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const isNativeAudioNodeFaker = (nativeAudioNodeOrNativeAudioNodeFaker) => {
|
|
4
|
-
return "inputs" in nativeAudioNodeOrNativeAudioNodeFaker;
|
|
5
|
-
};
|
|
6
|
-
exports.isNativeAudioNodeFaker = isNativeAudioNodeFaker;
|
package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.cjs
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const isOscillatorNode = (audioNode) => {
|
|
4
|
-
return "detune" in audioNode && "frequency" in audioNode && !("gain" in audioNode);
|
|
5
|
-
};
|
|
6
|
-
exports.isOscillatorNode = isOscillatorNode;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const insertElementInSet = require("./insert-element-in-set.cjs");
|
|
4
|
-
const addActiveInputConnectionToAudioParam = (activeInputs, source, [output, eventListener], ignoreDuplicates) => {
|
|
5
|
-
insertElementInSet.insertElementInSet(activeInputs, [source, output, eventListener], (activeInputConnection) => activeInputConnection[0] === source && activeInputConnection[1] === output, ignoreDuplicates);
|
|
6
|
-
};
|
|
7
|
-
exports.addActiveInputConnectionToAudioParam = addActiveInputConnectionToAudioParam;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { insertElementInSet } from "./insert-element-in-set.js";
|
|
2
|
-
const addActiveInputConnectionToAudioParam = (activeInputs, source, [output, eventListener], ignoreDuplicates) => {
|
|
3
|
-
insertElementInSet(activeInputs, [source, output, eventListener], (activeInputConnection) => activeInputConnection[0] === source && activeInputConnection[1] === output, ignoreDuplicates);
|
|
4
|
-
};
|
|
5
|
-
export {
|
|
6
|
-
addActiveInputConnectionToAudioParam
|
|
7
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const insertElementInSet = require("./insert-element-in-set.cjs");
|
|
4
|
-
const addPassiveInputConnectionToAudioParam = (passiveInputs, [source, output, eventListener], ignoreDuplicates) => {
|
|
5
|
-
const passiveInputConnections = passiveInputs.get(source);
|
|
6
|
-
if (passiveInputConnections === void 0) {
|
|
7
|
-
passiveInputs.set(source, /* @__PURE__ */ new Set([[output, eventListener]]));
|
|
8
|
-
} else {
|
|
9
|
-
insertElementInSet.insertElementInSet(passiveInputConnections, [output, eventListener], (passiveInputConnection) => passiveInputConnection[0] === output, ignoreDuplicates);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
exports.addPassiveInputConnectionToAudioParam = addPassiveInputConnectionToAudioParam;
|