Forums > MaxMSP

jit.cellblock

March 17, 2009 | 5:21 pm

Hi,
i’ve just created a patch,that will store the midi values of a song.
I used detonate, to get the pitch, velocity as well as duration.
when the song’s played, all these three values will be stored in the cellblock.

So i’ll have n x 3 matrix,where n is the number of notes in the song.

when the song’s done,i’ll have the matrix, and i want to use these values to draw a graph.
Any idea how to copy the values in the cellblock? coz I can’t seem to find a way to do it.

Also, is there a simpler way in drawing a graph of a midi song? other than getting it right away by clicking the detonate object?

thanx in advance


March 17, 2009 | 9:17 pm

In the help patch, check the "storage_stuff" subpatch.
Another option is if you direct the data to a coll, and just refer the cellblock to the coll, you can have a slightly more portable version of your data, meaning it might be easier to use it elsewhere in the patch.


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