]> git.donarmstrong.com Git - qmk_firmware.git/blob - quantum/audio/song_list.h
Clarify the quantum license (#1042)
[qmk_firmware.git] / quantum / audio / song_list.h
1 /* Copyright 2016 Jack Humbert
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation, either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
15  */
16 #include "musical_notes.h"
17
18 #ifndef SONG_LIST_H
19 #define SONG_LIST_H
20
21 #define ODE_TO_JOY                                          \
22     Q__NOTE(_E4), Q__NOTE(_E4), Q__NOTE(_F4), Q__NOTE(_G4), \
23     Q__NOTE(_G4), Q__NOTE(_F4), Q__NOTE(_E4), Q__NOTE(_D4), \
24     Q__NOTE(_C4), Q__NOTE(_C4), Q__NOTE(_D4), Q__NOTE(_E4), \
25     QD_NOTE(_E4), E__NOTE(_D4), H__NOTE(_D4),
26
27 #define ROCK_A_BYE_BABY                            \
28     QD_NOTE(_B4), E__NOTE(_D4), Q__NOTE(_B5),      \
29     H__NOTE(_A5), Q__NOTE(_G5),                    \
30     QD_NOTE(_B4), E__NOTE(_D5), Q__NOTE(_G5),      \
31     H__NOTE(_FS5),
32
33 #define CLOSE_ENCOUNTERS_5_NOTE  \
34         Q__NOTE(_D5),                \
35         Q__NOTE(_E5),                \
36         Q__NOTE(_C5),                \
37         Q__NOTE(_C4),                \
38         Q__NOTE(_G4),
39
40 #define DOE_A_DEER              \
41         QD_NOTE(_C4), E__NOTE(_D4), \
42         QD_NOTE(_E4), E__NOTE(_C4), \
43         Q__NOTE(_E4), Q__NOTE(_C4), \
44         Q__NOTE(_E4),
45
46 /* Requires: PLAY_NOTE_ARRAY(..., ..., STACCATO); */
47 #define IN_LIKE_FLINT \
48     E__NOTE(_AS4), E__NOTE(_AS4), QD_NOTE(_B4),  \
49     E__NOTE(_AS4), E__NOTE(_B4),  QD_NOTE(_CS4), \
50     E__NOTE(_B4),  E__NOTE(_CS4), QD_NOTE(_DS4), \
51     E__NOTE(_CS4), E__NOTE(_B4),  QD_NOTE(_AS4), \
52     E__NOTE(_AS4), E__NOTE(_AS4), QD_NOTE(_B4),
53
54 #define GOODBYE_SOUND \
55     E__NOTE(_E7),     \
56     E__NOTE(_A6),     \
57     ED_NOTE(_E6),
58
59 #define STARTUP_SOUND  \
60     ED_NOTE(_E7 ),     \
61     E__NOTE(_CS7),     \
62     E__NOTE(_E6 ),     \
63     E__NOTE(_A6 ),     \
64     M__NOTE(_CS7, 20),
65
66 #define QWERTY_SOUND \
67     E__NOTE(_GS6 ),  \
68     E__NOTE(_A6  ),  \
69     S__NOTE(_REST),  \
70     Q__NOTE(_E7  ),
71
72 #define COLEMAK_SOUND \
73     E__NOTE(_GS6 ),   \
74     E__NOTE(_A6  ),   \
75     S__NOTE(_REST),   \
76     ED_NOTE(_E7  ),   \
77     S__NOTE(_REST),   \
78     ED_NOTE(_GS7 ),
79
80 #define DVORAK_SOUND \
81     E__NOTE(_GS6 ),  \
82     E__NOTE(_A6  ),  \
83     S__NOTE(_REST),  \
84     E__NOTE(_E7  ),  \
85     S__NOTE(_REST),  \
86     E__NOTE(_FS7 ),  \
87     S__NOTE(_REST),  \
88     E__NOTE(_E7  ),
89
90 #define PLOVER_SOUND \
91     E__NOTE(_GS6 ),  \
92     E__NOTE(_A6  ),  \
93     S__NOTE(_REST),  \
94     ED_NOTE(_E7  ),  \
95     S__NOTE(_REST),  \
96     ED_NOTE(_A7  ),
97
98 #define PLOVER_GOODBYE_SOUND \
99     E__NOTE(_GS6 ),  \
100     E__NOTE(_A6  ),  \
101     S__NOTE(_REST),  \
102     ED_NOTE(_A7  ),  \
103     S__NOTE(_REST),  \
104     ED_NOTE(_E7  ),
105
106 #define MUSIC_SCALE_SOUND \
107     E__NOTE(_A5 ),        \
108     E__NOTE(_B5 ),        \
109     E__NOTE(_CS6),        \
110     E__NOTE(_D6 ),        \
111     E__NOTE(_E6 ),        \
112     E__NOTE(_FS6),        \
113     E__NOTE(_GS6),        \
114     E__NOTE(_A6 ),
115
116 #define CAPS_LOCK_ON_SOUND \
117     E__NOTE(_A3),          \
118     E__NOTE(_B3),
119
120 #define CAPS_LOCK_OFF_SOUND \
121     E__NOTE(_B3),           \
122     E__NOTE(_A3),
123
124 #define SCROLL_LOCK_ON_SOUND \
125     E__NOTE(_D4),            \
126     E__NOTE(_E4),
127
128 #define SCROLL_LOCK_OFF_SOUND \
129     E__NOTE(_E4),             \
130     E__NOTE(_D4),
131
132 #define NUM_LOCK_ON_SOUND \
133     E__NOTE(_D5),         \
134     E__NOTE(_E5),
135
136 #define NUM_LOCK_OFF_SOUND \
137     E__NOTE(_E5),          \
138     E__NOTE(_D5),
139
140 #define COIN_SOUND \
141     E__NOTE(_A5  ),      \
142     HD_NOTE(_E6  ),
143
144 #define ONE_UP_SOUND \
145     Q__NOTE(_E6  ),  \
146     Q__NOTE(_G6  ),  \
147     Q__NOTE(_E7  ),  \
148     Q__NOTE(_C7  ),  \
149     Q__NOTE(_D7  ),  \
150     Q__NOTE(_G7  ),
151
152 #define SONIC_RING \
153     E__NOTE(_E6),  \
154     E__NOTE(_G6),  \
155     HD_NOTE(_C7),
156
157 #define ZELDA_PUZZLE \
158     Q__NOTE(_G5),     \
159     Q__NOTE(_FS5),    \
160     Q__NOTE(_DS5),     \
161     Q__NOTE(_A4),    \
162     Q__NOTE(_GS4),     \
163     Q__NOTE(_E5),     \
164     Q__NOTE(_GS5),     \
165     HD_NOTE(_C6),
166
167 #endif