User:Contribution/Chanopif Project: Difference between revisions
Contribution (talk | contribs) No edit summary |
Contribution (talk | contribs) No edit summary |
||
Line 22: | Line 22: | ||
A Chanopif (<code>.cnpf</code>) file is a '''plain-text''' file containing a series of lines. Each line follows the pattern: | A Chanopif (<code>.cnpf</code>) file is a '''plain-text''' file containing a series of lines. Each line follows the pattern: | ||
<code> | <code>channel_base10 note-number_base16 pitch_base16.fractionalPitch_base32</code> | ||
Where: | Where: | ||
decimal_channel | |||
MIDI channel index, ranging from 1 to 256 in MIDI 2.0 (or 1 to 16 in MIDI 1.0). | MIDI channel index, ranging from 1 to 256 in MIDI 2.0 (or 1 to 16 in MIDI 1.0). | ||
hex_note_number | |||
The MIDI note number expressed in hexadecimal, ranging from 00 to 7F or 8F (depending on the extended range usage). | The MIDI note number expressed in hexadecimal, ranging from 00 to 7F or 8F (depending on the extended range usage). | ||
hex_pitch7bits.fractionalPitch25bits_base32 | |||
The 7-bit integer part (in hexadecimal) for semitone pitch, ranging from 00 to 8F. | The 7-bit integer part (in hexadecimal) for semitone pitch, ranging from 00 to 8F. | ||
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. | 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. |