yishengjiang99 / nco

Vectior Audio
https://yishengjiang99.github.io/nco/
0 stars 0 forks source link

use better mechanism for user input (continuous controls like pitchwheel or mousedragging) #8

Open yishengjiang99 opened 3 years ago

yishengjiang99 commented 3 years ago

This is for IPC between user facing main thread that receives those events, and audio thread.

right now we do postMessage which gets fed directly into WASM. its alright but I can FEEL the latency. it's not great.

I did prototype on shared-arraybuffer that updates shared memory on main thread and it feels ok.