This project is very inspiring!! Your design is simple but very precise. I think this is an excellent framework for beginners who are looking to program a simple hardware synth. I am reading through the git and have learned quite a bit!
I started getting into synths through modular. More recently I’ve really come to appreciate hybrid hardware like this, mozzi, axoloti, and norns. It’s so much more accessible in a way.
Do you think this code could run on something like an ESP32?
Yes if you have some skills you could make your own modular things for cheap. I’m starting with this synth that I will improve and then I’ll make a simple drums synth too. My goal is to be able to play dawless on a budget.
I never tried myself the audio library on another chip, but I asked on the Pjrc forum, apparently Adafruit did a fork of it to use it with their hardware so it might be compatible with other chips:
The later Teensys are ARM M4 devices so anything with an ARM M4 chip should be able to run teensy code with just a little effort. Not for a novice, but someone who has worked with at least two different ARM devices with the same core would have the general sense of what’s required to port it. The bulk of the heavy lifting here is done by the audio library so the synth logic, voice allocation and MIDI mapping layer would be instantly portable if the audio library is.
for clarity: FTDI is the usb->uart chip in older monome grids. these devices definitely require a host-side driver. on linux these are in the kernel. in 2012 i had to roll one for aleph and in 2014 i had to roll one for Due, both modeled on the linux sources. is there an official driver built into teensy libs these days?
Yes Teensy 4 is like Teensy 3.6 on the USB Host part so it is included.
Wow the audio board is now updated to work with it! I was waiting for that. I’ll get one soon then!
My solution was an intermediary one where I had a 3.2 with no USB Host and I though maybe it’s more valuable to have a separate USB chip that I can reuse with other micro-controllers later instead of getting a Teensy 3.6 (at the time there was no 4.0 yet). But unfortunately they discontinued that USB chip now… so not a long term solution finally.