Greetings, I’ve recently gotten into synth DIY and I want build my own synth from scratch using an STM microcontroller! I’ve studied Emilie’s code and various other codes on synthesizers but it seems a bit too complex for me, and I would like to ask some general questions.
(I write in C++)
-What routines should go in interrupts and what in the main while loop?
-How do I go about creating a bootloader?
-When creating an Envelope Generator algorithm, what should I keep in mind? I’ve tried creating an envelope class and using 3 instances for 3 different envelopes but that seems to glitch everything up and doesn’t work as intended.
-What about RTOS? Should I use something like that?
-What about using usb midi?
-Note priority and note stack?
If anyone has any information or easy examples on any of these topics I would very much appreciate it!
I feel like I want to do so much but I always hit a wall and don’t know how to move forward logic wise, so I hope someone can help me understand how to implement these things!
Thanks in advance!