shithub: leaf

Download patch

ref: 060cba0ab20f4dbe3009a5dadab17823aed3948e
parent: 187dd1832155f35005a8fd968b1aa99801a3b4d8
author: Jeffrey Snyder <jeffsnyder@Jeffreys-MacBook-Pro.local>
date: Thu Aug 18 12:28:04 EDT 2022

updating

--- a/leaf/Inc/leaf-oscillators.h
+++ b/leaf/Inc/leaf-oscillators.h
@@ -748,6 +748,7 @@
     float tMBPulse_sync(tMBPulse* const osc, float sync);
     void tMBPulse_setPhase(tMBPulse* const osc, float phase);
     void tMBPulse_setSyncMode(tMBPulse* const osc, int hardOrSoft);
+    void tMBPulse_setBufferOffset(tMBPulse* const osc, int offset);
     void tMBPulse_setSampleRate (tMBPulse* const osc, float sr);
     
     /*!
@@ -822,6 +823,7 @@
     float tMBTriangle_sync(tMBTriangle* const osc, float sync);
     void tMBTriangle_setPhase(tMBTriangle* const osc, float phase);
     void tMBTriangle_setSyncMode(tMBTriangle* const osc, int hardOrSoft);
+    void tMBTriangle_setBufferOffset(tMBTriangle* const osc, int offset);
     void tMBTriangle_setSampleRate (tMBTriangle* const osc, float sr);
     
     
@@ -894,6 +896,7 @@
     float tMBSaw_sync(tMBSaw* const osc, float sync);
     void tMBSaw_setPhase(tMBSaw* const osc, float phase);
     void tMBSaw_setSyncMode(tMBSaw* const osc, int hardOrSoft);
+    void tMBSaw_setBufferOffset(tMBSaw* const osc, int offset);
     void tMBSaw_setSampleRate (tMBSaw* const osc, float sr);
     
     //==============================================================================