#tune=
The data has the format:
If
If
If
If
So, the maximum datagram, word, chunk, or whatever is 32 bits. The smallest chunk is 11 bits.
There are 10 notes. And their values are (lowest note to the highest):
2, 6, 3, 0, 7, 1, 8, 4, 9, 5
do, re, mi, fa, sol, la, ti, do, re, mi.
For a monophonic chunk (
For example, for ti (value is 8 base 10), it is 0001, not 1000.
For a polyphonic chunk (
For example, for fa, la, do (0, 1, 4 base 10), it is 1100100000 (index 0, 1, 4 are set).
Probably the unit is 1/10 milliseconds..
TODO: write a program that actually demonstrates this.