Array and bitWrite

Which Arduino are you using?

I am currently using an Uno for testing some code,
will buy a Mega when it's time to build.

So, you want to write bits 0 to 127 of this array of 128 ints? Not going to happen.

Indeed...
I meant to declare an array of bits, instead of an array of ints, which takes less place.

But, if I replace "int16_t" by "byte" in the declaration of the array, I still have an error occuring :
" invalid operands of types 'byte [128]' and 'long unsigned int' to binary 'operator|' ",
but I never declared an unsigned long int !

128 * 4 * 4 * 2 = 4096 bytes

This array is meant to send midi data to a drum machine. Maybe I was seeing too big
when deciding to work with that much data. 64 bytes should be enough...