3872 Play-live--test code - tempting to make this the main one

Dependencies:   mbed fastlib

Revision:
2:9296823ea33d
Parent:
1:c704bea518d8
--- a/SongPlayer.h	Fri Oct 30 01:43:49 2020 +0000
+++ b/SongPlayer.h	Wed Nov 11 04:50:30 2020 +0000
@@ -18,8 +18,8 @@
         durationptr = duration;
         //returns after first note starts to play
     }
-    void Play_Note(float frequency[]){
-        _pin.period(1.0/frequency[notecount]);
+    void Play_Note(float frequency){
+        _pin.period(1.0/frequency);
         _pin = 1.0/2.0;
     }
     void nextnote();