![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Revision:
- 14:cc555d14e3f8
- Parent:
- 13:8e93396a27c5
- Child:
- 15:74ddace1b118
--- a/NotchingDemo.cpp Sun Mar 17 22:18:17 2019 +0000 +++ b/NotchingDemo.cpp Sun Mar 17 22:23:09 2019 +0000 @@ -704,30 +704,8 @@ */ printf("About to Start ReadFileInfo Operations\n\r"); - aaa = 4; - /* - printf("About to perform ReadFileInfo operations\n\r"); - WavStruct0 = ReadFileInfo(WavStruct0, mywav0); - printf("ReadFileInfo Operation %d\n\r",aaa); - aaa = aaa + 1; - WavStruct1 = ReadFileInfo(WavStruct1,mywav1); - printf("ReadFileInfo Operation %d\n\r",aaa); - aaa = aaa + 1; - WavStruct2 = ReadFileInfo(WavStruct2,mywav2); - printf("ReadFileInfo Operation %d\n\r",aaa); - aaa = aaa + 1; - WavStruct3 = ReadFileInfo(WavStruct3,mywav3); - printf("ReadFileInfo Operation %d\n\r",aaa); - aaa = aaa + 1; - WavStruct4 = ReadFileInfo(WavStruct4,mywav4); - printf("ReadFileInfo Operation %d\n\r",aaa); - aaa = aaa + 1; - */ - - //WAV_FILE_STRUCT WavInfoIdle5; - //WavInfoIdle5 = ReadFileInfo(WavInfoIdle5,StartupWav ); - + StartupWav = fopen("/sd/mydir/645Engine/Startup.wav","rb"); IdleWav = fopen("/sd/mydir/645Engine/N2_11k_minus10dB.wav","rb"); IdleN2Wav = fopen("/sd/mydir/645Engine/N2N3_11k_minus10dB.wav","rb"); @@ -748,6 +726,8 @@ WavInfo_Bell = ReadFileInfo(WavInfo_Bell, BellWav); WavInfo_Flange = ReadFileInfo(WavInfo_Flange, FlangeWav); + + /* printf("Just read our test set"); for(int h = 0; h<30; h++) { @@ -798,7 +778,7 @@ - +printf("Do we even get to this stupid bloody point\n\r"); //Populate our class instances with some data (is there an implicit way to do this?) N2FadeIn.LengthSecs = 4; IdleFadeOut.LengthSecs = 2;