react-audio-wavekit 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (487) hide show
  1. package/README.md +3 -1
  2. package/dist/_virtual/_commonjsHelpers.cjs +6 -0
  3. package/dist/_virtual/_commonjsHelpers.js +6 -0
  4. package/dist/_virtual/browser.cjs +7 -0
  5. package/dist/_virtual/browser.js +7 -0
  6. package/dist/index.d.ts +7 -5
  7. package/dist/node_modules/@eshaz/web-worker/cjs/browser.cjs +11 -0
  8. package/dist/node_modules/@eshaz/web-worker/cjs/browser.js +11 -0
  9. package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.cjs +168 -0
  10. package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderCommon.js +168 -0
  11. package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.cjs +90 -0
  12. package/dist/node_modules/@wasm-audio-decoders/common/src/WASMAudioDecoderWorker.js +90 -0
  13. package/dist/node_modules/@wasm-audio-decoders/common/src/utilities.cjs +6 -0
  14. package/dist/node_modules/@wasm-audio-decoders/common/src/utilities.js +6 -0
  15. package/dist/node_modules/mpg123-decoder/index.cjs +9 -0
  16. package/dist/node_modules/mpg123-decoder/index.js +9 -0
  17. package/dist/node_modules/mpg123-decoder/src/EmscriptenWasm.cjs +0 -0
  18. package/dist/node_modules/mpg123-decoder/src/EmscriptenWasm.js +0 -0
  19. package/dist/node_modules/mpg123-decoder/src/MPEGDecoder.cjs +147 -0
  20. package/dist/node_modules/mpg123-decoder/src/MPEGDecoder.js +147 -0
  21. package/dist/node_modules/mpg123-decoder/src/MPEGDecoderWebWorker.cjs +20 -0
  22. package/dist/node_modules/mpg123-decoder/src/MPEGDecoderWebWorker.js +20 -0
  23. package/dist/node_modules/simple-yenc/dist/esm.cjs +41 -0
  24. package/dist/node_modules/simple-yenc/dist/esm.js +41 -0
  25. package/dist/recorder/live-streaming/recorder/recorder-compound.cjs +1 -1
  26. package/dist/recorder/live-streaming/recorder/recorder-compound.js +1 -1
  27. package/dist/waveform/index.cjs +13 -11
  28. package/dist/waveform/index.js +13 -11
  29. package/dist/waveform/util-audio-decoder.cjs +36 -15
  30. package/dist/waveform/util-audio-decoder.js +36 -15
  31. package/dist/waveform/waveform-renderer.cjs +3 -3
  32. package/dist/waveform/waveform-renderer.js +3 -3
  33. package/package.json +3 -3
  34. package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.cjs +0 -137
  35. package/dist/node_modules/automation-events/build/es2019/classes/automation-event-list.js +0 -137
  36. package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.cjs +0 -6
  37. package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-and-hold-automation-event.js +0 -6
  38. package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.cjs +0 -6
  39. package/dist/node_modules/automation-events/build/es2019/functions/create-cancel-scheduled-values-automation-event.js +0 -6
  40. package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.cjs +0 -6
  41. package/dist/node_modules/automation-events/build/es2019/functions/create-exponential-ramp-to-value-automation-event.js +0 -6
  42. package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.cjs +0 -6
  43. package/dist/node_modules/automation-events/build/es2019/functions/create-extended-exponential-ramp-to-value-automation-event.js +0 -6
  44. package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.cjs +0 -6
  45. package/dist/node_modules/automation-events/build/es2019/functions/create-extended-linear-ramp-to-value-automation-event.js +0 -6
  46. package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.cjs +0 -6
  47. package/dist/node_modules/automation-events/build/es2019/functions/create-linear-ramp-to-value-automation-event.js +0 -6
  48. package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.cjs +0 -6
  49. package/dist/node_modules/automation-events/build/es2019/functions/create-set-target-automation-event.js +0 -6
  50. package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.cjs +0 -6
  51. package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-automation-event.js +0 -6
  52. package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.cjs +0 -6
  53. package/dist/node_modules/automation-events/build/es2019/functions/create-set-value-curve-automation-event.js +0 -6
  54. package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.cjs +0 -16
  55. package/dist/node_modules/automation-events/build/es2019/functions/get-end-time-and-value-of-previous-automation-event.js +0 -16
  56. package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.cjs +0 -16
  57. package/dist/node_modules/automation-events/build/es2019/functions/get-event-time.js +0 -16
  58. package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.cjs +0 -12
  59. package/dist/node_modules/automation-events/build/es2019/functions/get-exponential-ramp-value-at-time.js +0 -12
  60. package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.cjs +0 -6
  61. package/dist/node_modules/automation-events/build/es2019/functions/get-linear-ramp-value-at-time.js +0 -6
  62. package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.cjs +0 -6
  63. package/dist/node_modules/automation-events/build/es2019/functions/get-target-value-at-time.js +0 -6
  64. package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.cjs +0 -8
  65. package/dist/node_modules/automation-events/build/es2019/functions/get-value-curve-value-at-time.js +0 -8
  66. package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.cjs +0 -11
  67. package/dist/node_modules/automation-events/build/es2019/functions/get-value-of-automation-event-at-index-at-time.js +0 -11
  68. package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.cjs +0 -11
  69. package/dist/node_modules/automation-events/build/es2019/functions/interpolate-value.js +0 -11
  70. package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.cjs +0 -8
  71. package/dist/node_modules/automation-events/build/es2019/guards/any-ramp-to-value-automation-event.js +0 -8
  72. package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.cjs +0 -6
  73. package/dist/node_modules/automation-events/build/es2019/guards/cancel-and-hold-automation-event.js +0 -6
  74. package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.cjs +0 -6
  75. package/dist/node_modules/automation-events/build/es2019/guards/cancel-scheduled-values-automation-event.js +0 -6
  76. package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.cjs +0 -6
  77. package/dist/node_modules/automation-events/build/es2019/guards/exponential-ramp-to-value-automation-event.js +0 -6
  78. package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.cjs +0 -6
  79. package/dist/node_modules/automation-events/build/es2019/guards/linear-ramp-to-value-automation-event.js +0 -6
  80. package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.cjs +0 -6
  81. package/dist/node_modules/automation-events/build/es2019/guards/set-target-automation-event.js +0 -6
  82. package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.cjs +0 -6
  83. package/dist/node_modules/automation-events/build/es2019/guards/set-value-automation-event.js +0 -6
  84. package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.cjs +0 -6
  85. package/dist/node_modules/automation-events/build/es2019/guards/set-value-curve-automation-event.js +0 -6
  86. package/dist/node_modules/standardized-audio-context/build/es2019/constants.cjs +0 -6
  87. package/dist/node_modules/standardized-audio-context/build/es2019/constants.js +0 -6
  88. package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.cjs +0 -4
  89. package/dist/node_modules/standardized-audio-context/build/es2019/factories/abort-error.js +0 -4
  90. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.cjs +0 -8
  91. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-active-input-connection-to-audio-node.js +0 -8
  92. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.cjs +0 -17
  93. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-node-connections.js +0 -17
  94. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.cjs +0 -8
  95. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-param-connections.js +0 -8
  96. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.cjs +0 -115
  97. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-audio-worklet-module.js +0 -115
  98. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.cjs +0 -60
  99. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-connection-to-audio-node.js +0 -60
  100. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.cjs +0 -13
  101. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-passive-input-connection-to-audio-node.js +0 -13
  102. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.cjs +0 -20
  103. package/dist/node_modules/standardized-audio-context/build/es2019/factories/add-silent-connection.js +0 -20
  104. package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.cjs +0 -73
  105. package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-constructor.js +0 -73
  106. package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.cjs +0 -37
  107. package/dist/node_modules/standardized-audio-context/build/es2019/factories/analyser-node-renderer-factory.js +0 -37
  108. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.cjs +0 -37
  109. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-constructor.js +0 -37
  110. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.cjs +0 -103
  111. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-constructor.js +0 -103
  112. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.cjs +0 -58
  113. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-buffer-source-node-renderer-factory.js +0 -58
  114. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.cjs +0 -40
  115. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-constructor.js +0 -40
  116. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.cjs +0 -21
  117. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-destination-node-renderer-factory.js +0 -21
  118. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.cjs +0 -220
  119. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-listener-factory.js +0 -220
  120. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.cjs +0 -274
  121. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-node-constructor.js +0 -274
  122. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.cjs +0 -152
  123. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-factory.js +0 -152
  124. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.cjs +0 -29
  125. package/dist/node_modules/standardized-audio-context/build/es2019/factories/audio-param-renderer.js +0 -29
  126. package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.cjs +0 -83
  127. package/dist/node_modules/standardized-audio-context/build/es2019/factories/base-audio-context-constructor.js +0 -83
  128. package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.cjs +0 -63
  129. package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-constructor.js +0 -63
  130. package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.cjs +0 -49
  131. package/dist/node_modules/standardized-audio-context/build/es2019/factories/biquad-filter-node-renderer-factory.js +0 -49
  132. package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.cjs +0 -31
  133. package/dist/node_modules/standardized-audio-context/build/es2019/factories/cache-test-result.js +0 -31
  134. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.cjs +0 -20
  135. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-constructor.js +0 -20
  136. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.cjs +0 -34
  137. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-merger-node-renderer-factory.js +0 -34
  138. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.cjs +0 -20
  139. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-constructor.js +0 -20
  140. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.cjs +0 -34
  141. package/dist/node_modules/standardized-audio-context/build/es2019/factories/channel-splitter-node-renderer-factory.js +0 -34
  142. package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.cjs +0 -8
  143. package/dist/node_modules/standardized-audio-context/build/es2019/factories/connect-audio-param.js +0 -8
  144. package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.cjs +0 -26
  145. package/dist/node_modules/standardized-audio-context/build/es2019/factories/connected-native-audio-buffer-source-node-factory.js +0 -26
  146. package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.cjs +0 -63
  147. package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-constructor.js +0 -63
  148. package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.cjs +0 -53
  149. package/dist/node_modules/standardized-audio-context/build/es2019/factories/constant-source-node-renderer-factory.js +0 -53
  150. package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.cjs +0 -9
  151. package/dist/node_modules/standardized-audio-context/build/es2019/factories/convert-number-to-unsigned-long.js +0 -9
  152. package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.cjs +0 -51
  153. package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-constructor.js +0 -51
  154. package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.cjs +0 -40
  155. package/dist/node_modules/standardized-audio-context/build/es2019/factories/convolver-node-renderer-factory.js +0 -40
  156. package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.cjs +0 -18
  157. package/dist/node_modules/standardized-audio-context/build/es2019/factories/create-native-offline-audio-context.js +0 -18
  158. package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.cjs +0 -4
  159. package/dist/node_modules/standardized-audio-context/build/es2019/factories/data-clone-error.js +0 -4
  160. package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.cjs +0 -59
  161. package/dist/node_modules/standardized-audio-context/build/es2019/factories/decode-audio-data.js +0 -59
  162. package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.cjs +0 -32
  163. package/dist/node_modules/standardized-audio-context/build/es2019/factories/decrement-cycle-counter.js +0 -32
  164. package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.cjs +0 -27
  165. package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-constructor.js +0 -27
  166. package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.cjs +0 -40
  167. package/dist/node_modules/standardized-audio-context/build/es2019/factories/delay-node-renderer-factory.js +0 -40
  168. package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.cjs +0 -8
  169. package/dist/node_modules/standardized-audio-context/build/es2019/factories/delete-active-input-connection-to-audio-node.js +0 -8
  170. package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.cjs +0 -21
  171. package/dist/node_modules/standardized-audio-context/build/es2019/factories/detect-cycles.js +0 -21
  172. package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.cjs +0 -80
  173. package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-constructor.js +0 -80
  174. package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.cjs +0 -51
  175. package/dist/node_modules/standardized-audio-context/build/es2019/factories/dynamics-compressor-node-renderer-factory.js +0 -51
  176. package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.cjs +0 -4
  177. package/dist/node_modules/standardized-audio-context/build/es2019/factories/encoding-error.js +0 -4
  178. package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.cjs +0 -45
  179. package/dist/node_modules/standardized-audio-context/build/es2019/factories/evaluate-source.js +0 -45
  180. package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.cjs +0 -30
  181. package/dist/node_modules/standardized-audio-context/build/es2019/factories/event-target-constructor.js +0 -30
  182. package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.cjs +0 -29
  183. package/dist/node_modules/standardized-audio-context/build/es2019/factories/expose-current-frame-and-current-time.js +0 -29
  184. package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.cjs +0 -15
  185. package/dist/node_modules/standardized-audio-context/build/es2019/factories/fetch-source.js +0 -15
  186. package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.cjs +0 -26
  187. package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-constructor.js +0 -26
  188. package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.cjs +0 -39
  189. package/dist/node_modules/standardized-audio-context/build/es2019/factories/gain-node-renderer-factory.js +0 -39
  190. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.cjs +0 -12
  191. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-renderer.js +0 -12
  192. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.cjs +0 -9
  193. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-node-tail-time.js +0 -9
  194. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.cjs +0 -12
  195. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-audio-param-renderer.js +0 -12
  196. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.cjs +0 -13
  197. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-native-context.js +0 -13
  198. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.cjs +0 -17
  199. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-or-create-backup-offline-audio-context.js +0 -17
  200. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.cjs +0 -12
  201. package/dist/node_modules/standardized-audio-context/build/es2019/factories/get-unrendered-audio-worklet-nodes.js +0 -12
  202. package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.cjs +0 -27
  203. package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-constructor.js +0 -27
  204. package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.cjs +0 -93
  205. package/dist/node_modules/standardized-audio-context/build/es2019/factories/iir-filter-node-renderer-factory.js +0 -93
  206. package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.cjs +0 -29
  207. package/dist/node_modules/standardized-audio-context/build/es2019/factories/increment-cycle-counter-factory.js +0 -29
  208. package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.cjs +0 -4
  209. package/dist/node_modules/standardized-audio-context/build/es2019/factories/index-size-error.js +0 -4
  210. package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.cjs +0 -4
  211. package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-access-error.js +0 -4
  212. package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.cjs +0 -4
  213. package/dist/node_modules/standardized-audio-context/build/es2019/factories/invalid-state-error.js +0 -4
  214. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.cjs +0 -8
  215. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-context.js +0 -8
  216. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.cjs +0 -8
  217. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-node.js +0 -8
  218. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.cjs +0 -8
  219. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-audio-param.js +0 -8
  220. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.cjs +0 -8
  221. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-context.js +0 -8
  222. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.cjs +0 -8
  223. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-native-offline-audio-context.js +0 -8
  224. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.cjs +0 -4
  225. package/dist/node_modules/standardized-audio-context/build/es2019/factories/is-secure-context.js +0 -4
  226. package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.cjs +0 -43
  227. package/dist/node_modules/standardized-audio-context/build/es2019/factories/minimal-base-audio-context-constructor.js +0 -43
  228. package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.cjs +0 -59
  229. package/dist/node_modules/standardized-audio-context/build/es2019/factories/monitor-connections.js +0 -59
  230. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.cjs +0 -24
  231. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-analyser-node-factory.js +0 -24
  232. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.cjs +0 -12
  233. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-constructor.js +0 -12
  234. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.cjs +0 -40
  235. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-buffer-source-node-factory.js +0 -40
  236. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.cjs +0 -12
  237. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-context-constructor.js +0 -12
  238. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.cjs +0 -51
  239. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-destination-node.js +0 -51
  240. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.cjs +0 -9
  241. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-audio-worklet-node-constructor.js +0 -9
  242. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.cjs +0 -16
  243. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-biquad-filter-node.js +0 -16
  244. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.cjs +0 -14
  245. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-merger-node-factory.js +0 -14
  246. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.cjs +0 -11
  247. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-channel-splitter-node.js +0 -11
  248. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.cjs +0 -25
  249. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-factory.js +0 -25
  250. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.cjs +0 -88
  251. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-constant-source-node-faker-factory.js +0 -88
  252. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.cjs +0 -34
  253. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-convolver-node-factory.js +0 -34
  254. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.cjs +0 -11
  255. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-delay-node.js +0 -11
  256. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.cjs +0 -23
  257. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-dynamics-compressor-node-factory.js +0 -23
  258. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.cjs +0 -11
  259. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-gain-node.js +0 -11
  260. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.cjs +0 -14
  261. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-factory.js +0 -14
  262. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.cjs +0 -139
  263. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-iir-filter-node-faker-factory.js +0 -139
  264. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.cjs +0 -12
  265. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-offline-audio-context-constructor.js +0 -12
  266. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.cjs +0 -32
  267. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-oscillator-node-factory.js +0 -32
  268. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.cjs +0 -30
  269. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-factory.js +0 -30
  270. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.cjs +0 -277
  271. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-panner-node-faker-factory.js +0 -277
  272. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.cjs +0 -14
  273. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-periodic-wave-factory.js +0 -14
  274. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.cjs +0 -6
  275. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-script-processor-node.js +0 -6
  276. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.cjs +0 -28
  277. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-factory.js +0 -28
  278. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.cjs +0 -244
  279. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-stereo-panner-node-faker-factory.js +0 -244
  280. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.cjs +0 -48
  281. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-factory.js +0 -48
  282. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.cjs +0 -153
  283. package/dist/node_modules/standardized-audio-context/build/es2019/factories/native-wave-shaper-node-faker-factory.js +0 -153
  284. package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.cjs +0 -4
  285. package/dist/node_modules/standardized-audio-context/build/es2019/factories/not-supported-error.js +0 -4
  286. package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.cjs +0 -71
  287. package/dist/node_modules/standardized-audio-context/build/es2019/factories/offline-audio-context-constructor.js +0 -71
  288. package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.cjs +0 -90
  289. package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-constructor.js +0 -90
  290. package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.cjs +0 -62
  291. package/dist/node_modules/standardized-audio-context/build/es2019/factories/oscillator-node-renderer-factory.js +0 -62
  292. package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.cjs +0 -109
  293. package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-constructor.js +0 -109
  294. package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.cjs +0 -166
  295. package/dist/node_modules/standardized-audio-context/build/es2019/factories/panner-node-renderer-factory.js +0 -166
  296. package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.cjs +0 -20
  297. package/dist/node_modules/standardized-audio-context/build/es2019/factories/periodic-wave-constructor.js +0 -20
  298. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.cjs +0 -10
  299. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-automation.js +0 -10
  300. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.cjs +0 -16
  301. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-node.js +0 -16
  302. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.cjs +0 -15
  303. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-inputs-of-audio-param.js +0 -15
  304. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.cjs +0 -36
  305. package/dist/node_modules/standardized-audio-context/build/es2019/factories/render-native-offline-audio-context.js +0 -36
  306. package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.cjs +0 -6
  307. package/dist/node_modules/standardized-audio-context/build/es2019/factories/set-audio-node-tail-time.js +0 -6
  308. package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.cjs +0 -16
  309. package/dist/node_modules/standardized-audio-context/build/es2019/factories/start-rendering.js +0 -16
  310. package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.cjs +0 -29
  311. package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-constructor.js +0 -29
  312. package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.cjs +0 -44
  313. package/dist/node_modules/standardized-audio-context/build/es2019/factories/stereo-panner-node-renderer-factory.js +0 -44
  314. package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.cjs +0 -16
  315. package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-buffer-constructor-support.js +0 -16
  316. package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.cjs +0 -35
  317. package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-audio-worklet-processor-post-message-support.js +0 -35
  318. package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.cjs +0 -24
  319. package/dist/node_modules/standardized-audio-context/build/es2019/factories/test-offline-audio-context-current-time-support.js +0 -24
  320. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.cjs +0 -49
  321. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-constructor.js +0 -49
  322. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.cjs +0 -40
  323. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wave-shaper-node-renderer-factory.js +0 -40
  324. package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.cjs +0 -4
  325. package/dist/node_modules/standardized-audio-context/build/es2019/factories/window.js +0 -4
  326. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.cjs +0 -25
  327. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods-out-of-bounds.js +0 -25
  328. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.cjs +0 -33
  329. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-copy-channel-methods.js +0 -33
  330. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.cjs +0 -17
  331. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-audio-buffer-source-node-stop-method-nullified-buffer.js +0 -17
  332. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.cjs +0 -30
  333. package/dist/node_modules/standardized-audio-context/build/es2019/factories/wrap-channel-merger-node.js +0 -30
  334. package/dist/node_modules/standardized-audio-context/build/es2019/globals.cjs +0 -20
  335. package/dist/node_modules/standardized-audio-context/build/es2019/globals.js +0 -20
  336. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.cjs +0 -6
  337. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-buffer-source-node.js +0 -6
  338. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.cjs +0 -7
  339. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node-output-connection.js +0 -7
  340. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.cjs +0 -6
  341. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-node.js +0 -6
  342. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.cjs +0 -6
  343. package/dist/node_modules/standardized-audio-context/build/es2019/guards/audio-worklet-node.js +0 -6
  344. package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.cjs +0 -6
  345. package/dist/node_modules/standardized-audio-context/build/es2019/guards/biquad-filter-node.js +0 -6
  346. package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.cjs +0 -6
  347. package/dist/node_modules/standardized-audio-context/build/es2019/guards/constant-source-node.js +0 -6
  348. package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.cjs +0 -6
  349. package/dist/node_modules/standardized-audio-context/build/es2019/guards/delay-node.js +0 -6
  350. package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.cjs +0 -6
  351. package/dist/node_modules/standardized-audio-context/build/es2019/guards/gain-node.js +0 -6
  352. package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.cjs +0 -6
  353. package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node-faker.js +0 -6
  354. package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.cjs +0 -6
  355. package/dist/node_modules/standardized-audio-context/build/es2019/guards/native-audio-node.js +0 -6
  356. package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.cjs +0 -6
  357. package/dist/node_modules/standardized-audio-context/build/es2019/guards/oscillator-node.js +0 -6
  358. package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.cjs +0 -6
  359. package/dist/node_modules/standardized-audio-context/build/es2019/guards/stereo-panner-node.js +0 -6
  360. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.cjs +0 -7
  361. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-active-input-connection-to-audio-param.js +0 -7
  362. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.cjs +0 -12
  363. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/add-passive-input-connection-to-audio-param.js +0 -12
  364. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.cjs +0 -9
  365. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-audio-param-value.js +0 -9
  366. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.cjs +0 -9
  367. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-option.js +0 -9
  368. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.cjs +0 -9
  369. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/assign-native-audio-node-options.js +0 -9
  370. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.cjs +0 -9
  371. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/compute-buffer-size.js +0 -9
  372. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.cjs +0 -13
  373. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/connect-native-audio-node-to-native-audio-node.js +0 -13
  374. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.cjs +0 -35
  375. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-active-audio-node-input-connections.js +0 -35
  376. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.cjs +0 -7
  377. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/deactivate-audio-graph.js +0 -7
  378. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.cjs +0 -7
  379. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection-to-audio-param.js +0 -7
  380. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.cjs +0 -12
  381. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-active-input-connection.js +0 -12
  382. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.cjs +0 -10
  383. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-event-listeners-of-audio-node.js +0 -10
  384. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.cjs +0 -13
  385. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-node.js +0 -13
  386. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.cjs +0 -13
  387. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/delete-passive-input-connection-to-audio-param.js +0 -13
  388. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.cjs +0 -21
  389. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/detach-array-buffer.js +0 -21
  390. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.cjs +0 -11
  391. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/disconnect-native-audio-node-from-native-audio-node.js +0 -11
  392. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.cjs +0 -26
  393. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/filter-buffer.js +0 -26
  394. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.cjs +0 -8
  395. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-node-connections.js +0 -8
  396. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.cjs +0 -8
  397. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-audio-param-connections.js +0 -8
  398. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.cjs +0 -8
  399. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-event-listeners-of-audio-node.js +0 -8
  400. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.cjs +0 -10
  401. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-first-sample.js +0 -10
  402. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.cjs +0 -8
  403. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-node.js +0 -8
  404. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.cjs +0 -8
  405. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-native-audio-param.js +0 -8
  406. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.cjs +0 -10
  407. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/get-value-for-key.js +0 -10
  408. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.cjs +0 -15
  409. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/insert-element-in-set.js +0 -15
  410. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.cjs +0 -8
  411. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/intercept-connections.js +0 -8
  412. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.cjs +0 -5
  413. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-active-audio-node.js +0 -5
  414. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.cjs +0 -17
  415. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-constructible.js +0 -17
  416. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.cjs +0 -13
  417. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-dc-curve.js +0 -13
  418. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.cjs +0 -6
  419. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-owned-by-context.js +0 -6
  420. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.cjs +0 -7
  421. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-part-of-a-cycle.js +0 -7
  422. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.cjs +0 -7
  423. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/is-passive-audio-node.js +0 -7
  424. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.cjs +0 -11
  425. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/overwrite-accessors.js +0 -11
  426. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.cjs +0 -15
  427. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/pick-element-from-set.js +0 -15
  428. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.cjs +0 -6
  429. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-channel-splitter-options.js +0 -6
  430. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.cjs +0 -16
  431. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/sanitize-periodic-wave-options.js +0 -16
  432. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.cjs +0 -12
  433. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-active.js +0 -12
  434. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.cjs +0 -10
  435. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive-when-necessary.js +0 -10
  436. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.cjs +0 -12
  437. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-internal-state-to-passive.js +0 -12
  438. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.cjs +0 -13
  439. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/set-value-at-time-until-possible.js +0 -13
  440. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.cjs +0 -17
  441. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/split-import-statements.js +0 -17
  442. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.cjs +0 -6
  443. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-analyser-node-get-float-time-domain-data-method-support.js +0 -6
  444. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.cjs +0 -11
  445. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-copy-channel-methods-out-of-bounds-support.js +0 -11
  446. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.cjs +0 -13
  447. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-consecutive-calls-support.js +0 -13
  448. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.cjs +0 -14
  449. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-start-method-offset-clamping-support.js +0 -14
  450. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.cjs +0 -13
  451. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-buffer-source-node-stop-method-nullified-buffer-support.js +0 -13
  452. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.cjs +0 -36
  453. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-node-disconnect-method-support.js +0 -36
  454. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.cjs +0 -12
  455. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-start-method-negative-parameters-support.js +0 -12
  456. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.cjs +0 -16
  457. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-consecutive-calls-support.js +0 -16
  458. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.cjs +0 -12
  459. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-audio-scheduled-source-node-stop-method-negative-parameters-support.js +0 -12
  460. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.cjs +0 -18
  461. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/test-promise-support.js +0 -18
  462. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.cjs +0 -13
  463. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/visit-each-audio-node-once.js +0 -13
  464. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.cjs +0 -14
  465. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-analyser-node-get-float-time-domain-data-method.js +0 -14
  466. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.cjs +0 -18
  467. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-get-channel-data-method.js +0 -18
  468. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.cjs +0 -16
  469. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-consecutive-calls.js +0 -16
  470. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.cjs +0 -16
  471. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-buffer-source-node-start-method-offset-clamping.js +0 -16
  472. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.cjs +0 -61
  473. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-node-disconnect-method.js +0 -61
  474. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.cjs +0 -13
  475. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-start-method-negative-parameters.js +0 -13
  476. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.cjs +0 -31
  477. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-consecutive-calls.js +0 -31
  478. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.cjs +0 -13
  479. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-audio-scheduled-source-node-stop-method-negative-parameters.js +0 -13
  480. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.cjs +0 -31
  481. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-channel-splitter-node.js +0 -31
  482. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.cjs +0 -16
  483. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-event-listener.js +0 -16
  484. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.cjs +0 -14
  485. package/dist/node_modules/standardized-audio-context/build/es2019/helpers/wrap-iir-filter-node-get-frequency-response-method.js +0 -14
  486. package/dist/node_modules/standardized-audio-context/build/es2019/module.cjs +0 -298
  487. package/dist/node_modules/standardized-audio-context/build/es2019/module.js +0 -298
