Speed and pitch independant

Laurent Pigeolet's icon

Hi everybody,

I'm looking for a Max object or a small patch to vary the playback speed of a sound file (with groove) without changing the pitch. I tried scholarly calculations via the object bach.fq2mc and the ircam supervp transpo, but it is complicated.

My research on the Internet led me to the object "elastic ~", but it no longer seems available. https://www.youtube.com/watch?v=LnwikkQ3nVU

There is an Akihiko Matsumoto patch, but it doesn't work for me (Max6) https:/www.youtube.com/redirect?event=video_description&v=e4piAil4ABo&redir_token=J_z5cMHale8sPGRAotx6m8yJZNh8MTU3ODIxOTI1NkAxNTc4MTMyODU2&q=http%3A%2F%2Fakihikomatsumoto.com%2Fmaxmsp%2Fpitchshifting.html

The object exp also allows to make complex mathematic operations, but I'm not expert.

Could you help me please,
Many thanks,

Laurent.

double_UG's icon

look at the "groove~" helpfile timestretch. But i don´t know if timestrech for groove~ is in max6.

Source Audio's icon

Max 6 has no stretching / shifting for groove.
Best bet without 3rd party externals is
to speed the groove and pitch output of it
with gizmo.

Max Patch
Copy patch and select New From Clipboard in Max.

Sorry, I forgot the pfft patcher

VariPlay.zip
application/zip 2.27 KB

Here is zip archive of all needed

Source Audio's icon

P.S. if You wat to check other options,
one could try karma~ .
Even if it looks a bit complicated to get in because of many options,
simply connecting it to buffer, play, stop and speed $1
works just fine.
Originally karma has limit of 2 channels.
If that is a problem I compiled 1 version for 4 channels..
Just let me know if You need that.

Laurent Pigeolet's icon

Hi "Source audio" :),

Thanks for everything. The "variplay" patch runs good if I let "giizmo patch" and "variplay" patch in the same folder, into Max6.1 application/patches. But if I want to copy an place "varyplay" patch into another bigger patch, entries and exits of Fft object disappears, even if I put the two patches received in the same folder than the big patch. What must I do to use it correctly? Thanks, L.

Laurent Pigeolet's icon

I saw also the video about "karma" object. I downloaded it and atoned the help patches. It seems to be great. But I don't see where it is possible to vary the speed without changing the pitch...

Source Audio's icon

It should work when pfft giizmo is in the same folder as Your "big" patch.
But it needs to be there before You create instance of it in the big patcher.

1 copy giizmo.maxpat in the folder of the main patcher.
2 start main patcher and copy or recreate stuff from varyplay patcher into main patcher.
--------
By the way giizmo could be named anything, I just wanted to name it so that it is clear that gizmo
object is used.
2 "ii" because one can't name a patcher same as an external.
And yes You are right karma has no stretching option,
I forgot that.
I have tried elastic object few years ago and it sounded ok, but was veeery buggy.
Index based variant sounded bad.