1
0
Fork 0

Added trimble and tempo adjustments!

This commit is contained in:
IBNobody 2016-04-17 02:52:38 -05:00
parent 943b5b7709
commit 29e495be2a
6 changed files with 189 additions and 110 deletions

View file

@ -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