Forums > MaxMSP

playing a buffer from start to finish then reading the next value.

November 30, 2012 | 9:13 pm

Hi all,

Another basic question which is causing me headaches!!

I have six buffers being triggered by numbers 1, 2, 3, 4, 5, 6.
The problem I have is that when another number is selected during playback the buffer jumps to the corresponding number.
eg, 1 is selected, buffer 1 plays, halfway through the playback, 2 is selected which then causes a jump to buffer 2.

How can I get buffer 1 to play from start to finish even if 2 is selected mid playback?

If 2 is selected mid playback, I would like it not to play until after buffer 1 has finished.

I’m sure this is a very basic question and one which I should know the answer but I just can’t fathom out how to resolve it.

Many thanks,


November 30, 2012 | 9:14 pm

PS. I’m using groove~ to play from my buffers.


November 30, 2012 | 10:18 pm

you can definitely use a "sync" example from a [groove] help file .there is delta check solution provided . you could store the number of your buffer and trigger it with a bang when soundfile reaches its end .


December 3, 2012 | 8:36 pm

Thanks so much Kris

The penny dropped!!

It took me a while but it’s working smoothly….for now.


Viewing 4 posts - 1 through 4 (of 4 total)