You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The same software has to handle waveform play, record, wakeups, and things like digitalPulse (sometimes all at once) - and has to work on 40+ different boards. While it'd be nice to use DMA and different timers automatically, it's just too much of an ask.

    ... even when you get 44kHz data into JS-land, there are going to be some severe limits on what changes you can make to it with JS since it's just not that fast. Personally I'd look at compiling your own Espruino, then setting up DMA record and playback as well as most of the audio processing you require in C code on interrupts - and then you could use JS to control the audio processing (adding envelopes/etc).

About

Avatar for Gordon @Gordon started