Step Sequencer cuts off audio file early

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?

Here is a section of what ive been attempting

— Pasted Max Patch, click to expand. —

Copy all of the following text. Then, in Max, select New From Clipboard.