Changing Speed and Pitch in a real-time recording

    Jun 15 2014 | 6:59 pm
    I've been trying numerous ways of changing pitch and speed of my real-time voice recording - i.e time-stretch, but nothing seems to be working. I've found patches that can do this but only with a sample via buffer~. I'd be forever grateful for any help!
    If anyone knows how to stop playing a sample that is being triggered via togedge by arduino that would be awesome too.
    Thanks, Agnes

    • Jun 15 2014 | 7:45 pm
      Your other question can be answered in many ways, you'll need to clarify it or post your patch (use "copy compressed" in Max).
    • Jun 15 2014 | 8:25 pm
      Thanks! I will give this a try right away..
      As for the togedge patch it looks something like this: (it's a part of a larger patch but this will hopefully be enough for this specific problem.
      Thanks again!
    • Jun 15 2014 | 8:53 pm
      Although this patch seems perfect for what I need, I can't figure out how to connect my microphone rather than using a sample. Any ideas?
      Thanks for any feedback!
    • Jun 16 2014 | 2:58 am
      To use your mic, simply use [ezadc~] (or [adc~], though it's probably more complicated than you need). The outlets will provide the signal coming in form your audio input device (go to >Audio>Audio Status... in the menu bar to configure this).
      With [sfplay~], you send it a 0 (zero) to stop playback. Other integers will play preloaded audio... you should read the reference file for it (e.g. right click the object..). So you could, for example, have the toggle boxes go right into them to start/stop playback. You might also check out [groove~]. BTW it requires a [buffer~] object (which stores the audio in RAM) - [sfplay~] does not (it reads directly from hard disk.)
    • Jun 16 2014 | 9:31 am
      Do you happen to have a patch on how the mic is connected - I think the ezadc~ will work well although I can't figure out how to connect everything.. I'm very much a visual learner. Thanks!!
    • Jun 16 2014 | 2:57 pm
      Ah I figured it out the mic situation, just a simple mistake.