Playback of Heartbeat at Different BPM

    Jan 28 2012 | 9:26 pm
    I am doing a project where I need to change the bpm of a recorded heartbeat and play it back at specific rates.
    I have been looking into beat~ and bonk~ for bpm detection, and I am wondering if I can use these to set a specific bpm playback rate? Or if there is another object I might need for playback?
    Basic goal would be to record a heartbeat, and play back that loop at different rates, so for example it starts off at 80 bpm, and I can play it back at 150 bpm, 20 bpm, 400 bpm etc.
    I'm somewhat of a newbie so any pointers would be greatly appreciated!
    Edit: This pdf has shown me how to create beats from scratch at specific bpm, now just wondering if I can play back a recorded audio at different bpm.

    • Jan 29 2012 | 10:31 pm
      Would it be possible to alter the "speed" input of free_elastic to playback different bpm?
    • Jan 29 2012 | 10:51 pm
      I would do what the game sound people do; try to atomize the sound as much as possible.
      get a heartbeat sound that can be split up into the two "ba-bump" parts and trigger them after each other. then you don't need time stretching, you don't need fancy granular anythings, just two sfplay~ objects and a tiny sequencer that bangs away.
    • Jan 29 2012 | 11:58 pm
      There are many timestretch/time compress algorithms in DAW/VST land that do not cause pitchshift. Surely there is an object like that?
    • Jan 30 2012 | 1:51 am
      Thank you! I will look into both of those.