react-audio-wavekit 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/_virtual/_commonjsHelpers.cjs +6 -0
- package/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/browser.cjs +7 -0
- package/dist/_virtual/browser.js +7 -0
- package/dist/index.d.ts +4 -2
- package/dist/node_modules/@eshaz/web-worker/cjs/browser.cjs +11 -0
- package/dist/node_modules/@eshaz/web-worker/cjs/browser.js +11 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.cjs +168 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.js +168 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.cjs +90 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.js +90 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/utilities.cjs +6 -0
- package/dist/node_modules/@wasm-audio-decoders/common/src/utilities.js +6 -0
- package/dist/node_modules/mpg123-decoder/index.cjs +9 -0
- package/dist/node_modules/mpg123-decoder/index.js +9 -0
- package/dist/node_modules/mpg123-decoder/src/EmscriptenWasm.cjs +0 -0
- package/dist/node_modules/mpg123-decoder/src/EmscriptenWasm.js +0 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoder.cjs +147 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoder.js +147 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoderWebWorker.cjs +20 -0
- package/dist/node_modules/mpg123-decoder/src/MPEGDecoderWebWorker.js +20 -0
- package/dist/node_modules/simple-yenc/dist/esm.cjs +41 -0
- package/dist/node_modules/simple-yenc/dist/esm.js +41 -0
- package/dist/waveform/index.cjs +13 -11
- package/dist/waveform/index.js +13 -11
- package/dist/waveform/util-audio-decoder.cjs +36 -18
- package/dist/waveform/util-audio-decoder.js +36 -18
- package/package.json +3 -3
- package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.cjs +0 -137
- package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.js +0 -137
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.cjs +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.js +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.cjs +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.js +0 -16
- package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.cjs +0 -12
- package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.js +0 -12
- package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.cjs +0 -8
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.js +0 -8
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.cjs +0 -11
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.js +0 -11
- package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.cjs +0 -11
- package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.js +0 -11
- package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.cjs +0 -8
- package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.js +0 -8
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.js +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.cjs +0 -6
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/constants.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/constants.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.cjs +0 -115
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.js +0 -115
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.cjs +0 -60
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.js +0 -60
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.cjs +0 -73
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.js +0 -73
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.cjs +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.js +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.cjs +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.js +0 -37
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.cjs +0 -103
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.js +0 -103
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.cjs +0 -58
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.js +0 -58
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.cjs +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.js +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.cjs +0 -220
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.js +0 -220
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.cjs +0 -274
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.js +0 -274
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.cjs +0 -152
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.js +0 -152
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.cjs +0 -83
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.js +0 -83
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.cjs +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.js +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.cjs +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.js +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.cjs +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.js +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.cjs +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.js +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.cjs +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.js +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.cjs +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.js +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.cjs +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.js +0 -63
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.cjs +0 -53
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.js +0 -53
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.cjs +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.js +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.cjs +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.js +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.cjs +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.js +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.cjs +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.js +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.cjs +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.js +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.cjs +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.js +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.cjs +0 -80
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.js +0 -80
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.cjs +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.js +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.cjs +0 -45
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.js +0 -45
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.cjs +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.js +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.cjs +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.js +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.cjs +0 -39
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.js +0 -39
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.cjs +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.js +0 -27
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.cjs +0 -93
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.js +0 -93
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.cjs +0 -43
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.js +0 -43
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.cjs +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.js +0 -59
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.cjs +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.js +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.cjs +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.js +0 -51
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.cjs +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.js +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.cjs +0 -88
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.js +0 -88
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.cjs +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.js +0 -34
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.cjs +0 -23
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.js +0 -23
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.cjs +0 -139
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.js +0 -139
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.cjs +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.js +0 -32
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.cjs +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.js +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.cjs +0 -277
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.js +0 -277
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.cjs +0 -28
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.js +0 -28
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.cjs +0 -244
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.js +0 -244
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.cjs +0 -48
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.js +0 -48
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.cjs +0 -153
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.js +0 -153
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.cjs +0 -71
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.js +0 -71
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.cjs +0 -90
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.js +0 -90
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.cjs +0 -62
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.js +0 -62
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.cjs +0 -109
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.js +0 -109
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.cjs +0 -166
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.js +0 -166
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.cjs +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.js +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.cjs +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.js +0 -29
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.cjs +0 -44
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.js +0 -44
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.cjs +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.js +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.cjs +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.js +0 -24
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.cjs +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.js +0 -49
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.cjs +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.js +0 -40
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.cjs +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.js +0 -4
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.cjs +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.js +0 -25
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.cjs +0 -33
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.js +0 -33
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.cjs +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.js +0 -30
- package/dist/node_modules/standardized-audio-context/build/es2019/globals.cjs +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/globals.js +0 -20
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.cjs +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.js +0 -9
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.cjs +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.js +0 -35
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.cjs +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.js +0 -21
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.cjs +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.js +0 -26
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.cjs +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.js +0 -8
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.cjs +0 -5
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.js +0 -5
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.cjs +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.js +0 -7
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.cjs +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.js +0 -15
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.cjs +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.js +0 -10
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.cjs +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.js +0 -17
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.cjs +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.js +0 -6
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.cjs +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.js +0 -11
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.cjs +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.js +0 -36
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.cjs +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.js +0 -12
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.cjs +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.js +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.cjs +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.js +0 -18
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.cjs +0 -61
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.js +0 -61
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.cjs +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.js +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.cjs +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.js +0 -13
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.cjs +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.js +0 -31
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.cjs +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.js +0 -16
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.cjs +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.js +0 -14
- package/dist/node_modules/standardized-audio-context/build/es2019/module.cjs +0 -298
- package/dist/node_modules/standardized-audio-context/build/es2019/module.js +0 -298
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const WASMAudioDecoderCommon = require("../../@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.cjs");
|
|
4
|
+
const EmscriptenWasm = require("./EmscriptenWasm.cjs");
|
|
5
|
+
function MPEGDecoder(options = {}) {
|
|
6
|
+
this._init = () => {
|
|
7
|
+
return new this._WASMAudioDecoderCommon().instantiate(this._EmscriptenWASM, this._module).then((common) => {
|
|
8
|
+
this._common = common;
|
|
9
|
+
this._sampleRate = 0;
|
|
10
|
+
this._inputBytes = 0;
|
|
11
|
+
this._outputSamples = 0;
|
|
12
|
+
this._frameNumber = 0;
|
|
13
|
+
this._input = this._common.allocateTypedArray(
|
|
14
|
+
this._inputSize,
|
|
15
|
+
Uint8Array
|
|
16
|
+
);
|
|
17
|
+
this._output = this._common.allocateTypedArray(
|
|
18
|
+
this._outputSize,
|
|
19
|
+
Float32Array
|
|
20
|
+
);
|
|
21
|
+
const decoderPtr = this._common.allocateTypedArray(1, Uint32Array);
|
|
22
|
+
this._samplesDecodedPtr = this._common.allocateTypedArray(
|
|
23
|
+
1,
|
|
24
|
+
Uint32Array
|
|
25
|
+
);
|
|
26
|
+
this._sampleRatePtr = this._common.allocateTypedArray(1, Uint32Array);
|
|
27
|
+
this._errorStringPtr = this._common.allocateTypedArray(1, Uint32Array);
|
|
28
|
+
const error = this._common.wasm.mpeg_frame_decoder_create(
|
|
29
|
+
decoderPtr.ptr,
|
|
30
|
+
options.enableGapless === false ? 0 : 1
|
|
31
|
+
// default to enabled
|
|
32
|
+
);
|
|
33
|
+
if (error) {
|
|
34
|
+
throw Error(this._getErrorMessage(error));
|
|
35
|
+
}
|
|
36
|
+
this._decoder = decoderPtr.buf[0];
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(this, "ready", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: () => this._ready
|
|
42
|
+
});
|
|
43
|
+
this._getErrorMessage = (error) => error + " " + this._common.codeToString(this._errorStringPtr.buf[0]);
|
|
44
|
+
this.reset = () => {
|
|
45
|
+
this.free();
|
|
46
|
+
return this._init();
|
|
47
|
+
};
|
|
48
|
+
this.free = () => {
|
|
49
|
+
this._common.wasm.mpeg_frame_decoder_destroy(this._decoder);
|
|
50
|
+
this._common.wasm.free(this._decoder);
|
|
51
|
+
this._common.free();
|
|
52
|
+
};
|
|
53
|
+
this.decode = (data) => {
|
|
54
|
+
let output = [], errors = [], samples = 0;
|
|
55
|
+
if (!(data instanceof Uint8Array))
|
|
56
|
+
throw Error(
|
|
57
|
+
"Data to decode must be Uint8Array. Instead got " + typeof data
|
|
58
|
+
);
|
|
59
|
+
feed: for (let dataOffset = 0, dataChunkLength = 0; dataOffset < data.length; dataOffset += dataChunkLength) {
|
|
60
|
+
const dataChunk = data.subarray(dataOffset, this._input.len + dataOffset);
|
|
61
|
+
dataChunkLength = dataChunk.length;
|
|
62
|
+
this._inputBytes += dataChunkLength;
|
|
63
|
+
this._input.buf.set(dataChunk);
|
|
64
|
+
let error = this._common.wasm.mpeg_decoder_feed(
|
|
65
|
+
this._decoder,
|
|
66
|
+
this._input.ptr,
|
|
67
|
+
dataChunkLength
|
|
68
|
+
);
|
|
69
|
+
if (error === -10) {
|
|
70
|
+
continue feed;
|
|
71
|
+
}
|
|
72
|
+
read: while (true) {
|
|
73
|
+
this._samplesDecodedPtr.buf[0] = 0;
|
|
74
|
+
error = this._common.wasm.mpeg_decoder_read(
|
|
75
|
+
this._decoder,
|
|
76
|
+
this._output.ptr,
|
|
77
|
+
this._output.len,
|
|
78
|
+
this._samplesDecodedPtr.ptr,
|
|
79
|
+
this._sampleRatePtr.ptr,
|
|
80
|
+
this._errorStringPtr.ptr
|
|
81
|
+
);
|
|
82
|
+
const samplesDecoded = this._samplesDecodedPtr.buf[0];
|
|
83
|
+
this._outputSamples += samplesDecoded;
|
|
84
|
+
if (samplesDecoded) {
|
|
85
|
+
samples += samplesDecoded;
|
|
86
|
+
output.push([
|
|
87
|
+
this._output.buf.slice(0, samplesDecoded),
|
|
88
|
+
this._output.buf.slice(samplesDecoded, samplesDecoded * 2)
|
|
89
|
+
]);
|
|
90
|
+
}
|
|
91
|
+
if (error == -11) {
|
|
92
|
+
continue read;
|
|
93
|
+
} else if (error === -10) {
|
|
94
|
+
continue feed;
|
|
95
|
+
} else if (error) {
|
|
96
|
+
const message = this._getErrorMessage(error);
|
|
97
|
+
console.error("mpg123-decoder: " + message);
|
|
98
|
+
this._common.addError(
|
|
99
|
+
errors,
|
|
100
|
+
message,
|
|
101
|
+
0,
|
|
102
|
+
this._frameNumber,
|
|
103
|
+
this._inputBytes,
|
|
104
|
+
this._outputSamples
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
|
|
110
|
+
errors,
|
|
111
|
+
output,
|
|
112
|
+
2,
|
|
113
|
+
samples,
|
|
114
|
+
this._sampleRatePtr.buf[0]
|
|
115
|
+
);
|
|
116
|
+
};
|
|
117
|
+
this.decodeFrame = (mpegFrame) => {
|
|
118
|
+
const decoded = this.decode(mpegFrame);
|
|
119
|
+
this._frameNumber++;
|
|
120
|
+
return decoded;
|
|
121
|
+
};
|
|
122
|
+
this.decodeFrames = (mpegFrames) => {
|
|
123
|
+
let output = [], errors = [], samples = 0, i = 0;
|
|
124
|
+
while (i < mpegFrames.length) {
|
|
125
|
+
const decoded = this.decodeFrame(mpegFrames[i++]);
|
|
126
|
+
output.push(decoded.channelData);
|
|
127
|
+
errors = errors.concat(decoded.errors);
|
|
128
|
+
samples += decoded.samplesDecoded;
|
|
129
|
+
}
|
|
130
|
+
return this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
|
|
131
|
+
errors,
|
|
132
|
+
output,
|
|
133
|
+
2,
|
|
134
|
+
samples,
|
|
135
|
+
this._sampleRatePtr.buf[0]
|
|
136
|
+
);
|
|
137
|
+
};
|
|
138
|
+
this._isWebWorker = MPEGDecoder.isWebWorker;
|
|
139
|
+
this._WASMAudioDecoderCommon = MPEGDecoder.WASMAudioDecoderCommon || WASMAudioDecoderCommon.default;
|
|
140
|
+
this._EmscriptenWASM = MPEGDecoder.EmscriptenWASM || EmscriptenWasm.default;
|
|
141
|
+
this._module = MPEGDecoder.module;
|
|
142
|
+
this._inputSize = 2 ** 16;
|
|
143
|
+
this._outputSize = 2889 * 16 * 2;
|
|
144
|
+
this._ready = this._init();
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
exports.default = MPEGDecoder;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import WASMAudioDecoderCommon from "../../@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.js";
|
|
2
|
+
import EmscriptenWASM from "./EmscriptenWasm.js";
|
|
3
|
+
function MPEGDecoder(options = {}) {
|
|
4
|
+
this._init = () => {
|
|
5
|
+
return new this._WASMAudioDecoderCommon().instantiate(this._EmscriptenWASM, this._module).then((common) => {
|
|
6
|
+
this._common = common;
|
|
7
|
+
this._sampleRate = 0;
|
|
8
|
+
this._inputBytes = 0;
|
|
9
|
+
this._outputSamples = 0;
|
|
10
|
+
this._frameNumber = 0;
|
|
11
|
+
this._input = this._common.allocateTypedArray(
|
|
12
|
+
this._inputSize,
|
|
13
|
+
Uint8Array
|
|
14
|
+
);
|
|
15
|
+
this._output = this._common.allocateTypedArray(
|
|
16
|
+
this._outputSize,
|
|
17
|
+
Float32Array
|
|
18
|
+
);
|
|
19
|
+
const decoderPtr = this._common.allocateTypedArray(1, Uint32Array);
|
|
20
|
+
this._samplesDecodedPtr = this._common.allocateTypedArray(
|
|
21
|
+
1,
|
|
22
|
+
Uint32Array
|
|
23
|
+
);
|
|
24
|
+
this._sampleRatePtr = this._common.allocateTypedArray(1, Uint32Array);
|
|
25
|
+
this._errorStringPtr = this._common.allocateTypedArray(1, Uint32Array);
|
|
26
|
+
const error = this._common.wasm.mpeg_frame_decoder_create(
|
|
27
|
+
decoderPtr.ptr,
|
|
28
|
+
options.enableGapless === false ? 0 : 1
|
|
29
|
+
// default to enabled
|
|
30
|
+
);
|
|
31
|
+
if (error) {
|
|
32
|
+
throw Error(this._getErrorMessage(error));
|
|
33
|
+
}
|
|
34
|
+
this._decoder = decoderPtr.buf[0];
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
Object.defineProperty(this, "ready", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: () => this._ready
|
|
40
|
+
});
|
|
41
|
+
this._getErrorMessage = (error) => error + " " + this._common.codeToString(this._errorStringPtr.buf[0]);
|
|
42
|
+
this.reset = () => {
|
|
43
|
+
this.free();
|
|
44
|
+
return this._init();
|
|
45
|
+
};
|
|
46
|
+
this.free = () => {
|
|
47
|
+
this._common.wasm.mpeg_frame_decoder_destroy(this._decoder);
|
|
48
|
+
this._common.wasm.free(this._decoder);
|
|
49
|
+
this._common.free();
|
|
50
|
+
};
|
|
51
|
+
this.decode = (data) => {
|
|
52
|
+
let output = [], errors = [], samples = 0;
|
|
53
|
+
if (!(data instanceof Uint8Array))
|
|
54
|
+
throw Error(
|
|
55
|
+
"Data to decode must be Uint8Array. Instead got " + typeof data
|
|
56
|
+
);
|
|
57
|
+
feed: for (let dataOffset = 0, dataChunkLength = 0; dataOffset < data.length; dataOffset += dataChunkLength) {
|
|
58
|
+
const dataChunk = data.subarray(dataOffset, this._input.len + dataOffset);
|
|
59
|
+
dataChunkLength = dataChunk.length;
|
|
60
|
+
this._inputBytes += dataChunkLength;
|
|
61
|
+
this._input.buf.set(dataChunk);
|
|
62
|
+
let error = this._common.wasm.mpeg_decoder_feed(
|
|
63
|
+
this._decoder,
|
|
64
|
+
this._input.ptr,
|
|
65
|
+
dataChunkLength
|
|
66
|
+
);
|
|
67
|
+
if (error === -10) {
|
|
68
|
+
continue feed;
|
|
69
|
+
}
|
|
70
|
+
read: while (true) {
|
|
71
|
+
this._samplesDecodedPtr.buf[0] = 0;
|
|
72
|
+
error = this._common.wasm.mpeg_decoder_read(
|
|
73
|
+
this._decoder,
|
|
74
|
+
this._output.ptr,
|
|
75
|
+
this._output.len,
|
|
76
|
+
this._samplesDecodedPtr.ptr,
|
|
77
|
+
this._sampleRatePtr.ptr,
|
|
78
|
+
this._errorStringPtr.ptr
|
|
79
|
+
);
|
|
80
|
+
const samplesDecoded = this._samplesDecodedPtr.buf[0];
|
|
81
|
+
this._outputSamples += samplesDecoded;
|
|
82
|
+
if (samplesDecoded) {
|
|
83
|
+
samples += samplesDecoded;
|
|
84
|
+
output.push([
|
|
85
|
+
this._output.buf.slice(0, samplesDecoded),
|
|
86
|
+
this._output.buf.slice(samplesDecoded, samplesDecoded * 2)
|
|
87
|
+
]);
|
|
88
|
+
}
|
|
89
|
+
if (error == -11) {
|
|
90
|
+
continue read;
|
|
91
|
+
} else if (error === -10) {
|
|
92
|
+
continue feed;
|
|
93
|
+
} else if (error) {
|
|
94
|
+
const message = this._getErrorMessage(error);
|
|
95
|
+
console.error("mpg123-decoder: " + message);
|
|
96
|
+
this._common.addError(
|
|
97
|
+
errors,
|
|
98
|
+
message,
|
|
99
|
+
0,
|
|
100
|
+
this._frameNumber,
|
|
101
|
+
this._inputBytes,
|
|
102
|
+
this._outputSamples
|
|
103
|
+
);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
|
|
108
|
+
errors,
|
|
109
|
+
output,
|
|
110
|
+
2,
|
|
111
|
+
samples,
|
|
112
|
+
this._sampleRatePtr.buf[0]
|
|
113
|
+
);
|
|
114
|
+
};
|
|
115
|
+
this.decodeFrame = (mpegFrame) => {
|
|
116
|
+
const decoded = this.decode(mpegFrame);
|
|
117
|
+
this._frameNumber++;
|
|
118
|
+
return decoded;
|
|
119
|
+
};
|
|
120
|
+
this.decodeFrames = (mpegFrames) => {
|
|
121
|
+
let output = [], errors = [], samples = 0, i = 0;
|
|
122
|
+
while (i < mpegFrames.length) {
|
|
123
|
+
const decoded = this.decodeFrame(mpegFrames[i++]);
|
|
124
|
+
output.push(decoded.channelData);
|
|
125
|
+
errors = errors.concat(decoded.errors);
|
|
126
|
+
samples += decoded.samplesDecoded;
|
|
127
|
+
}
|
|
128
|
+
return this._WASMAudioDecoderCommon.getDecodedAudioMultiChannel(
|
|
129
|
+
errors,
|
|
130
|
+
output,
|
|
131
|
+
2,
|
|
132
|
+
samples,
|
|
133
|
+
this._sampleRatePtr.buf[0]
|
|
134
|
+
);
|
|
135
|
+
};
|
|
136
|
+
this._isWebWorker = MPEGDecoder.isWebWorker;
|
|
137
|
+
this._WASMAudioDecoderCommon = MPEGDecoder.WASMAudioDecoderCommon || WASMAudioDecoderCommon;
|
|
138
|
+
this._EmscriptenWASM = MPEGDecoder.EmscriptenWASM || EmscriptenWASM;
|
|
139
|
+
this._module = MPEGDecoder.module;
|
|
140
|
+
this._inputSize = 2 ** 16;
|
|
141
|
+
this._outputSize = 2889 * 16 * 2;
|
|
142
|
+
this._ready = this._init();
|
|
143
|
+
return this;
|
|
144
|
+
}
|
|
145
|
+
export {
|
|
146
|
+
MPEGDecoder as default
|
|
147
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const WASMAudioDecoderWorker = require("../../@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.cjs");
|
|
4
|
+
const EmscriptenWasm = require("./EmscriptenWasm.cjs");
|
|
5
|
+
const MPEGDecoder = require("./MPEGDecoder.cjs");
|
|
6
|
+
class MPEGDecoderWebWorker extends WASMAudioDecoderWorker.default {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options, "mpg123-decoder", MPEGDecoder.default, EmscriptenWasm.default);
|
|
9
|
+
}
|
|
10
|
+
async decode(data) {
|
|
11
|
+
return this.postToDecoder("decode", data);
|
|
12
|
+
}
|
|
13
|
+
async decodeFrame(data) {
|
|
14
|
+
return this.postToDecoder("decodeFrame", data);
|
|
15
|
+
}
|
|
16
|
+
async decodeFrames(data) {
|
|
17
|
+
return this.postToDecoder("decodeFrames", data);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.default = MPEGDecoderWebWorker;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import WASMAudioDecoderWorker from "../../@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.js";
|
|
2
|
+
import EmscriptenWASM from "./EmscriptenWasm.js";
|
|
3
|
+
import MPEGDecoder from "./MPEGDecoder.js";
|
|
4
|
+
class MPEGDecoderWebWorker extends WASMAudioDecoderWorker {
|
|
5
|
+
constructor(options) {
|
|
6
|
+
super(options, "mpg123-decoder", MPEGDecoder, EmscriptenWASM);
|
|
7
|
+
}
|
|
8
|
+
async decode(data) {
|
|
9
|
+
return this.postToDecoder("decode", data);
|
|
10
|
+
}
|
|
11
|
+
async decodeFrame(data) {
|
|
12
|
+
return this.postToDecoder("decodeFrame", data);
|
|
13
|
+
}
|
|
14
|
+
async decodeFrames(data) {
|
|
15
|
+
return this.postToDecoder("decodeFrames", data);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
MPEGDecoderWebWorker as default
|
|
20
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const t = (t2, n = 4294967295, e2 = 79764919) => {
|
|
4
|
+
const r = new Int32Array(256);
|
|
5
|
+
let o, s, i, c = n;
|
|
6
|
+
for (o = 0; o < 256; o++) {
|
|
7
|
+
for (i = o << 24, s = 8; s > 0; --s) i = 2147483648 & i ? i << 1 ^ e2 : i << 1;
|
|
8
|
+
r[o] = i;
|
|
9
|
+
}
|
|
10
|
+
for (o = 0; o < t2.length; o++) c = c << 8 ^ r[255 & (c >> 24 ^ t2[o])];
|
|
11
|
+
return c;
|
|
12
|
+
}, e = (n, e2 = t) => {
|
|
13
|
+
const r = (t2) => new Uint8Array(t2.length / 2).map(((n2, e3) => parseInt(t2.substring(2 * e3, 2 * (e3 + 1)), 16))), o = (t2) => r(t2)[0], s = /* @__PURE__ */ new Map();
|
|
14
|
+
[, 8364, , 8218, 402, 8222, 8230, 8224, 8225, 710, 8240, 352, 8249, 338, , 381, , , 8216, 8217, 8220, 8221, 8226, 8211, 8212, 732, 8482, 353, 8250, 339, , 382, 376].forEach(((t2, n2) => s.set(t2, n2)));
|
|
15
|
+
const i = new Uint8Array(n.length);
|
|
16
|
+
let c, a, l, f = false, g = 0, h = 42, p = n.length > 13 && "dynEncode" === n.substring(0, 9), u = 0;
|
|
17
|
+
p && (u = 11, a = o(n.substring(9, u)), a <= 1 && (u += 2, h = o(n.substring(11, u))), 1 === a && (u += 8, l = ((t2) => new DataView(r(t2).buffer).getInt32(0, true))(n.substring(13, u))));
|
|
18
|
+
const d = 256 - h;
|
|
19
|
+
for (let t2 = u; t2 < n.length; t2++) if (c = n.charCodeAt(t2), 61 !== c || f) {
|
|
20
|
+
if (92 === c && t2 < n.length - 5 && p) {
|
|
21
|
+
const e3 = n.charCodeAt(t2 + 1);
|
|
22
|
+
117 !== e3 && 85 !== e3 || (c = parseInt(n.substring(t2 + 2, t2 + 6), 16), t2 += 5);
|
|
23
|
+
}
|
|
24
|
+
if (c > 255) {
|
|
25
|
+
const t3 = s.get(c);
|
|
26
|
+
t3 && (c = t3 + 127);
|
|
27
|
+
}
|
|
28
|
+
f && (f = false, c -= 64), i[g++] = c < h && c > 0 ? c + d : c - h;
|
|
29
|
+
} else f = true;
|
|
30
|
+
const m = i.subarray(0, g);
|
|
31
|
+
if (p && 1 === a) {
|
|
32
|
+
const t2 = e2(m);
|
|
33
|
+
if (t2 !== l) {
|
|
34
|
+
const n2 = "Decode failed crc32 validation";
|
|
35
|
+
throw console.error("`simple-yenc`\n", n2 + "\n", "Expected: " + l + "; Got: " + t2 + "\n", "Visit https://github.com/eshaz/simple-yenc for more information"), Error(n2);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return m;
|
|
39
|
+
};
|
|
40
|
+
exports.crc32 = t;
|
|
41
|
+
exports.decode = e;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
const t = (t2, n = 4294967295, e2 = 79764919) => {
|
|
2
|
+
const r = new Int32Array(256);
|
|
3
|
+
let o, s, i, c = n;
|
|
4
|
+
for (o = 0; o < 256; o++) {
|
|
5
|
+
for (i = o << 24, s = 8; s > 0; --s) i = 2147483648 & i ? i << 1 ^ e2 : i << 1;
|
|
6
|
+
r[o] = i;
|
|
7
|
+
}
|
|
8
|
+
for (o = 0; o < t2.length; o++) c = c << 8 ^ r[255 & (c >> 24 ^ t2[o])];
|
|
9
|
+
return c;
|
|
10
|
+
}, e = (n, e2 = t) => {
|
|
11
|
+
const r = (t2) => new Uint8Array(t2.length / 2).map(((n2, e3) => parseInt(t2.substring(2 * e3, 2 * (e3 + 1)), 16))), o = (t2) => r(t2)[0], s = /* @__PURE__ */ new Map();
|
|
12
|
+
[, 8364, , 8218, 402, 8222, 8230, 8224, 8225, 710, 8240, 352, 8249, 338, , 381, , , 8216, 8217, 8220, 8221, 8226, 8211, 8212, 732, 8482, 353, 8250, 339, , 382, 376].forEach(((t2, n2) => s.set(t2, n2)));
|
|
13
|
+
const i = new Uint8Array(n.length);
|
|
14
|
+
let c, a, l, f = false, g = 0, h = 42, p = n.length > 13 && "dynEncode" === n.substring(0, 9), u = 0;
|
|
15
|
+
p && (u = 11, a = o(n.substring(9, u)), a <= 1 && (u += 2, h = o(n.substring(11, u))), 1 === a && (u += 8, l = ((t2) => new DataView(r(t2).buffer).getInt32(0, true))(n.substring(13, u))));
|
|
16
|
+
const d = 256 - h;
|
|
17
|
+
for (let t2 = u; t2 < n.length; t2++) if (c = n.charCodeAt(t2), 61 !== c || f) {
|
|
18
|
+
if (92 === c && t2 < n.length - 5 && p) {
|
|
19
|
+
const e3 = n.charCodeAt(t2 + 1);
|
|
20
|
+
117 !== e3 && 85 !== e3 || (c = parseInt(n.substring(t2 + 2, t2 + 6), 16), t2 += 5);
|
|
21
|
+
}
|
|
22
|
+
if (c > 255) {
|
|
23
|
+
const t3 = s.get(c);
|
|
24
|
+
t3 && (c = t3 + 127);
|
|
25
|
+
}
|
|
26
|
+
f && (f = false, c -= 64), i[g++] = c < h && c > 0 ? c + d : c - h;
|
|
27
|
+
} else f = true;
|
|
28
|
+
const m = i.subarray(0, g);
|
|
29
|
+
if (p && 1 === a) {
|
|
30
|
+
const t2 = e2(m);
|
|
31
|
+
if (t2 !== l) {
|
|
32
|
+
const n2 = "Decode failed crc32 validation";
|
|
33
|
+
throw console.error("`simple-yenc`\n", n2 + "\n", "Expected: " + l + "; Got: " + t2 + "\n", "Visit https://github.com/eshaz/simple-yenc for more information"), Error(n2);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return m;
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
t as crc32,
|
|
40
|
+
e as decode
|
|
41
|
+
};
|
package/dist/waveform/index.cjs
CHANGED
|
@@ -9,8 +9,8 @@ const getInitialSampleCount = () => {
|
|
|
9
9
|
if (typeof window === "undefined") return 500;
|
|
10
10
|
return Math.max(500, Math.ceil(window.innerWidth));
|
|
11
11
|
};
|
|
12
|
-
const AudioWaveform = react.forwardRef(function AudioWaveform2({ blob, appearance, suspense = false, currentTime, duration, onSeek, ...props }, ref) {
|
|
13
|
-
const [
|
|
12
|
+
const AudioWaveform = react.forwardRef(function AudioWaveform2({ blob, peaks: precomputedPeaks, appearance, suspense = false, currentTime, duration, onSeek, ...props }, ref) {
|
|
13
|
+
const [decodedPeaks, setDecodedPeaks] = react.useState(null);
|
|
14
14
|
const [error, setError] = react.useState(null);
|
|
15
15
|
const blobRef = react.useRef(null);
|
|
16
16
|
const rendererRef = react.useRef(null);
|
|
@@ -22,13 +22,15 @@ const AudioWaveform = react.forwardRef(function AudioWaveform2({ blob, appearanc
|
|
|
22
22
|
ref.current = { canvas: rendererRef.current?.canvas || null };
|
|
23
23
|
}
|
|
24
24
|
}, [ref]);
|
|
25
|
-
const
|
|
25
|
+
const shouldDecode = !precomputedPeaks && blob;
|
|
26
|
+
const suspensePeaks = shouldDecode && suspense ? utilSuspense.unwrapPromise(utilAudioDecoder.getAudioData(blob, sampleCount)) : null;
|
|
26
27
|
react.useEffect(() => {
|
|
27
|
-
if (suspense)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
if (!shouldDecode || suspense) {
|
|
29
|
+
if (!shouldDecode) {
|
|
30
|
+
setDecodedPeaks(null);
|
|
31
|
+
setError(null);
|
|
32
|
+
blobRef.current = null;
|
|
33
|
+
}
|
|
32
34
|
return;
|
|
33
35
|
}
|
|
34
36
|
if (blobRef.current === blob) return;
|
|
@@ -37,7 +39,7 @@ const AudioWaveform = react.forwardRef(function AudioWaveform2({ blob, appearanc
|
|
|
37
39
|
setError(null);
|
|
38
40
|
utilAudioDecoder.decodeAudioBlob(blob, sampleCount).then((data) => {
|
|
39
41
|
if (!cancelled) {
|
|
40
|
-
|
|
42
|
+
setDecodedPeaks(data);
|
|
41
43
|
}
|
|
42
44
|
}).catch((err) => {
|
|
43
45
|
if (!cancelled) {
|
|
@@ -47,11 +49,11 @@ const AudioWaveform = react.forwardRef(function AudioWaveform2({ blob, appearanc
|
|
|
47
49
|
return () => {
|
|
48
50
|
cancelled = true;
|
|
49
51
|
};
|
|
50
|
-
}, [blob, sampleCount, suspense]);
|
|
52
|
+
}, [blob, sampleCount, suspense, shouldDecode]);
|
|
51
53
|
if (!suspense && error) {
|
|
52
54
|
throw error;
|
|
53
55
|
}
|
|
54
|
-
const finalPeaks = suspense ? suspensePeaks :
|
|
56
|
+
const finalPeaks = precomputedPeaks ?? (suspense ? suspensePeaks : decodedPeaks);
|
|
55
57
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
56
58
|
waveformRenderer.WaveformRenderer,
|
|
57
59
|
{
|
package/dist/waveform/index.js
CHANGED
|
@@ -7,8 +7,8 @@ const getInitialSampleCount = () => {
|
|
|
7
7
|
if (typeof window === "undefined") return 500;
|
|
8
8
|
return Math.max(500, Math.ceil(window.innerWidth));
|
|
9
9
|
};
|
|
10
|
-
const AudioWaveform = forwardRef(function AudioWaveform2({ blob, appearance, suspense = false, currentTime, duration, onSeek, ...props }, ref) {
|
|
11
|
-
const [
|
|
10
|
+
const AudioWaveform = forwardRef(function AudioWaveform2({ blob, peaks: precomputedPeaks, appearance, suspense = false, currentTime, duration, onSeek, ...props }, ref) {
|
|
11
|
+
const [decodedPeaks, setDecodedPeaks] = useState(null);
|
|
12
12
|
const [error, setError] = useState(null);
|
|
13
13
|
const blobRef = useRef(null);
|
|
14
14
|
const rendererRef = useRef(null);
|
|
@@ -20,13 +20,15 @@ const AudioWaveform = forwardRef(function AudioWaveform2({ blob, appearance, sus
|
|
|
20
20
|
ref.current = { canvas: rendererRef.current?.canvas || null };
|
|
21
21
|
}
|
|
22
22
|
}, [ref]);
|
|
23
|
-
const
|
|
23
|
+
const shouldDecode = !precomputedPeaks && blob;
|
|
24
|
+
const suspensePeaks = shouldDecode && suspense ? unwrapPromise(getAudioData(blob, sampleCount)) : null;
|
|
24
25
|
useEffect(() => {
|
|
25
|
-
if (suspense)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
if (!shouldDecode || suspense) {
|
|
27
|
+
if (!shouldDecode) {
|
|
28
|
+
setDecodedPeaks(null);
|
|
29
|
+
setError(null);
|
|
30
|
+
blobRef.current = null;
|
|
31
|
+
}
|
|
30
32
|
return;
|
|
31
33
|
}
|
|
32
34
|
if (blobRef.current === blob) return;
|
|
@@ -35,7 +37,7 @@ const AudioWaveform = forwardRef(function AudioWaveform2({ blob, appearance, sus
|
|
|
35
37
|
setError(null);
|
|
36
38
|
decodeAudioBlob(blob, sampleCount).then((data) => {
|
|
37
39
|
if (!cancelled) {
|
|
38
|
-
|
|
40
|
+
setDecodedPeaks(data);
|
|
39
41
|
}
|
|
40
42
|
}).catch((err) => {
|
|
41
43
|
if (!cancelled) {
|
|
@@ -45,11 +47,11 @@ const AudioWaveform = forwardRef(function AudioWaveform2({ blob, appearance, sus
|
|
|
45
47
|
return () => {
|
|
46
48
|
cancelled = true;
|
|
47
49
|
};
|
|
48
|
-
}, [blob, sampleCount, suspense]);
|
|
50
|
+
}, [blob, sampleCount, suspense, shouldDecode]);
|
|
49
51
|
if (!suspense && error) {
|
|
50
52
|
throw error;
|
|
51
53
|
}
|
|
52
|
-
const finalPeaks = suspense ? suspensePeaks :
|
|
54
|
+
const finalPeaks = precomputedPeaks ?? (suspense ? suspensePeaks : decodedPeaks);
|
|
53
55
|
return /* @__PURE__ */ jsx(
|
|
54
56
|
WaveformRenderer,
|
|
55
57
|
{
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
if (arrayBuffer.byteLength === 0) {
|
|
7
|
-
throw new Error("Audio blob is empty");
|
|
8
|
-
}
|
|
9
|
-
const offlineContext = new module$1.OfflineAudioContext({ length: 1, sampleRate: 44100 });
|
|
10
|
-
let audioBuffer;
|
|
11
|
-
try {
|
|
12
|
-
audioBuffer = await offlineContext.decodeAudioData(arrayBuffer);
|
|
13
|
-
} catch {
|
|
14
|
-
throw new Error(
|
|
15
|
-
`Unable to decode audio data (type: ${blob.type}, size: ${blob.size} bytes). This may be due to an unsupported audio format or corrupted data.`
|
|
16
|
-
);
|
|
17
|
-
}
|
|
18
|
-
const channelData = audioBuffer.getChannelData(0);
|
|
3
|
+
require("../node_modules/mpg123-decoder/index.cjs");
|
|
4
|
+
const MPEGDecoder = require("../node_modules/mpg123-decoder/src/MPEGDecoder.cjs");
|
|
5
|
+
function extractPeaksFromChannelData(channelData, sampleCount) {
|
|
19
6
|
const blockSize = Math.floor(channelData.length / sampleCount);
|
|
20
7
|
const peaks = [];
|
|
21
8
|
for (let i = 0; i < sampleCount; i++) {
|
|
@@ -27,8 +14,39 @@ async function decodeAudioBlob(blob, sampleCount) {
|
|
|
27
14
|
peaks.push(sum / blockSize);
|
|
28
15
|
}
|
|
29
16
|
const maxPeak = Math.max(...peaks);
|
|
30
|
-
|
|
31
|
-
|
|
17
|
+
return maxPeak > 0 ? peaks.map((p) => p / maxPeak) : peaks;
|
|
18
|
+
}
|
|
19
|
+
async function decodeWithNativeAPI(arrayBuffer) {
|
|
20
|
+
const offlineContext = new OfflineAudioContext(1, 1, 44100);
|
|
21
|
+
return offlineContext.decodeAudioData(arrayBuffer);
|
|
22
|
+
}
|
|
23
|
+
async function decodeWithWASM(arrayBuffer) {
|
|
24
|
+
const decoder = new MPEGDecoder.default();
|
|
25
|
+
await decoder.ready;
|
|
26
|
+
const result = decoder.decode(new Uint8Array(arrayBuffer));
|
|
27
|
+
const channelData = result.channelData[0];
|
|
28
|
+
decoder.free();
|
|
29
|
+
return channelData;
|
|
30
|
+
}
|
|
31
|
+
async function decodeAudioBlob(blob, sampleCount) {
|
|
32
|
+
const arrayBuffer = await blob.arrayBuffer();
|
|
33
|
+
if (arrayBuffer.byteLength === 0) {
|
|
34
|
+
throw new Error("Audio blob is empty");
|
|
35
|
+
}
|
|
36
|
+
try {
|
|
37
|
+
const audioBuffer = await decodeWithNativeAPI(arrayBuffer);
|
|
38
|
+
const channelData = audioBuffer.getChannelData(0);
|
|
39
|
+
return extractPeaksFromChannelData(channelData, sampleCount);
|
|
40
|
+
} catch {
|
|
41
|
+
}
|
|
42
|
+
try {
|
|
43
|
+
const channelData = await decodeWithWASM(arrayBuffer);
|
|
44
|
+
return extractPeaksFromChannelData(channelData, sampleCount);
|
|
45
|
+
} catch {
|
|
46
|
+
throw new Error(
|
|
47
|
+
`Unable to decode audio data (type: ${blob.type}, size: ${blob.size} bytes). Both native Web Audio API and WASM decoder failed. This may be due to an unsupported audio format or corrupted data.`
|
|
48
|
+
);
|
|
49
|
+
}
|
|
32
50
|
}
|
|
33
51
|
const audioDataCache = /* @__PURE__ */ new WeakMap();
|
|
34
52
|
function getAudioData(blob, sampleCount) {
|
|
@@ -1,19 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
if (arrayBuffer.byteLength === 0) {
|
|
5
|
-
throw new Error("Audio blob is empty");
|
|
6
|
-
}
|
|
7
|
-
const offlineContext = new offlineAudioContextConstructor({ length: 1, sampleRate: 44100 });
|
|
8
|
-
let audioBuffer;
|
|
9
|
-
try {
|
|
10
|
-
audioBuffer = await offlineContext.decodeAudioData(arrayBuffer);
|
|
11
|
-
} catch {
|
|
12
|
-
throw new Error(
|
|
13
|
-
`Unable to decode audio data (type: ${blob.type}, size: ${blob.size} bytes). This may be due to an unsupported audio format or corrupted data.`
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
const channelData = audioBuffer.getChannelData(0);
|
|
1
|
+
import "../node_modules/mpg123-decoder/index.js";
|
|
2
|
+
import MPEGDecoder from "../node_modules/mpg123-decoder/src/MPEGDecoder.js";
|
|
3
|
+
function extractPeaksFromChannelData(channelData, sampleCount) {
|
|
17
4
|
const blockSize = Math.floor(channelData.length / sampleCount);
|
|
18
5
|
const peaks = [];
|
|
19
6
|
for (let i = 0; i < sampleCount; i++) {
|
|
@@ -25,8 +12,39 @@ async function decodeAudioBlob(blob, sampleCount) {
|
|
|
25
12
|
peaks.push(sum / blockSize);
|
|
26
13
|
}
|
|
27
14
|
const maxPeak = Math.max(...peaks);
|
|
28
|
-
|
|
29
|
-
|
|
15
|
+
return maxPeak > 0 ? peaks.map((p) => p / maxPeak) : peaks;
|
|
16
|
+
}
|
|
17
|
+
async function decodeWithNativeAPI(arrayBuffer) {
|
|
18
|
+
const offlineContext = new OfflineAudioContext(1, 1, 44100);
|
|
19
|
+
return offlineContext.decodeAudioData(arrayBuffer);
|
|
20
|
+
}
|
|
21
|
+
async function decodeWithWASM(arrayBuffer) {
|
|
22
|
+
const decoder = new MPEGDecoder();
|
|
23
|
+
await decoder.ready;
|
|
24
|
+
const result = decoder.decode(new Uint8Array(arrayBuffer));
|
|
25
|
+
const channelData = result.channelData[0];
|
|
26
|
+
decoder.free();
|
|
27
|
+
return channelData;
|
|
28
|
+
}
|
|
29
|
+
async function decodeAudioBlob(blob, sampleCount) {
|
|
30
|
+
const arrayBuffer = await blob.arrayBuffer();
|
|
31
|
+
if (arrayBuffer.byteLength === 0) {
|
|
32
|
+
throw new Error("Audio blob is empty");
|
|
33
|
+
}
|
|
34
|
+
try {
|
|
35
|
+
const audioBuffer = await decodeWithNativeAPI(arrayBuffer);
|
|
36
|
+
const channelData = audioBuffer.getChannelData(0);
|
|
37
|
+
return extractPeaksFromChannelData(channelData, sampleCount);
|
|
38
|
+
} catch {
|
|
39
|
+
}
|
|
40
|
+
try {
|
|
41
|
+
const channelData = await decodeWithWASM(arrayBuffer);
|
|
42
|
+
return extractPeaksFromChannelData(channelData, sampleCount);
|
|
43
|
+
} catch {
|
|
44
|
+
throw new Error(
|
|
45
|
+
`Unable to decode audio data (type: ${blob.type}, size: ${blob.size} bytes). Both native Web Audio API and WASM decoder failed. This may be due to an unsupported audio format or corrupted data.`
|
|
46
|
+
);
|
|
47
|
+
}
|
|
30
48
|
}
|
|
31
49
|
const audioDataCache = /* @__PURE__ */ new WeakMap();
|
|
32
50
|
function getAudioData(blob, sampleCount) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-audio-wavekit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"license": "CC0-1.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"vitest": "^4.0.15"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
+
"mpg123-decoder": "^1.0.3",
|
|
71
72
|
"overlayscrollbars": "^2.13.0",
|
|
72
|
-
"overlayscrollbars-react": "^0.5.6"
|
|
73
|
-
"standardized-audio-context": "^25.3.77"
|
|
73
|
+
"overlayscrollbars-react": "^0.5.6"
|
|
74
74
|
}
|
|
75
75
|
}
|