Page 1 of 1

STM32SAM - Speech Synthesizer

Posted: Wed Jul 22, 2020 7:55 am
by Bakisha
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

Re: STM32SAM - Speech Synthesizer

Posted: Wed Jul 22, 2020 8:26 am
by stevestrong
+1

Re: STM32SAM - Speech Synthesizer

Posted: Wed Jul 22, 2020 9:01 am
by ag123
+1 !

Re: STM32SAM - Speech Synthesizer

Posted: Wed Jul 22, 2020 9:36 am
by Vassilis
+1

Re: STM32SAM - Speech Synthesizer

Posted: Wed Jul 22, 2020 4:09 pm
by feluga
Nice! Really Cool Project! +5