Real-time pitch shifting (without change of duration)

After reading Lee Brimelow’s post about Adjusting audio pitch in Flash Player 10, I’ve thinked about a real pitch shifting solution (adjusting pitch without change of duration).

Then I found a great algorithm here: and its C# port here

I’ve ported the code to AS3 then heavily optimized it to get it running under 100% cpu use (of 1 cpu core). I get 45% cpu use with the default parameters on my 2.4GHz PC.

See it in action here (Flash Player 10 required):

click to open

You can download the source code here:

Music: More Frightened by CandyCash (with permission)

Leave a comment

Your comment