aboutsummaryrefslogtreecommitdiffstats
path: root/src/jingle_bells/jingle_bells.pde
diff options
context:
space:
mode:
Diffstat (limited to 'src/jingle_bells/jingle_bells.pde')
-rw-r--r--src/jingle_bells/jingle_bells.pde5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jingle_bells/jingle_bells.pde b/src/jingle_bells/jingle_bells.pde
index b48613d..d4d49bf 100644
--- a/src/jingle_bells/jingle_bells.pde
+++ b/src/jingle_bells/jingle_bells.pde
@@ -17,13 +17,13 @@
#define FREQ_DS4 311.13
#define FREQ_E4 329.63
#define FREQ_F4 349.23
-#define FREQ_G4 349.23
+#define FREQ_G4 392.00
#define FREQ_A4 440.00
#define FREQ_B4 493.88
#define FREQ_C5 523.25
#define FREQ_D5 587.33
-#define WHOLE_NOTE_TIME 700
+#define WHOLE_NOTE_TIME 2000
void Sound(float freq, int durationMS, int outputPin) {
int halfPeriod;
@@ -117,6 +117,7 @@ void setup() {
void loop() {
//Jingle Bells translated from sheet music at
char music[] = {
+ "D1e1f1g1a1b1c1d1"
"D4" "D4b4a4g4" "D2 4D4" "D4b4a4g4"
"e2 4e4" "e4c4b4a4" "f2 4d4" "d4d4c4a4"
"b2g4D4" "D4b4a4g4" "D2 4D4" "D4b4a4g4"