Sample manipulator using groove's playback speed and slots to determine play length

Jonathan Meager's icon

Hi everyone,

Hope 2021 is good for you so far.

I'm building a sample player manipulator that allows me to play with several different aspects of a sample, including playing order, speed etc...

One of the key things I'd like to be able to do is choose between:
a) using the original sample length to derive the metronome from
b) using the effective sample length of the sample in the groove object when the playback speed has been adjusted. the goal is, for example, to slow the sample down and allow each 'slot' of the sample to play in full at its slowed speed.
c) combining a) with b) so that sample slots play in full as in b) but a) is used to determine when to 'reset' and start the sample slot playback again.

I've spent some time working through this but am now struggling to make the above happen.

I have a radio group to select between clocking to the original transport, and then clocking to a metronome derived from the playback speed of the groove.

However, when I use the derive metronome, the playback speed doesn't seem to truly be applied. Instead I hear very short looping sections of the sample.

Here's the patch:

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

Any help would be appreciated. And sorry in advance my patch is busy and a bit of a mess - I'm still a beginner.

I finally got myself in to gear towards the end of 2020 and started learning Max having flirted with it a few times over the years. I am loving using it now, something has just clicked - I've got a friend who has helped loads with troubleshooting, which has definitely helped. Anyway I still consider myself a beginner.

Thanks,
Jonathan

Jonathan Meager's icon

Thought I'd just bump this up again. Any advice would be greatly appreciated.

Source Audio's icon

true, patch is a mess, questions also not clear,
when one looks at the patch it does not really tell one what is expected to function,
one would need to spend a lot of time to understand what should be going on.
maybe for that reason , there are no replies

Jonathan Meager's icon

Thanks for the feedback. I should've thought more before posting. I will review and think more and maybe ask a proper question in a different way.

Source Audio's icon

I am sure that would be helpful.
like what exactly do you mean to get metronome out of sample ?
metronome is usually expressing beat length as tempo,
and file length is not enough to calc that, it needs also
time signature so that on can say sample length is 3333 ms for
2 bars of 6/8 , ok, that makes tempo xxx
-----
or do you mean something else ?