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:
- 70:2b144da2c3b8
- Parent:
- 69:df10ee3ad523
- Child:
- 71:1364f7d7bff3
--- a/NotchingDemo.cpp Sun Sep 29 21:07:27 2019 +0000
+++ b/NotchingDemo.cpp Mon Sep 30 19:55:23 2019 +0000
@@ -621,6 +621,23 @@
fseek(wavfile1,Positions.notch_position_indicators[NotchingSet.NotchTransDown],SEEK_SET);
fread(slice_buf3, Sound1.FileInfo.FileFormat.block_align,1,wavfile1);
}
+
+
+ NotchFadeOut.FadeOut;
+
+ if(Positions.notch_transitions_position_indicators[NotchingSet.NotchTransUp] >= (Positions.notch_transitions_start_pts[NotchingSet.NotchTransUp+1] - NotchFadeIn.Length))
+ {
+ NotchFadeIn.FadeIn();
+ if(Positions.notch_transitions_position_indicators[NotchingSet.NotchTransUp] >= Positions.notch_transitions_start_pts[NotchingSet.NotchTransUp+1])
+ {
+
+
+ }
+
+
+ }
+
+
} else {