r/AudioProgramming • u/enstorsoffa • Oct 02 '26
Best resource/tutorial to program a microcontroller oscillator?
Hi,
I'd like to try out programming a microcontroller, probably a Raspberry Pi Pico, and make an oscillator. I have done some programming before, but never any audio, so I would probably need a good resource or tutorial. Are there any good ones you can recommend? I'd need pointers on running it continuously, and using audio buffers to output to a DAC etc.
Preferably in C, Rust or C++, in that order.
If you have any tips in general on how I can do it, I would be very grateful. I'm fairly confident with the maths involved, and I use Matlab a bit for other uses.
View all comments
Show parent comment
2
u/enstorsoffa Oct 02 '26
My hope is to eventually make a harmonic oscillator with one base frequency and then 8 overtones summed to one output, as well as some modulation, but maybe this is too much for the Pico?
I’ve seen the Daisy Seed and it looks nice, might pick one up to try it out