CapnWinky07
Posts: 12
Joined: Thu Oct 26, 2017 5:39 pm

Voice Changer

Sat Oct 28, 2017 3:52 pm

Hello all! With halloween around the corner I decided to try this project:

https://www.raspberrypi-spy.co.uk/2017/ ... y-pi-zero/

Everything works as expected accept for about a couple milisecond delay. Does anyone know of a way to do real time audio? That is, when I speak into the mic it comes out of the speaker at the same time?

epoch1970
Posts: 5203
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: Voice Changer

Tue Oct 31, 2017 12:28 pm

0 delay is impossible, your voice has to be digitized then some signal processing is applied and signal is converted back to analog for the speaker. All this takes time.
Perhaps you can reduce the value for the "buffer" parameter in sox? E.g. 1024 instead of 2048.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

Return to “Troubleshooting”