Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

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

  1. #1

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

    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

  2. #2
    Member
    Join Date
    Sep 2020
    Location
    Massachusetts
    Posts
    58
    Hi Emmanuel63,
    I'll refer you to a thread I OPed here.
    https://forum.pjrc.com/threads/63212...tate-of-things

    It was a dead end for me, but I think the solutions offered could be what you are looking for. I hope this helps.

    Ben

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •