The piano keyboard has 88 keys:
I would like to encode one note or one chord in 88 bit array. I do this, for example:
A4
is 0000000000000000000000000000000000000000000000000000000001000000000000000000000000000000
Next I convert this number to decimal. When I have chord the final number is really big. The problem is when I put this big number into array from NumPy I gets:
note_data = np.array(note_data, dtype=np.int64)
OverflowError: Python int too large to convert to C long
My point is to feed recurrent neural netowrk this kind of data or maybe is better representation on music notes into numbers?
EDIT:
Another example of encode C3
note:
C3 = np.array([0000000000000000000000000001000000000000000000000000000000000000000000000000000000000000], dtype=int)
and error sitll the same:
OverflowError: Python int too large to convert to C long
It's possible to reduce this error?