old demo that i want to try in mbed studio

Dependencies:   mbed SDFileSystem_Copy_of_mbed_version I2S

Files at this revision

API Documentation at this revision

Comitter:
roryhand
Date:
Mon Sep 30 19:55:23 2019 +0000
Branch:
LargeFile_Tests
Parent:
69:df10ee3ad523
Child:
71:1364f7d7bff3
Commit message:
WIP - still adding logic to the FadeIn stuff in Play_WaveFileLoop

Changed in this revision

NotchingDemo.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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 {