Synthesizer / Mbed 2 deprecated DBSMUSICPROJ4

Dependencies:   mbed

Revision:
7:8b1c2d0bee9b
Parent:
4:e56a755aeaf1
Child:
8:4719a23dad97
--- a/trigger.hpp	Wed Jul 24 15:34:58 2019 +0000
+++ b/trigger.hpp	Wed Jul 24 15:52:07 2019 +0000
@@ -57,6 +57,7 @@
         note = loopBuffer[ToPlay].note();
         octive = loopBuffer[ToPlay].octave();
         duration = loopBuffer[ToPlay].duration();
+        pc.printf("Loop");
         if (PlayPos >= MAX_SAMPLES){
             PlayPos = 0;
             }
@@ -64,7 +65,7 @@
             PlayPos++;
             }
         }
-        else{
+//        else{
   allledoff();
   getfaderdata(); 
   gettempodata();
@@ -116,7 +117,7 @@
   wait(0.0001);
   clockcount = 0;
     }
-    }
+    
   if(clockcount == 1 && storedduration == 1){
       updateled();
       }