old demo that i want to try in mbed studio
Dependencies: mbed SDFileSystem_Copy_of_mbed_version I2S
Diff: NotchingDemo.cpp
- Branch:
- LargeFile_Tests
- Revision:
- 64:6061ffe25985
- Parent:
- 63:a8c1971d3d42
- Child:
- 65:8b6a4e307941
--- a/NotchingDemo.cpp Sun Sep 29 19:51:14 2019 +0000
+++ b/NotchingDemo.cpp Sun Sep 29 19:57:01 2019 +0000
@@ -394,6 +394,18 @@
}
+//Function to initialise Data for classFade objects. Perhaps move this into a constructor for the class? (class still to be added)
+classFade FadeDataInitialise(classFade FadeData)
+{
+ FadeData.DecayFactor = 1.3;
+ FadeData.FadeIteration = 1;
+ //FadeData.Denom = 11025*FadeData.DecayFactor;
+ FadeData.Denom = 11025*FadeData.DecayFactor;
+ FadeData.Natural_Exp = 2.7183;
+ FadeData.Length = 11025*FadeData.LengthSecs;
+ //FadeData.Natural_Exp = 2.7;
+ return FadeData;
+}