old demo that i want to try in mbed studio

Dependencies:   mbed SDFileSystem_Copy_of_mbed_version I2S

Files at this revision

API Documentation at this revision

Comitter:
roryhand
Date:
Wed Oct 02 19:22:05 2019 +0000
Branch:
LargeFile_Tests
Parent:
84:0a259e261532
Child:
86:404ce47e1e6e
Commit message:
WIP - as soon as i add in one more very small classSound object, the whole thing falls over. absolutely no point doing this project, mbed's resources on this chip are CRAP

Changed in this revision

NotchingDemo.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/NotchingDemo.cpp	Wed Oct 02 19:16:26 2019 +0000
+++ b/NotchingDemo.cpp	Wed Oct 02 19:22:05 2019 +0000
@@ -486,10 +486,13 @@
     
     FILE* wavfile1 = fopen("/sd/mydir/SoundDecoder_second/All_eight_notches.wav","rb");
     FILE* wavfile2 = fopen("/sd/mydir/SoundDecoder_second/All_14_Notch_Transitions.wav","rb");
+    FILE* wavfile3 = fopen("/sd/mydir/SoundDecoder_second/All_eight_notches.wav","rb");
     
     //FILE* wavfile1 = fopen("/sd/mydir/SoundDecoder_second/01.wav","rb");
     classSoundFile Sound1;
     classSoundFile Sound2;
+    classSoundFile Sound3;
+    Sound3 = ReadFileInfo(Sound3, wavfile2);
     Sound2 = ReadFileInfo(Sound2, wavfile2);
     Sound1 = ReadFileInfo(Sound1, wavfile1);
     NotchingSet.Notch = 1;