User:Contribution/Chanopif Project: Difference between revisions

Contribution (talk | contribs)
No edit summary
Contribution (talk | contribs)
No edit summary
Line 26: Line 26:
Where:
Where:


channel_base10
'''channel_base10'''
MIDI channel index, ranging from 1 to 256 in MIDI 2.0 (or 1 to 16 in MIDI 1.0).


noteNumber_base16
* MIDI channel index, ranging from 1 to 256 in MIDI 2.0 (or 1 to 16 in MIDI 1.0).
The MIDI note number expressed in hexadecimal, ranging from 00 to 7F.


pitch_base16
'''noteNumber_base16'''
The 7-bit integer part (in hexadecimal) for semitone pitch, ranging from 00 to 7F.


fractionalPitch_base32
* The MIDI note number expressed in hexadecimal, ranging from 00 to 7F.
A 25-bit fractional part for microtonal precision, expressed in base 32 using the characters 0–9 and A–V. This base-32 representation spans values from 00000 (zero fraction) up to a maximum that encodes all 2^25 subdivisions of a semitone.


'''pitch_base16'''
* The 7-bit integer part (in hexadecimal) for semitone pitch, ranging from 00 to 7F.
'''fractionalPitch_base32'''
* A 25-bit fractional part for microtonal precision, expressed in base 32 using the characters 0–9 and A–V. This base-32 representation spans values from 00000 (zero fraction) up to a maximum of VVVVV, that encodes all 2^25 subdivisions of a semitone. Each of the five characters encodes a 5-bit segment of the 25-bit word, with the total being 5×5=25 bits.
=== Exemple ===
An example line might be:
An example line might be:


16 8F 8F.VVVVV
<code>16 7F 7F.VVVVV</code>


     16 = MIDI channel 16
     16 = MIDI channel 16