summaryrefslogtreecommitdiff
path: root/quantum/musical_notes.h
diff options
context:
space:
mode:
authorIBNobody <ibnobody@gmail.com>2016-04-17 02:52:38 -0500
committerIBNobody <ibnobody@gmail.com>2016-04-17 02:52:38 -0500
commit29e495be2a57d1eb41699909b204c12ac6bc4c0e (patch)
tree912f259fd1e7975798031119ef78407631e54f50 /quantum/musical_notes.h
parent943b5b770955be937a89016680052be56d874c4a (diff)
Added trimble and tempo adjustments!
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 d2256a7736..2170f3f18b 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