Note lookup procs. Contains lookup procs for the two types of notes in Trackerboy, tone notes and noise notes.
  
NoiseNote = range[0 .. 59]
 
- 
Note index range for a noise note (Noise notes are only played on channel 4). A noise note ranges from octaves 2 to 6, but the actual note played maps to a frequency setting in the noiseNoteTable.
  Source
  Edit
 
 
ToneNote = range[0 .. 83]
 
- 
Note index range for a tone note (Tone notes are played on channels 1, 2 and 3). A tone note ranges from octaves 2 to 8, with C-2 being approx 64 Hz
  Source
  Edit
 
 
 
noteCut = 84'u
 
- 
Special note index for a note cut. When used the channel will be silenced by disabling the DAC.
  Source
  Edit
 
 
 
func note(str: string): uint8 {.compileTime, ...raises: [], tags: [].} 
- 
Compile time function for converting a string literal to a note index Notes must range from C-2 to B-8, sharp and flat accidentals can be used. ie note("c-2") => 0, "D#3".note => 15
  Source
  Edit