groove~ problem. How to play the whole length of sample

Mar 23, 2010 at 4:26pm

groove~ problem. How to play the whole length of sample

Hi there.
I am trying to make sampler using groove~ object, yet the problem is the actual playback time is not the actual sample length. So not matter a whole song or just a short drum loop there is only around 1.5s playback time. I can modify it by changing the loop end time but that mean i need to know what long the sample exactly and each time i change the sample i need change to loop end time.
So I m wondering is there anyway I can just play the whole length of the buffer automatically ?
Thank you all.

#49301
Mar 23, 2010 at 6:25pm

You need to tell groove~ where to start playing in the buffer. So if you have loop turned off and you send a “0″ to groove~, it will start playing from the beginning of the buffer to the end of the buffer (that is assuming you are sending it a positive sig~ number).

If that doesn’t help, post the patch…

#177151
Mar 23, 2010 at 6:26pm

are you accessing a ‘live’ buffer or using pre-recorded samples/loops? The [groove~] object reads from a [buffer~] of fixed size; it sounds like you need to resize this buffer using the [size $1] message or as an argument, but this also clears or initializes the buffer; the [info~] object will give lots of info, including size, of the buffer contents; try this patch:

– Pasted Max Patch, click to expand. –
#177152

You must be logged in to reply to this topic.