Big Mouth Billy Bass player that takes raw wavefiles and decision list text files from an SD card
Dependencies: SDFileSystem mbed BillyBass
Diff: main.cpp
- Revision:
- 12:1206e56712d8
- Parent:
- 11:bc25840eca44
- Child:
- 13:c13b3db9649b
--- 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();
}
}
Ned Konz