react-audio-wavekit 0.1.7 → 0.2.0
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 +14 -4
- 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 +14 -6
- 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 +28 -11
- package/dist/waveform/index.js +28 -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 +61 -14
- package/dist/waveform/waveform-renderer.js +61 -14
- 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
package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.cjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const audioNode = require("../guards/audio-node.cjs");
|
|
4
|
-
const delayNode = require("../guards/delay-node.cjs");
|
|
5
|
-
const createDetectCycles = (audioParamAudioNodeStore, getAudioNodeConnections, getValueForKey) => {
|
|
6
|
-
return function detectCycles(chain, nextLink) {
|
|
7
|
-
const audioNode$1 = audioNode.isAudioNode(nextLink) ? nextLink : getValueForKey(audioParamAudioNodeStore, nextLink);
|
|
8
|
-
if (delayNode.isDelayNode(audioNode$1)) {
|
|
9
|
-
return [];
|
|
10
|
-
}
|
|
11
|
-
if (chain[0] === audioNode$1) {
|
|
12
|
-
return [chain];
|
|
13
|
-
}
|
|
14
|
-
if (chain.includes(audioNode$1)) {
|
|
15
|
-
return [];
|
|
16
|
-
}
|
|
17
|
-
const { outputs } = getAudioNodeConnections(audioNode$1);
|
|
18
|
-
return Array.from(outputs).map((outputConnection) => detectCycles([...chain, audioNode$1], outputConnection[0])).reduce((mergedCycles, nestedCycles) => mergedCycles.concat(nestedCycles), []);
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
exports.createDetectCycles = createDetectCycles;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { isAudioNode } from "../guards/audio-node.js";
|
|
2
|
-
import { isDelayNode } from "../guards/delay-node.js";
|
|
3
|
-
const createDetectCycles = (audioParamAudioNodeStore, getAudioNodeConnections, getValueForKey) => {
|
|
4
|
-
return function detectCycles(chain, nextLink) {
|
|
5
|
-
const audioNode = isAudioNode(nextLink) ? nextLink : getValueForKey(audioParamAudioNodeStore, nextLink);
|
|
6
|
-
if (isDelayNode(audioNode)) {
|
|
7
|
-
return [];
|
|
8
|
-
}
|
|
9
|
-
if (chain[0] === audioNode) {
|
|
10
|
-
return [chain];
|
|
11
|
-
}
|
|
12
|
-
if (chain.includes(audioNode)) {
|
|
13
|
-
return [];
|
|
14
|
-
}
|
|
15
|
-
const { outputs } = getAudioNodeConnections(audioNode);
|
|
16
|
-
return Array.from(outputs).map((outputConnection) => detectCycles([...chain, audioNode], outputConnection[0])).reduce((mergedCycles, nestedCycles) => mergedCycles.concat(nestedCycles), []);
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export {
|
|
20
|
-
createDetectCycles
|
|
21
|
-
};
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const DEFAULT_OPTIONS = {
|
|
4
|
-
attack: 3e-3,
|
|
5
|
-
channelCount: 2,
|
|
6
|
-
channelCountMode: "clamped-max",
|
|
7
|
-
channelInterpretation: "speakers",
|
|
8
|
-
knee: 30,
|
|
9
|
-
ratio: 12,
|
|
10
|
-
release: 0.25,
|
|
11
|
-
threshold: -24
|
|
12
|
-
};
|
|
13
|
-
const createDynamicsCompressorNodeConstructor = (audioNodeConstructor, createAudioParam, createDynamicsCompressorNodeRenderer, createNativeDynamicsCompressorNode, createNotSupportedError, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
14
|
-
return class DynamicsCompressorNode extends audioNodeConstructor {
|
|
15
|
-
constructor(context, options) {
|
|
16
|
-
const nativeContext = getNativeContext(context);
|
|
17
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
18
|
-
const nativeDynamicsCompressorNode = createNativeDynamicsCompressorNode(nativeContext, mergedOptions);
|
|
19
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
20
|
-
const dynamicsCompressorNodeRenderer = isOffline ? createDynamicsCompressorNodeRenderer() : null;
|
|
21
|
-
super(context, false, nativeDynamicsCompressorNode, dynamicsCompressorNodeRenderer);
|
|
22
|
-
this._attack = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.attack);
|
|
23
|
-
this._knee = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.knee);
|
|
24
|
-
this._nativeDynamicsCompressorNode = nativeDynamicsCompressorNode;
|
|
25
|
-
this._ratio = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.ratio);
|
|
26
|
-
this._release = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.release);
|
|
27
|
-
this._threshold = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.threshold);
|
|
28
|
-
setAudioNodeTailTime(this, 6e-3);
|
|
29
|
-
}
|
|
30
|
-
get attack() {
|
|
31
|
-
return this._attack;
|
|
32
|
-
}
|
|
33
|
-
// Bug #108: Safari allows a channelCount of three and above which is why the getter and setter needs to be overwritten here.
|
|
34
|
-
get channelCount() {
|
|
35
|
-
return this._nativeDynamicsCompressorNode.channelCount;
|
|
36
|
-
}
|
|
37
|
-
set channelCount(value) {
|
|
38
|
-
const previousChannelCount = this._nativeDynamicsCompressorNode.channelCount;
|
|
39
|
-
this._nativeDynamicsCompressorNode.channelCount = value;
|
|
40
|
-
if (value > 2) {
|
|
41
|
-
this._nativeDynamicsCompressorNode.channelCount = previousChannelCount;
|
|
42
|
-
throw createNotSupportedError();
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
/*
|
|
46
|
-
* Bug #109: Only Chrome and Firefox disallow a channelCountMode of 'max' yet which is why the getter and setter needs to be
|
|
47
|
-
* overwritten here.
|
|
48
|
-
*/
|
|
49
|
-
get channelCountMode() {
|
|
50
|
-
return this._nativeDynamicsCompressorNode.channelCountMode;
|
|
51
|
-
}
|
|
52
|
-
set channelCountMode(value) {
|
|
53
|
-
const previousChannelCount = this._nativeDynamicsCompressorNode.channelCountMode;
|
|
54
|
-
this._nativeDynamicsCompressorNode.channelCountMode = value;
|
|
55
|
-
if (value === "max") {
|
|
56
|
-
this._nativeDynamicsCompressorNode.channelCountMode = previousChannelCount;
|
|
57
|
-
throw createNotSupportedError();
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
get knee() {
|
|
61
|
-
return this._knee;
|
|
62
|
-
}
|
|
63
|
-
get ratio() {
|
|
64
|
-
return this._ratio;
|
|
65
|
-
}
|
|
66
|
-
get reduction() {
|
|
67
|
-
if (typeof this._nativeDynamicsCompressorNode.reduction.value === "number") {
|
|
68
|
-
return this._nativeDynamicsCompressorNode.reduction.value;
|
|
69
|
-
}
|
|
70
|
-
return this._nativeDynamicsCompressorNode.reduction;
|
|
71
|
-
}
|
|
72
|
-
get release() {
|
|
73
|
-
return this._release;
|
|
74
|
-
}
|
|
75
|
-
get threshold() {
|
|
76
|
-
return this._threshold;
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
exports.createDynamicsCompressorNodeConstructor = createDynamicsCompressorNodeConstructor;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
const DEFAULT_OPTIONS = {
|
|
2
|
-
attack: 3e-3,
|
|
3
|
-
channelCount: 2,
|
|
4
|
-
channelCountMode: "clamped-max",
|
|
5
|
-
channelInterpretation: "speakers",
|
|
6
|
-
knee: 30,
|
|
7
|
-
ratio: 12,
|
|
8
|
-
release: 0.25,
|
|
9
|
-
threshold: -24
|
|
10
|
-
};
|
|
11
|
-
const createDynamicsCompressorNodeConstructor = (audioNodeConstructor, createAudioParam, createDynamicsCompressorNodeRenderer, createNativeDynamicsCompressorNode, createNotSupportedError, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
|
|
12
|
-
return class DynamicsCompressorNode extends audioNodeConstructor {
|
|
13
|
-
constructor(context, options) {
|
|
14
|
-
const nativeContext = getNativeContext(context);
|
|
15
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
16
|
-
const nativeDynamicsCompressorNode = createNativeDynamicsCompressorNode(nativeContext, mergedOptions);
|
|
17
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
18
|
-
const dynamicsCompressorNodeRenderer = isOffline ? createDynamicsCompressorNodeRenderer() : null;
|
|
19
|
-
super(context, false, nativeDynamicsCompressorNode, dynamicsCompressorNodeRenderer);
|
|
20
|
-
this._attack = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.attack);
|
|
21
|
-
this._knee = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.knee);
|
|
22
|
-
this._nativeDynamicsCompressorNode = nativeDynamicsCompressorNode;
|
|
23
|
-
this._ratio = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.ratio);
|
|
24
|
-
this._release = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.release);
|
|
25
|
-
this._threshold = createAudioParam(this, isOffline, nativeDynamicsCompressorNode.threshold);
|
|
26
|
-
setAudioNodeTailTime(this, 6e-3);
|
|
27
|
-
}
|
|
28
|
-
get attack() {
|
|
29
|
-
return this._attack;
|
|
30
|
-
}
|
|
31
|
-
// Bug #108: Safari allows a channelCount of three and above which is why the getter and setter needs to be overwritten here.
|
|
32
|
-
get channelCount() {
|
|
33
|
-
return this._nativeDynamicsCompressorNode.channelCount;
|
|
34
|
-
}
|
|
35
|
-
set channelCount(value) {
|
|
36
|
-
const previousChannelCount = this._nativeDynamicsCompressorNode.channelCount;
|
|
37
|
-
this._nativeDynamicsCompressorNode.channelCount = value;
|
|
38
|
-
if (value > 2) {
|
|
39
|
-
this._nativeDynamicsCompressorNode.channelCount = previousChannelCount;
|
|
40
|
-
throw createNotSupportedError();
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/*
|
|
44
|
-
* Bug #109: Only Chrome and Firefox disallow a channelCountMode of 'max' yet which is why the getter and setter needs to be
|
|
45
|
-
* overwritten here.
|
|
46
|
-
*/
|
|
47
|
-
get channelCountMode() {
|
|
48
|
-
return this._nativeDynamicsCompressorNode.channelCountMode;
|
|
49
|
-
}
|
|
50
|
-
set channelCountMode(value) {
|
|
51
|
-
const previousChannelCount = this._nativeDynamicsCompressorNode.channelCountMode;
|
|
52
|
-
this._nativeDynamicsCompressorNode.channelCountMode = value;
|
|
53
|
-
if (value === "max") {
|
|
54
|
-
this._nativeDynamicsCompressorNode.channelCountMode = previousChannelCount;
|
|
55
|
-
throw createNotSupportedError();
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
get knee() {
|
|
59
|
-
return this._knee;
|
|
60
|
-
}
|
|
61
|
-
get ratio() {
|
|
62
|
-
return this._ratio;
|
|
63
|
-
}
|
|
64
|
-
get reduction() {
|
|
65
|
-
if (typeof this._nativeDynamicsCompressorNode.reduction.value === "number") {
|
|
66
|
-
return this._nativeDynamicsCompressorNode.reduction.value;
|
|
67
|
-
}
|
|
68
|
-
return this._nativeDynamicsCompressorNode.reduction;
|
|
69
|
-
}
|
|
70
|
-
get release() {
|
|
71
|
-
return this._release;
|
|
72
|
-
}
|
|
73
|
-
get threshold() {
|
|
74
|
-
return this._threshold;
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
export {
|
|
79
|
-
createDynamicsCompressorNodeConstructor
|
|
80
|
-
};
|
|
@@ -1,51 +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 createDynamicsCompressorNodeRendererFactory = (connectAudioParam, createNativeDynamicsCompressorNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
|
|
5
|
-
return () => {
|
|
6
|
-
const renderedNativeDynamicsCompressorNodes = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
const createDynamicsCompressorNode = async (proxy, nativeOfflineAudioContext) => {
|
|
8
|
-
let nativeDynamicsCompressorNode = getNativeAudioNode(proxy);
|
|
9
|
-
const nativeDynamicsCompressorNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeDynamicsCompressorNode, nativeOfflineAudioContext);
|
|
10
|
-
if (!nativeDynamicsCompressorNodeIsOwnedByContext) {
|
|
11
|
-
const options = {
|
|
12
|
-
attack: nativeDynamicsCompressorNode.attack.value,
|
|
13
|
-
channelCount: nativeDynamicsCompressorNode.channelCount,
|
|
14
|
-
channelCountMode: nativeDynamicsCompressorNode.channelCountMode,
|
|
15
|
-
channelInterpretation: nativeDynamicsCompressorNode.channelInterpretation,
|
|
16
|
-
knee: nativeDynamicsCompressorNode.knee.value,
|
|
17
|
-
ratio: nativeDynamicsCompressorNode.ratio.value,
|
|
18
|
-
release: nativeDynamicsCompressorNode.release.value,
|
|
19
|
-
threshold: nativeDynamicsCompressorNode.threshold.value
|
|
20
|
-
};
|
|
21
|
-
nativeDynamicsCompressorNode = createNativeDynamicsCompressorNode(nativeOfflineAudioContext, options);
|
|
22
|
-
}
|
|
23
|
-
renderedNativeDynamicsCompressorNodes.set(nativeOfflineAudioContext, nativeDynamicsCompressorNode);
|
|
24
|
-
if (!nativeDynamicsCompressorNodeIsOwnedByContext) {
|
|
25
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.attack, nativeDynamicsCompressorNode.attack);
|
|
26
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.knee, nativeDynamicsCompressorNode.knee);
|
|
27
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.ratio, nativeDynamicsCompressorNode.ratio);
|
|
28
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.release, nativeDynamicsCompressorNode.release);
|
|
29
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.threshold, nativeDynamicsCompressorNode.threshold);
|
|
30
|
-
} else {
|
|
31
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.attack, nativeDynamicsCompressorNode.attack);
|
|
32
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.knee, nativeDynamicsCompressorNode.knee);
|
|
33
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.ratio, nativeDynamicsCompressorNode.ratio);
|
|
34
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.release, nativeDynamicsCompressorNode.release);
|
|
35
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.threshold, nativeDynamicsCompressorNode.threshold);
|
|
36
|
-
}
|
|
37
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeDynamicsCompressorNode);
|
|
38
|
-
return nativeDynamicsCompressorNode;
|
|
39
|
-
};
|
|
40
|
-
return {
|
|
41
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
42
|
-
const renderedNativeDynamicsCompressorNode = renderedNativeDynamicsCompressorNodes.get(nativeOfflineAudioContext);
|
|
43
|
-
if (renderedNativeDynamicsCompressorNode !== void 0) {
|
|
44
|
-
return Promise.resolve(renderedNativeDynamicsCompressorNode);
|
|
45
|
-
}
|
|
46
|
-
return createDynamicsCompressorNode(proxy, nativeOfflineAudioContext);
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
exports.createDynamicsCompressorNodeRendererFactory = createDynamicsCompressorNodeRendererFactory;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { isOwnedByContext } from "../helpers/is-owned-by-context.js";
|
|
2
|
-
const createDynamicsCompressorNodeRendererFactory = (connectAudioParam, createNativeDynamicsCompressorNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
|
|
3
|
-
return () => {
|
|
4
|
-
const renderedNativeDynamicsCompressorNodes = /* @__PURE__ */ new WeakMap();
|
|
5
|
-
const createDynamicsCompressorNode = async (proxy, nativeOfflineAudioContext) => {
|
|
6
|
-
let nativeDynamicsCompressorNode = getNativeAudioNode(proxy);
|
|
7
|
-
const nativeDynamicsCompressorNodeIsOwnedByContext = isOwnedByContext(nativeDynamicsCompressorNode, nativeOfflineAudioContext);
|
|
8
|
-
if (!nativeDynamicsCompressorNodeIsOwnedByContext) {
|
|
9
|
-
const options = {
|
|
10
|
-
attack: nativeDynamicsCompressorNode.attack.value,
|
|
11
|
-
channelCount: nativeDynamicsCompressorNode.channelCount,
|
|
12
|
-
channelCountMode: nativeDynamicsCompressorNode.channelCountMode,
|
|
13
|
-
channelInterpretation: nativeDynamicsCompressorNode.channelInterpretation,
|
|
14
|
-
knee: nativeDynamicsCompressorNode.knee.value,
|
|
15
|
-
ratio: nativeDynamicsCompressorNode.ratio.value,
|
|
16
|
-
release: nativeDynamicsCompressorNode.release.value,
|
|
17
|
-
threshold: nativeDynamicsCompressorNode.threshold.value
|
|
18
|
-
};
|
|
19
|
-
nativeDynamicsCompressorNode = createNativeDynamicsCompressorNode(nativeOfflineAudioContext, options);
|
|
20
|
-
}
|
|
21
|
-
renderedNativeDynamicsCompressorNodes.set(nativeOfflineAudioContext, nativeDynamicsCompressorNode);
|
|
22
|
-
if (!nativeDynamicsCompressorNodeIsOwnedByContext) {
|
|
23
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.attack, nativeDynamicsCompressorNode.attack);
|
|
24
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.knee, nativeDynamicsCompressorNode.knee);
|
|
25
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.ratio, nativeDynamicsCompressorNode.ratio);
|
|
26
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.release, nativeDynamicsCompressorNode.release);
|
|
27
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.threshold, nativeDynamicsCompressorNode.threshold);
|
|
28
|
-
} else {
|
|
29
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.attack, nativeDynamicsCompressorNode.attack);
|
|
30
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.knee, nativeDynamicsCompressorNode.knee);
|
|
31
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.ratio, nativeDynamicsCompressorNode.ratio);
|
|
32
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.release, nativeDynamicsCompressorNode.release);
|
|
33
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.threshold, nativeDynamicsCompressorNode.threshold);
|
|
34
|
-
}
|
|
35
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeDynamicsCompressorNode);
|
|
36
|
-
return nativeDynamicsCompressorNode;
|
|
37
|
-
};
|
|
38
|
-
return {
|
|
39
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
40
|
-
const renderedNativeDynamicsCompressorNode = renderedNativeDynamicsCompressorNodes.get(nativeOfflineAudioContext);
|
|
41
|
-
if (renderedNativeDynamicsCompressorNode !== void 0) {
|
|
42
|
-
return Promise.resolve(renderedNativeDynamicsCompressorNode);
|
|
43
|
-
}
|
|
44
|
-
return createDynamicsCompressorNode(proxy, nativeOfflineAudioContext);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export {
|
|
50
|
-
createDynamicsCompressorNodeRendererFactory
|
|
51
|
-
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.cjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createEvaluateSource = (window) => {
|
|
4
|
-
return (source) => new Promise((resolve, reject) => {
|
|
5
|
-
if (window === null) {
|
|
6
|
-
reject(new SyntaxError());
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
const head = window.document.head;
|
|
10
|
-
if (head === null) {
|
|
11
|
-
reject(new SyntaxError());
|
|
12
|
-
} else {
|
|
13
|
-
const script = window.document.createElement("script");
|
|
14
|
-
const blob = new Blob([source], { type: "application/javascript" });
|
|
15
|
-
const url = URL.createObjectURL(blob);
|
|
16
|
-
const originalOnErrorHandler = window.onerror;
|
|
17
|
-
const removeErrorEventListenerAndRevokeUrl = () => {
|
|
18
|
-
window.onerror = originalOnErrorHandler;
|
|
19
|
-
URL.revokeObjectURL(url);
|
|
20
|
-
};
|
|
21
|
-
window.onerror = (message, src, lineno, colno, error) => {
|
|
22
|
-
if (src === url || src === window.location.href && lineno === 1 && colno === 1) {
|
|
23
|
-
removeErrorEventListenerAndRevokeUrl();
|
|
24
|
-
reject(error);
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
if (originalOnErrorHandler !== null) {
|
|
28
|
-
return originalOnErrorHandler(message, src, lineno, colno, error);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
script.onerror = () => {
|
|
32
|
-
removeErrorEventListenerAndRevokeUrl();
|
|
33
|
-
reject(new SyntaxError());
|
|
34
|
-
};
|
|
35
|
-
script.onload = () => {
|
|
36
|
-
removeErrorEventListenerAndRevokeUrl();
|
|
37
|
-
resolve();
|
|
38
|
-
};
|
|
39
|
-
script.src = url;
|
|
40
|
-
script.type = "module";
|
|
41
|
-
head.appendChild(script);
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
};
|
|
45
|
-
exports.createEvaluateSource = createEvaluateSource;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const createEvaluateSource = (window) => {
|
|
2
|
-
return (source) => new Promise((resolve, reject) => {
|
|
3
|
-
if (window === null) {
|
|
4
|
-
reject(new SyntaxError());
|
|
5
|
-
return;
|
|
6
|
-
}
|
|
7
|
-
const head = window.document.head;
|
|
8
|
-
if (head === null) {
|
|
9
|
-
reject(new SyntaxError());
|
|
10
|
-
} else {
|
|
11
|
-
const script = window.document.createElement("script");
|
|
12
|
-
const blob = new Blob([source], { type: "application/javascript" });
|
|
13
|
-
const url = URL.createObjectURL(blob);
|
|
14
|
-
const originalOnErrorHandler = window.onerror;
|
|
15
|
-
const removeErrorEventListenerAndRevokeUrl = () => {
|
|
16
|
-
window.onerror = originalOnErrorHandler;
|
|
17
|
-
URL.revokeObjectURL(url);
|
|
18
|
-
};
|
|
19
|
-
window.onerror = (message, src, lineno, colno, error) => {
|
|
20
|
-
if (src === url || src === window.location.href && lineno === 1 && colno === 1) {
|
|
21
|
-
removeErrorEventListenerAndRevokeUrl();
|
|
22
|
-
reject(error);
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
if (originalOnErrorHandler !== null) {
|
|
26
|
-
return originalOnErrorHandler(message, src, lineno, colno, error);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
script.onerror = () => {
|
|
30
|
-
removeErrorEventListenerAndRevokeUrl();
|
|
31
|
-
reject(new SyntaxError());
|
|
32
|
-
};
|
|
33
|
-
script.onload = () => {
|
|
34
|
-
removeErrorEventListenerAndRevokeUrl();
|
|
35
|
-
resolve();
|
|
36
|
-
};
|
|
37
|
-
script.src = url;
|
|
38
|
-
script.type = "module";
|
|
39
|
-
head.appendChild(script);
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
createEvaluateSource
|
|
45
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createEventTargetConstructor = (wrapEventListener) => {
|
|
4
|
-
return class EventTarget {
|
|
5
|
-
constructor(_nativeEventTarget) {
|
|
6
|
-
this._nativeEventTarget = _nativeEventTarget;
|
|
7
|
-
this._listeners = /* @__PURE__ */ new WeakMap();
|
|
8
|
-
}
|
|
9
|
-
addEventListener(type, listener, options) {
|
|
10
|
-
if (listener !== null) {
|
|
11
|
-
let wrappedEventListener = this._listeners.get(listener);
|
|
12
|
-
if (wrappedEventListener === void 0) {
|
|
13
|
-
wrappedEventListener = wrapEventListener(this, listener);
|
|
14
|
-
if (typeof listener === "function") {
|
|
15
|
-
this._listeners.set(listener, wrappedEventListener);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
this._nativeEventTarget.addEventListener(type, wrappedEventListener, options);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
dispatchEvent(event) {
|
|
22
|
-
return this._nativeEventTarget.dispatchEvent(event);
|
|
23
|
-
}
|
|
24
|
-
removeEventListener(type, listener, options) {
|
|
25
|
-
const wrappedEventListener = listener === null ? void 0 : this._listeners.get(listener);
|
|
26
|
-
this._nativeEventTarget.removeEventListener(type, wrappedEventListener === void 0 ? null : wrappedEventListener, options);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
exports.createEventTargetConstructor = createEventTargetConstructor;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const createEventTargetConstructor = (wrapEventListener) => {
|
|
2
|
-
return class EventTarget {
|
|
3
|
-
constructor(_nativeEventTarget) {
|
|
4
|
-
this._nativeEventTarget = _nativeEventTarget;
|
|
5
|
-
this._listeners = /* @__PURE__ */ new WeakMap();
|
|
6
|
-
}
|
|
7
|
-
addEventListener(type, listener, options) {
|
|
8
|
-
if (listener !== null) {
|
|
9
|
-
let wrappedEventListener = this._listeners.get(listener);
|
|
10
|
-
if (wrappedEventListener === void 0) {
|
|
11
|
-
wrappedEventListener = wrapEventListener(this, listener);
|
|
12
|
-
if (typeof listener === "function") {
|
|
13
|
-
this._listeners.set(listener, wrappedEventListener);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
this._nativeEventTarget.addEventListener(type, wrappedEventListener, options);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
dispatchEvent(event) {
|
|
20
|
-
return this._nativeEventTarget.dispatchEvent(event);
|
|
21
|
-
}
|
|
22
|
-
removeEventListener(type, listener, options) {
|
|
23
|
-
const wrappedEventListener = listener === null ? void 0 : this._listeners.get(listener);
|
|
24
|
-
this._nativeEventTarget.removeEventListener(type, wrappedEventListener === void 0 ? null : wrappedEventListener, options);
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
createEventTargetConstructor
|
|
30
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createExposeCurrentFrameAndCurrentTime = (window) => {
|
|
4
|
-
return (currentTime, sampleRate, fn) => {
|
|
5
|
-
Object.defineProperties(window, {
|
|
6
|
-
currentFrame: {
|
|
7
|
-
configurable: true,
|
|
8
|
-
get() {
|
|
9
|
-
return Math.round(currentTime * sampleRate);
|
|
10
|
-
}
|
|
11
|
-
},
|
|
12
|
-
currentTime: {
|
|
13
|
-
configurable: true,
|
|
14
|
-
get() {
|
|
15
|
-
return currentTime;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
try {
|
|
20
|
-
return fn();
|
|
21
|
-
} finally {
|
|
22
|
-
if (window !== null) {
|
|
23
|
-
delete window.currentFrame;
|
|
24
|
-
delete window.currentTime;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
exports.createExposeCurrentFrameAndCurrentTime = createExposeCurrentFrameAndCurrentTime;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const createExposeCurrentFrameAndCurrentTime = (window) => {
|
|
2
|
-
return (currentTime, sampleRate, fn) => {
|
|
3
|
-
Object.defineProperties(window, {
|
|
4
|
-
currentFrame: {
|
|
5
|
-
configurable: true,
|
|
6
|
-
get() {
|
|
7
|
-
return Math.round(currentTime * sampleRate);
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
currentTime: {
|
|
11
|
-
configurable: true,
|
|
12
|
-
get() {
|
|
13
|
-
return currentTime;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
});
|
|
17
|
-
try {
|
|
18
|
-
return fn();
|
|
19
|
-
} finally {
|
|
20
|
-
if (window !== null) {
|
|
21
|
-
delete window.currentFrame;
|
|
22
|
-
delete window.currentTime;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export {
|
|
28
|
-
createExposeCurrentFrameAndCurrentTime
|
|
29
|
-
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.cjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const createFetchSource = (createAbortError) => {
|
|
4
|
-
return async (url) => {
|
|
5
|
-
try {
|
|
6
|
-
const response = await fetch(url);
|
|
7
|
-
if (response.ok) {
|
|
8
|
-
return [await response.text(), response.url];
|
|
9
|
-
}
|
|
10
|
-
} catch {
|
|
11
|
-
}
|
|
12
|
-
throw createAbortError();
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
exports.createFetchSource = createFetchSource;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
const createFetchSource = (createAbortError) => {
|
|
2
|
-
return async (url) => {
|
|
3
|
-
try {
|
|
4
|
-
const response = await fetch(url);
|
|
5
|
-
if (response.ok) {
|
|
6
|
-
return [await response.text(), response.url];
|
|
7
|
-
}
|
|
8
|
-
} catch {
|
|
9
|
-
}
|
|
10
|
-
throw createAbortError();
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
createFetchSource
|
|
15
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const constants = require("../constants.cjs");
|
|
4
|
-
const DEFAULT_OPTIONS = {
|
|
5
|
-
channelCount: 2,
|
|
6
|
-
channelCountMode: "max",
|
|
7
|
-
channelInterpretation: "speakers",
|
|
8
|
-
gain: 1
|
|
9
|
-
};
|
|
10
|
-
const createGainNodeConstructor = (audioNodeConstructor, createAudioParam, createGainNodeRenderer, createNativeGainNode, getNativeContext, isNativeOfflineAudioContext) => {
|
|
11
|
-
return class GainNode extends audioNodeConstructor {
|
|
12
|
-
constructor(context, options) {
|
|
13
|
-
const nativeContext = getNativeContext(context);
|
|
14
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
15
|
-
const nativeGainNode = createNativeGainNode(nativeContext, mergedOptions);
|
|
16
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
17
|
-
const gainNodeRenderer = isOffline ? createGainNodeRenderer() : null;
|
|
18
|
-
super(context, false, nativeGainNode, gainNodeRenderer);
|
|
19
|
-
this._gain = createAudioParam(this, isOffline, nativeGainNode.gain, constants.MOST_POSITIVE_SINGLE_FLOAT, constants.MOST_NEGATIVE_SINGLE_FLOAT);
|
|
20
|
-
}
|
|
21
|
-
get gain() {
|
|
22
|
-
return this._gain;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
exports.createGainNodeConstructor = createGainNodeConstructor;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { MOST_POSITIVE_SINGLE_FLOAT, MOST_NEGATIVE_SINGLE_FLOAT } from "../constants.js";
|
|
2
|
-
const DEFAULT_OPTIONS = {
|
|
3
|
-
channelCount: 2,
|
|
4
|
-
channelCountMode: "max",
|
|
5
|
-
channelInterpretation: "speakers",
|
|
6
|
-
gain: 1
|
|
7
|
-
};
|
|
8
|
-
const createGainNodeConstructor = (audioNodeConstructor, createAudioParam, createGainNodeRenderer, createNativeGainNode, getNativeContext, isNativeOfflineAudioContext) => {
|
|
9
|
-
return class GainNode extends audioNodeConstructor {
|
|
10
|
-
constructor(context, options) {
|
|
11
|
-
const nativeContext = getNativeContext(context);
|
|
12
|
-
const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
|
|
13
|
-
const nativeGainNode = createNativeGainNode(nativeContext, mergedOptions);
|
|
14
|
-
const isOffline = isNativeOfflineAudioContext(nativeContext);
|
|
15
|
-
const gainNodeRenderer = isOffline ? createGainNodeRenderer() : null;
|
|
16
|
-
super(context, false, nativeGainNode, gainNodeRenderer);
|
|
17
|
-
this._gain = createAudioParam(this, isOffline, nativeGainNode.gain, MOST_POSITIVE_SINGLE_FLOAT, MOST_NEGATIVE_SINGLE_FLOAT);
|
|
18
|
-
}
|
|
19
|
-
get gain() {
|
|
20
|
-
return this._gain;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export {
|
|
25
|
-
createGainNodeConstructor
|
|
26
|
-
};
|
|
@@ -1,39 +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 createGainNodeRendererFactory = (connectAudioParam, createNativeGainNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
|
|
5
|
-
return () => {
|
|
6
|
-
const renderedNativeGainNodes = /* @__PURE__ */ new WeakMap();
|
|
7
|
-
const createGainNode = async (proxy, nativeOfflineAudioContext) => {
|
|
8
|
-
let nativeGainNode = getNativeAudioNode(proxy);
|
|
9
|
-
const nativeGainNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeGainNode, nativeOfflineAudioContext);
|
|
10
|
-
if (!nativeGainNodeIsOwnedByContext) {
|
|
11
|
-
const options = {
|
|
12
|
-
channelCount: nativeGainNode.channelCount,
|
|
13
|
-
channelCountMode: nativeGainNode.channelCountMode,
|
|
14
|
-
channelInterpretation: nativeGainNode.channelInterpretation,
|
|
15
|
-
gain: nativeGainNode.gain.value
|
|
16
|
-
};
|
|
17
|
-
nativeGainNode = createNativeGainNode(nativeOfflineAudioContext, options);
|
|
18
|
-
}
|
|
19
|
-
renderedNativeGainNodes.set(nativeOfflineAudioContext, nativeGainNode);
|
|
20
|
-
if (!nativeGainNodeIsOwnedByContext) {
|
|
21
|
-
await renderAutomation(nativeOfflineAudioContext, proxy.gain, nativeGainNode.gain);
|
|
22
|
-
} else {
|
|
23
|
-
await connectAudioParam(nativeOfflineAudioContext, proxy.gain, nativeGainNode.gain);
|
|
24
|
-
}
|
|
25
|
-
await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeGainNode);
|
|
26
|
-
return nativeGainNode;
|
|
27
|
-
};
|
|
28
|
-
return {
|
|
29
|
-
render(proxy, nativeOfflineAudioContext) {
|
|
30
|
-
const renderedNativeGainNode = renderedNativeGainNodes.get(nativeOfflineAudioContext);
|
|
31
|
-
if (renderedNativeGainNode !== void 0) {
|
|
32
|
-
return Promise.resolve(renderedNativeGainNode);
|
|
33
|
-
}
|
|
34
|
-
return createGainNode(proxy, nativeOfflineAudioContext);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
exports.createGainNodeRendererFactory = createGainNodeRendererFactory;
|