play 1/2 second of audio at x2 x3... speed

Status
Not open for further replies.

emmanuel63

Well-known member
Hello,

I working on a an audio effect that would transpose the attack of a musical note a few octaves up or down in real time.
I feed the audioBoard line input of a teensy 3.6 with a signal coming from a mic + an audio mixer.
I detect the attacks of an wind instrument using the peak object.

Now I would like to shift the pitch of the attacks up and down. When an attack is detected, I need to fill small buffers and play them back at a different speed ( x2 x4 or /2 /4 .... ).
I don't know how to do it. I don't need time stretching but only pitch shifting.

Emmanuel
 
Status
Not open for further replies.
Back
Top