News for hackers. Stuff that matters.
Re:A curated list of Music DSP and audio programming resources by skybrian on Friday April 23, 2021 @04:08PM (#26918658)
It's a nice list. It would be interesting to know what's usable for DSP on embedded systems.

I dabbled with Teensy boards for a while due to having a decent audio library that's pretty easy to use.

Re:A curated list of Music DSP and audio programming resources by pierrec on Friday April 23, 2021 @05:34PM (#26919473)
I wasn't familiar with the Teensy Audio Library, it looks really fun and well-featured.

Faust is also popular for this purpose (this is mentioned in the linked page). You write audio code in Faust and it gets compiled to tight C code, so that works well for embedding. It also has an impressive set of libraries. For a different approach, you could also try Soundpipe. It's a C library, not initially meant for embedding but it's small so it could work.

Re:A curated list of Music DSP and audio programming resources by rock_artist on Friday April 23, 2021 @04:18PM (#26918737)
There's https://elk.audio/

Overall there are JUCE embedded support.

If you need more bare bones there are some DSP only resources. Not sure if I saw there the RtAudio which is also very minimal - https://www.music.mcgill.ca/~gary/rtaudio/

Re:A curated list of Music DSP and audio programming resources by hctaw on Friday April 23, 2021 @04:58PM (#26919134)
RTAudio isn't a DSP library, it's a thin wrapper around audio driver APIs on desktop operating systems (and maybe mobile? I haven't used it in years).

Elk is awesome but it's a proper linux distro, which may require more resources than the typical embedded audio device. But it's remarkable how much you can do these days.

I don't think JUCE belongs in the same conversation. It barely runs on Linux and the DSP library is not suitable for production applications (the IIR filter implementation requires allocation to set its parameters!)

Re:A curated list of Music DSP and audio programming resources by rock_artist on Saturday April 24, 2021 @02:23AM (#26922694)
> RTAudio isn't a DSP library

You’re right I meant - https://ccrma.stanford.edu/software/stk/tutorial.html

> Elk is awesome but it's a proper linux distro, which may require more resources than the typical embedded audio device

In comparison to teensy above I’d say the term embedded is quite broad.

> I don't think JUCE belongs in the same conversation

JUCE is modular. And as I’ve wrote above the term embedded is very broad and many times consider general purpose cpus.

There are also chipsets/SoCs with separate DSP unit which requires its own toolchain and usually include basic building blocks. SOUL in the list aims in the future to abstract also for such chips similar to GPUs abstractions (eg opengl)

Re:A curated list of Music DSP and audio programming resources by wexq on Friday April 23, 2021 @06:59PM (#26920238)
An aside, but just recently I tried to get RTAudio off the ground for some low-latency hobby projects.

In the end I switched to PortAudio which works fine with low-latency backends.