3 ms·
You might look into the Teensy boards. There's an audio adapter that adds a DAC and headphone jack, and there's also an audio library. The Dirtywave M8 was buil
by bmitc 3y ago
You might look into the Teensy boards. There's an audio adapter that adds a DAC and headphone jack, and there's also an audio library. The Dirtywave M8 was built on top of the Teensy stack.
https://www.pjrc.com/teensy/ https://www.pjrc.com/teensy/
https://www.pjrc.com/store/teensy3_audio.html https://www.pjrc.com/store/teensy3_audio.html
https://www.pjrc.com/teensy/td_libs_Audio.html https://www.pjrc.com/teensy/td_libs_Audio.html
https://dirtywave.com/ https://dirtywave.com/
- jlarcombe 3y agoTeensy is BRILLIANT - but a bit different to the Pi. It's quite convenient to have a 'real computer' you can toy around with directly on the device.
- bmitc 3y agoI have fallen out of love with Raspberry Pi due to the performance. In desktop mode, I have found it too lacking to be any fun. It even struggles to run the web browser. And things like Mathematica, that you get for free which is awesome, are just much too sluggish to be very much fun.
- jlarcombe 3y agoYes, although it sounds like the Pi 5 will be a significant step up in this regard. To be honest for what I was doing, Pi 4 was easily good enough. It was just a bit more convenient to be able to get media assets etc on to the device directly, implement a simple UI, etc etc.
- Applejinx 3y agoIt's a pity about Teensy3 being effectively gone. I've got numerous eurorack modules based on the Teensy3 12-bit onboard analog output. The trick there is twofold: one, if you're doing traditional digital audio, this output has a very 'old school sampler' sound that takes well to further processing. It's a really primitive output with a lot of character that sits well in a mix or performance: no trouble building an entire mix around sounds coming off this output. Two, because it's directly built into the Teensy and doesn't have as many intrinsic assumptions about what digital audio is, you can overclock it to sample rates as high as a megahertz or so, while still running the same audio library. That means if you're just putting out a square wave, the ONLY limitation on your quality is aliasing, as bit depth no longer matters. If you're doing multiple square waves you still don't need full use of the 12 bit analog output to do it. And if you're at 1mHz aliasing is next to nothing, so all of a sudden your cheesey 'bad' output is in fact shockingly good. Even waves which do require the 12 bit resolution are a lot better with no significant aliasing. I run four-note chords with two oscs per note, portamento, and additional waveforms, on a single Teensy, at upwards of 300kHz. From what I can see, no audio hat does this. They're all mediocre CD quality. I'm sure you could build a ladder DAC out of raw digital outputs on a more modern Teensy and do just as well, especially if you ran even lower bit than 12 bit. Teensy3 has that analog pin just right there, though. Lovely :)