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

astevens's icon

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,

astevens's icon

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

KrisW's icon

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 .

astevens's icon

Thanks so much Kris

The penny dropped!!

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