old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Revision:
- 46:de390e45c2af
- Parent:
- 45:0e8e1f2ec5d2
- Child:
- 47:9334a8f54997
--- a/NotchingDemo.cpp Sun Sep 08 20:02:46 2019 +0000
+++ b/NotchingDemo.cpp Sun Sep 08 20:13:09 2019 +0000
@@ -435,10 +435,10 @@
Sound3 = ReadFileInfo(Sound3,wavfile3);
-
-
-
-
+ NotchFadeIn.LengthSecs = 4;
+ NotchFadeOut.LengthSecs = 2;
+ NotchFadeIn = FadeDataInitialise(NotchFadeIn);
+ NotchFadeOut = FadeDataInitialise(NotchFadeOut);
@@ -539,6 +539,7 @@
}
//Playing Files Code
+/*
float FadeIn(void)
{
powervalFadeIn = FadeIterationIn/denom;
@@ -554,7 +555,7 @@
return FadeCoeff;
}
-
+*/
void Play_WaveFile(FILE * my_wav, WAV_FILE_STRUCT FileInfo)
{