-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmelody.h
52 lines (41 loc) · 1.66 KB
/
melody.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "notes_frequencies.h"
// Uncomment only one notes[] constant
// BASIC SCALE
//
// const float notes[] = { C4_N, D4_N, E4_N, F4_N, G4_N, A4_N, B4_N, C5_N };
// MELODIES
//
// Imperial March
// thanks to https://www.musicnotes.com/sheetmusic/mtd.asp?ppn=MN0133739
const float notes[] = {
A3_N, A3_N, A3_N, F3_N, C4_N, A3_N, F3_N, C4_N, A3_N,
E4_N, E4_N, E4_N, F4_N, C4_N, GS3_N, F3_N, C4_N, A3_N//, A4_N, A3_N, A3_N, A4_N, GS4_N, G4_N
};
// Yesterday
// thanks to https://easy-letter-notes.com/yesterday-piano-tabs/
//const float notes[] = {
// D4_N, C4_N, C4_N, E4_N, F4_N, G4_N, A4_N, B4_N, C5_N, B4_N, A4_N, A4_N
//};
// Jingle Bells
// thanks to https://www.music-scores.com/midi.php?sheetmusic=Xmas_Jingle_Bells_very_easy_piano
//const float notes[] = {
// E4_N, E4_N, E4_N, E4_N, E4_N, E4_N, E4_N, G4_N, C4_N, D4_N, E4_N,
//// F4_N, F4_N, F4_N, F4_N, F4_N, E4_N, E4_N, E4_N, E4_N, E4_N, D4_N, D4_N, E4_N, D4_N, G4_N,
//};
// Happy Birthday
// thanks to https://www.letsplaykidsmusic.com/happy-birthday-easy-piano-music/
// const float notes[] = {
// G4_N, G4_N, A4_N, G4_N, C5_N, B4_N, G4_N, G4_N, A4_N, G4_N, D5_N, C5_N,
// G4_N, G4_N, G5_N, E5_N, C5_N, B4_N, A4_N, F4_N, F4_N, E4_N, C4_N, D4_N, C4_N
// };
// Smoke On The Water
// thanks to https://pianoletternotes.blogspot.com/2019/02/smoke-on-water-by-deep-purple.html
//const float notes[] = {
// G4_N, AS4_N, C5_N, G4_N, AS4_N, CS5_N, C5_N, G4_N, AS4_N, C5_N, AS4_N, G4_N
//};
// Super Mario Bros. Theme
// thanks to https://noobnotes.net/super-mario-bros-theme-nintendo/
//const float notes[] = {
// C5_N, G4_N, E4_N, A4_N, B4_N, AS4_N, A4_N, G4_N, E5_N, G5_N, A5_N,
// F5_N, G5_N, E5_N, C5_N, D5_N, B4_N
//};