Added trimble and tempo adjustments!
This commit is contained in:
parent
943b5b7709
commit
29e495be2a
6 changed files with 189 additions and 110 deletions
|
@ -2,7 +2,8 @@
|
|||
#define MUSICAL_NOTES_H
|
||||
|
||||
// Tempo Placeholder
|
||||
#define TEMPO 120
|
||||
#define TEMPO_DEFAULT 100
|
||||
|
||||
|
||||
#define SONG(notes...) { notes }
|
||||
|
||||
|
@ -21,7 +22,6 @@
|
|||
#define EIGHTH_DOT_NOTE(note) MUSICAL_NOTE(note, 8+4)
|
||||
#define SIXTEENTH_DOT_NOTE(note) MUSICAL_NOTE(note, 4+2)
|
||||
|
||||
|
||||
// Note Type Shortcuts
|
||||
#define M__NOTE(note, duration) MUSICAL_NOTE(note, duration)
|
||||
#define W__NOTE(n) WHOLE_NOTE(n)
|
||||
|
@ -41,6 +41,15 @@
|
|||
#define STACCATO 0.01
|
||||
#define LEGATO 0
|
||||
|
||||
// Note Timbre
|
||||
// Changes how the notes sound
|
||||
#define TIMBRE_12 0.125
|
||||
#define TIMBRE_25 0.250
|
||||
#define TIMBRE_50 0.500
|
||||
#define TIMBRE_75 0.750
|
||||
#define TIMBRE_DEFAULT TIMBRE_50
|
||||
|
||||
|
||||
// Notes - # = Octave
|
||||
#define NOTE_REST 0.00
|
||||
#define NOTE_C0 16.35
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue