User Tools

Site Tools


x0x:patternfileformat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
x0x:patternfileformat [2007/12/03 05:11]
eil
x0x:patternfileformat [2008/11/08 03:03]
eil
Line 12: Line 12:
   ;​Version ​   : (1 byte)  - Version number of the x0xb0x pattern file. (for future backwards compatibility) The initial version number is 100.   ;​Version ​   : (1 byte)  - Version number of the x0xb0x pattern file. (for future backwards compatibility) The initial version number is 100.
   ;​%%NumEntries%% : (2 bytes) - Number of pattern records stored in this file.   ;​%%NumEntries%% : (2 bytes) - Number of pattern records stored in this file.
 +
  
 ==== Entry ==== ==== Entry ====
Line 20: Line 21:
   ;​Pattern ​ : (16 bytes) - The x0xb0x pattern, stored in the binary format used to store the pattern in EEPROM.   ;​Pattern ​ : (16 bytes) - The x0xb0x pattern, stored in the binary format used to store the pattern in EEPROM.
  
 +Note values:
 +
 +  * Rest: 0x00
 +  * Accent: 0x40
 +  * Slide: 0x80
  
 +^ Octave ^ Note ^ Hex Value ^
 +| 1 | C   | 0B |
 +| 1 | C#  | 0C |
 +| 1 | D   | 0D |
 +| 1 | D#  | 0E |
 +| 1 | E   | 0F |
 +| 1 | F   | 10 |
 +| 1 | F#  | 11 |
 +| 1 | G   | 12 |
 +| 1 | G#  | 13 |
 +| 1 | A   | 14 |
 +| 1 | A#  | 15 |
 +| 1 | B   | 16 |
 +| 2 | C   | 17 |
 +| 2 | C#  | 18 |
 +| 2 | D   | 19 |
 +| 2 | D#  | 1A |
 +| 2 | E   | 1B |
 +| 2 | F   | 1C |
 +| 2 | F#  | 1D |
 +| 2 | G   | 1E |
 +| 2 | G#  | 1F |
 +| 2 | A   | 20 |
 +| 2 | A#  | 21 |
 +| 2 | B   | 22 |
 +| 2 | C' ​ | 23 |
 +| 3 | C#  | 24 |
 +| 3 | D   | 25 |
 +| 3 | D#  | 26 |
 +| 3 | E   | 27 |
 +| 3 | F   | 28 |
 +| 3 | F#  | 29 |
 +| 3 | G   | 2A |
 +| 3 | G#  | 2B |
 +| 3 | A   | 2C |
 +| 3 | A#  | 2D |
 +| 3 | B   | 2E |
 +| 3 | C' ​ | 2F |
 +| 4 | C#  | 30 |
 +| 4 | D   | 31 |
 +| 4 | D#  | 32 |
 +| 4 | E   | 33 |
 +| 4 | F   | 34 |
 +| 4 | F#  | 35 |
 +| 4 | G   | 36 |
 +| 4 | G#  | 37 |
 +| 4 | A   | 38 |
 +| 4 | A#  | 39 |
 +| 4 | B   | 3A |
 +| 4 | C' ​ | 3B |
/home/ladyada/public_html/wiki/data/pages/x0x/patternfileformat.txt · Last modified: 2016/01/28 18:05 (external edit)