From 499ccec21dd2ac636fb019c98a902c351b4ec165 Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Mon, 25 Apr 2011 20:47:28 +0000 Subject: Overhaul plugin module and add variable run-length ladspa + dssi processing. Please see ChangeLog. --- muse2/synti/deicsonze/deicsonze.cpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'muse2/synti') diff --git a/muse2/synti/deicsonze/deicsonze.cpp b/muse2/synti/deicsonze/deicsonze.cpp index 62abed5d..1da9fbc4 100644 --- a/muse2/synti/deicsonze/deicsonze.cpp +++ b/muse2/synti/deicsonze/deicsonze.cpp @@ -4316,10 +4316,7 @@ void DeicsOnze::process(float** buffer, int offset, int n) { if(_global.filter) _chorusFilter->process(tempOutputChorus[0], tempOutputChorus[1], n); //apply Chorus - ///_pluginIChorus->apply(n, 2, tempInputChorus, tempOutputChorus); - _pluginIChorus->connect(2, tempInputChorus, tempOutputChorus); - _pluginIChorus->apply(n); - + _pluginIChorus->apply(n, 2, tempInputChorus, tempOutputChorus); for(int i = 0; i < n; i++) { leftOutput[i] += tempOutputChorus[0][i] * _global.chorusReturn * _global.masterVolume; @@ -4333,10 +4330,7 @@ void DeicsOnze::process(float** buffer, int offset, int n) { if(_global.filter) _reverbFilter->process(tempOutputReverb[0], tempOutputReverb[1], n); //apply Reverb - ///_pluginIReverb->apply(n, 2, tempInputReverb, tempOutputReverb); - _pluginIReverb->connect(2, tempInputReverb, tempOutputReverb); - _pluginIReverb->apply(n); - + _pluginIReverb->apply(n, 2, tempInputReverb, tempOutputReverb); for(int i = 0; i < n; i++) { leftOutput[i] += tempOutputReverb[0][i] * _global.reverbReturn * _global.masterVolume; @@ -4350,10 +4344,7 @@ void DeicsOnze::process(float** buffer, int offset, int n) { if(_global.filter) _delayFilter->process(tempOutputDelay[0], tempOutputDelay[1], n); //apply Delay - ///_pluginIDelay->apply(n, 2, tempInputDelay, tempOutputDelay); - _pluginIDelay->connect(2, tempInputDelay, tempOutputDelay); - _pluginIDelay->apply(n); - + _pluginIDelay->apply(n, 2, tempInputDelay, tempOutputDelay); for(int i = 0; i < n; i++) { leftOutput[i] += tempOutputDelay[0][i] * _global.delayReturn * _global.masterVolume; -- cgit v1.2.3