Fog Creek Software
g
Discussion Board




Windows MCI - pitch manipulation

The company I´m working for needs a soundplayer to use when transcribing speeches. We found a good one that was open source and we can adjust to our needs. It uses the MCI - Media Control Interface in Windows to play the soundfiles and can change the speed of the audio and more. But what I need is to be able to change the pitch. Do you know if there is any way to do that easily using the MCI? I´ve tried looking through the MCI reference at msdn but couldn´t find anything. If it´s not possible to do this with MCI then what is the best way to do it?

Thanks.

SoundGuy
Friday, May 14, 2004

Speed and pitch of the audio are related.  If you slow the speed down, you'll slow the pitch down, too.

If you need to change the pitch without changing the speed, you'll need to do a signal processing technique called pitchshifting or timestretching.  Unless you have a math or an EE degree, or are genuinely interested in this, I'd suggest finding some code online to pitchshift.  The learning curve is steep for writing this kind of stuff yourself.  Check www.musicdsp.org for starters

Ben Allison
Friday, May 14, 2004

Winamp 5 has a new DSP plugin with a simple pitch/speed control module. Not too hi-fi but works for me.

Martin
Friday, May 14, 2004

*  Recent Topics

*  Fog Creek Home