@@ -1,83 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const createBaseAudioContextConstructor = (addAudioWorkletModule, analyserNodeConstructor, audioBufferConstructor, audioBufferSourceNodeConstructor, biquadFilterNodeConstructor, channelMergerNodeConstructor, channelSplitterNodeConstructor, constantSourceNodeConstructor, convolverNodeConstructor, decodeAudioData, delayNodeConstructor, dynamicsCompressorNodeConstructor, gainNodeConstructor, iIRFilterNodeConstructor, minimalBaseAudioContextConstructor, oscillatorNodeConstructor, pannerNodeConstructor, periodicWaveConstructor, stereoPannerNodeConstructor, waveShaperNodeConstructor) => {
4
- return class BaseAudioContext extends minimalBaseAudioContextConstructor {
5
- constructor(_nativeContext, numberOfChannels) {
6
- super(_nativeContext, numberOfChannels);
7
- this._nativeContext = _nativeContext;
8
- this._audioWorklet = addAudioWorkletModule === void 0 ? void 0 : {
9
- addModule: (moduleURL, options) => {
10
- return addAudioWorkletModule(this, moduleURL, options);
11
- }
12
- };
13
- }
14
- get audioWorklet() {
15
- return this._audioWorklet;
16
- }
17
- createAnalyser() {
18
- return new analyserNodeConstructor(this);
19
- }
20
- createBiquadFilter() {
21
- return new biquadFilterNodeConstructor(this);
22
- }
23
- createBuffer(numberOfChannels, length, sampleRate) {
24
- return new audioBufferConstructor({ length, numberOfChannels, sampleRate });
25
- }
26
- createBufferSource() {
27
- return new audioBufferSourceNodeConstructor(this);
28
- }
29
- createChannelMerger(numberOfInputs = 6) {
30
- return new channelMergerNodeConstructor(this, { numberOfInputs });
31
- }
32
- createChannelSplitter(numberOfOutputs = 6) {
33
- return new channelSplitterNodeConstructor(this, { numberOfOutputs });
34
- }
35
- createConstantSource() {
36
- return new constantSourceNodeConstructor(this);
37
- }
38
- createConvolver() {
39
- return new convolverNodeConstructor(this);
40
- }
41
- createDelay(maxDelayTime = 1) {
42
- return new delayNodeConstructor(this, { maxDelayTime });
43
- }
44
- createDynamicsCompressor() {
45
- return new dynamicsCompressorNodeConstructor(this);
46
- }
47
- createGain() {
48
- return new gainNodeConstructor(this);
49
- }
50
- createIIRFilter(feedforward, feedback) {
51
- return new iIRFilterNodeConstructor(this, { feedback, feedforward });
52
- }
53
- createOscillator() {
54
- return new oscillatorNodeConstructor(this);
55
- }
56
- createPanner() {
57
- return new pannerNodeConstructor(this);
58
- }
59
- createPeriodicWave(real, imag, constraints = { disableNormalization: false }) {
60
- return new periodicWaveConstructor(this, { ...constraints, imag, real });
61
- }
62
- createStereoPanner() {
63
- return new stereoPannerNodeConstructor(this);
64
- }
65
- createWaveShaper() {
66
- return new waveShaperNodeConstructor(this);
67
- }
68
- decodeAudioData(audioData, successCallback, errorCallback) {
69
- return decodeAudioData(this._nativeContext, audioData).then((audioBuffer) => {
70
- if (typeof successCallback === "function") {
71
- successCallback(audioBuffer);
72
- }
73
- return audioBuffer;
74
- }, (err) => {
75
- if (typeof errorCallback === "function") {
76
- errorCallback(err);
77
- }
78
- throw err;
79
- });
80
- }
81
- };
82
- };
83
- exports.createBaseAudioContextConstructor = createBaseAudioContextConstructor;
@@ -1,83 +0,0 @@
1
- const createBaseAudioContextConstructor = (addAudioWorkletModule, analyserNodeConstructor, audioBufferConstructor, audioBufferSourceNodeConstructor, biquadFilterNodeConstructor, channelMergerNodeConstructor, channelSplitterNodeConstructor, constantSourceNodeConstructor, convolverNodeConstructor, decodeAudioData, delayNodeConstructor, dynamicsCompressorNodeConstructor, gainNodeConstructor, iIRFilterNodeConstructor, minimalBaseAudioContextConstructor, oscillatorNodeConstructor, pannerNodeConstructor, periodicWaveConstructor, stereoPannerNodeConstructor, waveShaperNodeConstructor) => {
2
- return class BaseAudioContext extends minimalBaseAudioContextConstructor {
3
- constructor(_nativeContext, numberOfChannels) {
4
- super(_nativeContext, numberOfChannels);
5
- this._nativeContext = _nativeContext;
6
- this._audioWorklet = addAudioWorkletModule === void 0 ? void 0 : {
7
- addModule: (moduleURL, options) => {
8
- return addAudioWorkletModule(this, moduleURL, options);
9
- }
10
- };
11
- }
12
- get audioWorklet() {
13
- return this._audioWorklet;
14
- }
15
- createAnalyser() {
16
- return new analyserNodeConstructor(this);
17
- }
18
- createBiquadFilter() {
19
- return new biquadFilterNodeConstructor(this);
20
- }
21
- createBuffer(numberOfChannels, length, sampleRate) {
22
- return new audioBufferConstructor({ length, numberOfChannels, sampleRate });
23
- }
24
- createBufferSource() {
25
- return new audioBufferSourceNodeConstructor(this);
26
- }
27
- createChannelMerger(numberOfInputs = 6) {
28
- return new channelMergerNodeConstructor(this, { numberOfInputs });
29
- }
30
- createChannelSplitter(numberOfOutputs = 6) {
31
- return new channelSplitterNodeConstructor(this, { numberOfOutputs });
32
- }
33
- createConstantSource() {
34
- return new constantSourceNodeConstructor(this);
35
- }
36
- createConvolver() {
37
- return new convolverNodeConstructor(this);
38
- }
39
- createDelay(maxDelayTime = 1) {
40
- return new delayNodeConstructor(this, { maxDelayTime });
41
- }
42
- createDynamicsCompressor() {
43
- return new dynamicsCompressorNodeConstructor(this);
44
- }
45
- createGain() {
46
- return new gainNodeConstructor(this);
47
- }
48
- createIIRFilter(feedforward, feedback) {
49
- return new iIRFilterNodeConstructor(this, { feedback, feedforward });
50
- }
51
- createOscillator() {
52
- return new oscillatorNodeConstructor(this);
53
- }
54
- createPanner() {
55
- return new pannerNodeConstructor(this);
56
- }
57
- createPeriodicWave(real, imag, constraints = { disableNormalization: false }) {
58
- return new periodicWaveConstructor(this, { ...constraints, imag, real });
59
- }
60
- createStereoPanner() {
61
- return new stereoPannerNodeConstructor(this);
62
- }
63
- createWaveShaper() {
64
- return new waveShaperNodeConstructor(this);
65
- }
66
- decodeAudioData(audioData, successCallback, errorCallback) {
67
- return decodeAudioData(this._nativeContext, audioData).then((audioBuffer) => {
68
- if (typeof successCallback === "function") {
69
- successCallback(audioBuffer);
70
- }
71
- return audioBuffer;
72
- }, (err) => {
73
- if (typeof errorCallback === "function") {
74
- errorCallback(err);
75
- }
76
- throw err;
77
- });
78
- }
79
- };
80
- };
81
- export {
82
- createBaseAudioContextConstructor
83
- };
@@ -1,63 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const constants = require("../constants.cjs");
4
- const DEFAULT_OPTIONS = {
5
- Q: 1,
6
- channelCount: 2,
7
- channelCountMode: "max",
8
- channelInterpretation: "speakers",
9
- detune: 0,
10
- frequency: 350,
11
- gain: 0,
12
- type: "lowpass"
13
- };
14
- const createBiquadFilterNodeConstructor = (audioNodeConstructor, createAudioParam, createBiquadFilterNodeRenderer, createInvalidAccessError, createNativeBiquadFilterNode, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
15
- return class BiquadFilterNode extends audioNodeConstructor {
16
- constructor(context, options) {
17
- const nativeContext = getNativeContext(context);
18
- const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
19
- const nativeBiquadFilterNode = createNativeBiquadFilterNode(nativeContext, mergedOptions);
20
- const isOffline = isNativeOfflineAudioContext(nativeContext);
21
- const biquadFilterNodeRenderer = isOffline ? createBiquadFilterNodeRenderer() : null;
22
- super(context, false, nativeBiquadFilterNode, biquadFilterNodeRenderer);
23
- this._Q = createAudioParam(this, isOffline, nativeBiquadFilterNode.Q, constants.MOST_POSITIVE_SINGLE_FLOAT, constants.MOST_NEGATIVE_SINGLE_FLOAT);
24
- this._detune = createAudioParam(this, isOffline, nativeBiquadFilterNode.detune, 1200 * Math.log2(constants.MOST_POSITIVE_SINGLE_FLOAT), -1200 * Math.log2(constants.MOST_POSITIVE_SINGLE_FLOAT));
25
- this._frequency = createAudioParam(this, isOffline, nativeBiquadFilterNode.frequency, context.sampleRate / 2, 0);
26
- this._gain = createAudioParam(this, isOffline, nativeBiquadFilterNode.gain, 40 * Math.log10(constants.MOST_POSITIVE_SINGLE_FLOAT), constants.MOST_NEGATIVE_SINGLE_FLOAT);
27
- this._nativeBiquadFilterNode = nativeBiquadFilterNode;
28
- setAudioNodeTailTime(this, 1);
29
- }
30
- get detune() {
31
- return this._detune;
32
- }
33
- get frequency() {
34
- return this._frequency;
35
- }
36
- get gain() {
37
- return this._gain;
38
- }
39
- get Q() {
40
- return this._Q;
41
- }
42
- get type() {
43
- return this._nativeBiquadFilterNode.type;
44
- }
45
- set type(value) {
46
- this._nativeBiquadFilterNode.type = value;
47
- }
48
- getFrequencyResponse(frequencyHz, magResponse, phaseResponse) {
49
- try {
50
- this._nativeBiquadFilterNode.getFrequencyResponse(frequencyHz, magResponse, phaseResponse);
51
- } catch (err) {
52
- if (err.code === 11) {
53
- throw createInvalidAccessError();
54
- }
55
- throw err;
56
- }
57
- if (frequencyHz.length !== magResponse.length || magResponse.length !== phaseResponse.length) {
58
- throw createInvalidAccessError();
59
- }
60
- }
61
- };
62
- };
63
- exports.createBiquadFilterNodeConstructor = createBiquadFilterNodeConstructor;
@@ -1,63 +0,0 @@
1
- import { MOST_POSITIVE_SINGLE_FLOAT, MOST_NEGATIVE_SINGLE_FLOAT } from "../constants.js";
2
- const DEFAULT_OPTIONS = {
3
- Q: 1,
4
- channelCount: 2,
5
- channelCountMode: "max",
6
- channelInterpretation: "speakers",
7
- detune: 0,
8
- frequency: 350,
9
- gain: 0,
10
- type: "lowpass"
11
- };
12
- const createBiquadFilterNodeConstructor = (audioNodeConstructor, createAudioParam, createBiquadFilterNodeRenderer, createInvalidAccessError, createNativeBiquadFilterNode, getNativeContext, isNativeOfflineAudioContext, setAudioNodeTailTime) => {
13
- return class BiquadFilterNode extends audioNodeConstructor {
14
- constructor(context, options) {
15
- const nativeContext = getNativeContext(context);
16
- const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
17
- const nativeBiquadFilterNode = createNativeBiquadFilterNode(nativeContext, mergedOptions);
18
- const isOffline = isNativeOfflineAudioContext(nativeContext);
19
- const biquadFilterNodeRenderer = isOffline ? createBiquadFilterNodeRenderer() : null;
20
- super(context, false, nativeBiquadFilterNode, biquadFilterNodeRenderer);
21
- this._Q = createAudioParam(this, isOffline, nativeBiquadFilterNode.Q, MOST_POSITIVE_SINGLE_FLOAT, MOST_NEGATIVE_SINGLE_FLOAT);
22
- this._detune = createAudioParam(this, isOffline, nativeBiquadFilterNode.detune, 1200 * Math.log2(MOST_POSITIVE_SINGLE_FLOAT), -1200 * Math.log2(MOST_POSITIVE_SINGLE_FLOAT));
23
- this._frequency = createAudioParam(this, isOffline, nativeBiquadFilterNode.frequency, context.sampleRate / 2, 0);
24
- this._gain = createAudioParam(this, isOffline, nativeBiquadFilterNode.gain, 40 * Math.log10(MOST_POSITIVE_SINGLE_FLOAT), MOST_NEGATIVE_SINGLE_FLOAT);
25
- this._nativeBiquadFilterNode = nativeBiquadFilterNode;
26
- setAudioNodeTailTime(this, 1);
27
- }
28
- get detune() {
29
- return this._detune;
30
- }
31
- get frequency() {
32
- return this._frequency;
33
- }
34
- get gain() {
35
- return this._gain;
36
- }
37
- get Q() {
38
- return this._Q;
39
- }
40
- get type() {
41
- return this._nativeBiquadFilterNode.type;
42
- }
43
- set type(value) {
44
- this._nativeBiquadFilterNode.type = value;
45
- }
46
- getFrequencyResponse(frequencyHz, magResponse, phaseResponse) {
47
- try {
48
- this._nativeBiquadFilterNode.getFrequencyResponse(frequencyHz, magResponse, phaseResponse);
49
- } catch (err) {
50
- if (err.code === 11) {
51
- throw createInvalidAccessError();
52
- }
53
- throw err;
54
- }
55
- if (frequencyHz.length !== magResponse.length || magResponse.length !== phaseResponse.length) {
56
- throw createInvalidAccessError();
57
- }
58
- }
59
- };
60
- };
61
- export {
62
- createBiquadFilterNodeConstructor
63
- };
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const isOwnedByContext = require("../helpers/is-owned-by-context.cjs");
4
- const createBiquadFilterNodeRendererFactory = (connectAudioParam, createNativeBiquadFilterNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
5
- return () => {
6
- const renderedNativeBiquadFilterNodes = /* @__PURE__ */ new WeakMap();
7
- const createBiquadFilterNode = async (proxy, nativeOfflineAudioContext) => {
8
- let nativeBiquadFilterNode = getNativeAudioNode(proxy);
9
- const nativeBiquadFilterNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeBiquadFilterNode, nativeOfflineAudioContext);
10
- if (!nativeBiquadFilterNodeIsOwnedByContext) {
11
- const options = {
12
- Q: nativeBiquadFilterNode.Q.value,
13
- channelCount: nativeBiquadFilterNode.channelCount,
14
- channelCountMode: nativeBiquadFilterNode.channelCountMode,
15
- channelInterpretation: nativeBiquadFilterNode.channelInterpretation,
16
- detune: nativeBiquadFilterNode.detune.value,
17
- frequency: nativeBiquadFilterNode.frequency.value,
18
- gain: nativeBiquadFilterNode.gain.value,
19
- type: nativeBiquadFilterNode.type
20
- };
21
- nativeBiquadFilterNode = createNativeBiquadFilterNode(nativeOfflineAudioContext, options);
22
- }
23
- renderedNativeBiquadFilterNodes.set(nativeOfflineAudioContext, nativeBiquadFilterNode);
24
- if (!nativeBiquadFilterNodeIsOwnedByContext) {
25
- await renderAutomation(nativeOfflineAudioContext, proxy.Q, nativeBiquadFilterNode.Q);
26
- await renderAutomation(nativeOfflineAudioContext, proxy.detune, nativeBiquadFilterNode.detune);
27
- await renderAutomation(nativeOfflineAudioContext, proxy.frequency, nativeBiquadFilterNode.frequency);
28
- await renderAutomation(nativeOfflineAudioContext, proxy.gain, nativeBiquadFilterNode.gain);
29
- } else {
30
- await connectAudioParam(nativeOfflineAudioContext, proxy.Q, nativeBiquadFilterNode.Q);
31
- await connectAudioParam(nativeOfflineAudioContext, proxy.detune, nativeBiquadFilterNode.detune);
32
- await connectAudioParam(nativeOfflineAudioContext, proxy.frequency, nativeBiquadFilterNode.frequency);
33
- await connectAudioParam(nativeOfflineAudioContext, proxy.gain, nativeBiquadFilterNode.gain);
34
- }
35
- await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeBiquadFilterNode);
36
- return nativeBiquadFilterNode;
37
- };
38
- return {
39
- render(proxy, nativeOfflineAudioContext) {
40
- const renderedNativeBiquadFilterNode = renderedNativeBiquadFilterNodes.get(nativeOfflineAudioContext);
41
- if (renderedNativeBiquadFilterNode !== void 0) {
42
- return Promise.resolve(renderedNativeBiquadFilterNode);
43
- }
44
- return createBiquadFilterNode(proxy, nativeOfflineAudioContext);
45
- }
46
- };
47
- };
48
- };
49
- exports.createBiquadFilterNodeRendererFactory = createBiquadFilterNodeRendererFactory;
@@ -1,49 +0,0 @@
1
- import { isOwnedByContext } from "../helpers/is-owned-by-context.js";
2
- const createBiquadFilterNodeRendererFactory = (connectAudioParam, createNativeBiquadFilterNode, getNativeAudioNode, renderAutomation, renderInputsOfAudioNode) => {
3
- return () => {
4
- const renderedNativeBiquadFilterNodes = /* @__PURE__ */ new WeakMap();
5
- const createBiquadFilterNode = async (proxy, nativeOfflineAudioContext) => {
6
- let nativeBiquadFilterNode = getNativeAudioNode(proxy);
7
- const nativeBiquadFilterNodeIsOwnedByContext = isOwnedByContext(nativeBiquadFilterNode, nativeOfflineAudioContext);
8
- if (!nativeBiquadFilterNodeIsOwnedByContext) {
9
- const options = {
10
- Q: nativeBiquadFilterNode.Q.value,
11
- channelCount: nativeBiquadFilterNode.channelCount,
12
- channelCountMode: nativeBiquadFilterNode.channelCountMode,
13
- channelInterpretation: nativeBiquadFilterNode.channelInterpretation,
14
- detune: nativeBiquadFilterNode.detune.value,
15
- frequency: nativeBiquadFilterNode.frequency.value,
16
- gain: nativeBiquadFilterNode.gain.value,
17
- type: nativeBiquadFilterNode.type
18
- };
19
- nativeBiquadFilterNode = createNativeBiquadFilterNode(nativeOfflineAudioContext, options);
20
- }
21
- renderedNativeBiquadFilterNodes.set(nativeOfflineAudioContext, nativeBiquadFilterNode);
22
- if (!nativeBiquadFilterNodeIsOwnedByContext) {
23
- await renderAutomation(nativeOfflineAudioContext, proxy.Q, nativeBiquadFilterNode.Q);
24
- await renderAutomation(nativeOfflineAudioContext, proxy.detune, nativeBiquadFilterNode.detune);
25
- await renderAutomation(nativeOfflineAudioContext, proxy.frequency, nativeBiquadFilterNode.frequency);
26
- await renderAutomation(nativeOfflineAudioContext, proxy.gain, nativeBiquadFilterNode.gain);
27
- } else {
28
- await connectAudioParam(nativeOfflineAudioContext, proxy.Q, nativeBiquadFilterNode.Q);
29
- await connectAudioParam(nativeOfflineAudioContext, proxy.detune, nativeBiquadFilterNode.detune);
30
- await connectAudioParam(nativeOfflineAudioContext, proxy.frequency, nativeBiquadFilterNode.frequency);
31
- await connectAudioParam(nativeOfflineAudioContext, proxy.gain, nativeBiquadFilterNode.gain);
32
- }
33
- await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeBiquadFilterNode);
34
- return nativeBiquadFilterNode;
35
- };
36
- return {
37
- render(proxy, nativeOfflineAudioContext) {
38
- const renderedNativeBiquadFilterNode = renderedNativeBiquadFilterNodes.get(nativeOfflineAudioContext);
39
- if (renderedNativeBiquadFilterNode !== void 0) {
40
- return Promise.resolve(renderedNativeBiquadFilterNode);
41
- }
42
- return createBiquadFilterNode(proxy, nativeOfflineAudioContext);
43
- }
44
- };
45
- };
46
- };
47
- export {
48
- createBiquadFilterNodeRendererFactory
49
- };
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const createCacheTestResult = (ongoingTests, testResults) => {
4
- return (tester, test) => {
5
- const cachedTestResult = testResults.get(tester);
6
- if (cachedTestResult !== void 0) {
7
- return cachedTestResult;
8
- }
9
- const ongoingTest = ongoingTests.get(tester);
10
- if (ongoingTest !== void 0) {
11
- return ongoingTest;
12
- }
13
- try {
14
- const synchronousTestResult = test();
15
- if (synchronousTestResult instanceof Promise) {
16
- ongoingTests.set(tester, synchronousTestResult);
17
- return synchronousTestResult.catch(() => false).then((finalTestResult) => {
18
- ongoingTests.delete(tester);
19
- testResults.set(tester, finalTestResult);
20
- return finalTestResult;
21
- });
22
- }
23
- testResults.set(tester, synchronousTestResult);
24
- return synchronousTestResult;
25
- } catch {
26
- testResults.set(tester, false);
27
- return false;
28
- }
29
- };
30
- };
31
- exports.createCacheTestResult = createCacheTestResult;
@@ -1,31 +0,0 @@
1
- const createCacheTestResult = (ongoingTests, testResults) => {
2
- return (tester, test) => {
3
- const cachedTestResult = testResults.get(tester);
4
- if (cachedTestResult !== void 0) {
5
- return cachedTestResult;
6
- }
7
- const ongoingTest = ongoingTests.get(tester);
8
- if (ongoingTest !== void 0) {
9
- return ongoingTest;
10
- }
11
- try {
12
- const synchronousTestResult = test();
13
- if (synchronousTestResult instanceof Promise) {
14
- ongoingTests.set(tester, synchronousTestResult);
15
- return synchronousTestResult.catch(() => false).then((finalTestResult) => {
16
- ongoingTests.delete(tester);
17
- testResults.set(tester, finalTestResult);
18
- return finalTestResult;
19
- });
20
- }
21
- testResults.set(tester, synchronousTestResult);
22
- return synchronousTestResult;
23
- } catch {
24
- testResults.set(tester, false);
25
- return false;
26
- }
27
- };
28
- };
29
- export {
30
- createCacheTestResult
31
- };
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const DEFAULT_OPTIONS = {
4
- channelCount: 1,
5
- channelCountMode: "explicit",
6
- channelInterpretation: "speakers",
7
- numberOfInputs: 6
8
- };
9
- const createChannelMergerNodeConstructor = (audioNodeConstructor, createChannelMergerNodeRenderer, createNativeChannelMergerNode, getNativeContext, isNativeOfflineAudioContext) => {
10
- return class ChannelMergerNode extends audioNodeConstructor {
11
- constructor(context, options) {
12
- const nativeContext = getNativeContext(context);
13
- const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
14
- const nativeChannelMergerNode = createNativeChannelMergerNode(nativeContext, mergedOptions);
15
- const channelMergerNodeRenderer = isNativeOfflineAudioContext(nativeContext) ? createChannelMergerNodeRenderer() : null;
16
- super(context, false, nativeChannelMergerNode, channelMergerNodeRenderer);
17
- }
18
- };
19
- };
20
- exports.createChannelMergerNodeConstructor = createChannelMergerNodeConstructor;
@@ -1,20 +0,0 @@
1
- const DEFAULT_OPTIONS = {
2
- channelCount: 1,
3
- channelCountMode: "explicit",
4
- channelInterpretation: "speakers",
5
- numberOfInputs: 6
6
- };
7
- const createChannelMergerNodeConstructor = (audioNodeConstructor, createChannelMergerNodeRenderer, createNativeChannelMergerNode, getNativeContext, isNativeOfflineAudioContext) => {
8
- return class ChannelMergerNode extends audioNodeConstructor {
9
- constructor(context, options) {
10
- const nativeContext = getNativeContext(context);
11
- const mergedOptions = { ...DEFAULT_OPTIONS, ...options };
12
- const nativeChannelMergerNode = createNativeChannelMergerNode(nativeContext, mergedOptions);
13
- const channelMergerNodeRenderer = isNativeOfflineAudioContext(nativeContext) ? createChannelMergerNodeRenderer() : null;
14
- super(context, false, nativeChannelMergerNode, channelMergerNodeRenderer);
15
- }
16
- };
17
- };
18
- export {
19
- createChannelMergerNodeConstructor
20
- };
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const isOwnedByContext = require("../helpers/is-owned-by-context.cjs");
4
- const createChannelMergerNodeRendererFactory = (createNativeChannelMergerNode, getNativeAudioNode, renderInputsOfAudioNode) => {
5
- return () => {
6
- const renderedNativeAudioNodes = /* @__PURE__ */ new WeakMap();
7
- const createAudioNode = async (proxy, nativeOfflineAudioContext) => {
8
- let nativeAudioNode = getNativeAudioNode(proxy);
9
- const nativeAudioNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeAudioNode, nativeOfflineAudioContext);
10
- if (!nativeAudioNodeIsOwnedByContext) {
11
- const options = {
12
- channelCount: nativeAudioNode.channelCount,
13
- channelCountMode: nativeAudioNode.channelCountMode,
14
- channelInterpretation: nativeAudioNode.channelInterpretation,
15
- numberOfInputs: nativeAudioNode.numberOfInputs
16
- };
17
- nativeAudioNode = createNativeChannelMergerNode(nativeOfflineAudioContext, options);
18
- }
19
- renderedNativeAudioNodes.set(nativeOfflineAudioContext, nativeAudioNode);
20
- await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeAudioNode);
21
- return nativeAudioNode;
22
- };
23
- return {
24
- render(proxy, nativeOfflineAudioContext) {
25
- const renderedNativeAudioNode = renderedNativeAudioNodes.get(nativeOfflineAudioContext);
26
- if (renderedNativeAudioNode !== void 0) {
27
- return Promise.resolve(renderedNativeAudioNode);
28
- }
29
- return createAudioNode(proxy, nativeOfflineAudioContext);
30
- }
31
- };
32
- };
33
- };
34
- exports.createChannelMergerNodeRendererFactory = createChannelMergerNodeRendererFactory;
@@ -1,34 +0,0 @@
1
- import { isOwnedByContext } from "../helpers/is-owned-by-context.js";
2
- const createChannelMergerNodeRendererFactory = (createNativeChannelMergerNode, getNativeAudioNode, renderInputsOfAudioNode) => {
3
- return () => {
4
- const renderedNativeAudioNodes = /* @__PURE__ */ new WeakMap();
5
- const createAudioNode = async (proxy, nativeOfflineAudioContext) => {
6
- let nativeAudioNode = getNativeAudioNode(proxy);
7
- const nativeAudioNodeIsOwnedByContext = isOwnedByContext(nativeAudioNode, nativeOfflineAudioContext);
8
- if (!nativeAudioNodeIsOwnedByContext) {
9
- const options = {
10
- channelCount: nativeAudioNode.channelCount,
11
- channelCountMode: nativeAudioNode.channelCountMode,
12
- channelInterpretation: nativeAudioNode.channelInterpretation,
13
- numberOfInputs: nativeAudioNode.numberOfInputs
14
- };
15
- nativeAudioNode = createNativeChannelMergerNode(nativeOfflineAudioContext, options);
16
- }
17
- renderedNativeAudioNodes.set(nativeOfflineAudioContext, nativeAudioNode);
18
- await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeAudioNode);
19
- return nativeAudioNode;
20
- };
21
- return {
22
- render(proxy, nativeOfflineAudioContext) {
23
- const renderedNativeAudioNode = renderedNativeAudioNodes.get(nativeOfflineAudioContext);
24
- if (renderedNativeAudioNode !== void 0) {
25
- return Promise.resolve(renderedNativeAudioNode);
26
- }
27
- return createAudioNode(proxy, nativeOfflineAudioContext);
28
- }
29
- };
30
- };
31
- };
32
- export {
33
- createChannelMergerNodeRendererFactory
34
- };
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const DEFAULT_OPTIONS = {
4
- channelCount: 6,
5
- channelCountMode: "explicit",
6
- channelInterpretation: "discrete",
7
- numberOfOutputs: 6
8
- };
9
- const createChannelSplitterNodeConstructor = (audioNodeConstructor, createChannelSplitterNodeRenderer, createNativeChannelSplitterNode, getNativeContext, isNativeOfflineAudioContext, sanitizeChannelSplitterOptions) => {
10
- return class ChannelSplitterNode extends audioNodeConstructor {
11
- constructor(context, options) {
12
- const nativeContext = getNativeContext(context);
13
- const mergedOptions = sanitizeChannelSplitterOptions({ ...DEFAULT_OPTIONS, ...options });
14
- const nativeChannelSplitterNode = createNativeChannelSplitterNode(nativeContext, mergedOptions);
15
- const channelSplitterNodeRenderer = isNativeOfflineAudioContext(nativeContext) ? createChannelSplitterNodeRenderer() : null;
16
- super(context, false, nativeChannelSplitterNode, channelSplitterNodeRenderer);
17
- }
18
- };
19
- };
20
- exports.createChannelSplitterNodeConstructor = createChannelSplitterNodeConstructor;
@@ -1,20 +0,0 @@
1
- const DEFAULT_OPTIONS = {
2
- channelCount: 6,
3
- channelCountMode: "explicit",
4
- channelInterpretation: "discrete",
5
- numberOfOutputs: 6
6
- };
7
- const createChannelSplitterNodeConstructor = (audioNodeConstructor, createChannelSplitterNodeRenderer, createNativeChannelSplitterNode, getNativeContext, isNativeOfflineAudioContext, sanitizeChannelSplitterOptions) => {
8
- return class ChannelSplitterNode extends audioNodeConstructor {
9
- constructor(context, options) {
10
- const nativeContext = getNativeContext(context);
11
- const mergedOptions = sanitizeChannelSplitterOptions({ ...DEFAULT_OPTIONS, ...options });
12
- const nativeChannelSplitterNode = createNativeChannelSplitterNode(nativeContext, mergedOptions);
13
- const channelSplitterNodeRenderer = isNativeOfflineAudioContext(nativeContext) ? createChannelSplitterNodeRenderer() : null;
14
- super(context, false, nativeChannelSplitterNode, channelSplitterNodeRenderer);
15
- }
16
- };
17
- };
18
- export {
19
- createChannelSplitterNodeConstructor
20
- };
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const isOwnedByContext = require("../helpers/is-owned-by-context.cjs");
4
- const createChannelSplitterNodeRendererFactory = (createNativeChannelSplitterNode, getNativeAudioNode, renderInputsOfAudioNode) => {
5
- return () => {
6
- const renderedNativeAudioNodes = /* @__PURE__ */ new WeakMap();
7
- const createAudioNode = async (proxy, nativeOfflineAudioContext) => {
8
- let nativeAudioNode = getNativeAudioNode(proxy);
9
- const nativeAudioNodeIsOwnedByContext = isOwnedByContext.isOwnedByContext(nativeAudioNode, nativeOfflineAudioContext);
10
- if (!nativeAudioNodeIsOwnedByContext) {
11
- const options = {
12
- channelCount: nativeAudioNode.channelCount,
13
- channelCountMode: nativeAudioNode.channelCountMode,
14
- channelInterpretation: nativeAudioNode.channelInterpretation,
15
- numberOfOutputs: nativeAudioNode.numberOfOutputs
16
- };
17
- nativeAudioNode = createNativeChannelSplitterNode(nativeOfflineAudioContext, options);
18
- }
19
- renderedNativeAudioNodes.set(nativeOfflineAudioContext, nativeAudioNode);
20
- await renderInputsOfAudioNode(proxy, nativeOfflineAudioContext, nativeAudioNode);
21
- return nativeAudioNode;
22
- };
23
- return {
24
- render(proxy, nativeOfflineAudioContext) {
25
- const renderedNativeAudioNode = renderedNativeAudioNodes.get(nativeOfflineAudioContext);
26
- if (renderedNativeAudioNode !== void 0) {
27
- return Promise.resolve(renderedNativeAudioNode);
28
- }
29
- return createAudioNode(proxy, nativeOfflineAudioContext);
30
- }
31
- };
32
- };
33
- };
34
- exports.createChannelSplitterNodeRendererFactory = createChannelSplitterNodeRendererFactory;