Hacker News new | ask | show | jobs
by wyager 1274 days ago
I used the Teensy as a DSP platform for https://yager.io/vumeter/vu.html

It did a great job! It has a lot of processing power and since it's bare-metal, latency and variance concerns are easily avoided.

I was disappointed that there didn't seem to be a good ecosystem of SPDIF/Toslink-based audio I/O for the Teensy, at least at that point. I had to make the Toslink hardware myself.

Toslink is an awesome connector for this type of thing, and I think it would be great if people started using it for Eurorack-style audio processing modules instead of analog signals.

You can get stereo pretty easily this way, and if someone could write up some ADAT lightpipe code, you could even get 8-channel polyphony!

Glad to see some posts about using Teensy for this purpose.

1 comments

As an EE who uses Teensies occasionally in embedded and industrial contexts, I'm always surprised by the expectation of "the audio guys" regarding hardware/software solutions.

For most users of these chips, "making the X hardware yourself" is the expected outcome, the fact that there's a convenient compute module that has USB power, the processor, a debug interface, a USB connector, and an open-source toolchain to quickly reach the "blink LED" stage is just a small leg up on the normal way of doing things.

I think it's so cool that there's a whole culture of people building little mixers, synths, and guitar pedals and so on in their garage. That's kind of tangential to the high school kids learning to code on Arduinos. And that's kind of tangential to those of us using these development boards professionally, either for prototyping or for low-volume custom stuff.

Side note: You might be interested in the TMDX5535EZDSP DSP eval board (still active, now over 10 years old, but it was a great platform for me to learn the fundamentals of DSP) or the newer TMDSOSKL137 eval board (more appropriate for building a giant mixer), they integrate a lot more audio processing power and have FFT accelerators/SOC audio interfaces that are better than even the Teensy 4.0/4.1.