This project has moved. For the latest updates, please go here.

playing a tone continuously and changing its frequency

Mar 17, 2011 at 11:27 AM

Hi

I'm trying to play a tone and change its frequency in realtime. For generating the tone I used the Sine Wave Tutorial but changing the frequency while the tone is playing leads to a clipping. Can someone explain this?

Is there a possibility to playback a wav or midi file and changing the pitch in realtime?

Thanks in advance,

Alex

Coordinator
Mar 21, 2011 at 5:14 PM

it is possible, but you'd have to write the code to do it yourself. NAudio doesn't have a built-in pitch shifting algorithm.