amy icon indicating copy to clipboard operation
amy copied to clipboard

check why render_algo doesn't render all ops during note_offs

Open bwhitman opened this issue 3 years ago • 2 comments

The web example basically crashes (but AMY still responds to debug messages) if you send a l0 to a certain FM patch, #0 is one. but it only does this if it's running on the web, on a remote server (local hosting the JS/WASM works fine!) I expect some memory corruption but valgrind came back clean.

bwhitman avatar Sep 24 '22 03:09 bwhitman

The issue was my check for how many ops were alive to compute the amplitude but during note offs, the ops were set to 0.. but shouldn't they still be active during note off / releases? NaN issue is fixed but we should look into note off behavior

bwhitman avatar Sep 24 '22 16:09 bwhitman

(also, super weird that local WASM doesn't crash on nans but remote does -- a security thing?)

bwhitman avatar Sep 24 '22 16:09 bwhitman