View Single Post
  #6   Report Post  
Posted to rec.audio.pro
Scott Dorsey Scott Dorsey is offline
external usenet poster
 
Posts: 16,853
Default How to change a voice's pitch, programmatically, in real time?

Piotr Mancini wrote:

The question is actually more general than simple signal intensity and frequency. I need to "modulate" a signal based on user's activity. Any recommendations are welcome.


The easy way to do the job is just to break it up into subframes, and play the
subframes repeatedly at different rates or to drop them out. Play them at
twice normal speed and double each one, and you have a reasonable octave shift
with no time change.

But to be honest I am not sure a time change would be a problem for you.

The other solution is to fft it, shift it, and then ifft it. This is much
more computationally expensive although you can store your samples in
frequency-domain form so that all you have to do in realtime is the shift
and ifft.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."