Apologies if this is a redundant question. What are my options for audio output for Teensy 4 if I am trying to avoid an audio adapter board for this particular project? (Pinky-swear, I will get some more Teensies and some audio adapters very soon, eager to do this the right way.)

  • Can I use PWM? The documentation implies this won't work for a Teensy 4, but I am not sure. (The pins seem to have been hard-coded for older boards. )
  • Can I use "the onboard DAC" often referenced in discussion? I found this forum post that implies yes/no:https://forum.pjrc.com/threads/57673...4-0-make-sense

So the real general question is, can I just get some low-fi sound out of 1 or 2 pins on the Teensy 4 but still use the Teensy Audio library (extra points: can I send multiple lo-fi audio streams from 1, 2, or 3 different hardware channels so all my synth inputs get what they want)? I started to write my own sound generator functions from scratch and that seems silly.

I need some raw audio to feed into an analog percussion synthesizer circuit. Some kind of white noise and some (TR-606-like) metal noise. If I could get a few more audio samples for free, that would be nice. The sound quality is not an issue; I would use 8 bit sound if it was easy to implement. It seems like getting an audio adapter for this project would be casting some nice pearls before the swine that is my primitive analog percussion circuit.

Hindsight is 20/20. Next time, I will begin my project leveraging the Audio Library.