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,8 @@
|
|
|
1
|
+
const createIsNativeOfflineAudioContext = (nativeOfflineAudioContextConstructor) => {
|
|
2
|
+
return (anything) => {
|
|
3
|
+
return nativeOfflineAudioContextConstructor !== null && anything instanceof nativeOfflineAudioContextConstructor;
|
|
4
|
+
};
|
|
5
|
+
};
|
|
6
|
+
export {
|
|
7
|
+
createIsNativeOfflineAudioContext
|
|
8
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const globals = require("../globals.cjs");
|
|
4
|
+
const createMinimalBaseAudioContextConstructor = (audioDestinationNodeConstructor, createAudioListener, eventTargetConstructor, isNativeOfflineAudioContext, unrenderedAudioWorkletNodeStore, wrapEventListener) => {
|
|
5
|
+
return class MinimalBaseAudioContext extends eventTargetConstructor {
|
|
6
|
+
constructor(_nativeContext, numberOfChannels) {
|
|
7
|
+
super(_nativeContext);
|
|
8
|
+
this._nativeContext = _nativeContext;
|
|
9
|
+
globals.CONTEXT_STORE.set(this, _nativeContext);
|
|
10
|
+
if (isNativeOfflineAudioContext(_nativeContext)) {
|
|
11
|
+
unrenderedAudioWorkletNodeStore.set(_nativeContext, /* @__PURE__ */ new Set());
|
|
12
|
+
}
|
|
13
|
+
this._destination = new audioDestinationNodeConstructor(this, numberOfChannels);
|
|
14
|
+
this._listener = createAudioListener(this, _nativeContext);
|
|
15
|
+
this._onstatechange = null;
|
|
16
|
+
}
|
|
17
|
+
get currentTime() {
|
|
18
|
+
return this._nativeContext.currentTime;
|
|
19
|
+
}
|
|
20
|
+
get destination() {
|
|
21
|
+
return this._destination;
|
|
22
|
+
}
|
|
23
|
+
get listener() {
|
|
24
|
+
return this._listener;
|
|
25
|
+
}
|
|
26
|
+
get onstatechange() {
|
|
27
|
+
return this._onstatechange;
|
|
28
|
+
}
|
|
29
|
+
set onstatechange(value) {
|
|
30
|
+
const wrappedListener = typeof value === "function" ? wrapEventListener(this, value) : null;
|
|
31
|
+
this._nativeContext.onstatechange = wrappedListener;
|
|
32
|
+
const nativeOnStateChange = this._nativeContext.onstatechange;
|
|
33
|
+
this._onstatechange = nativeOnStateChange !== null && nativeOnStateChange === wrappedListener ? value : nativeOnStateChange;
|
|
34
|
+
}
|
|
35
|
+
get sampleRate() {
|
|
36
|
+
return this._nativeContext.sampleRate;
|
|
37
|
+
}
|
|
38
|
+
get state() {
|
|
39
|
+
return this._nativeContext.state;
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
exports.createMinimalBaseAudioContextConstructor = createMinimalBaseAudioContextConstructor;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CONTEXT_STORE } from "../globals.js";
|
|
2
|
+
const createMinimalBaseAudioContextConstructor = (audioDestinationNodeConstructor, createAudioListener, eventTargetConstructor, isNativeOfflineAudioContext, unrenderedAudioWorkletNodeStore, wrapEventListener) => {
|
|
3
|
+
return class MinimalBaseAudioContext extends eventTargetConstructor {
|
|
4
|
+
constructor(_nativeContext, numberOfChannels) {
|
|
5
|
+
super(_nativeContext);
|
|
6
|
+
this._nativeContext = _nativeContext;
|
|
7
|
+
CONTEXT_STORE.set(this, _nativeContext);
|
|
8
|
+
if (isNativeOfflineAudioContext(_nativeContext)) {
|
|
9
|
+
unrenderedAudioWorkletNodeStore.set(_nativeContext, /* @__PURE__ */ new Set());
|
|
10
|
+
}
|
|
11
|
+
this._destination = new audioDestinationNodeConstructor(this, numberOfChannels);
|
|
12
|
+
this._listener = createAudioListener(this, _nativeContext);
|
|
13
|
+
this._onstatechange = null;
|
|
14
|
+
}
|
|
15
|
+
get currentTime() {
|
|
16
|
+
return this._nativeContext.currentTime;
|
|
17
|
+
}
|
|
18
|
+
get destination() {
|
|
19
|
+
return this._destination;
|
|
20
|
+
}
|
|
21
|
+
get listener() {
|
|
22
|
+
return this._listener;
|
|
23
|
+
}
|
|
24
|
+
get onstatechange() {
|
|
25
|
+
return this._onstatechange;
|
|
26
|
+
}
|
|
27
|
+
set onstatechange(value) {
|
|
28
|
+
const wrappedListener = typeof value === "function" ? wrapEventListener(this, value) : null;
|
|
29
|
+
this._nativeContext.onstatechange = wrappedListener;
|
|
30
|
+
const nativeOnStateChange = this._nativeContext.onstatechange;
|
|
31
|
+
this._onstatechange = nativeOnStateChange !== null && nativeOnStateChange === wrappedListener ? value : nativeOnStateChange;
|
|
32
|
+
}
|
|
33
|
+
get sampleRate() {
|
|
34
|
+
return this._nativeContext.sampleRate;
|
|
35
|
+
}
|
|
36
|
+
get state() {
|
|
37
|
+
return this._nativeContext.state;
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
createMinimalBaseAudioContextConstructor
|
|
43
|
+
};
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.cjs
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const createMonitorConnections = (insertElementInSet, isNativeAudioNode) => {
|
|
4
|
+
return (nativeAudioNode, whenConnected, whenDisconnected) => {
|
|
5
|
+
const connections = /* @__PURE__ */ new Set();
|
|
6
|
+
nativeAudioNode.connect = /* @__PURE__ */ ((connect) => {
|
|
7
|
+
return (destination, output = 0, input = 0) => {
|
|
8
|
+
const wasDisconnected = connections.size === 0;
|
|
9
|
+
if (isNativeAudioNode(destination)) {
|
|
10
|
+
connect.call(nativeAudioNode, destination, output, input);
|
|
11
|
+
insertElementInSet(connections, [destination, output, input], (connection) => connection[0] === destination && connection[1] === output && connection[2] === input, true);
|
|
12
|
+
if (wasDisconnected) {
|
|
13
|
+
whenConnected();
|
|
14
|
+
}
|
|
15
|
+
return destination;
|
|
16
|
+
}
|
|
17
|
+
connect.call(nativeAudioNode, destination, output);
|
|
18
|
+
insertElementInSet(connections, [destination, output], (connection) => connection[0] === destination && connection[1] === output, true);
|
|
19
|
+
if (wasDisconnected) {
|
|
20
|
+
whenConnected();
|
|
21
|
+
}
|
|
22
|
+
return;
|
|
23
|
+
};
|
|
24
|
+
})(nativeAudioNode.connect);
|
|
25
|
+
nativeAudioNode.disconnect = /* @__PURE__ */ ((disconnect) => {
|
|
26
|
+
return (destinationOrOutput, output, input) => {
|
|
27
|
+
const wasConnected = connections.size > 0;
|
|
28
|
+
if (destinationOrOutput === void 0) {
|
|
29
|
+
disconnect.apply(nativeAudioNode);
|
|
30
|
+
connections.clear();
|
|
31
|
+
} else if (typeof destinationOrOutput === "number") {
|
|
32
|
+
disconnect.call(nativeAudioNode, destinationOrOutput);
|
|
33
|
+
for (const connection of connections) {
|
|
34
|
+
if (connection[1] === destinationOrOutput) {
|
|
35
|
+
connections.delete(connection);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
} else {
|
|
39
|
+
if (isNativeAudioNode(destinationOrOutput)) {
|
|
40
|
+
disconnect.call(nativeAudioNode, destinationOrOutput, output, input);
|
|
41
|
+
} else {
|
|
42
|
+
disconnect.call(nativeAudioNode, destinationOrOutput, output);
|
|
43
|
+
}
|
|
44
|
+
for (const connection of connections) {
|
|
45
|
+
if (connection[0] === destinationOrOutput && (output === void 0 || connection[1] === output) && (input === void 0 || connection[2] === input)) {
|
|
46
|
+
connections.delete(connection);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const isDisconnected = connections.size === 0;
|
|
51
|
+
if (wasConnected && isDisconnected) {
|
|
52
|
+
whenDisconnected();
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
})(nativeAudioNode.disconnect);
|
|
56
|
+
return nativeAudioNode;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
exports.createMonitorConnections = createMonitorConnections;
|
package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
const createMonitorConnections = (insertElementInSet, isNativeAudioNode) => {
|
|
2
|
+
return (nativeAudioNode, whenConnected, whenDisconnected) => {
|
|
3
|
+
const connections = /* @__PURE__ */ new Set();
|
|
4
|
+
nativeAudioNode.connect = /* @__PURE__ */ ((connect) => {
|
|
5
|
+
return (destination, output = 0, input = 0) => {
|
|
6
|
+
const wasDisconnected = connections.size === 0;
|
|
7
|
+
if (isNativeAudioNode(destination)) {
|
|
8
|
+
connect.call(nativeAudioNode, destination, output, input);
|
|
9
|
+
insertElementInSet(connections, [destination, output, input], (connection) => connection[0] === destination && connection[1] === output && connection[2] === input, true);
|
|
10
|
+
if (wasDisconnected) {
|
|
11
|
+
whenConnected();
|
|
12
|
+
}
|
|
13
|
+
return destination;
|
|
14
|
+
}
|
|
15
|
+
connect.call(nativeAudioNode, destination, output);
|
|
16
|
+
insertElementInSet(connections, [destination, output], (connection) => connection[0] === destination && connection[1] === output, true);
|
|
17
|
+
if (wasDisconnected) {
|
|
18
|
+
whenConnected();
|
|
19
|
+
}
|
|
20
|
+
return;
|
|
21
|
+
};
|
|
22
|
+
})(nativeAudioNode.connect);
|
|
23
|
+
nativeAudioNode.disconnect = /* @__PURE__ */ ((disconnect) => {
|
|
24
|
+
return (destinationOrOutput, output, input) => {
|
|
25
|
+
const wasConnected = connections.size > 0;
|
|
26
|
+
if (destinationOrOutput === void 0) {
|
|
27
|
+
disconnect.apply(nativeAudioNode);
|
|
28
|
+
connections.clear();
|
|
29
|
+
} else if (typeof destinationOrOutput === "number") {
|
|
30
|
+
disconnect.call(nativeAudioNode, destinationOrOutput);
|
|
31
|
+
for (const connection of connections) {
|
|
32
|
+
if (connection[1] === destinationOrOutput) {
|
|
33
|
+
connections.delete(connection);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
} else {
|
|
37
|
+
if (isNativeAudioNode(destinationOrOutput)) {
|
|
38
|
+
disconnect.call(nativeAudioNode, destinationOrOutput, output, input);
|
|
39
|
+
} else {
|
|
40
|
+
disconnect.call(nativeAudioNode, destinationOrOutput, output);
|
|
41
|
+
}
|
|
42
|
+
for (const connection of connections) {
|
|
43
|
+
if (connection[0] === destinationOrOutput && (output === void 0 || connection[1] === output) && (input === void 0 || connection[2] === input)) {
|
|
44
|
+
connections.delete(connection);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const isDisconnected = connections.size === 0;
|
|
49
|
+
if (wasConnected && isDisconnected) {
|
|
50
|
+
whenDisconnected();
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
})(nativeAudioNode.disconnect);
|
|
54
|
+
return nativeAudioNode;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
createMonitorConnections
|
|
59
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
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 testAnalyserNodeGetFloatTimeDomainDataMethodSupport = require("../helpers/test-analyser-node-get-float-time-domain-data-method-support.cjs");
|
|
6
|
+
const wrapAnalyserNodeGetFloatTimeDomainDataMethod = require("../helpers/wrap-analyser-node-get-float-time-domain-data-method.cjs");
|
|
7
|
+
const createNativeAnalyserNodeFactory = (cacheTestResult, createIndexSizeError) => {
|
|
8
|
+
return (nativeContext, options) => {
|
|
9
|
+
const nativeAnalyserNode = nativeContext.createAnalyser();
|
|
10
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeAnalyserNode, options);
|
|
11
|
+
if (!(options.maxDecibels > options.minDecibels)) {
|
|
12
|
+
throw createIndexSizeError();
|
|
13
|
+
}
|
|
14
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAnalyserNode, options, "fftSize");
|
|
15
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAnalyserNode, options, "maxDecibels");
|
|
16
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAnalyserNode, options, "minDecibels");
|
|
17
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAnalyserNode, options, "smoothingTimeConstant");
|
|
18
|
+
if (!cacheTestResult(testAnalyserNodeGetFloatTimeDomainDataMethodSupport.testAnalyserNodeGetFloatTimeDomainDataMethodSupport, () => testAnalyserNodeGetFloatTimeDomainDataMethodSupport.testAnalyserNodeGetFloatTimeDomainDataMethodSupport(nativeAnalyserNode))) {
|
|
19
|
+
wrapAnalyserNodeGetFloatTimeDomainDataMethod.wrapAnalyserNodeGetFloatTimeDomainDataMethod(nativeAnalyserNode);
|
|
20
|
+
}
|
|
21
|
+
return nativeAnalyserNode;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
exports.createNativeAnalyserNodeFactory = createNativeAnalyserNodeFactory;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { assignNativeAudioNodeOption } from "../helpers/assign-native-audio-node-option.js";
|
|
2
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
3
|
+
import { testAnalyserNodeGetFloatTimeDomainDataMethodSupport } from "../helpers/test-analyser-node-get-float-time-domain-data-method-support.js";
|
|
4
|
+
import { wrapAnalyserNodeGetFloatTimeDomainDataMethod } from "../helpers/wrap-analyser-node-get-float-time-domain-data-method.js";
|
|
5
|
+
const createNativeAnalyserNodeFactory = (cacheTestResult, createIndexSizeError) => {
|
|
6
|
+
return (nativeContext, options) => {
|
|
7
|
+
const nativeAnalyserNode = nativeContext.createAnalyser();
|
|
8
|
+
assignNativeAudioNodeOptions(nativeAnalyserNode, options);
|
|
9
|
+
if (!(options.maxDecibels > options.minDecibels)) {
|
|
10
|
+
throw createIndexSizeError();
|
|
11
|
+
}
|
|
12
|
+
assignNativeAudioNodeOption(nativeAnalyserNode, options, "fftSize");
|
|
13
|
+
assignNativeAudioNodeOption(nativeAnalyserNode, options, "maxDecibels");
|
|
14
|
+
assignNativeAudioNodeOption(nativeAnalyserNode, options, "minDecibels");
|
|
15
|
+
assignNativeAudioNodeOption(nativeAnalyserNode, options, "smoothingTimeConstant");
|
|
16
|
+
if (!cacheTestResult(testAnalyserNodeGetFloatTimeDomainDataMethodSupport, () => testAnalyserNodeGetFloatTimeDomainDataMethodSupport(nativeAnalyserNode))) {
|
|
17
|
+
wrapAnalyserNodeGetFloatTimeDomainDataMethod(nativeAnalyserNode);
|
|
18
|
+
}
|
|
19
|
+
return nativeAnalyserNode;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
createNativeAnalyserNodeFactory
|
|
24
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const createNativeAudioBufferConstructor = (window) => {
|
|
4
|
+
if (window === null) {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
7
|
+
if (window.hasOwnProperty("AudioBuffer")) {
|
|
8
|
+
return window.AudioBuffer;
|
|
9
|
+
}
|
|
10
|
+
return null;
|
|
11
|
+
};
|
|
12
|
+
exports.createNativeAudioBufferConstructor = createNativeAudioBufferConstructor;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 assignNativeAudioNodeOption = require("../helpers/assign-native-audio-node-option.cjs");
|
|
5
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
6
|
+
const wrapAudioBufferSourceNodeStartMethodConsecutiveCalls = require("../helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.cjs");
|
|
7
|
+
const wrapAudioScheduledSourceNodeStartMethodNegativeParameters = require("../helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.cjs");
|
|
8
|
+
const wrapAudioScheduledSourceNodeStopMethodNegativeParameters = require("../helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.cjs");
|
|
9
|
+
const createNativeAudioBufferSourceNodeFactory = (addSilentConnection, cacheTestResult, testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport, testAudioBufferSourceNodeStartMethodOffsetClampingSupport, testAudioBufferSourceNodeStopMethodNullifiedBufferSupport, testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, testAudioScheduledSourceNodeStopMethodConsecutiveCallsSupport, testAudioScheduledSourceNodeStopMethodNegativeParametersSupport, wrapAudioBufferSourceNodeStartMethodOffsetClampling, wrapAudioBufferSourceNodeStopMethodNullifiedBuffer, wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls) => {
|
|
10
|
+
return (nativeContext, options) => {
|
|
11
|
+
const nativeAudioBufferSourceNode = nativeContext.createBufferSource();
|
|
12
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeAudioBufferSourceNode, options);
|
|
13
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeAudioBufferSourceNode, options, "playbackRate");
|
|
14
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "buffer");
|
|
15
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "loop");
|
|
16
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "loopEnd");
|
|
17
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "loopStart");
|
|
18
|
+
if (!cacheTestResult(testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport, () => testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport(nativeContext))) {
|
|
19
|
+
wrapAudioBufferSourceNodeStartMethodConsecutiveCalls.wrapAudioBufferSourceNodeStartMethodConsecutiveCalls(nativeAudioBufferSourceNode);
|
|
20
|
+
}
|
|
21
|
+
if (!cacheTestResult(testAudioBufferSourceNodeStartMethodOffsetClampingSupport, () => testAudioBufferSourceNodeStartMethodOffsetClampingSupport(nativeContext))) {
|
|
22
|
+
wrapAudioBufferSourceNodeStartMethodOffsetClampling(nativeAudioBufferSourceNode);
|
|
23
|
+
}
|
|
24
|
+
if (!cacheTestResult(testAudioBufferSourceNodeStopMethodNullifiedBufferSupport, () => testAudioBufferSourceNodeStopMethodNullifiedBufferSupport(nativeContext))) {
|
|
25
|
+
wrapAudioBufferSourceNodeStopMethodNullifiedBuffer(nativeAudioBufferSourceNode, nativeContext);
|
|
26
|
+
}
|
|
27
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStartMethodNegativeParametersSupport(nativeContext))) {
|
|
28
|
+
wrapAudioScheduledSourceNodeStartMethodNegativeParameters.wrapAudioScheduledSourceNodeStartMethodNegativeParameters(nativeAudioBufferSourceNode);
|
|
29
|
+
}
|
|
30
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStopMethodConsecutiveCallsSupport, () => testAudioScheduledSourceNodeStopMethodConsecutiveCallsSupport(nativeContext))) {
|
|
31
|
+
wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls(nativeAudioBufferSourceNode, nativeContext);
|
|
32
|
+
}
|
|
33
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStopMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStopMethodNegativeParametersSupport(nativeContext))) {
|
|
34
|
+
wrapAudioScheduledSourceNodeStopMethodNegativeParameters.wrapAudioScheduledSourceNodeStopMethodNegativeParameters(nativeAudioBufferSourceNode);
|
|
35
|
+
}
|
|
36
|
+
addSilentConnection(nativeContext, nativeAudioBufferSourceNode);
|
|
37
|
+
return nativeAudioBufferSourceNode;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
exports.createNativeAudioBufferSourceNodeFactory = createNativeAudioBufferSourceNodeFactory;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { assignNativeAudioNodeAudioParamValue } from "../helpers/assign-native-audio-node-audio-param-value.js";
|
|
2
|
+
import { assignNativeAudioNodeOption } from "../helpers/assign-native-audio-node-option.js";
|
|
3
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
4
|
+
import { wrapAudioBufferSourceNodeStartMethodConsecutiveCalls } from "../helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.js";
|
|
5
|
+
import { wrapAudioScheduledSourceNodeStartMethodNegativeParameters } from "../helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.js";
|
|
6
|
+
import { wrapAudioScheduledSourceNodeStopMethodNegativeParameters } from "../helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.js";
|
|
7
|
+
const createNativeAudioBufferSourceNodeFactory = (addSilentConnection, cacheTestResult, testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport, testAudioBufferSourceNodeStartMethodOffsetClampingSupport, testAudioBufferSourceNodeStopMethodNullifiedBufferSupport, testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, testAudioScheduledSourceNodeStopMethodConsecutiveCallsSupport, testAudioScheduledSourceNodeStopMethodNegativeParametersSupport, wrapAudioBufferSourceNodeStartMethodOffsetClampling, wrapAudioBufferSourceNodeStopMethodNullifiedBuffer, wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls) => {
|
|
8
|
+
return (nativeContext, options) => {
|
|
9
|
+
const nativeAudioBufferSourceNode = nativeContext.createBufferSource();
|
|
10
|
+
assignNativeAudioNodeOptions(nativeAudioBufferSourceNode, options);
|
|
11
|
+
assignNativeAudioNodeAudioParamValue(nativeAudioBufferSourceNode, options, "playbackRate");
|
|
12
|
+
assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "buffer");
|
|
13
|
+
assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "loop");
|
|
14
|
+
assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "loopEnd");
|
|
15
|
+
assignNativeAudioNodeOption(nativeAudioBufferSourceNode, options, "loopStart");
|
|
16
|
+
if (!cacheTestResult(testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport, () => testAudioBufferSourceNodeStartMethodConsecutiveCallsSupport(nativeContext))) {
|
|
17
|
+
wrapAudioBufferSourceNodeStartMethodConsecutiveCalls(nativeAudioBufferSourceNode);
|
|
18
|
+
}
|
|
19
|
+
if (!cacheTestResult(testAudioBufferSourceNodeStartMethodOffsetClampingSupport, () => testAudioBufferSourceNodeStartMethodOffsetClampingSupport(nativeContext))) {
|
|
20
|
+
wrapAudioBufferSourceNodeStartMethodOffsetClampling(nativeAudioBufferSourceNode);
|
|
21
|
+
}
|
|
22
|
+
if (!cacheTestResult(testAudioBufferSourceNodeStopMethodNullifiedBufferSupport, () => testAudioBufferSourceNodeStopMethodNullifiedBufferSupport(nativeContext))) {
|
|
23
|
+
wrapAudioBufferSourceNodeStopMethodNullifiedBuffer(nativeAudioBufferSourceNode, nativeContext);
|
|
24
|
+
}
|
|
25
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStartMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStartMethodNegativeParametersSupport(nativeContext))) {
|
|
26
|
+
wrapAudioScheduledSourceNodeStartMethodNegativeParameters(nativeAudioBufferSourceNode);
|
|
27
|
+
}
|
|
28
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStopMethodConsecutiveCallsSupport, () => testAudioScheduledSourceNodeStopMethodConsecutiveCallsSupport(nativeContext))) {
|
|
29
|
+
wrapAudioScheduledSourceNodeStopMethodConsecutiveCalls(nativeAudioBufferSourceNode, nativeContext);
|
|
30
|
+
}
|
|
31
|
+
if (!cacheTestResult(testAudioScheduledSourceNodeStopMethodNegativeParametersSupport, () => testAudioScheduledSourceNodeStopMethodNegativeParametersSupport(nativeContext))) {
|
|
32
|
+
wrapAudioScheduledSourceNodeStopMethodNegativeParameters(nativeAudioBufferSourceNode);
|
|
33
|
+
}
|
|
34
|
+
addSilentConnection(nativeContext, nativeAudioBufferSourceNode);
|
|
35
|
+
return nativeAudioBufferSourceNode;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export {
|
|
39
|
+
createNativeAudioBufferSourceNodeFactory
|
|
40
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const createNativeAudioContextConstructor = (window) => {
|
|
4
|
+
if (window === null) {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
7
|
+
if (window.hasOwnProperty("AudioContext")) {
|
|
8
|
+
return window.AudioContext;
|
|
9
|
+
}
|
|
10
|
+
return window.hasOwnProperty("webkitAudioContext") ? window.webkitAudioContext : null;
|
|
11
|
+
};
|
|
12
|
+
exports.createNativeAudioContextConstructor = createNativeAudioContextConstructor;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
const createNativeAudioContextConstructor = (window) => {
|
|
2
|
+
if (window === null) {
|
|
3
|
+
return null;
|
|
4
|
+
}
|
|
5
|
+
if (window.hasOwnProperty("AudioContext")) {
|
|
6
|
+
return window.AudioContext;
|
|
7
|
+
}
|
|
8
|
+
return window.hasOwnProperty("webkitAudioContext") ? window.webkitAudioContext : null;
|
|
9
|
+
};
|
|
10
|
+
export {
|
|
11
|
+
createNativeAudioContextConstructor
|
|
12
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const createNativeAudioDestinationNodeFactory = (createNativeGainNode, overwriteAccessors) => {
|
|
4
|
+
return (nativeContext, channelCount, isNodeOfNativeOfflineAudioContext) => {
|
|
5
|
+
const nativeAudioDestinationNode = nativeContext.destination;
|
|
6
|
+
if (nativeAudioDestinationNode.channelCount !== channelCount) {
|
|
7
|
+
try {
|
|
8
|
+
nativeAudioDestinationNode.channelCount = channelCount;
|
|
9
|
+
} catch {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
if (isNodeOfNativeOfflineAudioContext && nativeAudioDestinationNode.channelCountMode !== "explicit") {
|
|
13
|
+
nativeAudioDestinationNode.channelCountMode = "explicit";
|
|
14
|
+
}
|
|
15
|
+
if (nativeAudioDestinationNode.maxChannelCount === 0) {
|
|
16
|
+
Object.defineProperty(nativeAudioDestinationNode, "maxChannelCount", {
|
|
17
|
+
value: channelCount
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
const gainNode = createNativeGainNode(nativeContext, {
|
|
21
|
+
channelCount,
|
|
22
|
+
channelCountMode: nativeAudioDestinationNode.channelCountMode,
|
|
23
|
+
channelInterpretation: nativeAudioDestinationNode.channelInterpretation,
|
|
24
|
+
gain: 1
|
|
25
|
+
});
|
|
26
|
+
overwriteAccessors(gainNode, "channelCount", (get) => () => get.call(gainNode), (set) => (value) => {
|
|
27
|
+
set.call(gainNode, value);
|
|
28
|
+
try {
|
|
29
|
+
nativeAudioDestinationNode.channelCount = value;
|
|
30
|
+
} catch (err) {
|
|
31
|
+
if (value > nativeAudioDestinationNode.maxChannelCount) {
|
|
32
|
+
throw err;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
overwriteAccessors(gainNode, "channelCountMode", (get) => () => get.call(gainNode), (set) => (value) => {
|
|
37
|
+
set.call(gainNode, value);
|
|
38
|
+
nativeAudioDestinationNode.channelCountMode = value;
|
|
39
|
+
});
|
|
40
|
+
overwriteAccessors(gainNode, "channelInterpretation", (get) => () => get.call(gainNode), (set) => (value) => {
|
|
41
|
+
set.call(gainNode, value);
|
|
42
|
+
nativeAudioDestinationNode.channelInterpretation = value;
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(gainNode, "maxChannelCount", {
|
|
45
|
+
get: () => nativeAudioDestinationNode.maxChannelCount
|
|
46
|
+
});
|
|
47
|
+
gainNode.connect(nativeAudioDestinationNode);
|
|
48
|
+
return gainNode;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
exports.createNativeAudioDestinationNodeFactory = createNativeAudioDestinationNodeFactory;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
const createNativeAudioDestinationNodeFactory = (createNativeGainNode, overwriteAccessors) => {
|
|
2
|
+
return (nativeContext, channelCount, isNodeOfNativeOfflineAudioContext) => {
|
|
3
|
+
const nativeAudioDestinationNode = nativeContext.destination;
|
|
4
|
+
if (nativeAudioDestinationNode.channelCount !== channelCount) {
|
|
5
|
+
try {
|
|
6
|
+
nativeAudioDestinationNode.channelCount = channelCount;
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
if (isNodeOfNativeOfflineAudioContext && nativeAudioDestinationNode.channelCountMode !== "explicit") {
|
|
11
|
+
nativeAudioDestinationNode.channelCountMode = "explicit";
|
|
12
|
+
}
|
|
13
|
+
if (nativeAudioDestinationNode.maxChannelCount === 0) {
|
|
14
|
+
Object.defineProperty(nativeAudioDestinationNode, "maxChannelCount", {
|
|
15
|
+
value: channelCount
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
const gainNode = createNativeGainNode(nativeContext, {
|
|
19
|
+
channelCount,
|
|
20
|
+
channelCountMode: nativeAudioDestinationNode.channelCountMode,
|
|
21
|
+
channelInterpretation: nativeAudioDestinationNode.channelInterpretation,
|
|
22
|
+
gain: 1
|
|
23
|
+
});
|
|
24
|
+
overwriteAccessors(gainNode, "channelCount", (get) => () => get.call(gainNode), (set) => (value) => {
|
|
25
|
+
set.call(gainNode, value);
|
|
26
|
+
try {
|
|
27
|
+
nativeAudioDestinationNode.channelCount = value;
|
|
28
|
+
} catch (err) {
|
|
29
|
+
if (value > nativeAudioDestinationNode.maxChannelCount) {
|
|
30
|
+
throw err;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
overwriteAccessors(gainNode, "channelCountMode", (get) => () => get.call(gainNode), (set) => (value) => {
|
|
35
|
+
set.call(gainNode, value);
|
|
36
|
+
nativeAudioDestinationNode.channelCountMode = value;
|
|
37
|
+
});
|
|
38
|
+
overwriteAccessors(gainNode, "channelInterpretation", (get) => () => get.call(gainNode), (set) => (value) => {
|
|
39
|
+
set.call(gainNode, value);
|
|
40
|
+
nativeAudioDestinationNode.channelInterpretation = value;
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(gainNode, "maxChannelCount", {
|
|
43
|
+
get: () => nativeAudioDestinationNode.maxChannelCount
|
|
44
|
+
});
|
|
45
|
+
gainNode.connect(nativeAudioDestinationNode);
|
|
46
|
+
return gainNode;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export {
|
|
50
|
+
createNativeAudioDestinationNodeFactory
|
|
51
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const createNativeAudioWorkletNodeConstructor = (window) => {
|
|
4
|
+
if (window === null) {
|
|
5
|
+
return null;
|
|
6
|
+
}
|
|
7
|
+
return window.hasOwnProperty("AudioWorkletNode") ? window.AudioWorkletNode : null;
|
|
8
|
+
};
|
|
9
|
+
exports.createNativeAudioWorkletNodeConstructor = createNativeAudioWorkletNodeConstructor;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 assignNativeAudioNodeOption = require("../helpers/assign-native-audio-node-option.cjs");
|
|
5
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
6
|
+
const createNativeBiquadFilterNode = (nativeContext, options) => {
|
|
7
|
+
const nativeBiquadFilterNode = nativeContext.createBiquadFilter();
|
|
8
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeBiquadFilterNode, options);
|
|
9
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "Q");
|
|
10
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "detune");
|
|
11
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "frequency");
|
|
12
|
+
assignNativeAudioNodeAudioParamValue.assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "gain");
|
|
13
|
+
assignNativeAudioNodeOption.assignNativeAudioNodeOption(nativeBiquadFilterNode, options, "type");
|
|
14
|
+
return nativeBiquadFilterNode;
|
|
15
|
+
};
|
|
16
|
+
exports.createNativeBiquadFilterNode = createNativeBiquadFilterNode;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { assignNativeAudioNodeAudioParamValue } from "../helpers/assign-native-audio-node-audio-param-value.js";
|
|
2
|
+
import { assignNativeAudioNodeOption } from "../helpers/assign-native-audio-node-option.js";
|
|
3
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
4
|
+
const createNativeBiquadFilterNode = (nativeContext, options) => {
|
|
5
|
+
const nativeBiquadFilterNode = nativeContext.createBiquadFilter();
|
|
6
|
+
assignNativeAudioNodeOptions(nativeBiquadFilterNode, options);
|
|
7
|
+
assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "Q");
|
|
8
|
+
assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "detune");
|
|
9
|
+
assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "frequency");
|
|
10
|
+
assignNativeAudioNodeAudioParamValue(nativeBiquadFilterNode, options, "gain");
|
|
11
|
+
assignNativeAudioNodeOption(nativeBiquadFilterNode, options, "type");
|
|
12
|
+
return nativeBiquadFilterNode;
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
createNativeBiquadFilterNode
|
|
16
|
+
};
|
|
@@ -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 createNativeChannelMergerNodeFactory = (nativeAudioContextConstructor, wrapChannelMergerNode) => {
|
|
5
|
+
return (nativeContext, options) => {
|
|
6
|
+
const nativeChannelMergerNode = nativeContext.createChannelMerger(options.numberOfInputs);
|
|
7
|
+
if (nativeAudioContextConstructor !== null && nativeAudioContextConstructor.name === "webkitAudioContext") {
|
|
8
|
+
wrapChannelMergerNode(nativeContext, nativeChannelMergerNode);
|
|
9
|
+
}
|
|
10
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeChannelMergerNode, options);
|
|
11
|
+
return nativeChannelMergerNode;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
exports.createNativeChannelMergerNodeFactory = createNativeChannelMergerNodeFactory;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
2
|
+
const createNativeChannelMergerNodeFactory = (nativeAudioContextConstructor, wrapChannelMergerNode) => {
|
|
3
|
+
return (nativeContext, options) => {
|
|
4
|
+
const nativeChannelMergerNode = nativeContext.createChannelMerger(options.numberOfInputs);
|
|
5
|
+
if (nativeAudioContextConstructor !== null && nativeAudioContextConstructor.name === "webkitAudioContext") {
|
|
6
|
+
wrapChannelMergerNode(nativeContext, nativeChannelMergerNode);
|
|
7
|
+
}
|
|
8
|
+
assignNativeAudioNodeOptions(nativeChannelMergerNode, options);
|
|
9
|
+
return nativeChannelMergerNode;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
createNativeChannelMergerNodeFactory
|
|
14
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const assignNativeAudioNodeOptions = require("../helpers/assign-native-audio-node-options.cjs");
|
|
4
|
+
const wrapChannelSplitterNode = require("../helpers/wrap-channel-splitter-node.cjs");
|
|
5
|
+
const createNativeChannelSplitterNode = (nativeContext, options) => {
|
|
6
|
+
const nativeChannelSplitterNode = nativeContext.createChannelSplitter(options.numberOfOutputs);
|
|
7
|
+
assignNativeAudioNodeOptions.assignNativeAudioNodeOptions(nativeChannelSplitterNode, options);
|
|
8
|
+
wrapChannelSplitterNode.wrapChannelSplitterNode(nativeChannelSplitterNode);
|
|
9
|
+
return nativeChannelSplitterNode;
|
|
10
|
+
};
|
|
11
|
+
exports.createNativeChannelSplitterNode = createNativeChannelSplitterNode;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { assignNativeAudioNodeOptions } from "../helpers/assign-native-audio-node-options.js";
|
|
2
|
+
import { wrapChannelSplitterNode } from "../helpers/wrap-channel-splitter-node.js";
|
|
3
|
+
const createNativeChannelSplitterNode = (nativeContext, options) => {
|
|
4
|
+
const nativeChannelSplitterNode = nativeContext.createChannelSplitter(options.numberOfOutputs);
|
|
5
|
+
assignNativeAudioNodeOptions(nativeChannelSplitterNode, options);
|
|
6
|
+
wrapChannelSplitterNode(nativeChannelSplitterNode);
|
|
7
|
+
return nativeChannelSplitterNode;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
createNativeChannelSplitterNode
|
|
11
|
+
};
|