Re:Digital Audio 101: Playing Audio from a Microcontroller
by virgil_disgr4ce on Thursday April 15, 2021 @12:22PM
(#26822502)
I mean... a microcontroller has only one 'loop'. If you don't want to 'block' it, you either 1) use external devices, i.e. a synth chip or 2) compose the multiple notes you want into one signal. If you're doing PWM only then option 2 will rapidly start to present interesting challenges.
[ Parent
| on HN ]
Re:Digital Audio 101: Playing Audio from a Microcontroller
by GeorgeTirebiter on Thursday April 15, 2021 @08:19PM
(#26827824)
Counter/Timer peripherals on even low-end chips can help here.