Hi !
I have ported SAM (Software Automatic Mouth) code for speech synthesis, and manage to make library from it.
Github link: https://github.com/Bakisha/STM32SAM
Youtube demo: https://www.youtube.com/watch?v=Ov32R0B__6Y
- It can be compiled with Roger's and stm32duino core.
- Audio output is on pin PA8 (TIM1 CH1) ( low pass filter is recommended)
- Need around 4KB of RAM, and around 20KB of flash memory
- No audio buffer, pwm output is calculated "on-the-fly"
- base pwm frequency depending on CPU speed, 280KHz for STM32F103C8, 330KHz for STMF32F401CC, 375KHz for STM32F411CE, etc...
Original code (for windows) can be found at: https://github.com/s-macke/SAM
STM32SAM - Speech Synthesizer
-
- Posts: 505
- Joined: Fri Dec 27, 2019 4:53 pm
- Location: Munich, Germany
- Contact:
Re: STM32SAM - Speech Synthesizer
Nice! Really Cool Project! +5