aboutsummaryrefslogtreecommitdiff
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 @@
2#define MUSICAL_NOTES_H 2#define MUSICAL_NOTES_H
3 3
4// Tempo Placeholder 4// Tempo Placeholder
5#define TEMPO 120 5#define TEMPO_DEFAULT 100
6
6 7
7#define SONG(notes...) { notes } 8#define SONG(notes...) { notes }
8 9
@@ -21,7 +22,6 @@
21#define EIGHTH_DOT_NOTE(note) MUSICAL_NOTE(note, 8+4) 22#define EIGHTH_DOT_NOTE(note) MUSICAL_NOTE(note, 8+4)
22#define SIXTEENTH_DOT_NOTE(note) MUSICAL_NOTE(note, 4+2) 23#define SIXTEENTH_DOT_NOTE(note) MUSICAL_NOTE(note, 4+2)
23 24
24
25// Note Type Shortcuts 25// Note Type Shortcuts
26#define M__NOTE(note, duration) MUSICAL_NOTE(note, duration) 26#define M__NOTE(note, duration) MUSICAL_NOTE(note, duration)
27#define W__NOTE(n) WHOLE_NOTE(n) 27#define W__NOTE(n) WHOLE_NOTE(n)
@@ -41,6 +41,15 @@
41#define STACCATO 0.01 41#define STACCATO 0.01
42#define LEGATO 0 42#define LEGATO 0
43 43
44// Note Timbre
45// Changes how the notes sound
46#define TIMBRE_12 0.125
47#define TIMBRE_25 0.250
48#define TIMBRE_50 0.500
49#define TIMBRE_75 0.750
50#define TIMBRE_DEFAULT TIMBRE_50
51
52
44// Notes - # = Octave 53// Notes - # = Octave
45#define NOTE_REST 0.00 54#define NOTE_REST 0.00
46#define NOTE_C0 16.35 55#define NOTE_C0 16.35