diff --git a/plugins/MacSignedVST/BassAmp/source/BassAmp.cpp b/plugins/MacSignedVST/BassAmp/source/BassAmp.cpp index 330f7ac10..85eba6d6d 100755 --- a/plugins/MacSignedVST/BassAmp/source/BassAmp.cpp +++ b/plugins/MacSignedVST/BassAmp/source/BassAmp.cpp @@ -135,7 +135,8 @@ BassAmp::BassAmp(audioMasterCallback audioMaster) : ataK3 = 0.114; //add raw to interpolated dry, toughens ataK4 = 0.886; //remainder of interpolated dry, adds up to 1.0 ataK5 = 0.122; //subtract this much prev. diff sample, brightens - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BassDrive/source/BassDrive.cpp b/plugins/MacSignedVST/BassDrive/source/BassDrive.cpp index fd327fac1..b042dd13b 100755 --- a/plugins/MacSignedVST/BassDrive/source/BassDrive.cpp +++ b/plugins/MacSignedVST/BassDrive/source/BassDrive.cpp @@ -56,7 +56,8 @@ BassDrive::BassDrive(audioMasterCallback audioMaster) : flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Baxandall/source/Baxandall.cpp b/plugins/MacSignedVST/Baxandall/source/Baxandall.cpp index 55be20100..a9f32fa6d 100755 --- a/plugins/MacSignedVST/Baxandall/source/Baxandall.cpp +++ b/plugins/MacSignedVST/Baxandall/source/Baxandall.cpp @@ -26,7 +26,8 @@ Baxandall::Baxandall(audioMasterCallback audioMaster) : bassBR[x] = 0.0; } flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Beam/source/Beam.cpp b/plugins/MacSignedVST/Beam/source/Beam.cpp index a1adf4a2f..2f52cf2fd 100755 --- a/plugins/MacSignedVST/Beam/source/Beam.cpp +++ b/plugins/MacSignedVST/Beam/source/Beam.cpp @@ -19,7 +19,8 @@ Beam::Beam(audioMasterCallback audioMaster) : lastSampleL[count] = 0; lastSampleR[count] = 0; } - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Biquad/source/Biquad.cpp b/plugins/MacSignedVST/Biquad/source/Biquad.cpp index fbcf8b446..66882abdd 100755 --- a/plugins/MacSignedVST/Biquad/source/Biquad.cpp +++ b/plugins/MacSignedVST/Biquad/source/Biquad.cpp @@ -17,7 +17,8 @@ Biquad::Biquad(audioMasterCallback audioMaster) : B = 0.5; C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Biquad2/source/Biquad2.cpp b/plugins/MacSignedVST/Biquad2/source/Biquad2.cpp index 7b9d33802..46b86d670 100755 --- a/plugins/MacSignedVST/Biquad2/source/Biquad2.cpp +++ b/plugins/MacSignedVST/Biquad2/source/Biquad2.cpp @@ -30,7 +30,8 @@ Biquad2::Biquad2(audioMasterCallback audioMaster) : C = 0.5; D = 1.0; E = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BiquadDouble/source/BiquadDouble.cpp b/plugins/MacSignedVST/BiquadDouble/source/BiquadDouble.cpp index aaacd15b4..5ceb395ff 100755 --- a/plugins/MacSignedVST/BiquadDouble/source/BiquadDouble.cpp +++ b/plugins/MacSignedVST/BiquadDouble/source/BiquadDouble.cpp @@ -17,7 +17,8 @@ BiquadDouble::BiquadDouble(audioMasterCallback audioMaster) : B = 0.5; C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BiquadOneHalf/source/BiquadOneHalf.cpp b/plugins/MacSignedVST/BiquadOneHalf/source/BiquadOneHalf.cpp index ee0943339..5bbf7ff4a 100755 --- a/plugins/MacSignedVST/BiquadOneHalf/source/BiquadOneHalf.cpp +++ b/plugins/MacSignedVST/BiquadOneHalf/source/BiquadOneHalf.cpp @@ -18,7 +18,8 @@ BiquadOneHalf::BiquadOneHalf(audioMasterCallback audioMaster) : B = 0.0; C = 0.0; D = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BiquadTriple/source/BiquadTriple.cpp b/plugins/MacSignedVST/BiquadTriple/source/BiquadTriple.cpp index a56973eca..f416a95e0 100755 --- a/plugins/MacSignedVST/BiquadTriple/source/BiquadTriple.cpp +++ b/plugins/MacSignedVST/BiquadTriple/source/BiquadTriple.cpp @@ -17,7 +17,8 @@ BiquadTriple::BiquadTriple(audioMasterCallback audioMaster) : B = 0.5; C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BitGlitter/source/BitGlitter.cpp b/plugins/MacSignedVST/BitGlitter/source/BitGlitter.cpp index 88aedaddb..13e689a6a 100755 --- a/plugins/MacSignedVST/BitGlitter/source/BitGlitter.cpp +++ b/plugins/MacSignedVST/BitGlitter/source/BitGlitter.cpp @@ -17,7 +17,8 @@ BitGlitter::BitGlitter(audioMasterCallback audioMaster) : C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; ataLastSampleL = 0.0; ataHalfwaySampleL = 0.0; diff --git a/plugins/MacSignedVST/BlockParty/source/BlockParty.cpp b/plugins/MacSignedVST/BlockParty/source/BlockParty.cpp index fd9e2ff39..ba6d66fc6 100755 --- a/plugins/MacSignedVST/BlockParty/source/BlockParty.cpp +++ b/plugins/MacSignedVST/BlockParty/source/BlockParty.cpp @@ -14,7 +14,8 @@ BlockParty::BlockParty(audioMasterCallback audioMaster) : { A = 0.0; B = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; muSpeedAL = 10000; muSpeedBL = 10000; diff --git a/plugins/MacSignedVST/BrassRider/source/BrassRider.cpp b/plugins/MacSignedVST/BrassRider/source/BrassRider.cpp index ff0fdb80d..46f5e98b9 100755 --- a/plugins/MacSignedVST/BrassRider/source/BrassRider.cpp +++ b/plugins/MacSignedVST/BrassRider/source/BrassRider.cpp @@ -30,7 +30,8 @@ BrassRider::BrassRider(audioMasterCallback audioMaster) : lastSampleR = 0.0; lastSlewR = 0.0; gcount = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BrightAmbience/source/BrightAmbience.cpp b/plugins/MacSignedVST/BrightAmbience/source/BrightAmbience.cpp index afa450178..7f40ecbf3 100755 --- a/plugins/MacSignedVST/BrightAmbience/source/BrightAmbience.cpp +++ b/plugins/MacSignedVST/BrightAmbience/source/BrightAmbience.cpp @@ -17,7 +17,8 @@ BrightAmbience::BrightAmbience(audioMasterCallback audioMaster) : A = 0.0; B = 0.0; C = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/BrightAmbience2/source/BrightAmbience2.cpp b/plugins/MacSignedVST/BrightAmbience2/source/BrightAmbience2.cpp index 65f5728bc..d12ddc5e9 100755 --- a/plugins/MacSignedVST/BrightAmbience2/source/BrightAmbience2.cpp +++ b/plugins/MacSignedVST/BrightAmbience2/source/BrightAmbience2.cpp @@ -19,7 +19,8 @@ BrightAmbience2::BrightAmbience2(audioMasterCallback audioMaster) : B = 0.2; C = 0.0; D = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Calibre/source/Calibre.cpp b/plugins/MacSignedVST/Calibre/source/Calibre.cpp index 5bf269d0b..ee18c9617 100755 --- a/plugins/MacSignedVST/Calibre/source/Calibre.cpp +++ b/plugins/MacSignedVST/Calibre/source/Calibre.cpp @@ -18,7 +18,8 @@ Calibre::Calibre(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Capacitor2/source/Capacitor2.cpp b/plugins/MacSignedVST/Capacitor2/source/Capacitor2.cpp index 9dec180d3..308b53490 100755 --- a/plugins/MacSignedVST/Capacitor2/source/Capacitor2.cpp +++ b/plugins/MacSignedVST/Capacitor2/source/Capacitor2.cpp @@ -52,7 +52,8 @@ Capacitor2::Capacitor2(audioMasterCallback audioMaster) : lastHighpass = 1000.0; lastWet = 1000.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Channel6/source/Channel6.cpp b/plugins/MacSignedVST/Channel6/source/Channel6.cpp index 80e17af19..a47a1c872 100755 --- a/plugins/MacSignedVST/Channel6/source/Channel6.cpp +++ b/plugins/MacSignedVST/Channel6/source/Channel6.cpp @@ -15,7 +15,8 @@ Channel6::Channel6(audioMasterCallback audioMaster) : consoletype = 0.0; drive = 0.0; output = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleLA = 0.0; iirSampleRA = 0.0; iirSampleLB = 0.0; diff --git a/plugins/MacSignedVST/Channel7/source/Channel7.cpp b/plugins/MacSignedVST/Channel7/source/Channel7.cpp index 1b753f1cd..d9d6fbfd0 100755 --- a/plugins/MacSignedVST/Channel7/source/Channel7.cpp +++ b/plugins/MacSignedVST/Channel7/source/Channel7.cpp @@ -15,7 +15,8 @@ Channel7::Channel7(audioMasterCallback audioMaster) : consoletype = 0.0; drive = 0.0; output = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleLA = 0.0; iirSampleRA = 0.0; iirSampleLB = 0.0; diff --git a/plugins/MacSignedVST/Channel8/source/Channel8.cpp b/plugins/MacSignedVST/Channel8/source/Channel8.cpp index 3678965d6..2e9827760 100755 --- a/plugins/MacSignedVST/Channel8/source/Channel8.cpp +++ b/plugins/MacSignedVST/Channel8/source/Channel8.cpp @@ -15,7 +15,8 @@ Channel8::Channel8(audioMasterCallback audioMaster) : consoletype = 0.0; drive = 0.0; output = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleLA = 0.0; iirSampleRA = 0.0; iirSampleLB = 0.0; diff --git a/plugins/MacSignedVST/ChromeOxide/source/ChromeOxide.cpp b/plugins/MacSignedVST/ChromeOxide/source/ChromeOxide.cpp index 183fa9079..f3d7f337a 100755 --- a/plugins/MacSignedVST/ChromeOxide/source/ChromeOxide.cpp +++ b/plugins/MacSignedVST/ChromeOxide/source/ChromeOxide.cpp @@ -31,7 +31,8 @@ ChromeOxide::ChromeOxide(audioMasterCallback audioMaster) : flip = false; A = 0.5; B = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Cider/source/Cider.cpp b/plugins/MacSignedVST/Cider/source/Cider.cpp index ebdd1a4f4..e32cf78e0 100755 --- a/plugins/MacSignedVST/Cider/source/Cider.cpp +++ b/plugins/MacSignedVST/Cider/source/Cider.cpp @@ -18,7 +18,8 @@ Cider::Cider(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Coils/source/Coils.cpp b/plugins/MacSignedVST/Coils/source/Coils.cpp index e40878412..0a2d4437b 100755 --- a/plugins/MacSignedVST/Coils/source/Coils.cpp +++ b/plugins/MacSignedVST/Coils/source/Coils.cpp @@ -16,7 +16,8 @@ Coils::Coils(audioMasterCallback audioMaster) : B = 0.5; C = 1.0; for (int x = 0; x < 9; x++) {figureL[x] = 0.0;figureR[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Compresaturator/source/Compresaturator.cpp b/plugins/MacSignedVST/Compresaturator/source/Compresaturator.cpp index 1bb483138..5409416d5 100755 --- a/plugins/MacSignedVST/Compresaturator/source/Compresaturator.cpp +++ b/plugins/MacSignedVST/Compresaturator/source/Compresaturator.cpp @@ -25,7 +25,8 @@ Compresaturator::Compresaturator(audioMasterCallback audioMaster) : lastWidthR = 500; padFactorR = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Console6Buss/source/Console6Buss.cpp b/plugins/MacSignedVST/Console6Buss/source/Console6Buss.cpp index c6658226e..21fb9728b 100755 --- a/plugins/MacSignedVST/Console6Buss/source/Console6Buss.cpp +++ b/plugins/MacSignedVST/Console6Buss/source/Console6Buss.cpp @@ -13,7 +13,8 @@ Console6Buss::Console6Buss(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Console6Channel/source/Console6Channel.cpp b/plugins/MacSignedVST/Console6Channel/source/Console6Channel.cpp index d8634744e..fee5a551c 100755 --- a/plugins/MacSignedVST/Console6Channel/source/Console6Channel.cpp +++ b/plugins/MacSignedVST/Console6Channel/source/Console6Channel.cpp @@ -13,7 +13,8 @@ Console6Channel::Console6Channel(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Dark/source/Dark.cpp b/plugins/MacSignedVST/Dark/source/Dark.cpp index 8c038752e..a1bb3148a 100755 --- a/plugins/MacSignedVST/Dark/source/Dark.cpp +++ b/plugins/MacSignedVST/Dark/source/Dark.cpp @@ -14,7 +14,8 @@ Dark::Dark(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; for(int count = 0; count < 99; count++) { lastSampleL[count] = 0; lastSampleR[count] = 0; diff --git a/plugins/MacSignedVST/DeBess/source/DeBess.cpp b/plugins/MacSignedVST/DeBess/source/DeBess.cpp index 87d7316b8..43ead3df6 100755 --- a/plugins/MacSignedVST/DeBess/source/DeBess.cpp +++ b/plugins/MacSignedVST/DeBess/source/DeBess.cpp @@ -29,7 +29,8 @@ DeBess::DeBess(audioMasterCallback audioMaster) : iirSampleBR = 0.0; flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/DeHiss/source/DeHiss.cpp b/plugins/MacSignedVST/DeHiss/source/DeHiss.cpp index 17f386f5d..4473972cb 100755 --- a/plugins/MacSignedVST/DeHiss/source/DeHiss.cpp +++ b/plugins/MacSignedVST/DeHiss/source/DeHiss.cpp @@ -25,7 +25,8 @@ DeHiss::DeHiss(audioMasterCallback audioMaster) : gateR = 1.0; rawR = 2.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/DeRez2/source/DeRez2.cpp b/plugins/MacSignedVST/DeRez2/source/DeRez2.cpp index acc092ee5..9f706d2bb 100755 --- a/plugins/MacSignedVST/DeRez2/source/DeRez2.cpp +++ b/plugins/MacSignedVST/DeRez2/source/DeRez2.cpp @@ -29,7 +29,8 @@ DeRez2::DeRez2(audioMasterCallback audioMaster) : position = 0.0; incrementA = 0.0; incrementB = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Deckwrecka/source/Deckwrecka.cpp b/plugins/MacSignedVST/Deckwrecka/source/Deckwrecka.cpp index 8e4fc6d08..7e0a202c2 100755 --- a/plugins/MacSignedVST/Deckwrecka/source/Deckwrecka.cpp +++ b/plugins/MacSignedVST/Deckwrecka/source/Deckwrecka.cpp @@ -13,7 +13,8 @@ Deckwrecka::Deckwrecka(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; bflip = 1; iirHeadBumpAL = 0.0; diff --git a/plugins/MacSignedVST/DigitalBlack/source/DigitalBlack.cpp b/plugins/MacSignedVST/DigitalBlack/source/DigitalBlack.cpp index 89a10236a..840435762 100755 --- a/plugins/MacSignedVST/DigitalBlack/source/DigitalBlack.cpp +++ b/plugins/MacSignedVST/DigitalBlack/source/DigitalBlack.cpp @@ -20,7 +20,8 @@ DigitalBlack::DigitalBlack(audioMasterCallback audioMaster) : WasNegativeR = false; ZeroCrossR = 0; gaterollerR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Distortion/source/Distortion.cpp b/plugins/MacSignedVST/Distortion/source/Distortion.cpp index 373ec3574..413805a65 100755 --- a/plugins/MacSignedVST/Distortion/source/Distortion.cpp +++ b/plugins/MacSignedVST/Distortion/source/Distortion.cpp @@ -20,7 +20,8 @@ Distortion::Distortion(audioMasterCallback audioMaster) : previousInL[x] = 0.0; previousOutL[x] = 0.0; previousInR[x] = 0.0; previousOutR[x] = 0.0; } - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/DitherFloat/source/DitherFloat.cpp b/plugins/MacSignedVST/DitherFloat/source/DitherFloat.cpp index 9443a2daa..509db420c 100755 --- a/plugins/MacSignedVST/DitherFloat/source/DitherFloat.cpp +++ b/plugins/MacSignedVST/DitherFloat/source/DitherFloat.cpp @@ -14,7 +14,8 @@ DitherFloat::DitherFloat(audioMasterCallback audioMaster) : { A = 0.0; B = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Dyno/source/Dyno.cpp b/plugins/MacSignedVST/Dyno/source/Dyno.cpp index 0239412a3..203403b0d 100755 --- a/plugins/MacSignedVST/Dyno/source/Dyno.cpp +++ b/plugins/MacSignedVST/Dyno/source/Dyno.cpp @@ -13,7 +13,8 @@ Dyno::Dyno(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Elation/source/Elation.cpp b/plugins/MacSignedVST/Elation/source/Elation.cpp index d4740eca0..0f4c87092 100755 --- a/plugins/MacSignedVST/Elation/source/Elation.cpp +++ b/plugins/MacSignedVST/Elation/source/Elation.cpp @@ -23,7 +23,8 @@ Elation::Elation(audioMasterCallback audioMaster) : compCR = 1.0; compDR = 1.0; previousBR = 0.0; flip = false; lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Facet/source/Facet.cpp b/plugins/MacSignedVST/Facet/source/Facet.cpp index a6a5614fb..a6b2b3f99 100755 --- a/plugins/MacSignedVST/Facet/source/Facet.cpp +++ b/plugins/MacSignedVST/Facet/source/Facet.cpp @@ -13,7 +13,8 @@ Facet::Facet(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Focus/source/Focus.cpp b/plugins/MacSignedVST/Focus/source/Focus.cpp index a9e66020d..983edb647 100755 --- a/plugins/MacSignedVST/Focus/source/Focus.cpp +++ b/plugins/MacSignedVST/Focus/source/Focus.cpp @@ -18,7 +18,8 @@ Focus::Focus(audioMasterCallback audioMaster) : D = 1.0; E = 1.0; for (int x = 0; x < 9; x++) {figureL[x] = 0.0;figureR[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/GlitchShifter/source/GlitchShifter.cpp b/plugins/MacSignedVST/GlitchShifter/source/GlitchShifter.cpp index 2bd39758e..9fa68aa0b 100755 --- a/plugins/MacSignedVST/GlitchShifter/source/GlitchShifter.cpp +++ b/plugins/MacSignedVST/GlitchShifter/source/GlitchShifter.cpp @@ -53,7 +53,8 @@ GlitchShifter::GlitchShifter(audioMasterCallback audioMaster) : C = 0.5; D = 0.0; E = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Gringer/source/Gringer.cpp b/plugins/MacSignedVST/Gringer/source/Gringer.cpp index f071dedb8..6f37ac79c 100755 --- a/plugins/MacSignedVST/Gringer/source/Gringer.cpp +++ b/plugins/MacSignedVST/Gringer/source/Gringer.cpp @@ -13,7 +13,8 @@ Gringer::Gringer(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 9; x++) {inbandL[x] = 0.0; outbandL[x] = 0.0; inbandR[x] = 0.0; outbandR[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Highpass2/source/Highpass2.cpp b/plugins/MacSignedVST/Highpass2/source/Highpass2.cpp index c88927ae2..3c1833407 100755 --- a/plugins/MacSignedVST/Highpass2/source/Highpass2.cpp +++ b/plugins/MacSignedVST/Highpass2/source/Highpass2.cpp @@ -16,7 +16,8 @@ Highpass2::Highpass2(audioMasterCallback audioMaster) : B = 0.5; //-1.0 to 1.0 C = 0.25; // 0.0 to 4.0 D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleAL = 0.0; iirSampleBL = 0.0; diff --git a/plugins/MacSignedVST/Holt/source/Holt.cpp b/plugins/MacSignedVST/Holt/source/Holt.cpp index 499217c23..8f14a7238 100755 --- a/plugins/MacSignedVST/Holt/source/Holt.cpp +++ b/plugins/MacSignedVST/Holt/source/Holt.cpp @@ -36,7 +36,8 @@ Holt::Holt(audioMasterCallback audioMaster) : previousSampleDR = 0.0; previousTrendDR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Infrasonic/source/Infrasonic.cpp b/plugins/MacSignedVST/Infrasonic/source/Infrasonic.cpp index bfd10d163..7d77058bc 100755 --- a/plugins/MacSignedVST/Infrasonic/source/Infrasonic.cpp +++ b/plugins/MacSignedVST/Infrasonic/source/Infrasonic.cpp @@ -13,7 +13,8 @@ Infrasonic::Infrasonic(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0; biquadB[x] = 0.0; biquadC[x] = 0.0; biquadD[x] = 0.0; biquadE[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Interstage/source/Interstage.cpp b/plugins/MacSignedVST/Interstage/source/Interstage.cpp index 92acc46cc..03c0aec6c 100755 --- a/plugins/MacSignedVST/Interstage/source/Interstage.cpp +++ b/plugins/MacSignedVST/Interstage/source/Interstage.cpp @@ -26,7 +26,8 @@ Interstage::Interstage(audioMasterCallback audioMaster) : iirSampleER = 0.0; iirSampleFR = 0.0; lastSampleR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; flip = true; //this is reset: values being initialized only once. Startup values, whatever they are. diff --git a/plugins/MacSignedVST/Isolator/source/Isolator.cpp b/plugins/MacSignedVST/Isolator/source/Isolator.cpp index c8222a86f..779521dc4 100755 --- a/plugins/MacSignedVST/Isolator/source/Isolator.cpp +++ b/plugins/MacSignedVST/Isolator/source/Isolator.cpp @@ -16,7 +16,8 @@ Isolator::Isolator(audioMasterCallback audioMaster) : A = 1.0; B = 0.0; C = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Loud/source/Loud.cpp b/plugins/MacSignedVST/Loud/source/Loud.cpp index 1f884deb1..06a6020af 100755 --- a/plugins/MacSignedVST/Loud/source/Loud.cpp +++ b/plugins/MacSignedVST/Loud/source/Loud.cpp @@ -17,7 +17,8 @@ Loud::Loud(audioMasterCallback audioMaster) : C = 1.0; lastSampleL = 0.0; lastSampleR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Lowpass2/source/Lowpass2.cpp b/plugins/MacSignedVST/Lowpass2/source/Lowpass2.cpp index 1de69450a..27f081846 100755 --- a/plugins/MacSignedVST/Lowpass2/source/Lowpass2.cpp +++ b/plugins/MacSignedVST/Lowpass2/source/Lowpass2.cpp @@ -16,7 +16,8 @@ Lowpass2::Lowpass2(audioMasterCallback audioMaster) : B = 0.5; //-1.0 to 1.0 C = 0.25; // 0.0 to 4.0 D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleAL = 0.0; iirSampleBL = 0.0; diff --git a/plugins/MacSignedVST/Luxor/source/Luxor.cpp b/plugins/MacSignedVST/Luxor/source/Luxor.cpp index 001286dd8..673c0cfe9 100755 --- a/plugins/MacSignedVST/Luxor/source/Luxor.cpp +++ b/plugins/MacSignedVST/Luxor/source/Luxor.cpp @@ -18,7 +18,8 @@ Luxor::Luxor(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/MV/source/MV.cpp b/plugins/MacSignedVST/MV/source/MV.cpp index 90246abae..c6d104f9b 100755 --- a/plugins/MacSignedVST/MV/source/MV.cpp +++ b/plugins/MacSignedVST/MV/source/MV.cpp @@ -76,7 +76,8 @@ MV::MV(audioMasterCallback audioMaster) : feedbackL = 0.0; feedbackR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/MoNoam/source/MoNoam.cpp b/plugins/MacSignedVST/MoNoam/source/MoNoam.cpp index 746f43edb..56a243e5d 100755 --- a/plugins/MacSignedVST/MoNoam/source/MoNoam.cpp +++ b/plugins/MacSignedVST/MoNoam/source/MoNoam.cpp @@ -13,7 +13,8 @@ MoNoam::MoNoam(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Mojo/source/Mojo.cpp b/plugins/MacSignedVST/Mojo/source/Mojo.cpp index 78bb5c9c3..65c270402 100755 --- a/plugins/MacSignedVST/Mojo/source/Mojo.cpp +++ b/plugins/MacSignedVST/Mojo/source/Mojo.cpp @@ -13,7 +13,8 @@ Mojo::Mojo(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Monitoring/source/Monitoring.cpp b/plugins/MacSignedVST/Monitoring/source/Monitoring.cpp index 635ca615b..5acf52beb 100755 --- a/plugins/MacSignedVST/Monitoring/source/Monitoring.cpp +++ b/plugins/MacSignedVST/Monitoring/source/Monitoring.cpp @@ -60,7 +60,8 @@ Monitoring::Monitoring(audioMasterCallback audioMaster) : for (int x = 0; x < 11; x++) {biquadL[x] = 0.0; biquadR[x] = 0.0;} //Bandpasses A = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Neverland/source/Neverland.cpp b/plugins/MacSignedVST/Neverland/source/Neverland.cpp index fae1d9216..2af42daa3 100755 --- a/plugins/MacSignedVST/Neverland/source/Neverland.cpp +++ b/plugins/MacSignedVST/Neverland/source/Neverland.cpp @@ -19,7 +19,8 @@ Neverland::Neverland(audioMasterCallback audioMaster) : for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Nikola/source/Nikola.cpp b/plugins/MacSignedVST/Nikola/source/Nikola.cpp index 6938af08c..db76154df 100755 --- a/plugins/MacSignedVST/Nikola/source/Nikola.cpp +++ b/plugins/MacSignedVST/Nikola/source/Nikola.cpp @@ -23,7 +23,8 @@ Nikola::Nikola(audioMasterCallback audioMaster) : outlevelR = 0.0; framenumberR = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp b/plugins/MacSignedVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp index e90337260..6213b6228 100755 --- a/plugins/MacSignedVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp +++ b/plugins/MacSignedVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp @@ -14,7 +14,8 @@ NotJustAnotherDither::NotJustAnotherDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; bynL[0] = 1000; bynL[1] = 301; bynL[2] = 176; diff --git a/plugins/MacSignedVST/PaulDither/source/PaulDither.cpp b/plugins/MacSignedVST/PaulDither/source/PaulDither.cpp index f9a8de8b7..dc7aaeb6d 100755 --- a/plugins/MacSignedVST/PaulDither/source/PaulDither.cpp +++ b/plugins/MacSignedVST/PaulDither/source/PaulDither.cpp @@ -14,7 +14,8 @@ PaulDither::PaulDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; previousDitherL = 0.0; previousDitherR = 0.0; //this is reset: values being initialized only once. Startup values, whatever they are. diff --git a/plugins/MacSignedVST/PeaksOnly/source/PeaksOnly.cpp b/plugins/MacSignedVST/PeaksOnly/source/PeaksOnly.cpp index 73fd7bacc..bca880912 100755 --- a/plugins/MacSignedVST/PeaksOnly/source/PeaksOnly.cpp +++ b/plugins/MacSignedVST/PeaksOnly/source/PeaksOnly.cpp @@ -14,7 +14,8 @@ PeaksOnly::PeaksOnly(audioMasterCallback audioMaster) : { for(int count = 0; count < 1502; count++) {aL[count] = 0.0; bL[count] = 0.0; cL[count] = 0.0; dL[count] = 0.0;aR[count] = 0.0; bR[count] = 0.0; cR[count] = 0.0; dR[count] = 0.0;} ax = 1; bx = 1; cx = 1; dx = 1; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/PocketVerbs/source/PocketVerbs.cpp b/plugins/MacSignedVST/PocketVerbs/source/PocketVerbs.cpp index f4102466c..3c6332d41 100755 --- a/plugins/MacSignedVST/PocketVerbs/source/PocketVerbs.cpp +++ b/plugins/MacSignedVST/PocketVerbs/source/PocketVerbs.cpp @@ -191,7 +191,8 @@ PocketVerbs::PocketVerbs(audioMasterCallback audioMaster) : countdown = -1; peakL = 1.0; peakR = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Podcast/source/Podcast.cpp b/plugins/MacSignedVST/Podcast/source/Podcast.cpp index decf86e4d..1a7edc51c 100755 --- a/plugins/MacSignedVST/Podcast/source/Podcast.cpp +++ b/plugins/MacSignedVST/Podcast/source/Podcast.cpp @@ -18,7 +18,8 @@ Podcast::Podcast(audioMasterCallback audioMaster) : c1L = 2.0; c2L = 2.0; c3L = 2.0; c4L = 2.0; c5L = 2.0; //startup comp gains c1R = 2.0; c2R = 2.0; c3R = 2.0; c4R = 2.0; c5R = 2.0; //startup comp gains - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/PodcastDeluxe/source/PodcastDeluxe.cpp b/plugins/MacSignedVST/PodcastDeluxe/source/PodcastDeluxe.cpp index 6765486f7..a410bc2f0 100755 --- a/plugins/MacSignedVST/PodcastDeluxe/source/PodcastDeluxe.cpp +++ b/plugins/MacSignedVST/PodcastDeluxe/source/PodcastDeluxe.cpp @@ -32,7 +32,8 @@ PodcastDeluxe::PodcastDeluxe(audioMasterCallback audioMaster) : maxdelay1 = 9001; maxdelay2 = 9001; maxdelay3 = 9001; maxdelay4 = 9001; maxdelay5 = 9001; c1R = 2.0; c2R = 2.0; c3R = 2.0; c4R = 2.0; c5R = 2.0; //startup comp gains - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Pop/source/Pop.cpp b/plugins/MacSignedVST/Pop/source/Pop.cpp index a48aea872..55903d7f0 100755 --- a/plugins/MacSignedVST/Pop/source/Pop.cpp +++ b/plugins/MacSignedVST/Pop/source/Pop.cpp @@ -15,7 +15,8 @@ Pop::Pop(audioMasterCallback audioMaster) : A = 0.3; B = 1.0; C = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; for(int count = 0; count < 10000; count++) {dL[count] = 0; dR[count] = 0;} delay = 0; diff --git a/plugins/MacSignedVST/PowerSag2/source/PowerSag2.cpp b/plugins/MacSignedVST/PowerSag2/source/PowerSag2.cpp index 2e68a9376..cd6430a4b 100755 --- a/plugins/MacSignedVST/PowerSag2/source/PowerSag2.cpp +++ b/plugins/MacSignedVST/PowerSag2/source/PowerSag2.cpp @@ -20,7 +20,8 @@ PowerSag2::PowerSag2(audioMasterCallback audioMaster) : A = 0.3; B = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Precious/source/Precious.cpp b/plugins/MacSignedVST/Precious/source/Precious.cpp index 78a045cf8..c2ed1d7c7 100755 --- a/plugins/MacSignedVST/Precious/source/Precious.cpp +++ b/plugins/MacSignedVST/Precious/source/Precious.cpp @@ -18,7 +18,8 @@ Precious::Precious(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/PurestAir/source/PurestAir.cpp b/plugins/MacSignedVST/PurestAir/source/PurestAir.cpp index 66e9e4d72..cd9734ccc 100755 --- a/plugins/MacSignedVST/PurestAir/source/PurestAir.cpp +++ b/plugins/MacSignedVST/PurestAir/source/PurestAir.cpp @@ -25,7 +25,8 @@ PurestAir::PurestAir(audioMasterCallback audioMaster) : lastSampleR = 0.0; s1R = s2R = s3R = 0.0; applyR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/PurestFade/source/PurestFade.cpp b/plugins/MacSignedVST/PurestFade/source/PurestFade.cpp index b86eea6b7..1ed241db4 100755 --- a/plugins/MacSignedVST/PurestFade/source/PurestFade.cpp +++ b/plugins/MacSignedVST/PurestFade/source/PurestFade.cpp @@ -18,7 +18,8 @@ PurestFade::PurestFade(audioMasterCallback audioMaster) : settingchase = -90.0; gainBchase = -90.0; chasespeed = 350.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/PurestSquish/source/PurestSquish.cpp b/plugins/MacSignedVST/PurestSquish/source/PurestSquish.cpp index 1ea9b70fe..e165860c5 100755 --- a/plugins/MacSignedVST/PurestSquish/source/PurestSquish.cpp +++ b/plugins/MacSignedVST/PurestSquish/source/PurestSquish.cpp @@ -64,7 +64,8 @@ PurestSquish::PurestSquish(audioMasterCallback audioMaster) : count = 1; fpFlip = true; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/RawGlitters/source/RawGlitters.cpp b/plugins/MacSignedVST/RawGlitters/source/RawGlitters.cpp index cdd0c545f..262b4122c 100755 --- a/plugins/MacSignedVST/RawGlitters/source/RawGlitters.cpp +++ b/plugins/MacSignedVST/RawGlitters/source/RawGlitters.cpp @@ -14,7 +14,8 @@ RawGlitters::RawGlitters(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; lastSampleL = 0.0; lastSample2L = 0.0; lastSampleR = 0.0; diff --git a/plugins/MacSignedVST/RawTimbers/source/RawTimbers.cpp b/plugins/MacSignedVST/RawTimbers/source/RawTimbers.cpp index da85dbaf2..9b0093a23 100755 --- a/plugins/MacSignedVST/RawTimbers/source/RawTimbers.cpp +++ b/plugins/MacSignedVST/RawTimbers/source/RawTimbers.cpp @@ -14,7 +14,8 @@ RawTimbers::RawTimbers(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; lastSampleL = 0.0; lastSample2L = 0.0; lastSampleR = 0.0; diff --git a/plugins/MacSignedVST/Recurve/source/Recurve.cpp b/plugins/MacSignedVST/Recurve/source/Recurve.cpp index a669540a9..8d8f1f0dc 100755 --- a/plugins/MacSignedVST/Recurve/source/Recurve.cpp +++ b/plugins/MacSignedVST/Recurve/source/Recurve.cpp @@ -13,7 +13,8 @@ Recurve::Recurve(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { gain = 2.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Remap/source/Remap.cpp b/plugins/MacSignedVST/Remap/source/Remap.cpp index b4663c529..99b46e0ca 100755 --- a/plugins/MacSignedVST/Remap/source/Remap.cpp +++ b/plugins/MacSignedVST/Remap/source/Remap.cpp @@ -15,7 +15,8 @@ Remap::Remap(audioMasterCallback audioMaster) : A = 0.5; B = 1.0; C = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/ResEQ/source/ResEQ.cpp b/plugins/MacSignedVST/ResEQ/source/ResEQ.cpp index feffbda53..ad7c8782f 100755 --- a/plugins/MacSignedVST/ResEQ/source/ResEQ.cpp +++ b/plugins/MacSignedVST/ResEQ/source/ResEQ.cpp @@ -26,7 +26,8 @@ ResEQ::ResEQ(audioMasterCallback audioMaster) : bR[count] = 0.0; fR[count] = 0.0; } framenumber = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Slew3/source/Slew3.cpp b/plugins/MacSignedVST/Slew3/source/Slew3.cpp index 5bf29f586..96ce3829c 100755 --- a/plugins/MacSignedVST/Slew3/source/Slew3.cpp +++ b/plugins/MacSignedVST/Slew3/source/Slew3.cpp @@ -15,7 +15,8 @@ Slew3::Slew3(audioMasterCallback audioMaster) : A = 0.0; lastSampleAL = lastSampleBL = lastSampleCL = 0.0; lastSampleAR = lastSampleBR = lastSampleCR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Smooth/source/Smooth.cpp b/plugins/MacSignedVST/Smooth/source/Smooth.cpp index 6509d2aeb..e134523b8 100755 --- a/plugins/MacSignedVST/Smooth/source/Smooth.cpp +++ b/plugins/MacSignedVST/Smooth/source/Smooth.cpp @@ -38,7 +38,8 @@ Smooth::Smooth(audioMasterCallback audioMaster) : lastSampleER = 0.0; gainER = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/SoftGate/source/SoftGate.cpp b/plugins/MacSignedVST/SoftGate/source/SoftGate.cpp index 4db4f8f2f..6fd4a52a3 100755 --- a/plugins/MacSignedVST/SoftGate/source/SoftGate.cpp +++ b/plugins/MacSignedVST/SoftGate/source/SoftGate.cpp @@ -20,7 +20,8 @@ SoftGate::SoftGate(audioMasterCallback audioMaster) : storedR[0] = storedR[1] = 0.0; diffR = 0.0; gate = 1.1; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/SpatializeDither/source/SpatializeDither.cpp b/plugins/MacSignedVST/SpatializeDither/source/SpatializeDither.cpp index e4ebc5549..f145ddd43 100755 --- a/plugins/MacSignedVST/SpatializeDither/source/SpatializeDither.cpp +++ b/plugins/MacSignedVST/SpatializeDither/source/SpatializeDither.cpp @@ -14,7 +14,8 @@ SpatializeDither::SpatializeDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; contingentErrL = 0.0; contingentErrR = 0.0; flip = false; diff --git a/plugins/MacSignedVST/Spiral/source/Spiral.cpp b/plugins/MacSignedVST/Spiral/source/Spiral.cpp index 88106caf6..11ef632c0 100755 --- a/plugins/MacSignedVST/Spiral/source/Spiral.cpp +++ b/plugins/MacSignedVST/Spiral/source/Spiral.cpp @@ -12,7 +12,8 @@ AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new S Spiral::Spiral(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Spiral2/source/Spiral2.cpp b/plugins/MacSignedVST/Spiral2/source/Spiral2.cpp index 4d1f8bb1e..1211da49e 100755 --- a/plugins/MacSignedVST/Spiral2/source/Spiral2.cpp +++ b/plugins/MacSignedVST/Spiral2/source/Spiral2.cpp @@ -20,7 +20,8 @@ Spiral2::Spiral2(audioMasterCallback audioMaster) : iirSampleAL = 0.0; iirSampleBL = 0.0; prevSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleAR = 0.0; iirSampleBR = 0.0; diff --git a/plugins/MacSignedVST/TPDFDither/source/TPDFDither.cpp b/plugins/MacSignedVST/TPDFDither/source/TPDFDither.cpp index 2e8df5daa..2266f5851 100755 --- a/plugins/MacSignedVST/TPDFDither/source/TPDFDither.cpp +++ b/plugins/MacSignedVST/TPDFDither/source/TPDFDither.cpp @@ -14,7 +14,8 @@ TPDFDither::TPDFDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. _canDo.insert("plugAsSend"); // plug-in can be used as a send effect. diff --git a/plugins/MacSignedVST/Tape/source/Tape.cpp b/plugins/MacSignedVST/Tape/source/Tape.cpp index 8631f6bf1..1d9fbb93e 100755 --- a/plugins/MacSignedVST/Tape/source/Tape.cpp +++ b/plugins/MacSignedVST/Tape/source/Tape.cpp @@ -29,7 +29,8 @@ Tape::Tape(audioMasterCallback audioMaster) : flip = false; lastSampleL = 0.0; lastSampleR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/TapeDither/source/TapeDither.cpp b/plugins/MacSignedVST/TapeDither/source/TapeDither.cpp index be85fcdb2..fdd04534f 100755 --- a/plugins/MacSignedVST/TapeDither/source/TapeDither.cpp +++ b/plugins/MacSignedVST/TapeDither/source/TapeDither.cpp @@ -14,7 +14,8 @@ TapeDither::TapeDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; previousDither1L = 0.0; previousDither2L = 0.0; previousDither3L = 0.0; diff --git a/plugins/MacSignedVST/ToTape6/source/ToTape6.cpp b/plugins/MacSignedVST/ToTape6/source/ToTape6.cpp index 741b7565e..fe39aef98 100755 --- a/plugins/MacSignedVST/ToTape6/source/ToTape6.cpp +++ b/plugins/MacSignedVST/ToTape6/source/ToTape6.cpp @@ -43,7 +43,8 @@ ToTape6::ToTape6(audioMasterCallback audioMaster) : lastSampleR = 0.0; flip = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/TremoSquare/source/TremoSquare.cpp b/plugins/MacSignedVST/TremoSquare/source/TremoSquare.cpp index e854b11ac..3bd90f485 100755 --- a/plugins/MacSignedVST/TremoSquare/source/TremoSquare.cpp +++ b/plugins/MacSignedVST/TremoSquare/source/TremoSquare.cpp @@ -19,7 +19,8 @@ TremoSquare::TremoSquare(audioMasterCallback audioMaster) : muteL = false; polarityR = false; muteR = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/TripleSpread/source/TripleSpread.cpp b/plugins/MacSignedVST/TripleSpread/source/TripleSpread.cpp index 7e4926290..c9ce7c968 100755 --- a/plugins/MacSignedVST/TripleSpread/source/TripleSpread.cpp +++ b/plugins/MacSignedVST/TripleSpread/source/TripleSpread.cpp @@ -51,7 +51,8 @@ TripleSpread::TripleSpread(audioMasterCallback audioMaster) : A = 0.5; B = 0.5; C = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Ultrasonic/source/Ultrasonic.cpp b/plugins/MacSignedVST/Ultrasonic/source/Ultrasonic.cpp index e58027991..fe70912b4 100755 --- a/plugins/MacSignedVST/Ultrasonic/source/Ultrasonic.cpp +++ b/plugins/MacSignedVST/Ultrasonic/source/Ultrasonic.cpp @@ -13,7 +13,8 @@ Ultrasonic::Ultrasonic(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0; biquadB[x] = 0.0; biquadC[x] = 0.0; biquadD[x] = 0.0; biquadE[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/UltrasonicLite/source/UltrasonicLite.cpp b/plugins/MacSignedVST/UltrasonicLite/source/UltrasonicLite.cpp index cceaf217f..5f5d08cf1 100755 --- a/plugins/MacSignedVST/UltrasonicLite/source/UltrasonicLite.cpp +++ b/plugins/MacSignedVST/UltrasonicLite/source/UltrasonicLite.cpp @@ -13,7 +13,8 @@ UltrasonicLite::UltrasonicLite(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/UltrasonicMed/source/UltrasonicMed.cpp b/plugins/MacSignedVST/UltrasonicMed/source/UltrasonicMed.cpp index fe2ac75a9..906bb46a6 100755 --- a/plugins/MacSignedVST/UltrasonicMed/source/UltrasonicMed.cpp +++ b/plugins/MacSignedVST/UltrasonicMed/source/UltrasonicMed.cpp @@ -13,7 +13,8 @@ UltrasonicMed::UltrasonicMed(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0;biquadB[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/UnBox/source/UnBox.cpp b/plugins/MacSignedVST/UnBox/source/UnBox.cpp index 221f617d6..211bdb712 100755 --- a/plugins/MacSignedVST/UnBox/source/UnBox.cpp +++ b/plugins/MacSignedVST/UnBox/source/UnBox.cpp @@ -23,7 +23,8 @@ UnBox::UnBox(audioMasterCallback audioMaster) : iirSampleAR = 0.0; iirSampleBR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/Vibrato/source/Vibrato.cpp b/plugins/MacSignedVST/Vibrato/source/Vibrato.cpp index 6b32cea10..9993a661d 100755 --- a/plugins/MacSignedVST/Vibrato/source/Vibrato.cpp +++ b/plugins/MacSignedVST/Vibrato/source/Vibrato.cpp @@ -34,7 +34,8 @@ Vibrato::Vibrato(audioMasterCallback audioMaster) : flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/VinylDither/source/VinylDither.cpp b/plugins/MacSignedVST/VinylDither/source/VinylDither.cpp index 9123d5431..2538e55f8 100755 --- a/plugins/MacSignedVST/VinylDither/source/VinylDither.cpp +++ b/plugins/MacSignedVST/VinylDither/source/VinylDither.cpp @@ -14,7 +14,8 @@ VinylDither::VinylDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; NSOddL = 0.0; prevL = 0.0; nsL[0] = 0; diff --git a/plugins/MacSignedVST/VoiceTrick/source/VoiceTrick.cpp b/plugins/MacSignedVST/VoiceTrick/source/VoiceTrick.cpp index 1553a504a..c4df942f9 100755 --- a/plugins/MacSignedVST/VoiceTrick/source/VoiceTrick.cpp +++ b/plugins/MacSignedVST/VoiceTrick/source/VoiceTrick.cpp @@ -23,7 +23,8 @@ VoiceTrick::VoiceTrick(audioMasterCallback audioMaster) : lowpassChase = 0.0; lowpassAmount = 1.0; lastLowpass = 1000.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacSignedVST/curve/source/curve.cpp b/plugins/MacSignedVST/curve/source/curve.cpp index 8c4e78f40..3bebc534b 100755 --- a/plugins/MacSignedVST/curve/source/curve.cpp +++ b/plugins/MacSignedVST/curve/source/curve.cpp @@ -13,7 +13,8 @@ curve::curve(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { gain = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.pbxuser b/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.pbxuser index b61b1da85..bdbee9bad 100755 --- a/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.pbxuser +++ b/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.pbxuser @@ -49,8 +49,12 @@ PBXFileDataSource_Warnings_ColumnID, ); }; - PBXPerProjectTemplateStateSaveDate = 667726766; - PBXWorkspaceStateSaveDate = 667726766; + PBXPerProjectTemplateStateSaveDate = 667727329; + PBXWorkspaceStateSaveDate = 667727329; + }; + perUserProjectItems = { + 8B1A924C27CCB5FD00649D11 /* PBXBookmark */ = 8B1A924C27CCB5FD00649D11 /* PBXBookmark */; + 8B1A926127CCB67A00649D11 /* PBXTextBookmark */ = 8B1A926127CCB67A00649D11 /* PBXTextBookmark */; }; sourceControlManager = 8B02375E1D42B1C400E1E8C8 /* Source Control */; userBuildSettings = { @@ -58,17 +62,17 @@ }; 2407DEB6089929BA00EB68BF /* BassDrive.cpp */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {848, 2483}}"; - sepNavSelRange = "{1399, 0}"; - sepNavVisRange = "{332, 1406}"; - sepNavWindowFrame = "{{12, 57}, {895, 821}}"; + sepNavIntBoundsRect = "{{0, 0}, {939, 3708}}"; + sepNavSelRange = "{1437, 120}"; + sepNavVisRange = "{794, 1203}"; + sepNavWindowFrame = "{{209, 35}, {895, 821}}"; }; }; 245463B80991757100464AD3 /* BassDrive.h */ = { uiCtxt = { - sepNavIntBoundsRect = "{{0, 0}, {1110, 1728}}"; + sepNavIntBoundsRect = "{{0, 0}, {1110, 1584}}"; sepNavSelRange = "{2460, 0}"; - sepNavVisRange = "{954, 1894}"; + sepNavVisRange = "{2440, 126}"; sepNavWindowFrame = "{{480, 57}, {895, 821}}"; }; }; @@ -102,6 +106,20 @@ isa = PBXCodeSenseManager; indexTemplatePath = ""; }; + 8B1A924C27CCB5FD00649D11 /* PBXBookmark */ = { + isa = PBXBookmark; + fRef = 245463B80991757100464AD3 /* BassDrive.h */; + }; + 8B1A926127CCB67A00649D11 /* PBXTextBookmark */ = { + isa = PBXTextBookmark; + fRef = 245463B80991757100464AD3 /* BassDrive.h */; + name = "BassDrive.h: 59"; + rLen = 0; + rLoc = 2460; + rType = 0; + vrLen = 126; + vrLoc = 2440; + }; 8D01CCC60486CAD60068D4B7 /* BassDrive */ = { activeExec = 0; }; diff --git a/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.perspectivev3 b/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.perspectivev3 index 73cc03bf8..25d711b66 100755 --- a/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.perspectivev3 +++ b/plugins/MacVST/BassDrive/BassDrive.xcodeproj/christopherjohnson.perspectivev3 @@ -256,8 +256,6 @@ Layout - BecomeActive - ContentConfiguration PBXBottomSmartGroupGIDs @@ -339,7 +337,7 @@ PBXProjectModuleGUID 8B0237581D42B1C400E1E8C8 PBXProjectModuleLabel - Gain.h + BassDrive.h PBXSplitModuleInNavigatorKey Split0 @@ -347,7 +345,15 @@ PBXProjectModuleGUID 8B0237591D42B1C400E1E8C8 PBXProjectModuleLabel - Gain.h + BassDrive.h + _historyCapacity + 0 + bookmark + 8B1A926127CCB67A00649D11 + history + + 8B1A924C27CCB5FD00649D11 + SplitCount 1 @@ -360,18 +366,18 @@ GeometryConfiguration Frame - {{0, 0}, {603, 0}} + {{0, 0}, {603, 132}} RubberWindowFrame 34 365 810 487 0 0 1440 878 Module PBXNavigatorGroup Proportion - 0pt + 132pt Proportion - 441pt + 309pt Tabs @@ -386,8 +392,6 @@ Frame {{10, 27}, {603, 414}} - RubberWindowFrame - 34 365 810 487 0 0 1440 878 Module XCDetailModule @@ -441,7 +445,9 @@ GeometryConfiguration Frame - {{10, 27}, {603, 414}} + {{10, 27}, {603, 282}} + RubberWindowFrame + 34 365 810 487 0 0 1440 878 Module PBXBuildResultsModule @@ -469,11 +475,11 @@ TableOfContents - 8B1A923727CCB41C00649D11 + 8B1A924E27CCB5FD00649D11 1CA23ED40692098700951B8B - 8B1A923827CCB41C00649D11 + 8B1A924F27CCB5FD00649D11 8B0237581D42B1C400E1E8C8 - 8B1A923927CCB41C00649D11 + 8B1A925027CCB5FD00649D11 1CA23EDF0692099D00951B8B 1CA23EE00692099D00951B8B 1CA23EE10692099D00951B8B @@ -626,7 +632,7 @@ StatusbarIsVisible TimeStamp - 667726876.35452604 + 667727482.16172898 ToolbarConfigUserDefaultsMinorVersion 2 ToolbarDisplayMode diff --git a/plugins/MacVST/BassDrive/source/BassDrive.cpp b/plugins/MacVST/BassDrive/source/BassDrive.cpp index fd327fac1..b042dd13b 100755 --- a/plugins/MacVST/BassDrive/source/BassDrive.cpp +++ b/plugins/MacVST/BassDrive/source/BassDrive.cpp @@ -56,7 +56,8 @@ BassDrive::BassDrive(audioMasterCallback audioMaster) : flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Baxandall/source/Baxandall.cpp b/plugins/MacVST/Baxandall/source/Baxandall.cpp index 55be20100..a9f32fa6d 100755 --- a/plugins/MacVST/Baxandall/source/Baxandall.cpp +++ b/plugins/MacVST/Baxandall/source/Baxandall.cpp @@ -26,7 +26,8 @@ Baxandall::Baxandall(audioMasterCallback audioMaster) : bassBR[x] = 0.0; } flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Beam/source/Beam.cpp b/plugins/MacVST/Beam/source/Beam.cpp index a1adf4a2f..2f52cf2fd 100755 --- a/plugins/MacVST/Beam/source/Beam.cpp +++ b/plugins/MacVST/Beam/source/Beam.cpp @@ -19,7 +19,8 @@ Beam::Beam(audioMasterCallback audioMaster) : lastSampleL[count] = 0; lastSampleR[count] = 0; } - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Biquad/source/Biquad.cpp b/plugins/MacVST/Biquad/source/Biquad.cpp index fbcf8b446..66882abdd 100755 --- a/plugins/MacVST/Biquad/source/Biquad.cpp +++ b/plugins/MacVST/Biquad/source/Biquad.cpp @@ -17,7 +17,8 @@ Biquad::Biquad(audioMasterCallback audioMaster) : B = 0.5; C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Biquad2/source/Biquad2.cpp b/plugins/MacVST/Biquad2/source/Biquad2.cpp index 7b9d33802..46b86d670 100755 --- a/plugins/MacVST/Biquad2/source/Biquad2.cpp +++ b/plugins/MacVST/Biquad2/source/Biquad2.cpp @@ -30,7 +30,8 @@ Biquad2::Biquad2(audioMasterCallback audioMaster) : C = 0.5; D = 1.0; E = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BiquadDouble/source/BiquadDouble.cpp b/plugins/MacVST/BiquadDouble/source/BiquadDouble.cpp index aaacd15b4..5ceb395ff 100755 --- a/plugins/MacVST/BiquadDouble/source/BiquadDouble.cpp +++ b/plugins/MacVST/BiquadDouble/source/BiquadDouble.cpp @@ -17,7 +17,8 @@ BiquadDouble::BiquadDouble(audioMasterCallback audioMaster) : B = 0.5; C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BiquadOneHalf/source/BiquadOneHalf.cpp b/plugins/MacVST/BiquadOneHalf/source/BiquadOneHalf.cpp index ee0943339..5bbf7ff4a 100755 --- a/plugins/MacVST/BiquadOneHalf/source/BiquadOneHalf.cpp +++ b/plugins/MacVST/BiquadOneHalf/source/BiquadOneHalf.cpp @@ -18,7 +18,8 @@ BiquadOneHalf::BiquadOneHalf(audioMasterCallback audioMaster) : B = 0.0; C = 0.0; D = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BiquadTriple/source/BiquadTriple.cpp b/plugins/MacVST/BiquadTriple/source/BiquadTriple.cpp index a56973eca..f416a95e0 100755 --- a/plugins/MacVST/BiquadTriple/source/BiquadTriple.cpp +++ b/plugins/MacVST/BiquadTriple/source/BiquadTriple.cpp @@ -17,7 +17,8 @@ BiquadTriple::BiquadTriple(audioMasterCallback audioMaster) : B = 0.5; C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BitGlitter/source/BitGlitter.cpp b/plugins/MacVST/BitGlitter/source/BitGlitter.cpp index 88aedaddb..13e689a6a 100755 --- a/plugins/MacVST/BitGlitter/source/BitGlitter.cpp +++ b/plugins/MacVST/BitGlitter/source/BitGlitter.cpp @@ -17,7 +17,8 @@ BitGlitter::BitGlitter(audioMasterCallback audioMaster) : C = 0.5; D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; ataLastSampleL = 0.0; ataHalfwaySampleL = 0.0; diff --git a/plugins/MacVST/BlockParty/source/BlockParty.cpp b/plugins/MacVST/BlockParty/source/BlockParty.cpp index fd9e2ff39..ba6d66fc6 100755 --- a/plugins/MacVST/BlockParty/source/BlockParty.cpp +++ b/plugins/MacVST/BlockParty/source/BlockParty.cpp @@ -14,7 +14,8 @@ BlockParty::BlockParty(audioMasterCallback audioMaster) : { A = 0.0; B = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; muSpeedAL = 10000; muSpeedBL = 10000; diff --git a/plugins/MacVST/BrassRider/source/BrassRider.cpp b/plugins/MacVST/BrassRider/source/BrassRider.cpp index ff0fdb80d..46f5e98b9 100755 --- a/plugins/MacVST/BrassRider/source/BrassRider.cpp +++ b/plugins/MacVST/BrassRider/source/BrassRider.cpp @@ -30,7 +30,8 @@ BrassRider::BrassRider(audioMasterCallback audioMaster) : lastSampleR = 0.0; lastSlewR = 0.0; gcount = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BrightAmbience/source/BrightAmbience.cpp b/plugins/MacVST/BrightAmbience/source/BrightAmbience.cpp index afa450178..7f40ecbf3 100755 --- a/plugins/MacVST/BrightAmbience/source/BrightAmbience.cpp +++ b/plugins/MacVST/BrightAmbience/source/BrightAmbience.cpp @@ -17,7 +17,8 @@ BrightAmbience::BrightAmbience(audioMasterCallback audioMaster) : A = 0.0; B = 0.0; C = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/BrightAmbience2/source/BrightAmbience2.cpp b/plugins/MacVST/BrightAmbience2/source/BrightAmbience2.cpp index 65f5728bc..d12ddc5e9 100755 --- a/plugins/MacVST/BrightAmbience2/source/BrightAmbience2.cpp +++ b/plugins/MacVST/BrightAmbience2/source/BrightAmbience2.cpp @@ -19,7 +19,8 @@ BrightAmbience2::BrightAmbience2(audioMasterCallback audioMaster) : B = 0.2; C = 0.0; D = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Calibre/source/Calibre.cpp b/plugins/MacVST/Calibre/source/Calibre.cpp index 5bf269d0b..ee18c9617 100755 --- a/plugins/MacVST/Calibre/source/Calibre.cpp +++ b/plugins/MacVST/Calibre/source/Calibre.cpp @@ -18,7 +18,8 @@ Calibre::Calibre(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Capacitor2/source/Capacitor2.cpp b/plugins/MacVST/Capacitor2/source/Capacitor2.cpp index 9dec180d3..308b53490 100755 --- a/plugins/MacVST/Capacitor2/source/Capacitor2.cpp +++ b/plugins/MacVST/Capacitor2/source/Capacitor2.cpp @@ -52,7 +52,8 @@ Capacitor2::Capacitor2(audioMasterCallback audioMaster) : lastHighpass = 1000.0; lastWet = 1000.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Channel6/source/Channel6.cpp b/plugins/MacVST/Channel6/source/Channel6.cpp index 80e17af19..a47a1c872 100755 --- a/plugins/MacVST/Channel6/source/Channel6.cpp +++ b/plugins/MacVST/Channel6/source/Channel6.cpp @@ -15,7 +15,8 @@ Channel6::Channel6(audioMasterCallback audioMaster) : consoletype = 0.0; drive = 0.0; output = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleLA = 0.0; iirSampleRA = 0.0; iirSampleLB = 0.0; diff --git a/plugins/MacVST/Channel7/source/Channel7.cpp b/plugins/MacVST/Channel7/source/Channel7.cpp index 1b753f1cd..d9d6fbfd0 100755 --- a/plugins/MacVST/Channel7/source/Channel7.cpp +++ b/plugins/MacVST/Channel7/source/Channel7.cpp @@ -15,7 +15,8 @@ Channel7::Channel7(audioMasterCallback audioMaster) : consoletype = 0.0; drive = 0.0; output = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleLA = 0.0; iirSampleRA = 0.0; iirSampleLB = 0.0; diff --git a/plugins/MacVST/Channel8/source/Channel8.cpp b/plugins/MacVST/Channel8/source/Channel8.cpp index 3678965d6..2e9827760 100755 --- a/plugins/MacVST/Channel8/source/Channel8.cpp +++ b/plugins/MacVST/Channel8/source/Channel8.cpp @@ -15,7 +15,8 @@ Channel8::Channel8(audioMasterCallback audioMaster) : consoletype = 0.0; drive = 0.0; output = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleLA = 0.0; iirSampleRA = 0.0; iirSampleLB = 0.0; diff --git a/plugins/MacVST/ChromeOxide/source/ChromeOxide.cpp b/plugins/MacVST/ChromeOxide/source/ChromeOxide.cpp index 183fa9079..f3d7f337a 100755 --- a/plugins/MacVST/ChromeOxide/source/ChromeOxide.cpp +++ b/plugins/MacVST/ChromeOxide/source/ChromeOxide.cpp @@ -31,7 +31,8 @@ ChromeOxide::ChromeOxide(audioMasterCallback audioMaster) : flip = false; A = 0.5; B = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Cider/source/Cider.cpp b/plugins/MacVST/Cider/source/Cider.cpp index ebdd1a4f4..e32cf78e0 100755 --- a/plugins/MacVST/Cider/source/Cider.cpp +++ b/plugins/MacVST/Cider/source/Cider.cpp @@ -18,7 +18,8 @@ Cider::Cider(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Coils/source/Coils.cpp b/plugins/MacVST/Coils/source/Coils.cpp index e40878412..0a2d4437b 100755 --- a/plugins/MacVST/Coils/source/Coils.cpp +++ b/plugins/MacVST/Coils/source/Coils.cpp @@ -16,7 +16,8 @@ Coils::Coils(audioMasterCallback audioMaster) : B = 0.5; C = 1.0; for (int x = 0; x < 9; x++) {figureL[x] = 0.0;figureR[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Compresaturator/source/Compresaturator.cpp b/plugins/MacVST/Compresaturator/source/Compresaturator.cpp index 1bb483138..5409416d5 100755 --- a/plugins/MacVST/Compresaturator/source/Compresaturator.cpp +++ b/plugins/MacVST/Compresaturator/source/Compresaturator.cpp @@ -25,7 +25,8 @@ Compresaturator::Compresaturator(audioMasterCallback audioMaster) : lastWidthR = 500; padFactorR = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Console6Buss/source/Console6Buss.cpp b/plugins/MacVST/Console6Buss/source/Console6Buss.cpp index c6658226e..21fb9728b 100755 --- a/plugins/MacVST/Console6Buss/source/Console6Buss.cpp +++ b/plugins/MacVST/Console6Buss/source/Console6Buss.cpp @@ -13,7 +13,8 @@ Console6Buss::Console6Buss(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Console6Channel/source/Console6Channel.cpp b/plugins/MacVST/Console6Channel/source/Console6Channel.cpp index d8634744e..fee5a551c 100755 --- a/plugins/MacVST/Console6Channel/source/Console6Channel.cpp +++ b/plugins/MacVST/Console6Channel/source/Console6Channel.cpp @@ -13,7 +13,8 @@ Console6Channel::Console6Channel(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Dark/source/Dark.cpp b/plugins/MacVST/Dark/source/Dark.cpp index 8c038752e..a1bb3148a 100755 --- a/plugins/MacVST/Dark/source/Dark.cpp +++ b/plugins/MacVST/Dark/source/Dark.cpp @@ -14,7 +14,8 @@ Dark::Dark(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; for(int count = 0; count < 99; count++) { lastSampleL[count] = 0; lastSampleR[count] = 0; diff --git a/plugins/MacVST/DeBess/source/DeBess.cpp b/plugins/MacVST/DeBess/source/DeBess.cpp index 87d7316b8..43ead3df6 100755 --- a/plugins/MacVST/DeBess/source/DeBess.cpp +++ b/plugins/MacVST/DeBess/source/DeBess.cpp @@ -29,7 +29,8 @@ DeBess::DeBess(audioMasterCallback audioMaster) : iirSampleBR = 0.0; flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/DeHiss/source/DeHiss.cpp b/plugins/MacVST/DeHiss/source/DeHiss.cpp index 17f386f5d..4473972cb 100755 --- a/plugins/MacVST/DeHiss/source/DeHiss.cpp +++ b/plugins/MacVST/DeHiss/source/DeHiss.cpp @@ -25,7 +25,8 @@ DeHiss::DeHiss(audioMasterCallback audioMaster) : gateR = 1.0; rawR = 2.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/DeRez2/source/DeRez2.cpp b/plugins/MacVST/DeRez2/source/DeRez2.cpp index acc092ee5..9f706d2bb 100755 --- a/plugins/MacVST/DeRez2/source/DeRez2.cpp +++ b/plugins/MacVST/DeRez2/source/DeRez2.cpp @@ -29,7 +29,8 @@ DeRez2::DeRez2(audioMasterCallback audioMaster) : position = 0.0; incrementA = 0.0; incrementB = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Deckwrecka/source/Deckwrecka.cpp b/plugins/MacVST/Deckwrecka/source/Deckwrecka.cpp index 8e4fc6d08..7e0a202c2 100755 --- a/plugins/MacVST/Deckwrecka/source/Deckwrecka.cpp +++ b/plugins/MacVST/Deckwrecka/source/Deckwrecka.cpp @@ -13,7 +13,8 @@ Deckwrecka::Deckwrecka(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; bflip = 1; iirHeadBumpAL = 0.0; diff --git a/plugins/MacVST/DigitalBlack/source/DigitalBlack.cpp b/plugins/MacVST/DigitalBlack/source/DigitalBlack.cpp index 89a10236a..840435762 100755 --- a/plugins/MacVST/DigitalBlack/source/DigitalBlack.cpp +++ b/plugins/MacVST/DigitalBlack/source/DigitalBlack.cpp @@ -20,7 +20,8 @@ DigitalBlack::DigitalBlack(audioMasterCallback audioMaster) : WasNegativeR = false; ZeroCrossR = 0; gaterollerR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Distortion/source/Distortion.cpp b/plugins/MacVST/Distortion/source/Distortion.cpp index 373ec3574..413805a65 100755 --- a/plugins/MacVST/Distortion/source/Distortion.cpp +++ b/plugins/MacVST/Distortion/source/Distortion.cpp @@ -20,7 +20,8 @@ Distortion::Distortion(audioMasterCallback audioMaster) : previousInL[x] = 0.0; previousOutL[x] = 0.0; previousInR[x] = 0.0; previousOutR[x] = 0.0; } - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/DitherFloat/source/DitherFloat.cpp b/plugins/MacVST/DitherFloat/source/DitherFloat.cpp index 9443a2daa..509db420c 100755 --- a/plugins/MacVST/DitherFloat/source/DitherFloat.cpp +++ b/plugins/MacVST/DitherFloat/source/DitherFloat.cpp @@ -14,7 +14,8 @@ DitherFloat::DitherFloat(audioMasterCallback audioMaster) : { A = 0.0; B = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Dyno/source/Dyno.cpp b/plugins/MacVST/Dyno/source/Dyno.cpp index 0239412a3..203403b0d 100755 --- a/plugins/MacVST/Dyno/source/Dyno.cpp +++ b/plugins/MacVST/Dyno/source/Dyno.cpp @@ -13,7 +13,8 @@ Dyno::Dyno(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Elation/source/Elation.cpp b/plugins/MacVST/Elation/source/Elation.cpp index d4740eca0..0f4c87092 100755 --- a/plugins/MacVST/Elation/source/Elation.cpp +++ b/plugins/MacVST/Elation/source/Elation.cpp @@ -23,7 +23,8 @@ Elation::Elation(audioMasterCallback audioMaster) : compCR = 1.0; compDR = 1.0; previousBR = 0.0; flip = false; lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Facet/source/Facet.cpp b/plugins/MacVST/Facet/source/Facet.cpp index a6a5614fb..a6b2b3f99 100755 --- a/plugins/MacVST/Facet/source/Facet.cpp +++ b/plugins/MacVST/Facet/source/Facet.cpp @@ -13,7 +13,8 @@ Facet::Facet(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Focus/source/Focus.cpp b/plugins/MacVST/Focus/source/Focus.cpp index a9e66020d..983edb647 100755 --- a/plugins/MacVST/Focus/source/Focus.cpp +++ b/plugins/MacVST/Focus/source/Focus.cpp @@ -18,7 +18,8 @@ Focus::Focus(audioMasterCallback audioMaster) : D = 1.0; E = 1.0; for (int x = 0; x < 9; x++) {figureL[x] = 0.0;figureR[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/GlitchShifter/source/GlitchShifter.cpp b/plugins/MacVST/GlitchShifter/source/GlitchShifter.cpp index 2bd39758e..9fa68aa0b 100755 --- a/plugins/MacVST/GlitchShifter/source/GlitchShifter.cpp +++ b/plugins/MacVST/GlitchShifter/source/GlitchShifter.cpp @@ -53,7 +53,8 @@ GlitchShifter::GlitchShifter(audioMasterCallback audioMaster) : C = 0.5; D = 0.0; E = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Gringer/source/Gringer.cpp b/plugins/MacVST/Gringer/source/Gringer.cpp index f071dedb8..6f37ac79c 100755 --- a/plugins/MacVST/Gringer/source/Gringer.cpp +++ b/plugins/MacVST/Gringer/source/Gringer.cpp @@ -13,7 +13,8 @@ Gringer::Gringer(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 9; x++) {inbandL[x] = 0.0; outbandL[x] = 0.0; inbandR[x] = 0.0; outbandR[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Highpass2/source/Highpass2.cpp b/plugins/MacVST/Highpass2/source/Highpass2.cpp index c88927ae2..3c1833407 100755 --- a/plugins/MacVST/Highpass2/source/Highpass2.cpp +++ b/plugins/MacVST/Highpass2/source/Highpass2.cpp @@ -16,7 +16,8 @@ Highpass2::Highpass2(audioMasterCallback audioMaster) : B = 0.5; //-1.0 to 1.0 C = 0.25; // 0.0 to 4.0 D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleAL = 0.0; iirSampleBL = 0.0; diff --git a/plugins/MacVST/Holt/source/Holt.cpp b/plugins/MacVST/Holt/source/Holt.cpp index 499217c23..8f14a7238 100755 --- a/plugins/MacVST/Holt/source/Holt.cpp +++ b/plugins/MacVST/Holt/source/Holt.cpp @@ -36,7 +36,8 @@ Holt::Holt(audioMasterCallback audioMaster) : previousSampleDR = 0.0; previousTrendDR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Infrasonic/source/Infrasonic.cpp b/plugins/MacVST/Infrasonic/source/Infrasonic.cpp index bfd10d163..7d77058bc 100755 --- a/plugins/MacVST/Infrasonic/source/Infrasonic.cpp +++ b/plugins/MacVST/Infrasonic/source/Infrasonic.cpp @@ -13,7 +13,8 @@ Infrasonic::Infrasonic(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0; biquadB[x] = 0.0; biquadC[x] = 0.0; biquadD[x] = 0.0; biquadE[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Interstage/source/Interstage.cpp b/plugins/MacVST/Interstage/source/Interstage.cpp index 92acc46cc..03c0aec6c 100755 --- a/plugins/MacVST/Interstage/source/Interstage.cpp +++ b/plugins/MacVST/Interstage/source/Interstage.cpp @@ -26,7 +26,8 @@ Interstage::Interstage(audioMasterCallback audioMaster) : iirSampleER = 0.0; iirSampleFR = 0.0; lastSampleR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; flip = true; //this is reset: values being initialized only once. Startup values, whatever they are. diff --git a/plugins/MacVST/Isolator/source/Isolator.cpp b/plugins/MacVST/Isolator/source/Isolator.cpp index c8222a86f..779521dc4 100755 --- a/plugins/MacVST/Isolator/source/Isolator.cpp +++ b/plugins/MacVST/Isolator/source/Isolator.cpp @@ -16,7 +16,8 @@ Isolator::Isolator(audioMasterCallback audioMaster) : A = 1.0; B = 0.0; C = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Loud/source/Loud.cpp b/plugins/MacVST/Loud/source/Loud.cpp index 1f884deb1..06a6020af 100755 --- a/plugins/MacVST/Loud/source/Loud.cpp +++ b/plugins/MacVST/Loud/source/Loud.cpp @@ -17,7 +17,8 @@ Loud::Loud(audioMasterCallback audioMaster) : C = 1.0; lastSampleL = 0.0; lastSampleR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Lowpass2/source/Lowpass2.cpp b/plugins/MacVST/Lowpass2/source/Lowpass2.cpp index 1de69450a..27f081846 100755 --- a/plugins/MacVST/Lowpass2/source/Lowpass2.cpp +++ b/plugins/MacVST/Lowpass2/source/Lowpass2.cpp @@ -16,7 +16,8 @@ Lowpass2::Lowpass2(audioMasterCallback audioMaster) : B = 0.5; //-1.0 to 1.0 C = 0.25; // 0.0 to 4.0 D = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleAL = 0.0; iirSampleBL = 0.0; diff --git a/plugins/MacVST/Luxor/source/Luxor.cpp b/plugins/MacVST/Luxor/source/Luxor.cpp index 001286dd8..673c0cfe9 100755 --- a/plugins/MacVST/Luxor/source/Luxor.cpp +++ b/plugins/MacVST/Luxor/source/Luxor.cpp @@ -18,7 +18,8 @@ Luxor::Luxor(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/MV/source/MV.cpp b/plugins/MacVST/MV/source/MV.cpp index 90246abae..c6d104f9b 100755 --- a/plugins/MacVST/MV/source/MV.cpp +++ b/plugins/MacVST/MV/source/MV.cpp @@ -76,7 +76,8 @@ MV::MV(audioMasterCallback audioMaster) : feedbackL = 0.0; feedbackR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/MoNoam/source/MoNoam.cpp b/plugins/MacVST/MoNoam/source/MoNoam.cpp index 746f43edb..56a243e5d 100755 --- a/plugins/MacVST/MoNoam/source/MoNoam.cpp +++ b/plugins/MacVST/MoNoam/source/MoNoam.cpp @@ -13,7 +13,8 @@ MoNoam::MoNoam(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Mojo/source/Mojo.cpp b/plugins/MacVST/Mojo/source/Mojo.cpp index 78bb5c9c3..65c270402 100755 --- a/plugins/MacVST/Mojo/source/Mojo.cpp +++ b/plugins/MacVST/Mojo/source/Mojo.cpp @@ -13,7 +13,8 @@ Mojo::Mojo(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { A = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Monitoring/source/Monitoring.cpp b/plugins/MacVST/Monitoring/source/Monitoring.cpp index 635ca615b..5acf52beb 100755 --- a/plugins/MacVST/Monitoring/source/Monitoring.cpp +++ b/plugins/MacVST/Monitoring/source/Monitoring.cpp @@ -60,7 +60,8 @@ Monitoring::Monitoring(audioMasterCallback audioMaster) : for (int x = 0; x < 11; x++) {biquadL[x] = 0.0; biquadR[x] = 0.0;} //Bandpasses A = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Neverland/source/Neverland.cpp b/plugins/MacVST/Neverland/source/Neverland.cpp index fae1d9216..2af42daa3 100755 --- a/plugins/MacVST/Neverland/source/Neverland.cpp +++ b/plugins/MacVST/Neverland/source/Neverland.cpp @@ -19,7 +19,8 @@ Neverland::Neverland(audioMasterCallback audioMaster) : for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Nikola/source/Nikola.cpp b/plugins/MacVST/Nikola/source/Nikola.cpp index 6938af08c..db76154df 100755 --- a/plugins/MacVST/Nikola/source/Nikola.cpp +++ b/plugins/MacVST/Nikola/source/Nikola.cpp @@ -23,7 +23,8 @@ Nikola::Nikola(audioMasterCallback audioMaster) : outlevelR = 0.0; framenumberR = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp b/plugins/MacVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp index e90337260..6213b6228 100755 --- a/plugins/MacVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp +++ b/plugins/MacVST/NotJustAnotherDither/source/NotJustAnotherDither.cpp @@ -14,7 +14,8 @@ NotJustAnotherDither::NotJustAnotherDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; bynL[0] = 1000; bynL[1] = 301; bynL[2] = 176; diff --git a/plugins/MacVST/PaulDither/source/PaulDither.cpp b/plugins/MacVST/PaulDither/source/PaulDither.cpp index f9a8de8b7..dc7aaeb6d 100755 --- a/plugins/MacVST/PaulDither/source/PaulDither.cpp +++ b/plugins/MacVST/PaulDither/source/PaulDither.cpp @@ -14,7 +14,8 @@ PaulDither::PaulDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; previousDitherL = 0.0; previousDitherR = 0.0; //this is reset: values being initialized only once. Startup values, whatever they are. diff --git a/plugins/MacVST/PeaksOnly/source/PeaksOnly.cpp b/plugins/MacVST/PeaksOnly/source/PeaksOnly.cpp index 73fd7bacc..bca880912 100755 --- a/plugins/MacVST/PeaksOnly/source/PeaksOnly.cpp +++ b/plugins/MacVST/PeaksOnly/source/PeaksOnly.cpp @@ -14,7 +14,8 @@ PeaksOnly::PeaksOnly(audioMasterCallback audioMaster) : { for(int count = 0; count < 1502; count++) {aL[count] = 0.0; bL[count] = 0.0; cL[count] = 0.0; dL[count] = 0.0;aR[count] = 0.0; bR[count] = 0.0; cR[count] = 0.0; dR[count] = 0.0;} ax = 1; bx = 1; cx = 1; dx = 1; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/PocketVerbs/source/PocketVerbs.cpp b/plugins/MacVST/PocketVerbs/source/PocketVerbs.cpp index f4102466c..3c6332d41 100755 --- a/plugins/MacVST/PocketVerbs/source/PocketVerbs.cpp +++ b/plugins/MacVST/PocketVerbs/source/PocketVerbs.cpp @@ -191,7 +191,8 @@ PocketVerbs::PocketVerbs(audioMasterCallback audioMaster) : countdown = -1; peakL = 1.0; peakR = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Podcast/source/Podcast.cpp b/plugins/MacVST/Podcast/source/Podcast.cpp index decf86e4d..1a7edc51c 100755 --- a/plugins/MacVST/Podcast/source/Podcast.cpp +++ b/plugins/MacVST/Podcast/source/Podcast.cpp @@ -18,7 +18,8 @@ Podcast::Podcast(audioMasterCallback audioMaster) : c1L = 2.0; c2L = 2.0; c3L = 2.0; c4L = 2.0; c5L = 2.0; //startup comp gains c1R = 2.0; c2R = 2.0; c3R = 2.0; c4R = 2.0; c5R = 2.0; //startup comp gains - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/PodcastDeluxe/source/PodcastDeluxe.cpp b/plugins/MacVST/PodcastDeluxe/source/PodcastDeluxe.cpp index 6765486f7..a410bc2f0 100755 --- a/plugins/MacVST/PodcastDeluxe/source/PodcastDeluxe.cpp +++ b/plugins/MacVST/PodcastDeluxe/source/PodcastDeluxe.cpp @@ -32,7 +32,8 @@ PodcastDeluxe::PodcastDeluxe(audioMasterCallback audioMaster) : maxdelay1 = 9001; maxdelay2 = 9001; maxdelay3 = 9001; maxdelay4 = 9001; maxdelay5 = 9001; c1R = 2.0; c2R = 2.0; c3R = 2.0; c4R = 2.0; c5R = 2.0; //startup comp gains - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Pop/source/Pop.cpp b/plugins/MacVST/Pop/source/Pop.cpp index a48aea872..55903d7f0 100755 --- a/plugins/MacVST/Pop/source/Pop.cpp +++ b/plugins/MacVST/Pop/source/Pop.cpp @@ -15,7 +15,8 @@ Pop::Pop(audioMasterCallback audioMaster) : A = 0.3; B = 1.0; C = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; for(int count = 0; count < 10000; count++) {dL[count] = 0; dR[count] = 0;} delay = 0; diff --git a/plugins/MacVST/PowerSag2/source/PowerSag2.cpp b/plugins/MacVST/PowerSag2/source/PowerSag2.cpp index 2e68a9376..cd6430a4b 100755 --- a/plugins/MacVST/PowerSag2/source/PowerSag2.cpp +++ b/plugins/MacVST/PowerSag2/source/PowerSag2.cpp @@ -20,7 +20,8 @@ PowerSag2::PowerSag2(audioMasterCallback audioMaster) : A = 0.3; B = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Precious/source/Precious.cpp b/plugins/MacVST/Precious/source/Precious.cpp index 78a045cf8..c2ed1d7c7 100755 --- a/plugins/MacVST/Precious/source/Precious.cpp +++ b/plugins/MacVST/Precious/source/Precious.cpp @@ -18,7 +18,8 @@ Precious::Precious(audioMasterCallback audioMaster) : D = 1.0; for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;} lastSampleR = 0.0;lastSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/PurestAir/source/PurestAir.cpp b/plugins/MacVST/PurestAir/source/PurestAir.cpp index 66e9e4d72..cd9734ccc 100755 --- a/plugins/MacVST/PurestAir/source/PurestAir.cpp +++ b/plugins/MacVST/PurestAir/source/PurestAir.cpp @@ -25,7 +25,8 @@ PurestAir::PurestAir(audioMasterCallback audioMaster) : lastSampleR = 0.0; s1R = s2R = s3R = 0.0; applyR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/PurestFade/source/PurestFade.cpp b/plugins/MacVST/PurestFade/source/PurestFade.cpp index b86eea6b7..1ed241db4 100755 --- a/plugins/MacVST/PurestFade/source/PurestFade.cpp +++ b/plugins/MacVST/PurestFade/source/PurestFade.cpp @@ -18,7 +18,8 @@ PurestFade::PurestFade(audioMasterCallback audioMaster) : settingchase = -90.0; gainBchase = -90.0; chasespeed = 350.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/PurestSquish/source/PurestSquish.cpp b/plugins/MacVST/PurestSquish/source/PurestSquish.cpp index 1ea9b70fe..e165860c5 100755 --- a/plugins/MacVST/PurestSquish/source/PurestSquish.cpp +++ b/plugins/MacVST/PurestSquish/source/PurestSquish.cpp @@ -64,7 +64,8 @@ PurestSquish::PurestSquish(audioMasterCallback audioMaster) : count = 1; fpFlip = true; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/RawGlitters/source/RawGlitters.cpp b/plugins/MacVST/RawGlitters/source/RawGlitters.cpp index cdd0c545f..262b4122c 100755 --- a/plugins/MacVST/RawGlitters/source/RawGlitters.cpp +++ b/plugins/MacVST/RawGlitters/source/RawGlitters.cpp @@ -14,7 +14,8 @@ RawGlitters::RawGlitters(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; lastSampleL = 0.0; lastSample2L = 0.0; lastSampleR = 0.0; diff --git a/plugins/MacVST/RawTimbers/source/RawTimbers.cpp b/plugins/MacVST/RawTimbers/source/RawTimbers.cpp index da85dbaf2..9b0093a23 100755 --- a/plugins/MacVST/RawTimbers/source/RawTimbers.cpp +++ b/plugins/MacVST/RawTimbers/source/RawTimbers.cpp @@ -14,7 +14,8 @@ RawTimbers::RawTimbers(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; lastSampleL = 0.0; lastSample2L = 0.0; lastSampleR = 0.0; diff --git a/plugins/MacVST/Recurve/source/Recurve.cpp b/plugins/MacVST/Recurve/source/Recurve.cpp index a669540a9..8d8f1f0dc 100755 --- a/plugins/MacVST/Recurve/source/Recurve.cpp +++ b/plugins/MacVST/Recurve/source/Recurve.cpp @@ -13,7 +13,8 @@ Recurve::Recurve(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { gain = 2.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Remap/source/Remap.cpp b/plugins/MacVST/Remap/source/Remap.cpp index b4663c529..99b46e0ca 100755 --- a/plugins/MacVST/Remap/source/Remap.cpp +++ b/plugins/MacVST/Remap/source/Remap.cpp @@ -15,7 +15,8 @@ Remap::Remap(audioMasterCallback audioMaster) : A = 0.5; B = 1.0; C = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/ResEQ/source/ResEQ.cpp b/plugins/MacVST/ResEQ/source/ResEQ.cpp index feffbda53..ad7c8782f 100755 --- a/plugins/MacVST/ResEQ/source/ResEQ.cpp +++ b/plugins/MacVST/ResEQ/source/ResEQ.cpp @@ -26,7 +26,8 @@ ResEQ::ResEQ(audioMasterCallback audioMaster) : bR[count] = 0.0; fR[count] = 0.0; } framenumber = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Slew3/source/Slew3.cpp b/plugins/MacVST/Slew3/source/Slew3.cpp index 5bf29f586..96ce3829c 100755 --- a/plugins/MacVST/Slew3/source/Slew3.cpp +++ b/plugins/MacVST/Slew3/source/Slew3.cpp @@ -15,7 +15,8 @@ Slew3::Slew3(audioMasterCallback audioMaster) : A = 0.0; lastSampleAL = lastSampleBL = lastSampleCL = 0.0; lastSampleAR = lastSampleBR = lastSampleCR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Smooth/source/Smooth.cpp b/plugins/MacVST/Smooth/source/Smooth.cpp index 6509d2aeb..e134523b8 100755 --- a/plugins/MacVST/Smooth/source/Smooth.cpp +++ b/plugins/MacVST/Smooth/source/Smooth.cpp @@ -38,7 +38,8 @@ Smooth::Smooth(audioMasterCallback audioMaster) : lastSampleER = 0.0; gainER = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/SoftGate/source/SoftGate.cpp b/plugins/MacVST/SoftGate/source/SoftGate.cpp index 4db4f8f2f..6fd4a52a3 100755 --- a/plugins/MacVST/SoftGate/source/SoftGate.cpp +++ b/plugins/MacVST/SoftGate/source/SoftGate.cpp @@ -20,7 +20,8 @@ SoftGate::SoftGate(audioMasterCallback audioMaster) : storedR[0] = storedR[1] = 0.0; diffR = 0.0; gate = 1.1; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/SpatializeDither/source/SpatializeDither.cpp b/plugins/MacVST/SpatializeDither/source/SpatializeDither.cpp index e4ebc5549..f145ddd43 100755 --- a/plugins/MacVST/SpatializeDither/source/SpatializeDither.cpp +++ b/plugins/MacVST/SpatializeDither/source/SpatializeDither.cpp @@ -14,7 +14,8 @@ SpatializeDither::SpatializeDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; contingentErrL = 0.0; contingentErrR = 0.0; flip = false; diff --git a/plugins/MacVST/Spiral/source/Spiral.cpp b/plugins/MacVST/Spiral/source/Spiral.cpp index 88106caf6..11ef632c0 100755 --- a/plugins/MacVST/Spiral/source/Spiral.cpp +++ b/plugins/MacVST/Spiral/source/Spiral.cpp @@ -12,7 +12,8 @@ AudioEffect* createEffectInstance(audioMasterCallback audioMaster) {return new S Spiral::Spiral(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Spiral2/source/Spiral2.cpp b/plugins/MacVST/Spiral2/source/Spiral2.cpp index 4d1f8bb1e..1211da49e 100755 --- a/plugins/MacVST/Spiral2/source/Spiral2.cpp +++ b/plugins/MacVST/Spiral2/source/Spiral2.cpp @@ -20,7 +20,8 @@ Spiral2::Spiral2(audioMasterCallback audioMaster) : iirSampleAL = 0.0; iirSampleBL = 0.0; prevSampleL = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; iirSampleAR = 0.0; iirSampleBR = 0.0; diff --git a/plugins/MacVST/TPDFDither/source/TPDFDither.cpp b/plugins/MacVST/TPDFDither/source/TPDFDither.cpp index 2e8df5daa..2266f5851 100755 --- a/plugins/MacVST/TPDFDither/source/TPDFDither.cpp +++ b/plugins/MacVST/TPDFDither/source/TPDFDither.cpp @@ -14,7 +14,8 @@ TPDFDither::TPDFDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. _canDo.insert("plugAsSend"); // plug-in can be used as a send effect. diff --git a/plugins/MacVST/Tape/source/Tape.cpp b/plugins/MacVST/Tape/source/Tape.cpp index 8631f6bf1..1d9fbb93e 100755 --- a/plugins/MacVST/Tape/source/Tape.cpp +++ b/plugins/MacVST/Tape/source/Tape.cpp @@ -29,7 +29,8 @@ Tape::Tape(audioMasterCallback audioMaster) : flip = false; lastSampleL = 0.0; lastSampleR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/TapeDither/source/TapeDither.cpp b/plugins/MacVST/TapeDither/source/TapeDither.cpp index be85fcdb2..fdd04534f 100755 --- a/plugins/MacVST/TapeDither/source/TapeDither.cpp +++ b/plugins/MacVST/TapeDither/source/TapeDither.cpp @@ -14,7 +14,8 @@ TapeDither::TapeDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; previousDither1L = 0.0; previousDither2L = 0.0; previousDither3L = 0.0; diff --git a/plugins/MacVST/ToTape6/source/ToTape6.cpp b/plugins/MacVST/ToTape6/source/ToTape6.cpp index 741b7565e..fe39aef98 100755 --- a/plugins/MacVST/ToTape6/source/ToTape6.cpp +++ b/plugins/MacVST/ToTape6/source/ToTape6.cpp @@ -43,7 +43,8 @@ ToTape6::ToTape6(audioMasterCallback audioMaster) : lastSampleR = 0.0; flip = 0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/TremoSquare/source/TremoSquare.cpp b/plugins/MacVST/TremoSquare/source/TremoSquare.cpp index e854b11ac..3bd90f485 100755 --- a/plugins/MacVST/TremoSquare/source/TremoSquare.cpp +++ b/plugins/MacVST/TremoSquare/source/TremoSquare.cpp @@ -19,7 +19,8 @@ TremoSquare::TremoSquare(audioMasterCallback audioMaster) : muteL = false; polarityR = false; muteR = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/TripleSpread/source/TripleSpread.cpp b/plugins/MacVST/TripleSpread/source/TripleSpread.cpp index 7e4926290..c9ce7c968 100755 --- a/plugins/MacVST/TripleSpread/source/TripleSpread.cpp +++ b/plugins/MacVST/TripleSpread/source/TripleSpread.cpp @@ -51,7 +51,8 @@ TripleSpread::TripleSpread(audioMasterCallback audioMaster) : A = 0.5; B = 0.5; C = 0.5; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Ultrasonic/source/Ultrasonic.cpp b/plugins/MacVST/Ultrasonic/source/Ultrasonic.cpp index e58027991..fe70912b4 100755 --- a/plugins/MacVST/Ultrasonic/source/Ultrasonic.cpp +++ b/plugins/MacVST/Ultrasonic/source/Ultrasonic.cpp @@ -13,7 +13,8 @@ Ultrasonic::Ultrasonic(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0; biquadB[x] = 0.0; biquadC[x] = 0.0; biquadD[x] = 0.0; biquadE[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/UltrasonicLite/source/UltrasonicLite.cpp b/plugins/MacVST/UltrasonicLite/source/UltrasonicLite.cpp index cceaf217f..5f5d08cf1 100755 --- a/plugins/MacVST/UltrasonicLite/source/UltrasonicLite.cpp +++ b/plugins/MacVST/UltrasonicLite/source/UltrasonicLite.cpp @@ -13,7 +13,8 @@ UltrasonicLite::UltrasonicLite(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/UltrasonicMed/source/UltrasonicMed.cpp b/plugins/MacVST/UltrasonicMed/source/UltrasonicMed.cpp index fe2ac75a9..906bb46a6 100755 --- a/plugins/MacVST/UltrasonicMed/source/UltrasonicMed.cpp +++ b/plugins/MacVST/UltrasonicMed/source/UltrasonicMed.cpp @@ -13,7 +13,8 @@ UltrasonicMed::UltrasonicMed(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { for (int x = 0; x < 15; x++) {biquadA[x] = 0.0;biquadB[x] = 0.0;} - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/UnBox/source/UnBox.cpp b/plugins/MacVST/UnBox/source/UnBox.cpp index 221f617d6..211bdb712 100755 --- a/plugins/MacVST/UnBox/source/UnBox.cpp +++ b/plugins/MacVST/UnBox/source/UnBox.cpp @@ -23,7 +23,8 @@ UnBox::UnBox(audioMasterCallback audioMaster) : iirSampleAR = 0.0; iirSampleBR = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/Vibrato/source/Vibrato.cpp b/plugins/MacVST/Vibrato/source/Vibrato.cpp index 6b32cea10..9993a661d 100755 --- a/plugins/MacVST/Vibrato/source/Vibrato.cpp +++ b/plugins/MacVST/Vibrato/source/Vibrato.cpp @@ -34,7 +34,8 @@ Vibrato::Vibrato(audioMasterCallback audioMaster) : flip = false; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/VinylDither/source/VinylDither.cpp b/plugins/MacVST/VinylDither/source/VinylDither.cpp index 9123d5431..2538e55f8 100755 --- a/plugins/MacVST/VinylDither/source/VinylDither.cpp +++ b/plugins/MacVST/VinylDither/source/VinylDither.cpp @@ -14,7 +14,8 @@ VinylDither::VinylDither(audioMasterCallback audioMaster) : { A = 1.0; B = 0.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; NSOddL = 0.0; prevL = 0.0; nsL[0] = 0; diff --git a/plugins/MacVST/VoiceTrick/source/VoiceTrick.cpp b/plugins/MacVST/VoiceTrick/source/VoiceTrick.cpp index 1553a504a..c4df942f9 100755 --- a/plugins/MacVST/VoiceTrick/source/VoiceTrick.cpp +++ b/plugins/MacVST/VoiceTrick/source/VoiceTrick.cpp @@ -23,7 +23,8 @@ VoiceTrick::VoiceTrick(audioMasterCallback audioMaster) : lowpassChase = 0.0; lowpassAmount = 1.0; lastLowpass = 1000.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect. diff --git a/plugins/MacVST/curve/source/curve.cpp b/plugins/MacVST/curve/source/curve.cpp index 8c4e78f40..3bebc534b 100755 --- a/plugins/MacVST/curve/source/curve.cpp +++ b/plugins/MacVST/curve/source/curve.cpp @@ -13,7 +13,8 @@ curve::curve(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, kNumPrograms, kNumParameters) { gain = 1.0; - fpd = 1.0; while (fpd < 16386) fpd = rand()*UINT32_MAX; + fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX; + fpdR = 1.0; while (fpdR < 16386) fpdR = rand()*UINT32_MAX; //this is reset: values being initialized only once. Startup values, whatever they are. _canDo.insert("plugAsChannelInsert"); // plug-in can be used as a channel insert effect.