# Grids DrumMap Nodes question

I want to build an Arduino Generative Drum machine based on Olivier Gillet’s code (with a midi only output).

Two persons managed to do that:

and
https://github.com/geertphg/MIdrum.

Unfortunately, due to my limited coding knowledge I still have some questions.

Why does each DrumNote from Anushri have only 48 values, and why does each DrumNode from Grids have 96 values.

Is it true that one drum node from Anushri has 16 values for each of the 3 drums? (16 x 3) = 48?
(As the code from https://github.com/ashimoke/dRUMmACHINE/blob/master/code suggests?)

Eg: Anushri DrumNode 1:
236, 0, 0, 138, 0, 0, 208, 0,
58, 28, 174, 0, 104, 0, 58, 0, —> (16 values for BD)
10, 66, 0, 8, 232, 0, 0, 38,
0, 148, 0, 14, 198, 0, 114, 0, ----> (16 values for SD)
154, 98, 244, 34, 160, 108, 192, 24,
160, 98, 228, 20, 160, 92, 194, 44 ------> (16 values for HH)

If the above is true, could it be that the 96 values for each DrumNote from Grids is 16 values for BD, SD and HH and 16 values for Accents BD, SD, HH (with a total of 96 values)? (Since Grids has 6 outputs: drums and Accents)

Thank you.

> Why does each DrumNote from Anushri have only 48 values, and why does each DrumNode from Grids have 96 values.

Grids can run at a higher clock resolution (8 ppqn instead of 4 ppqn), so there are 32 values per instrument. There’s no data for accents.

Thank you !

For your kind answer and for the beautiful instruments that you create.