Digigurdy-baz
Loading...
Searching...
No Matches
Enumerations | Functions | Variables
notes.h File Reference
#include <Arduino.h>

Go to the source code of this file.

Enumerations

enum  Note {
  c_1 , c_1s , d_1 , d_1s ,
  e_1 , f_1 , f_1s , g_1 ,
  g_1s , a_1 , a_1s , b_1 ,
  c0 , c0s , d0 , d0s ,
  e0 , f0 , f0s , g0 ,
  g0s , a0 , a0s , b0 ,
  c1 , c1s , d1 , d1s ,
  e1 , f1 , f1s , g1 ,
  g1s , a1 , a1s , b1 ,
  c2 , c2s , d2 , d2s ,
  e2 , f2 , f2s , g2 ,
  g2s , a2 , a2s , b2 ,
  c3 , c3s , d3 , d3s ,
  e3 , f3 , f3s , g3 ,
  g3s , a3 , a3s , b3 ,
  c4 , c4s , d4 , d4s ,
  e4 , f4 , f4s , g4 ,
  g4s , a4 , a4s , b4 ,
  c5 , c5s , d5 , d5s ,
  e5 , f5 , f5s , g5 ,
  g5s , a5 , a5s , b5 ,
  c6 , c6s , d6 , d6s ,
  e6 , f6 , f6s , g6 ,
  g6s , a6 , a6s , b6 ,
  c7 , c7s , d7 , d7s ,
  e7 , f7 , f7s , g7 ,
  g7s , a7 , a7s , b7 ,
  c8 , c8s , d8 , d8s ,
  e8 , f8 , f8s , g8 ,
  g8s , a8 , a8s , b8 ,
  c9 , c9s , d9 , d9s ,
  e9 , f9 , f9s , g9
}
 

Functions

String getNoteNum (int num)
 Returns the printed version of the given MIDI note. More...
 
String getLongNoteNum (int num)
 Returns the longer printed version of the given MIDI note. More...
 

Variables

int use_solfege
 

Enumeration Type Documentation

◆ Note

enum Note
Enumerator
c_1 
c_1s 
d_1 
d_1s 
e_1 
f_1 
f_1s 
g_1 
g_1s 
a_1 
a_1s 
b_1 
c0 
c0s 
d0 
d0s 
e0 
f0 
f0s 
g0 
g0s 
a0 
a0s 
b0 
c1 
c1s 
d1 
d1s 
e1 
f1 
f1s 
g1 
g1s 
a1 
a1s 
b1 
c2 
c2s 
d2 
d2s 
e2 
f2 
f2s 
g2 
g2s 
a2 
a2s 
b2 
c3 
c3s 
d3 
d3s 
e3 
f3 
f3s 
g3 
g3s 
a3 
a3s 
b3 
c4 
c4s 
d4 
d4s 
e4 
f4 
f4s 
g4 
g4s 
a4 
a4s 
b4 
c5 
c5s 
d5 
d5s 
e5 
f5 
f5s 
g5 
g5s 
a5 
a5s 
b5 
c6 
c6s 
d6 
d6s 
e6 
f6 
f6s 
g6 
g6s 
a6 
a6s 
b6 
c7 
c7s 
d7 
d7s 
e7 
f7 
f7s 
g7 
g7s 
a7 
a7s 
b7 
c8 
c8s 
d8 
d8s 
e8 
f8 
f8s 
g8 
g8s 
a8 
a8s 
b8 
c9 
c9s 
d9 
d9s 
e9 
f9 
f9s 
g9 

Function Documentation

◆ getLongNoteNum()

String getLongNoteNum ( int  num)

Returns the longer printed version of the given MIDI note.

Parameters
numA MIDI note, 0-127, 63 = C4
Returns
A full text version of the note (e.g. "E#4/Fb4", "RE#3/MIb3")
Note
The use_solfrege variable from the main digigurdy-baz.ino file is what determins which notation is used here.

◆ getNoteNum()

String getNoteNum ( int  num)

Returns the printed version of the given MIDI note.

Parameters
numA MIDI note, 0-127, 63 = C4
Returns
A text version of the note (e.g. "C4", "RE#3")
Note
The use_solfrege variable from the main digigurdy-baz.ino file is what determins which notation is used here.

Variable Documentation

◆ use_solfege

int use_solfege
extern