Step Sequencer cuts off audio file early

Scott.Houston's icon

Hey Guys

Ive created a step sequencer using the matrix ctrl object, that is triggering sounds and they are then in turn triggering jit.gl.gridshape objects.
But the sounds are cut off as soon as the next beat is played. I know its because they are triggering the toggle objects and the matrix will only turn on for the amount of time specified. But is there a way so the audio file will play until its finished?

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

Here is a section of what ive been attempting

Scott.Houston's icon

Anyone have an idea?

broc's icon

You could insert [match 1] after the toggle to block 0.