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,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeAudioParamValue = require("../helpers/assign-native-audio-node-audio-param-value.cjs");
|
|
4
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
5
|
+
const wrapAudioScheduledSourceNodeStartMethodNegativeParameters = require("../helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.cjs");
|
|
6
|
+
const wrapAudioScheduledSourceNodeStopMethodNegativeParameters = require("../helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.cjs");
|
|
7
|
+
const createNativeConstantSourceNodeFactory = (addSilentConnection, cacheTestResult, createNativeConstantSourceNodeFaker, testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, testAudioScheduledSourceNodeStopMethodNegativeParametersSupport) => {
|
|
8
|
+
return (nativeContext, options) => {
|
|
9
|
+
if (nativeContext.createConstantSource === void 0) {
|
|
10
|
+
return createNativeConstantSourceNodeFaker(nativeContext, options);
|
|
11
|
+
}
|
|
12
|
+
const nativeConstantSourceNode = nativeContext.createConstantSource();
|
|
13
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeConstantSourceNode, options);
|
|
14
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeConstantSourceNode, options, "offset");
|
|
15
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStartMethodNegativeParametersSupport(nativeContext))) {
|
|
16
|
+
wrapAudioScheduledSourceNodeStartMethodNegativeParameters.wrapAudioScheduledSourceNodeStartMethodNegativeParameters(nativeConstantSourceNode);
|
|
17
|
+
}
|
|
18
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStopMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStopMethodNegativeParametersSupport(nativeContext))) {
|
|
19
|
+
wrapAudioScheduledSourceNodeStopMethodNegativeParameters.wrapAudioScheduledSourceNodeStopMethodNegativeParameters(nativeConstantSourceNode);
|
|
20
|
+
}
|
|
21
|
+
addSilentConnection(nativeContext, nativeConstantSourceNode);
|
|
22
|
+
return nativeConstantSourceNode;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
exports.createNativeConstantSourceNodeFactory = createNativeConstantSourceNodeFactory;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { assignNativeAudioNodeAudioParamValue } from "../helpers/assign-native-audio-node-audio-param-value.js";
|
|
2
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
3
|
+
import { wrapAudioScheduledSourceNodeStartMethodNegativeParameters } from "../helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.js";
|
|
4
|
+
import { wrapAudioScheduledSourceNodeStopMethodNegativeParameters } from "../helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.js";
|
|
5
|
+
const createNativeConstantSourceNodeFactory = (addSilentConnection, cacheTestResult, createNativeConstantSourceNodeFaker, testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, testAudioScheduledSourceNodeStopMethodNegativeParametersSupport) => {
|
|
6
|
+
return (nativeContext, options) => {
|
|
7
|
+
if (nativeContext.createConstantSource === void 0) {
|
|
8
|
+
return createNativeConstantSourceNodeFaker(nativeContext, options);
|
|
9
|
+
}
|
|
10
|
+
const nativeConstantSourceNode = nativeContext.createConstantSource();
|
|
11
|
+
assignNativeAudioNodeOptions(nativeConstantSourceNode, options);
|
|
12
|
+
assignNativeAudioNodeAudioParamValue(nativeConstantSourceNode, options, "offset");
|
|
13
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStartMethodNegativeParametersSupport(nativeContext))) {
|
|
14
|
+
wrapAudioScheduledSourceNodeStartMethodNegativeParameters(nativeConstantSourceNode);
|
|
15
|
+
}
|
|
16
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStopMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStopMethodNegativeParametersSupport(nativeContext))) {
|
|
17
|
+
wrapAudioScheduledSourceNodeStopMethodNegativeParameters(nativeConstantSourceNode);
|
|
18
|
+
}
|
|
19
|
+
addSilentConnection(nativeContext, nativeConstantSourceNode);
|
|
20
|
+
return nativeConstantSourceNode;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
createNativeConstantSourceNodeFactory
|
|
25
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const interceptConnections = require("../helpers/intercept-connections.cjs");
|
|
4
|
+
const createNativeConstantSourceNodeFakerFactory = (addSilentConnection, createNativeAudioBufferSourceNode, createNativeGainNode, monitorConnections) => {
|
|
5
|
+
return (nativeContext, { offset, ...audioNodeOptions }) => {
|
|
6
|
+
const audioBuffer = nativeContext.createBuffer(1, 2, 44100);
|
|
7
|
+
const audioBufferSourceNode = createNativeAudioBufferSourceNode(nativeContext, {
|
|
8
|
+
buffer: null,
|
|
9
|
+
channelCount: 2,
|
|
10
|
+
channelCountMode: "max",
|
|
11
|
+
channelInterpretation: "speakers",
|
|
12
|
+
loop: false,
|
|
13
|
+
loopEnd: 0,
|
|
14
|
+
loopStart: 0,
|
|
15
|
+
playbackRate: 1
|
|
16
|
+
});
|
|
17
|
+
const gainNode = createNativeGainNode(nativeContext, { ...audioNodeOptions, gain: offset });
|
|
18
|
+
const channelData = audioBuffer.getChannelData(0);
|
|
19
|
+
channelData[0] = 1;
|
|
20
|
+
channelData[1] = 1;
|
|
21
|
+
audioBufferSourceNode.buffer = audioBuffer;
|
|
22
|
+
audioBufferSourceNode.loop = true;
|
|
23
|
+
const nativeConstantSourceNodeFaker = {
|
|
24
|
+
get bufferSize() {
|
|
25
|
+
return void 0;
|
|
26
|
+
},
|
|
27
|
+
get channelCount() {
|
|
28
|
+
return gainNode.channelCount;
|
|
29
|
+
},
|
|
30
|
+
set channelCount(value) {
|
|
31
|
+
gainNode.channelCount = value;
|
|
32
|
+
},
|
|
33
|
+
get channelCountMode() {
|
|
34
|
+
return gainNode.channelCountMode;
|
|
35
|
+
},
|
|
36
|
+
set channelCountMode(value) {
|
|
37
|
+
gainNode.channelCountMode = value;
|
|
38
|
+
},
|
|
39
|
+
get channelInterpretation() {
|
|
40
|
+
return gainNode.channelInterpretation;
|
|
41
|
+
},
|
|
42
|
+
set channelInterpretation(value) {
|
|
43
|
+
gainNode.channelInterpretation = value;
|
|
44
|
+
},
|
|
45
|
+
get context() {
|
|
46
|
+
return gainNode.context;
|
|
47
|
+
},
|
|
48
|
+
get inputs() {
|
|
49
|
+
return [];
|
|
50
|
+
},
|
|
51
|
+
get numberOfInputs() {
|
|
52
|
+
return audioBufferSourceNode.numberOfInputs;
|
|
53
|
+
},
|
|
54
|
+
get numberOfOutputs() {
|
|
55
|
+
return gainNode.numberOfOutputs;
|
|
56
|
+
},
|
|
57
|
+
get offset() {
|
|
58
|
+
return gainNode.gain;
|
|
59
|
+
},
|
|
60
|
+
get onended() {
|
|
61
|
+
return audioBufferSourceNode.onended;
|
|
62
|
+
},
|
|
63
|
+
set onended(value) {
|
|
64
|
+
audioBufferSourceNode.onended = value;
|
|
65
|
+
},
|
|
66
|
+
addEventListener(...args) {
|
|
67
|
+
return audioBufferSourceNode.addEventListener(args[0], args[1], args[2]);
|
|
68
|
+
},
|
|
69
|
+
dispatchEvent(...args) {
|
|
70
|
+
return audioBufferSourceNode.dispatchEvent(args[0]);
|
|
71
|
+
},
|
|
72
|
+
removeEventListener(...args) {
|
|
73
|
+
return audioBufferSourceNode.removeEventListener(args[0], args[1], args[2]);
|
|
74
|
+
},
|
|
75
|
+
start(when = 0) {
|
|
76
|
+
audioBufferSourceNode.start.call(audioBufferSourceNode, when);
|
|
77
|
+
},
|
|
78
|
+
stop(when = 0) {
|
|
79
|
+
audioBufferSourceNode.stop.call(audioBufferSourceNode, when);
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
const whenConnected = () => audioBufferSourceNode.connect(gainNode);
|
|
83
|
+
const whenDisconnected = () => audioBufferSourceNode.disconnect(gainNode);
|
|
84
|
+
addSilentConnection(nativeContext, audioBufferSourceNode);
|
|
85
|
+
return monitorConnections(interceptConnections.interceptConnections(nativeConstantSourceNodeFaker, gainNode), whenConnected, whenDisconnected);
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
exports.createNativeConstantSourceNodeFakerFactory = createNativeConstantSourceNodeFakerFactory;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { interceptConnections } from "../helpers/intercept-connections.js";
|
|
2
|
+
const createNativeConstantSourceNodeFakerFactory = (addSilentConnection, createNativeAudioBufferSourceNode, createNativeGainNode, monitorConnections) => {
|
|
3
|
+
return (nativeContext, { offset, ...audioNodeOptions }) => {
|
|
4
|
+
const audioBuffer = nativeContext.createBuffer(1, 2, 44100);
|
|
5
|
+
const audioBufferSourceNode = createNativeAudioBufferSourceNode(nativeContext, {
|
|
6
|
+
buffer: null,
|
|
7
|
+
channelCount: 2,
|
|
8
|
+
channelCountMode: "max",
|
|
9
|
+
channelInterpretation: "speakers",
|
|
10
|
+
loop: false,
|
|
11
|
+
loopEnd: 0,
|
|
12
|
+
loopStart: 0,
|
|
13
|
+
playbackRate: 1
|
|
14
|
+
});
|
|
15
|
+
const gainNode = createNativeGainNode(nativeContext, { ...audioNodeOptions, gain: offset });
|
|
16
|
+
const channelData = audioBuffer.getChannelData(0);
|
|
17
|
+
channelData[0] = 1;
|
|
18
|
+
channelData[1] = 1;
|
|
19
|
+
audioBufferSourceNode.buffer = audioBuffer;
|
|
20
|
+
audioBufferSourceNode.loop = true;
|
|
21
|
+
const nativeConstantSourceNodeFaker = {
|
|
22
|
+
get bufferSize() {
|
|
23
|
+
return void 0;
|
|
24
|
+
},
|
|
25
|
+
get channelCount() {
|
|
26
|
+
return gainNode.channelCount;
|
|
27
|
+
},
|
|
28
|
+
set channelCount(value) {
|
|
29
|
+
gainNode.channelCount = value;
|
|
30
|
+
},
|
|
31
|
+
get channelCountMode() {
|
|
32
|
+
return gainNode.channelCountMode;
|
|
33
|
+
},
|
|
34
|
+
set channelCountMode(value) {
|
|
35
|
+
gainNode.channelCountMode = value;
|
|
36
|
+
},
|
|
37
|
+
get channelInterpretation() {
|
|
38
|
+
return gainNode.channelInterpretation;
|
|
39
|
+
},
|
|
40
|
+
set channelInterpretation(value) {
|
|
41
|
+
gainNode.channelInterpretation = value;
|
|
42
|
+
},
|
|
43
|
+
get context() {
|
|
44
|
+
return gainNode.context;
|
|
45
|
+
},
|
|
46
|
+
get inputs() {
|
|
47
|
+
return [];
|
|
48
|
+
},
|
|
49
|
+
get numberOfInputs() {
|
|
50
|
+
return audioBufferSourceNode.numberOfInputs;
|
|
51
|
+
},
|
|
52
|
+
get numberOfOutputs() {
|
|
53
|
+
return gainNode.numberOfOutputs;
|
|
54
|
+
},
|
|
55
|
+
get offset() {
|
|
56
|
+
return gainNode.gain;
|
|
57
|
+
},
|
|
58
|
+
get onended() {
|
|
59
|
+
return audioBufferSourceNode.onended;
|
|
60
|
+
},
|
|
61
|
+
set onended(value) {
|
|
62
|
+
audioBufferSourceNode.onended = value;
|
|
63
|
+
},
|
|
64
|
+
addEventListener(...args) {
|
|
65
|
+
return audioBufferSourceNode.addEventListener(args[0], args[1], args[2]);
|
|
66
|
+
},
|
|
67
|
+
dispatchEvent(...args) {
|
|
68
|
+
return audioBufferSourceNode.dispatchEvent(args[0]);
|
|
69
|
+
},
|
|
70
|
+
removeEventListener(...args) {
|
|
71
|
+
return audioBufferSourceNode.removeEventListener(args[0], args[1], args[2]);
|
|
72
|
+
},
|
|
73
|
+
start(when = 0) {
|
|
74
|
+
audioBufferSourceNode.start.call(audioBufferSourceNode, when);
|
|
75
|
+
},
|
|
76
|
+
stop(when = 0) {
|
|
77
|
+
audioBufferSourceNode.stop.call(audioBufferSourceNode, when);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
const whenConnected = () => audioBufferSourceNode.connect(gainNode);
|
|
81
|
+
const whenDisconnected = () => audioBufferSourceNode.disconnect(gainNode);
|
|
82
|
+
addSilentConnection(nativeContext, audioBufferSourceNode);
|
|
83
|
+
return monitorConnections(interceptConnections(nativeConstantSourceNodeFaker, gainNode), whenConnected, whenDisconnected);
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export {
|
|
87
|
+
createNativeConstantSourceNodeFakerFactory
|
|
88
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeOption = require("../helpers/assign-native-audio-node-option.cjs");
|
|
4
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
5
|
+
const createNativeConvolverNodeFactory = (createNotSupportedError, overwriteAccessors) => {
|
|
6
|
+
return (nativeContext, options) => {
|
|
7
|
+
const nativeConvolverNode = nativeContext.createConvolver();
|
|
8
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeConvolverNode, options);
|
|
9
|
+
if (options.disableNormalization === nativeConvolverNode.normalize) {
|
|
10
|
+
nativeConvolverNode.normalize = !options.disableNormalization;
|
|
11
|
+
}
|
|
12
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeConvolverNode, options, "buffer");
|
|
13
|
+
if (options.channelCount > 2) {
|
|
14
|
+
throw createNotSupportedError();
|
|
15
|
+
}
|
|
16
|
+
overwriteAccessors(nativeConvolverNode, "channelCount", (get) => () => get.call(nativeConvolverNode), (set) => (value) => {
|
|
17
|
+
if (value > 2) {
|
|
18
|
+
throw createNotSupportedError();
|
|
19
|
+
}
|
|
20
|
+
return set.call(nativeConvolverNode, value);
|
|
21
|
+
});
|
|
22
|
+
if (options.channelCountMode === "max") {
|
|
23
|
+
throw createNotSupportedError();
|
|
24
|
+
}
|
|
25
|
+
overwriteAccessors(nativeConvolverNode, "channelCountMode", (get) => () => get.call(nativeConvolverNode), (set) => (value) => {
|
|
26
|
+
if (value === "max") {
|
|
27
|
+
throw createNotSupportedError();
|
|
28
|
+
}
|
|
29
|
+
return set.call(nativeConvolverNode, value);
|
|
30
|
+
});
|
|
31
|
+
return nativeConvolverNode;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
exports.createNativeConvolverNodeFactory = createNativeConvolverNodeFactory;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { assignNativeAudioNodeOption } from "../helpers/assign-native-audio-node-option.js";
|
|
2
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
3
|
+
const createNativeConvolverNodeFactory = (createNotSupportedError, overwriteAccessors) => {
|
|
4
|
+
return (nativeContext, options) => {
|
|
5
|
+
const nativeConvolverNode = nativeContext.createConvolver();
|
|
6
|
+
assignNativeAudioNodeOptions(nativeConvolverNode, options);
|
|
7
|
+
if (options.disableNormalization === nativeConvolverNode.normalize) {
|
|
8
|
+
nativeConvolverNode.normalize = !options.disableNormalization;
|
|
9
|
+
}
|
|
10
|
+
assignNativeAudioNodeOption(nativeConvolverNode, options, "buffer");
|
|
11
|
+
if (options.channelCount > 2) {
|
|
12
|
+
throw createNotSupportedError();
|
|
13
|
+
}
|
|
14
|
+
overwriteAccessors(nativeConvolverNode, "channelCount", (get) => () => get.call(nativeConvolverNode), (set) => (value) => {
|
|
15
|
+
if (value > 2) {
|
|
16
|
+
throw createNotSupportedError();
|
|
17
|
+
}
|
|
18
|
+
return set.call(nativeConvolverNode, value);
|
|
19
|
+
});
|
|
20
|
+
if (options.channelCountMode === "max") {
|
|
21
|
+
throw createNotSupportedError();
|
|
22
|
+
}
|
|
23
|
+
overwriteAccessors(nativeConvolverNode, "channelCountMode", (get) => () => get.call(nativeConvolverNode), (set) => (value) => {
|
|
24
|
+
if (value === "max") {
|
|
25
|
+
throw createNotSupportedError();
|
|
26
|
+
}
|
|
27
|
+
return set.call(nativeConvolverNode, value);
|
|
28
|
+
});
|
|
29
|
+
return nativeConvolverNode;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
createNativeConvolverNodeFactory
|
|
34
|
+
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.cjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeAudioParamValue = require("../helpers/assign-native-audio-node-audio-param-value.cjs");
|
|
4
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
5
|
+
const createNativeDelayNode = (nativeContext, options) => {
|
|
6
|
+
const nativeDelayNode = nativeContext.createDelay(options.maxDelayTime);
|
|
7
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeDelayNode, options);
|
|
8
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeDelayNode, options, "delayTime");
|
|
9
|
+
return nativeDelayNode;
|
|
10
|
+
};
|
|
11
|
+
exports.createNativeDelayNode = createNativeDelayNode;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { assignNativeAudioNodeAudioParamValue } from "../helpers/assign-native-audio-node-audio-param-value.js";
|
|
2
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
3
|
+
const createNativeDelayNode = (nativeContext, options) => {
|
|
4
|
+
const nativeDelayNode = nativeContext.createDelay(options.maxDelayTime);
|
|
5
|
+
assignNativeAudioNodeOptions(nativeDelayNode, options);
|
|
6
|
+
assignNativeAudioNodeAudioParamValue(nativeDelayNode, options, "delayTime");
|
|
7
|
+
return nativeDelayNode;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
createNativeDelayNode
|
|
11
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeAudioParamValue = require("../helpers/assign-native-audio-node-audio-param-value.cjs");
|
|
4
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
5
|
+
const createNativeDynamicsCompressorNodeFactory = (createNotSupportedError) => {
|
|
6
|
+
return (nativeContext, options) => {
|
|
7
|
+
const nativeDynamicsCompressorNode = nativeContext.createDynamicsCompressor();
|
|
8
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeDynamicsCompressorNode, options);
|
|
9
|
+
if (options.channelCount > 2) {
|
|
10
|
+
throw createNotSupportedError();
|
|
11
|
+
}
|
|
12
|
+
if (options.channelCountMode === "max") {
|
|
13
|
+
throw createNotSupportedError();
|
|
14
|
+
}
|
|
15
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "attack");
|
|
16
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "knee");
|
|
17
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "ratio");
|
|
18
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "release");
|
|
19
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "threshold");
|
|
20
|
+
return nativeDynamicsCompressorNode;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
exports.createNativeDynamicsCompressorNodeFactory = createNativeDynamicsCompressorNodeFactory;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { assignNativeAudioNodeAudioParamValue } from "../helpers/assign-native-audio-node-audio-param-value.js";
|
|
2
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
3
|
+
const createNativeDynamicsCompressorNodeFactory = (createNotSupportedError) => {
|
|
4
|
+
return (nativeContext, options) => {
|
|
5
|
+
const nativeDynamicsCompressorNode = nativeContext.createDynamicsCompressor();
|
|
6
|
+
assignNativeAudioNodeOptions(nativeDynamicsCompressorNode, options);
|
|
7
|
+
if (options.channelCount > 2) {
|
|
8
|
+
throw createNotSupportedError();
|
|
9
|
+
}
|
|
10
|
+
if (options.channelCountMode === "max") {
|
|
11
|
+
throw createNotSupportedError();
|
|
12
|
+
}
|
|
13
|
+
assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "attack");
|
|
14
|
+
assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "knee");
|
|
15
|
+
assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "ratio");
|
|
16
|
+
assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "release");
|
|
17
|
+
assignNativeAudioNodeAudioParamValue(nativeDynamicsCompressorNode, options, "threshold");
|
|
18
|
+
return nativeDynamicsCompressorNode;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export {
|
|
22
|
+
createNativeDynamicsCompressorNodeFactory
|
|
23
|
+
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.cjs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeAudioParamValue = require("../helpers/assign-native-audio-node-audio-param-value.cjs");
|
|
4
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
5
|
+
const createNativeGainNode = (nativeContext, options) => {
|
|
6
|
+
const nativeGainNode = nativeContext.createGain();
|
|
7
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeGainNode, options);
|
|
8
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeGainNode, options, "gain");
|
|
9
|
+
return nativeGainNode;
|
|
10
|
+
};
|
|
11
|
+
exports.createNativeGainNode = createNativeGainNode;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { assignNativeAudioNodeAudioParamValue } from "../helpers/assign-native-audio-node-audio-param-value.js";
|
|
2
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
3
|
+
const createNativeGainNode = (nativeContext, options) => {
|
|
4
|
+
const nativeGainNode = nativeContext.createGain();
|
|
5
|
+
assignNativeAudioNodeOptions(nativeGainNode, options);
|
|
6
|
+
assignNativeAudioNodeAudioParamValue(nativeGainNode, options, "gain");
|
|
7
|
+
return nativeGainNode;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
createNativeGainNode
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
4
|
+
const createNativeIIRFilterNodeFactory = (createNativeIIRFilterNodeFaker) => {
|
|
5
|
+
return (nativeContext, baseLatency, options) => {
|
|
6
|
+
if (nativeContext.createIIRFilter === void 0) {
|
|
7
|
+
return createNativeIIRFilterNodeFaker(nativeContext, baseLatency, options);
|
|
8
|
+
}
|
|
9
|
+
const nativeIIRFilterNode = nativeContext.createIIRFilter(options.feedforward, options.feedback);
|
|
10
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeIIRFilterNode, options);
|
|
11
|
+
return nativeIIRFilterNode;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
exports.createNativeIIRFilterNodeFactory = createNativeIIRFilterNodeFactory;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
2
|
+
const createNativeIIRFilterNodeFactory = (createNativeIIRFilterNodeFaker) => {
|
|
3
|
+
return (nativeContext, baseLatency, options) => {
|
|
4
|
+
if (nativeContext.createIIRFilter === void 0) {
|
|
5
|
+
return createNativeIIRFilterNodeFaker(nativeContext, baseLatency, options);
|
|
6
|
+
}
|
|
7
|
+
const nativeIIRFilterNode = nativeContext.createIIRFilter(options.feedforward, options.feedback);
|
|
8
|
+
assignNativeAudioNodeOptions(nativeIIRFilterNode, options);
|
|
9
|
+
return nativeIIRFilterNode;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
createNativeIIRFilterNodeFactory
|
|
14
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const computeBufferSize = require("../helpers/compute-buffer-size.cjs");
|
|
4
|
+
const filterBuffer = require("../helpers/filter-buffer.cjs");
|
|
5
|
+
const interceptConnections = require("../helpers/intercept-connections.cjs");
|
|
6
|
+
function divide(a, b) {
|
|
7
|
+
const denominator = b[0] * b[0] + b[1] * b[1];
|
|
8
|
+
return [(a[0] * b[0] + a[1] * b[1]) / denominator, (a[1] * b[0] - a[0] * b[1]) / denominator];
|
|
9
|
+
}
|
|
10
|
+
function multiply(a, b) {
|
|
11
|
+
return [a[0] * b[0] - a[1] * b[1], a[0] * b[1] + a[1] * b[0]];
|
|
12
|
+
}
|
|
13
|
+
function evaluatePolynomial(coefficient, z) {
|
|
14
|
+
let result = [0, 0];
|
|
15
|
+
for (let i = coefficient.length - 1; i >= 0; i -= 1) {
|
|
16
|
+
result = multiply(result, z);
|
|
17
|
+
result[0] += coefficient[i];
|
|
18
|
+
}
|
|
19
|
+
return result;
|
|
20
|
+
}
|
|
21
|
+
const createNativeIIRFilterNodeFakerFactory = (createInvalidAccessError, createInvalidStateError, createNativeScriptProcessorNode, createNotSupportedError) => {
|
|
22
|
+
return (nativeContext, baseLatency, { channelCount, channelCountMode, channelInterpretation, feedback, feedforward }) => {
|
|
23
|
+
const bufferSize = computeBufferSize.computeBufferSize(baseLatency, nativeContext.sampleRate);
|
|
24
|
+
const convertedFeedback = feedback instanceof Float64Array ? feedback : new Float64Array(feedback);
|
|
25
|
+
const convertedFeedforward = feedforward instanceof Float64Array ? feedforward : new Float64Array(feedforward);
|
|
26
|
+
const feedbackLength = convertedFeedback.length;
|
|
27
|
+
const feedforwardLength = convertedFeedforward.length;
|
|
28
|
+
const minLength = Math.min(feedbackLength, feedforwardLength);
|
|
29
|
+
if (feedbackLength === 0 || feedbackLength > 20) {
|
|
30
|
+
throw createNotSupportedError();
|
|
31
|
+
}
|
|
32
|
+
if (convertedFeedback[0] === 0) {
|
|
33
|
+
throw createInvalidStateError();
|
|
34
|
+
}
|
|
35
|
+
if (feedforwardLength === 0 || feedforwardLength > 20) {
|
|
36
|
+
throw createNotSupportedError();
|
|
37
|
+
}
|
|
38
|
+
if (convertedFeedforward[0] === 0) {
|
|
39
|
+
throw createInvalidStateError();
|
|
40
|
+
}
|
|
41
|
+
if (convertedFeedback[0] !== 1) {
|
|
42
|
+
for (let i = 0; i < feedforwardLength; i += 1) {
|
|
43
|
+
convertedFeedforward[i] /= convertedFeedback[0];
|
|
44
|
+
}
|
|
45
|
+
for (let i = 1; i < feedbackLength; i += 1) {
|
|
46
|
+
convertedFeedback[i] /= convertedFeedback[0];
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const scriptProcessorNode = createNativeScriptProcessorNode(nativeContext, bufferSize, channelCount, channelCount);
|
|
50
|
+
scriptProcessorNode.channelCount = channelCount;
|
|
51
|
+
scriptProcessorNode.channelCountMode = channelCountMode;
|
|
52
|
+
scriptProcessorNode.channelInterpretation = channelInterpretation;
|
|
53
|
+
const bufferLength = 32;
|
|
54
|
+
const bufferIndexes = [];
|
|
55
|
+
const xBuffers = [];
|
|
56
|
+
const yBuffers = [];
|
|
57
|
+
for (let i = 0; i < channelCount; i += 1) {
|
|
58
|
+
bufferIndexes.push(0);
|
|
59
|
+
const xBuffer = new Float32Array(bufferLength);
|
|
60
|
+
const yBuffer = new Float32Array(bufferLength);
|
|
61
|
+
xBuffer.fill(0);
|
|
62
|
+
yBuffer.fill(0);
|
|
63
|
+
xBuffers.push(xBuffer);
|
|
64
|
+
yBuffers.push(yBuffer);
|
|
65
|
+
}
|
|
66
|
+
scriptProcessorNode.onaudioprocess = (event) => {
|
|
67
|
+
const inputBuffer = event.inputBuffer;
|
|
68
|
+
const outputBuffer = event.outputBuffer;
|
|
69
|
+
const numberOfChannels = inputBuffer.numberOfChannels;
|
|
70
|
+
for (let i = 0; i < numberOfChannels; i += 1) {
|
|
71
|
+
const input = inputBuffer.getChannelData(i);
|
|
72
|
+
const output = outputBuffer.getChannelData(i);
|
|
73
|
+
bufferIndexes[i] = filterBuffer.filterBuffer(convertedFeedback, feedbackLength, convertedFeedforward, feedforwardLength, minLength, xBuffers[i], yBuffers[i], bufferIndexes[i], bufferLength, input, output);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
const nyquist = nativeContext.sampleRate / 2;
|
|
77
|
+
const nativeIIRFilterNodeFaker = {
|
|
78
|
+
get bufferSize() {
|
|
79
|
+
return bufferSize;
|
|
80
|
+
},
|
|
81
|
+
get channelCount() {
|
|
82
|
+
return scriptProcessorNode.channelCount;
|
|
83
|
+
},
|
|
84
|
+
set channelCount(value) {
|
|
85
|
+
scriptProcessorNode.channelCount = value;
|
|
86
|
+
},
|
|
87
|
+
get channelCountMode() {
|
|
88
|
+
return scriptProcessorNode.channelCountMode;
|
|
89
|
+
},
|
|
90
|
+
set channelCountMode(value) {
|
|
91
|
+
scriptProcessorNode.channelCountMode = value;
|
|
92
|
+
},
|
|
93
|
+
get channelInterpretation() {
|
|
94
|
+
return scriptProcessorNode.channelInterpretation;
|
|
95
|
+
},
|
|
96
|
+
set channelInterpretation(value) {
|
|
97
|
+
scriptProcessorNode.channelInterpretation = value;
|
|
98
|
+
},
|
|
99
|
+
get context() {
|
|
100
|
+
return scriptProcessorNode.context;
|
|
101
|
+
},
|
|
102
|
+
get inputs() {
|
|
103
|
+
return [scriptProcessorNode];
|
|
104
|
+
},
|
|
105
|
+
get numberOfInputs() {
|
|
106
|
+
return scriptProcessorNode.numberOfInputs;
|
|
107
|
+
},
|
|
108
|
+
get numberOfOutputs() {
|
|
109
|
+
return scriptProcessorNode.numberOfOutputs;
|
|
110
|
+
},
|
|
111
|
+
addEventListener(...args) {
|
|
112
|
+
return scriptProcessorNode.addEventListener(args[0], args[1], args[2]);
|
|
113
|
+
},
|
|
114
|
+
dispatchEvent(...args) {
|
|
115
|
+
return scriptProcessorNode.dispatchEvent(args[0]);
|
|
116
|
+
},
|
|
117
|
+
getFrequencyResponse(frequencyHz, magResponse, phaseResponse) {
|
|
118
|
+
if (frequencyHz.length !== magResponse.length || magResponse.length !== phaseResponse.length) {
|
|
119
|
+
throw createInvalidAccessError();
|
|
120
|
+
}
|
|
121
|
+
const length = frequencyHz.length;
|
|
122
|
+
for (let i = 0; i < length; i += 1) {
|
|
123
|
+
const omega = -Math.PI * (frequencyHz[i] / nyquist);
|
|
124
|
+
const z = [Math.cos(omega), Math.sin(omega)];
|
|
125
|
+
const numerator = evaluatePolynomial(convertedFeedforward, z);
|
|
126
|
+
const denominator = evaluatePolynomial(convertedFeedback, z);
|
|
127
|
+
const response = divide(numerator, denominator);
|
|
128
|
+
magResponse[i] = Math.sqrt(response[0] * response[0] + response[1] * response[1]);
|
|
129
|
+
phaseResponse[i] = Math.atan2(response[1], response[0]);
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
removeEventListener(...args) {
|
|
133
|
+
return scriptProcessorNode.removeEventListener(args[0], args[1], args[2]);
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
return interceptConnections.interceptConnections(nativeIIRFilterNodeFaker, scriptProcessorNode);
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
exports.createNativeIIRFilterNodeFakerFactory = createNativeIIRFilterNodeFakerFactory;
|