react-audio-wavekit 0.1.5 → 0.1.6
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/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.cjs +137 -0
- package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.js +137 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.cjs +16 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.js +16 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.cjs +16 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.js +16 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.cjs +12 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.js +12 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.cjs +8 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.js +8 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.cjs +11 -0
- package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.js +11 -0
- package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.cjs +11 -0
- package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.js +11 -0
- package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.cjs +8 -0
- package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.js +8 -0
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.js +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.cjs +6 -0
- package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/constants.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/constants.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.cjs +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.js +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.cjs +115 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.js +115 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.cjs +60 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.js +60 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.cjs +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.js +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.cjs +73 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.js +73 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.cjs +37 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.js +37 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.cjs +37 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.js +37 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.cjs +103 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.js +103 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.cjs +58 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.js +58 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.cjs +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.js +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.cjs +21 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.js +21 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.cjs +220 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.js +220 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.cjs +274 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.js +274 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.cjs +152 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.js +152 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.cjs +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.js +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.cjs +83 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.js +83 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.cjs +63 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.js +63 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.cjs +49 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.js +49 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.cjs +31 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.js +31 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.cjs +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.js +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.cjs +34 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.js +34 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.cjs +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.js +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.cjs +34 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.js +34 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.cjs +26 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.js +26 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.cjs +63 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.js +63 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.cjs +53 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.js +53 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.cjs +51 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.js +51 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.cjs +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.js +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.cjs +18 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.js +18 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.cjs +59 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.js +59 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.cjs +32 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.js +32 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.cjs +27 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.js +27 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.cjs +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.js +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.cjs +21 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.js +21 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.cjs +80 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.js +80 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.cjs +51 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.js +51 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.cjs +45 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.js +45 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.cjs +30 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.js +30 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.cjs +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.js +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.cjs +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.js +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.cjs +26 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.js +26 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.cjs +39 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.js +39 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.cjs +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.js +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.cjs +27 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.js +27 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.cjs +93 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.js +93 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.cjs +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.js +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.cjs +43 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.js +43 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.cjs +59 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.js +59 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.cjs +24 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.js +24 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.cjs +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.js +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.cjs +51 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.js +51 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.cjs +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.js +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.cjs +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.js +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.cjs +25 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.js +25 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.cjs +88 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.js +88 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.cjs +34 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.js +34 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.cjs +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.js +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.cjs +23 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.js +23 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.cjs +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.js +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.cjs +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.js +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.cjs +139 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.js +139 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.cjs +32 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.js +32 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.cjs +30 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.js +30 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.cjs +277 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.js +277 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.cjs +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.js +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.cjs +28 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.js +28 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.cjs +244 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.js +244 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.cjs +48 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.js +48 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.cjs +153 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.js +153 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.cjs +71 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.js +71 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.cjs +90 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.js +90 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.cjs +62 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.js +62 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.cjs +109 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.js +109 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.cjs +166 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.js +166 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.cjs +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.js +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.cjs +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.js +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.cjs +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.js +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.cjs +36 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.js +36 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.cjs +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.js +29 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.cjs +44 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.js +44 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.cjs +35 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.js +35 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.cjs +24 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.js +24 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.cjs +49 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.js +49 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.cjs +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.js +40 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.cjs +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.js +4 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.cjs +25 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.js +25 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.cjs +33 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.js +33 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.cjs +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.js +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.cjs +30 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.js +30 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/globals.cjs +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/globals.js +20 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.cjs +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.js +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.cjs +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.js +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.cjs +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.js +9 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.cjs +35 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.js +35 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.cjs +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.js +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.cjs +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.js +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.cjs +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.js +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.cjs +21 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.js +21 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.cjs +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.js +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.cjs +26 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.js +26 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.cjs +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.js +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.cjs +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.js +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.cjs +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.js +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.cjs +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.js +8 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.cjs +5 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.js +5 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.cjs +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.js +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.cjs +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.js +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.cjs +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.js +7 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.cjs +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.js +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.cjs +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.js +15 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.cjs +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.js +10 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.cjs +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.js +17 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.cjs +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.js +6 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.cjs +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.js +11 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.cjs +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.js +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.cjs +36 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.js +36 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.cjs +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.js +12 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.cjs +18 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.js +18 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.cjs +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.js +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.cjs +18 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.js +18 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.cjs +61 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.js +61 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.cjs +31 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.js +31 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.cjs +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.js +13 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.cjs +31 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.js +31 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.cjs +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.js +16 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.cjs +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.js +14 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/module.cjs +298 -0
- package/dist/node_modules/standardized-audio-context/build/es2019/module.js +298 -0
- package/dist/waveform/util-audio-decoder.cjs +2 -1
- package/dist/waveform/util-audio-decoder.js +2 -1
- package/package.json +3 -2
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const nativeAudioNode = require("../guards/native-audio-node.cjs");
|
|
4
|
+
const wrapAudioNodeDisconnectMethod = (nativeAudioNode$1) => {
|
|
5
|
+
const connections = /* @__PURE__ */ new Map();
|
|
6
|
+
nativeAudioNode$1.connect = /* @__PURE__ */ ((connect) => {
|
|
7
|
+
return (destination, output = 0, input = 0) => {
|
|
8
|
+
const returnValue = nativeAudioNode.isNativeAudioNode(destination) ? connect(destination, output, input) : connect(destination, output);
|
|
9
|
+
const connectionsToDestination = connections.get(destination);
|
|
10
|
+
if (connectionsToDestination === void 0) {
|
|
11
|
+
connections.set(destination, [{ input, output }]);
|
|
12
|
+
} else {
|
|
13
|
+
if (connectionsToDestination.every((connection) => connection.input !== input || connection.output !== output)) {
|
|
14
|
+
connectionsToDestination.push({ input, output });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return returnValue;
|
|
18
|
+
};
|
|
19
|
+
})(nativeAudioNode$1.connect.bind(nativeAudioNode$1));
|
|
20
|
+
nativeAudioNode$1.disconnect = /* @__PURE__ */ ((disconnect) => {
|
|
21
|
+
return (destinationOrOutput, output, input) => {
|
|
22
|
+
disconnect.apply(nativeAudioNode$1);
|
|
23
|
+
if (destinationOrOutput === void 0) {
|
|
24
|
+
connections.clear();
|
|
25
|
+
} else if (typeof destinationOrOutput === "number") {
|
|
26
|
+
for (const [destination, connectionsToDestination] of connections) {
|
|
27
|
+
const filteredConnections = connectionsToDestination.filter((connection) => connection.output !== destinationOrOutput);
|
|
28
|
+
if (filteredConnections.length === 0) {
|
|
29
|
+
connections.delete(destination);
|
|
30
|
+
} else {
|
|
31
|
+
connections.set(destination, filteredConnections);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
} else if (connections.has(destinationOrOutput)) {
|
|
35
|
+
if (output === void 0) {
|
|
36
|
+
connections.delete(destinationOrOutput);
|
|
37
|
+
} else {
|
|
38
|
+
const connectionsToDestination = connections.get(destinationOrOutput);
|
|
39
|
+
if (connectionsToDestination !== void 0) {
|
|
40
|
+
const filteredConnections = connectionsToDestination.filter((connection) => connection.output !== output && (connection.input !== input || input === void 0));
|
|
41
|
+
if (filteredConnections.length === 0) {
|
|
42
|
+
connections.delete(destinationOrOutput);
|
|
43
|
+
} else {
|
|
44
|
+
connections.set(destinationOrOutput, filteredConnections);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
for (const [destination, connectionsToDestination] of connections) {
|
|
50
|
+
connectionsToDestination.forEach((connection) => {
|
|
51
|
+
if (nativeAudioNode.isNativeAudioNode(destination)) {
|
|
52
|
+
nativeAudioNode$1.connect(destination, connection.output, connection.input);
|
|
53
|
+
} else {
|
|
54
|
+
nativeAudioNode$1.connect(destination, connection.output);
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
})(nativeAudioNode$1.disconnect);
|
|
60
|
+
};
|
|
61
|
+
exports.wrapAudioNodeDisconnectMethod = wrapAudioNodeDisconnectMethod;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { isNativeAudioNode } from "../guards/native-audio-node.js";
|
|
2
|
+
const wrapAudioNodeDisconnectMethod = (nativeAudioNode) => {
|
|
3
|
+
const connections = /* @__PURE__ */ new Map();
|
|
4
|
+
nativeAudioNode.connect = /* @__PURE__ */ ((connect) => {
|
|
5
|
+
return (destination, output = 0, input = 0) => {
|
|
6
|
+
const returnValue = isNativeAudioNode(destination) ? connect(destination, output, input) : connect(destination, output);
|
|
7
|
+
const connectionsToDestination = connections.get(destination);
|
|
8
|
+
if (connectionsToDestination === void 0) {
|
|
9
|
+
connections.set(destination, [{ input, output }]);
|
|
10
|
+
} else {
|
|
11
|
+
if (connectionsToDestination.every((connection) => connection.input !== input || connection.output !== output)) {
|
|
12
|
+
connectionsToDestination.push({ input, output });
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return returnValue;
|
|
16
|
+
};
|
|
17
|
+
})(nativeAudioNode.connect.bind(nativeAudioNode));
|
|
18
|
+
nativeAudioNode.disconnect = /* @__PURE__ */ ((disconnect) => {
|
|
19
|
+
return (destinationOrOutput, output, input) => {
|
|
20
|
+
disconnect.apply(nativeAudioNode);
|
|
21
|
+
if (destinationOrOutput === void 0) {
|
|
22
|
+
connections.clear();
|
|
23
|
+
} else if (typeof destinationOrOutput === "number") {
|
|
24
|
+
for (const [destination, connectionsToDestination] of connections) {
|
|
25
|
+
const filteredConnections = connectionsToDestination.filter((connection) => connection.output !== destinationOrOutput);
|
|
26
|
+
if (filteredConnections.length === 0) {
|
|
27
|
+
connections.delete(destination);
|
|
28
|
+
} else {
|
|
29
|
+
connections.set(destination, filteredConnections);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
} else if (connections.has(destinationOrOutput)) {
|
|
33
|
+
if (output === void 0) {
|
|
34
|
+
connections.delete(destinationOrOutput);
|
|
35
|
+
} else {
|
|
36
|
+
const connectionsToDestination = connections.get(destinationOrOutput);
|
|
37
|
+
if (connectionsToDestination !== void 0) {
|
|
38
|
+
const filteredConnections = connectionsToDestination.filter((connection) => connection.output !== output && (connection.input !== input || input === void 0));
|
|
39
|
+
if (filteredConnections.length === 0) {
|
|
40
|
+
connections.delete(destinationOrOutput);
|
|
41
|
+
} else {
|
|
42
|
+
connections.set(destinationOrOutput, filteredConnections);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
for (const [destination, connectionsToDestination] of connections) {
|
|
48
|
+
connectionsToDestination.forEach((connection) => {
|
|
49
|
+
if (isNativeAudioNode(destination)) {
|
|
50
|
+
nativeAudioNode.connect(destination, connection.output, connection.input);
|
|
51
|
+
} else {
|
|
52
|
+
nativeAudioNode.connect(destination, connection.output);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
})(nativeAudioNode.disconnect);
|
|
58
|
+
};
|
|
59
|
+
export {
|
|
60
|
+
wrapAudioNodeDisconnectMethod
|
|
61
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const wrapAudioScheduledSourceNodeStartMethodNegativeParameters = (nativeAudioScheduledSourceNode) => {
|
|
4
|
+
nativeAudioScheduledSourceNode.start = /* @__PURE__ */ ((start) => {
|
|
5
|
+
return (when = 0, offset = 0, duration) => {
|
|
6
|
+
if (typeof duration === "number" && duration < 0 || offset < 0 || when < 0) {
|
|
7
|
+
throw new RangeError("The parameters can't be negative.");
|
|
8
|
+
}
|
|
9
|
+
start.call(nativeAudioScheduledSourceNode, when, offset, duration);
|
|
10
|
+
};
|
|
11
|
+
})(nativeAudioScheduledSourceNode.start);
|
|
12
|
+
};
|
|
13
|
+
exports.wrapAudioScheduledSourceNodeStartMethodNegativeParameters = wrapAudioScheduledSourceNodeStartMethodNegativeParameters;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const wrapAudioScheduledSourceNodeStartMethodNegativeParameters = (nativeAudioScheduledSourceNode) => {
|
|
2
|
+
nativeAudioScheduledSourceNode.start = /* @__PURE__ */ ((start) => {
|
|
3
|
+
return (when = 0, offset = 0, duration) => {
|
|
4
|
+
if (typeof duration === "number" && duration < 0 || offset < 0 || when < 0) {
|
|
5
|
+
throw new RangeError("The parameters can't be negative.");
|
|
6
|
+
}
|
|
7
|
+
start.call(nativeAudioScheduledSourceNode, when, offset, duration);
|
|
8
|
+
};
|
|
9
|
+
})(nativeAudioScheduledSourceNode.start);
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
wrapAudioScheduledSourceNodeStartMethodNegativeParameters
|
|
13
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const interceptConnections = require("./intercept-connections.cjs");
|
|
4
|
+
const wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls = (nativeAudioScheduledSourceNode, nativeContext) => {
|
|
5
|
+
const nativeGainNode = nativeContext.createGain();
|
|
6
|
+
nativeAudioScheduledSourceNode.connect(nativeGainNode);
|
|
7
|
+
const disconnectGainNode = /* @__PURE__ */ ((disconnect) => {
|
|
8
|
+
return () => {
|
|
9
|
+
disconnect.call(nativeAudioScheduledSourceNode, nativeGainNode);
|
|
10
|
+
nativeAudioScheduledSourceNode.removeEventListener("ended", disconnectGainNode);
|
|
11
|
+
};
|
|
12
|
+
})(nativeAudioScheduledSourceNode.disconnect);
|
|
13
|
+
nativeAudioScheduledSourceNode.addEventListener("ended", disconnectGainNode);
|
|
14
|
+
interceptConnections.interceptConnections(nativeAudioScheduledSourceNode, nativeGainNode);
|
|
15
|
+
nativeAudioScheduledSourceNode.stop = /* @__PURE__ */ ((stop) => {
|
|
16
|
+
let isStopped = false;
|
|
17
|
+
return (when = 0) => {
|
|
18
|
+
if (isStopped) {
|
|
19
|
+
try {
|
|
20
|
+
stop.call(nativeAudioScheduledSourceNode, when);
|
|
21
|
+
} catch {
|
|
22
|
+
nativeGainNode.gain.setValueAtTime(0, when);
|
|
23
|
+
}
|
|
24
|
+
} else {
|
|
25
|
+
stop.call(nativeAudioScheduledSourceNode, when);
|
|
26
|
+
isStopped = true;
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
})(nativeAudioScheduledSourceNode.stop);
|
|
30
|
+
};
|
|
31
|
+
exports.wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls = wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { interceptConnections } from "./intercept-connections.js";
|
|
2
|
+
const wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls = (nativeAudioScheduledSourceNode, nativeContext) => {
|
|
3
|
+
const nativeGainNode = nativeContext.createGain();
|
|
4
|
+
nativeAudioScheduledSourceNode.connect(nativeGainNode);
|
|
5
|
+
const disconnectGainNode = /* @__PURE__ */ ((disconnect) => {
|
|
6
|
+
return () => {
|
|
7
|
+
disconnect.call(nativeAudioScheduledSourceNode, nativeGainNode);
|
|
8
|
+
nativeAudioScheduledSourceNode.removeEventListener("ended", disconnectGainNode);
|
|
9
|
+
};
|
|
10
|
+
})(nativeAudioScheduledSourceNode.disconnect);
|
|
11
|
+
nativeAudioScheduledSourceNode.addEventListener("ended", disconnectGainNode);
|
|
12
|
+
interceptConnections(nativeAudioScheduledSourceNode, nativeGainNode);
|
|
13
|
+
nativeAudioScheduledSourceNode.stop = /* @__PURE__ */ ((stop) => {
|
|
14
|
+
let isStopped = false;
|
|
15
|
+
return (when = 0) => {
|
|
16
|
+
if (isStopped) {
|
|
17
|
+
try {
|
|
18
|
+
stop.call(nativeAudioScheduledSourceNode, when);
|
|
19
|
+
} catch {
|
|
20
|
+
nativeGainNode.gain.setValueAtTime(0, when);
|
|
21
|
+
}
|
|
22
|
+
} else {
|
|
23
|
+
stop.call(nativeAudioScheduledSourceNode, when);
|
|
24
|
+
isStopped = true;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
})(nativeAudioScheduledSourceNode.stop);
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls
|
|
31
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const wrapAudioScheduledSourceNodeStopMethodNegativeParameters = (nativeAudioScheduledSourceNode) => {
|
|
4
|
+
nativeAudioScheduledSourceNode.stop = /* @__PURE__ */ ((stop) => {
|
|
5
|
+
return (when = 0) => {
|
|
6
|
+
if (when < 0) {
|
|
7
|
+
throw new RangeError("The parameter can't be negative.");
|
|
8
|
+
}
|
|
9
|
+
stop.call(nativeAudioScheduledSourceNode, when);
|
|
10
|
+
};
|
|
11
|
+
})(nativeAudioScheduledSourceNode.stop);
|
|
12
|
+
};
|
|
13
|
+
exports.wrapAudioScheduledSourceNodeStopMethodNegativeParameters = wrapAudioScheduledSourceNodeStopMethodNegativeParameters;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const wrapAudioScheduledSourceNodeStopMethodNegativeParameters = (nativeAudioScheduledSourceNode) => {
|
|
2
|
+
nativeAudioScheduledSourceNode.stop = /* @__PURE__ */ ((stop) => {
|
|
3
|
+
return (when = 0) => {
|
|
4
|
+
if (when < 0) {
|
|
5
|
+
throw new RangeError("The parameter can't be negative.");
|
|
6
|
+
}
|
|
7
|
+
stop.call(nativeAudioScheduledSourceNode, when);
|
|
8
|
+
};
|
|
9
|
+
})(nativeAudioScheduledSourceNode.stop);
|
|
10
|
+
};
|
|
11
|
+
export {
|
|
12
|
+
wrapAudioScheduledSourceNodeStopMethodNegativeParameters
|
|
13
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const invalidStateError = require("../factories/invalid-state-error.cjs");
|
|
4
|
+
const wrapChannelSplitterNode = (channelSplitterNode) => {
|
|
5
|
+
const channelCount = channelSplitterNode.numberOfOutputs;
|
|
6
|
+
Object.defineProperty(channelSplitterNode, "channelCount", {
|
|
7
|
+
get: () => channelCount,
|
|
8
|
+
set: (value) => {
|
|
9
|
+
if (value !== channelCount) {
|
|
10
|
+
throw invalidStateError.createInvalidStateError();
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(channelSplitterNode, "channelCountMode", {
|
|
15
|
+
get: () => "explicit",
|
|
16
|
+
set: (value) => {
|
|
17
|
+
if (value !== "explicit") {
|
|
18
|
+
throw invalidStateError.createInvalidStateError();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(channelSplitterNode, "channelInterpretation", {
|
|
23
|
+
get: () => "discrete",
|
|
24
|
+
set: (value) => {
|
|
25
|
+
if (value !== "discrete") {
|
|
26
|
+
throw invalidStateError.createInvalidStateError();
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
exports.wrapChannelSplitterNode = wrapChannelSplitterNode;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { createInvalidStateError } from "../factories/invalid-state-error.js";
|
|
2
|
+
const wrapChannelSplitterNode = (channelSplitterNode) => {
|
|
3
|
+
const channelCount = channelSplitterNode.numberOfOutputs;
|
|
4
|
+
Object.defineProperty(channelSplitterNode, "channelCount", {
|
|
5
|
+
get: () => channelCount,
|
|
6
|
+
set: (value) => {
|
|
7
|
+
if (value !== channelCount) {
|
|
8
|
+
throw createInvalidStateError();
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(channelSplitterNode, "channelCountMode", {
|
|
13
|
+
get: () => "explicit",
|
|
14
|
+
set: (value) => {
|
|
15
|
+
if (value !== "explicit") {
|
|
16
|
+
throw createInvalidStateError();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(channelSplitterNode, "channelInterpretation", {
|
|
21
|
+
get: () => "discrete",
|
|
22
|
+
set: (value) => {
|
|
23
|
+
if (value !== "discrete") {
|
|
24
|
+
throw createInvalidStateError();
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
wrapChannelSplitterNode
|
|
31
|
+
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.cjs
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const wrapEventListener = (target, eventListener) => {
|
|
4
|
+
return (event) => {
|
|
5
|
+
const descriptor = { value: target };
|
|
6
|
+
Object.defineProperties(event, {
|
|
7
|
+
currentTarget: descriptor,
|
|
8
|
+
target: descriptor
|
|
9
|
+
});
|
|
10
|
+
if (typeof eventListener === "function") {
|
|
11
|
+
return eventListener.call(target, event);
|
|
12
|
+
}
|
|
13
|
+
return eventListener.handleEvent.call(target, event);
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
exports.wrapEventListener = wrapEventListener;
|
package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const wrapEventListener = (target, eventListener) => {
|
|
2
|
+
return (event) => {
|
|
3
|
+
const descriptor = { value: target };
|
|
4
|
+
Object.defineProperties(event, {
|
|
5
|
+
currentTarget: descriptor,
|
|
6
|
+
target: descriptor
|
|
7
|
+
});
|
|
8
|
+
if (typeof eventListener === "function") {
|
|
9
|
+
return eventListener.call(target, event);
|
|
10
|
+
}
|
|
11
|
+
return eventListener.handleEvent.call(target, event);
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
wrapEventListener
|
|
16
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const invalidAccessError = require("../factories/invalid-access-error.cjs");
|
|
4
|
+
const wrapIIRFilterNodeGetFrequencyResponseMethod = (nativeIIRFilterNode) => {
|
|
5
|
+
nativeIIRFilterNode.getFrequencyResponse = /* @__PURE__ */ ((getFrequencyResponse) => {
|
|
6
|
+
return (frequencyHz, magResponse, phaseResponse) => {
|
|
7
|
+
if (frequencyHz.length !== magResponse.length || magResponse.length !== phaseResponse.length) {
|
|
8
|
+
throw invalidAccessError.createInvalidAccessError();
|
|
9
|
+
}
|
|
10
|
+
return getFrequencyResponse.call(nativeIIRFilterNode, frequencyHz, magResponse, phaseResponse);
|
|
11
|
+
};
|
|
12
|
+
})(nativeIIRFilterNode.getFrequencyResponse);
|
|
13
|
+
};
|
|
14
|
+
exports.wrapIIRFilterNodeGetFrequencyResponseMethod = wrapIIRFilterNodeGetFrequencyResponseMethod;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { createInvalidAccessError } from "../factories/invalid-access-error.js";
|
|
2
|
+
const wrapIIRFilterNodeGetFrequencyResponseMethod = (nativeIIRFilterNode) => {
|
|
3
|
+
nativeIIRFilterNode.getFrequencyResponse = /* @__PURE__ */ ((getFrequencyResponse) => {
|
|
4
|
+
return (frequencyHz, magResponse, phaseResponse) => {
|
|
5
|
+
if (frequencyHz.length !== magResponse.length || magResponse.length !== phaseResponse.length) {
|
|
6
|
+
throw createInvalidAccessError();
|
|
7
|
+
}
|
|
8
|
+
return getFrequencyResponse.call(nativeIIRFilterNode, frequencyHz, magResponse, phaseResponse);
|
|
9
|
+
};
|
|
10
|
+
})(nativeIIRFilterNode.getFrequencyResponse);
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
wrapIIRFilterNodeGetFrequencyResponseMethod
|
|
14
|
+
};
|