Lurker News
Back to discussion

Comment by CamperBob2

CamperBob22 replies#
If you don't care about latency, and in this "DSP sandbox" application you probably don't, JavaScript is fine for real-time DSP. JS under V8 and similar engines can be quite fast.

You aren't going to digitize 100 MHz of RF spectrum and build an SDR in JavaScript, but for audio rendering work it'd be fine. Cool hack.

chrisdevereux1 reply#
I'm assuming that a full-fledged DAW cares a lot about latency. Live performance becomes difficult when latency creeps much above 5ms, for example. A lot of things that you normally don't think about (like when to allocate a buffer of memory) become critically important with low latency requirements.

That isn't an issue for the demoed app, but it is for the hypothetical longer-term goal under discussion.

CamperBob2#
Yeah, I think they're making a mistake by using the term DAW. That term already means something, and this isn't it.
montag#
"You probably don't care about latency" — famous last words...