shithub: leaf

Download patch

ref: 3473477eed2e947fe4b72dc92f3e5400f18cc4a8
parent: b26f9cbfe834826e5947e63687570a5f90054612
author: spiricom <jeff@snyderphonics.com>
date: Fri May 29 16:11:18 EDT 2020

more glottal pulse edits

--- a/leaf/Src/leaf-effects.c
+++ b/leaf/Src/leaf-effects.c
@@ -622,6 +622,14 @@
     g->invPulseLengthMinusOpenLength = 1.0f / (g->pulseLength - g->openLength);
 }
 
+void   tRosenbergGlottalPulse_setOpenLengthAndPulseLength           (tRosenbergGlottalPulse* const gp, float openLength, float pulseLength)
+{
+    _tRosenbergGlottalPulse* g = *gp;
+    g->openLength = openLength;
+    g->pulseLength = pulseLength;
+    g->invPulseLengthMinusOpenLength = 1.0f / (g->pulseLength - g->openLength);
+}
+
 
 
 //============================================================================================================