diff options
author | bnewbold <bnewbold@ziggy.(none)> | 2009-09-09 19:49:13 -0400 |
---|---|---|
committer | bnewbold <bnewbold@ziggy.(none)> | 2009-09-09 19:49:13 -0400 |
commit | 21e5ff36c9ec5ab49c5445313566f22d36956d50 (patch) | |
tree | 5c94516d1b09254f72d7edf124e601e2d0faa176 /src/jingle_bells | |
parent | f0bd457ec090359e581db9120b66ddfede0dcad6 (diff) | |
download | pysqrls-21e5ff36c9ec5ab49c5445313566f22d36956d50.tar.gz pysqrls-21e5ff36c9ec5ab49c5445313566f22d36956d50.zip |
fixed?
Diffstat (limited to 'src/jingle_bells')
-rw-r--r-- | src/jingle_bells/jingle_bells.pde | 5 |
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" |