summaryrefslogtreecommitdiff
path: root/quantum/musical_notes.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/musical_notes.h')
-rw-r--r--quantum/musical_notes.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/quantum/musical_notes.h b/quantum/musical_notes.h
index d2256a773..2170f3f18 100644
--- a/quantum/musical_notes.h
+++ b/quantum/musical_notes.h
@@ -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