Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Revision:
- 46:de390e45c2af
- Parent:
- 45:0e8e1f2ec5d2
- Child:
- 47:9334a8f54997
diff -r 0e8e1f2ec5d2 -r de390e45c2af NotchingDemo.cpp
--- 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)
{