shithub: leaf

Download patch

ref: e4e7610e5af4de4fe392fe5353f61bdafb33d7c1
parent: 7ea48646e9c3b03b99da97ed99f6080b993b9d36
author: Matthew Wang <mjw7@princeton.edu>
date: Fri Jan 22 05:02:14 EST 2021

set loaded wavetable freq; did audio + visual testing with akwf

--- a/TestPlugin/Source/MyTest.cpp
+++ b/TestPlugin/Source/MyTest.cpp
@@ -138,6 +138,7 @@
         
         lastLoadedAudioSize = loadedAudio.size();
     }
+    if (loadedAudio.size() > 0) tWavetable_setFreq(&wavetables[0], 220);//val * 10000.f);
 }
 
 void    LEAFTest_controllerInput (int cnum, float cval)