midi note #'s in to matrixctrl

amoniker's icon

I am trying to build a simple 16 step sequencer using matrixctrl.

I want to be able to input my notein data to a matrixctrl grid, essentially using matrixctrl like a piano roll that records sequences.

how would i input the list of notes in to matrixctrl so that say the top row of the grid corresponds to say note number 98 and the rest follow sequentially? i can't seem to grasp how the coordinates work

metro ticks
->-->-->-->
98 98 98 98 midi note #
97 97 97 97
96 96 96 96
95 95 95 95
etc.......