Tim Ambrose
/
MusicTest
4 songs: rain, william, sun, and circus
Revision 1:3595fce69880, committed 2015-05-09
- Comitter:
- Luminoscity
- Date:
- Sat May 09 21:32:39 2015 +0000
- Parent:
- 0:c02f01feda7b
- Commit message:
- Sped up circus
Changed in this revision
Songs.cpp | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c02f01feda7b -r 3595fce69880 Songs.cpp --- a/Songs.cpp Sat May 09 21:29:00 2015 +0000 +++ b/Songs.cpp Sat May 09 21:32:39 2015 +0000 @@ -53,7 +53,7 @@ int beatsRef[] = {2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,4}; notes = "cCdDefFgGaAbcCdDefFgGaAbcCdDefFgGaAbc "; int rangeRef[] = {4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,7,0}; - tempo = 100; + tempo = 50; betweenWait = 1; length = sizeof(beatsRef) / sizeof(beatsRef[0]); for (int i = 0; i < length; ++i) {
diff -r c02f01feda7b -r 3595fce69880 main.cpp --- a/main.cpp Sat May 09 21:29:00 2015 +0000 +++ b/main.cpp Sat May 09 21:32:39 2015 +0000 @@ -6,7 +6,7 @@ Serial mainTerm(USBTX, USBRX); int main() { - Song song("william"); + Song song("circus"); while (true) { song.play(); }