Synthesizer DSP STM32 resources
-
- Posts: 1
- Joined: Thu May 02, 2024 11:10 am
Synthesizer DSP STM32 resources
Hi, I have built a 2 voice mono digital synth with Arduino Nano and would now like to try this out using the STM32 blue/black MCU's I have. Are there any useful resources, libraries for DSP STM32. I know there is STM32Duino but very little example and nothing about audio, DSP here. Does anyone have experience coding audio, synth projects with STM32 who could give some advice on where to start? I am also wondering how easy, difficult it would be to port the Arduino synth example I have done to STM32.
Re: Synthesizer DSP STM32 resources
As arduino, STM32 can use high PWM pulses to create audio. With even higher resolution because of better timers hardware. STM32 have some boards with 12bit DAC ( like cheap WeAct STM32G431CBU6 ).
For a start, you could use example from https://github.com/stm32duino/STM32Exam ... llback.ino to trigger at samplerate.
All arduino UNO/nano examples i found on net are using direct register access on timers, but if you understand how timers works on arduino, there is chance that it can be ported to STM32.
You could try RTTTL player from https://github.com/ag88/stm32duino_rtttl
or some sound effects from https://github.com/Bakisha/STM32-SID-PL ... s_barebone
For a start, you could use example from https://github.com/stm32duino/STM32Exam ... llback.ino to trigger at samplerate.
All arduino UNO/nano examples i found on net are using direct register access on timers, but if you understand how timers works on arduino, there is chance that it can be ported to STM32.
You could try RTTTL player from https://github.com/ag88/stm32duino_rtttl
or some sound effects from https://github.com/Bakisha/STM32-SID-PL ... s_barebone