Big Mouth Billy Bass player that takes raw wavefiles and decision list text files from an SD card
Dependencies: SDFileSystem mbed BillyBass
Revision 12:1206e56712d8, committed 2013-06-18
- Comitter:
- bikeNomad
- Date:
- Tue Jun 18 14:10:40 2013 +0000
- Parent:
- 11:bc25840eca44
- Child:
- 13:c13b3db9649b
- Commit message:
- working. re-used one Song for memory reduction.
Changed in this revision
BillyBass.lib | 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 |
--- a/BillyBass.lib Tue Jun 18 13:11:31 2013 +0000 +++ b/BillyBass.lib Tue Jun 18 14:10:40 2013 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/bikeNomad/code/BillyBass/#6c91a6232c4a +http://mbed.org/users/bikeNomad/code/BillyBass/#f009306756b3
--- a/main.cpp Tue Jun 18 13:11:31 2013 +0000 +++ b/main.cpp Tue Jun 18 14:10:40 2013 +0000 @@ -75,15 +75,11 @@ } while (dirent *d = readdir(bassDir)) { - dumpHeap(); Song *song = Song::newSong(d->d_name); if (song) { - dumpHeap(); pc.printf("Playing %s\r\n", song->getSampleFileName()); player.playEntireSong(song); pc.printf("total length: %f done: %u\r\n", player.timeInSong, player.actionsDone); - delete song; - dumpHeap(); } }