chaosprint / glicol

Graph-oriented live coding language and music/audio DSP library written in Rust
https://glicol.org
MIT License
2.22k stars 74 forks source link

Uncaught TypeError: Cannot perform %TypedArray%.prototype.set on a detached ArrayBuffer #2

Closed chaosprint closed 4 years ago

chaosprint commented 4 years ago
~aa: loop 60 60 60 60 >> sampler \bd

~bb: loop 60 _67 _62 _65 >> sampler \bass

~cc: loop _ _75 80 60 70 ___80 __75 >> sampler \can

&dd: sin 1.0 >> mul 0.3 >> add 0.5

~dd: loop 62 67 _58 64 62 _67 _58 64 >> sampler \808hc >> mul &dd

~ee: loop _ 60 _ 60 >> sampler \jazz

start time

23:20:01.203 engine.js:76 samplePtr, Length 5597696 22051

problem time

23:21:46.576 engine.js:118 Uncaught TypeError: Cannot perform %TypedArray%.prototype.set on a detached ArrayBuffer
    at Float32Array.set (<anonymous>)
    at AudioWorkletProcessor.process (engine.js:118)
chaosprint commented 4 years ago

https://github.com/emscripten-core/emscripten/issues/6747

this may help