aboutsummaryrefslogtreecommitdiffstats
path: root/src/mdaVocInput.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-21 22:35:41 +0000
committerDavid Robillard <d@drobilla.net>2012-04-21 22:35:41 +0000
commit337a13119180bf7fa6996d6c23962c31ea53db54 (patch)
tree7427f9be36a29978712c17399f7418e8f9d18425 /src/mdaVocInput.cpp
parent3ff557d9e3ea5b36f0ca6eccfc587dc335ed5e8d (diff)
downloadmda.lv2-337a13119180bf7fa6996d6c23962c31ea53db54.tar.gz
mda.lv2-337a13119180bf7fa6996d6c23962c31ea53db54.tar.bz2
mda.lv2-337a13119180bf7fa6996d6c23962c31ea53db54.zip
MDA-LV2 1.0.0v1.0.0
git-svn-id: http://svn.drobilla.net/lad/tags/mda-lv2-1.0.0@4223 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/mdaVocInput.cpp')
-rw-r--r--src/mdaVocInput.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mdaVocInput.cpp b/src/mdaVocInput.cpp
index e008f80..854a41e 100644
--- a/src/mdaVocInput.cpp
+++ b/src/mdaVocInput.cpp
@@ -30,7 +30,7 @@ AudioEffect *createEffectInstance(audioMasterCallback audioMaster)
mdaVocInputProgram::mdaVocInputProgram() ///default program settings
{
- param[0] = 0.25f; //Tracking Off / On / Quant
+ param[0] = 0.0f; //Tracking Off / On / Quant
param[1] = 0.50f; //Pitch
param[2] = 0.20f; //Breath Noise
param[3] = 0.50f; //Voiced/Unvoiced Thresh
@@ -47,6 +47,11 @@ mdaVocInput::mdaVocInput(audioMasterCallback audioMaster): AudioEffectX(audioMas
DECLARE_LVZ_DEPRECATED(canMono) ();
canProcessReplacing();
+ track = 0;
+ pstep = pmult = sawbuf = noise = lenv = henv = 0.0f;
+ lbuf0 = lbuf1 = lbuf2 = lbuf3 = lfreq = vuv = maxp = minp = 0.0f;
+ root = 0.0;
+
programs = new mdaVocInputProgram[numPrograms];
setProgram(0);