Skip to content

Commit

Permalink
Remove setting attributes during dspsetup
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelgk authored and Isabel Kaspriskie committed May 12, 2022
1 parent db5d9b7 commit 7776843
Show file tree
Hide file tree
Showing 149 changed files with 19 additions and 614 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class acceleration2 : public object<acceleration2>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.32;
B = 1.0;

lastSampleL = lastSampleR = 0.0;
for(int count = 0; count < 33; count++) {sL[count] = sR[count] = 0.0;}
m1L = m2L = m1R = m2R = 0.0;
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.adclip7_tilde/ar.adclip7_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ class adclip7 : public object<adclip7>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 0.5;
C = 0.5;

lastSampleL = 0.0;
lastSampleR = 0.0;
for(int count = 0; count < 22199; count++) {bL[count] = 0; bR[count] = 0;}
Expand Down
7 changes: 0 additions & 7 deletions source/projects/ar.adt_tilde/ar.adt_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ class adt : public object<adt>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5; //0.0 to 2.0 headroom
B = 0.5; //delay time
C = 0.5; //-1.0 to 1.0 inv/out
D = 0.5; //delay time
E = 0.5; //-1.0 to 1.0 inv/out
F = 0.5; //0.0 to 2.0 output level

for(int count = 0; count < 9999; count++) {pL[count] = 0; pR[count] = 0;}
offsetA = 9001;
offsetB = 9001; // :D
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.apicolypse_tilde/ar.apicolypse_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class apicolypse : public object<apicolypse>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.7;
B = 0.3;
C = 0.3;
D = 1.0;
for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;}
lastSampleR = 0.0;lastSampleL = 0.0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ class aquickvoiceclip : public object<aquickvoiceclip>, public vector_operator<>

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.42;
LataLast6Sample = LataLast5Sample = LataLast4Sample = 0.0;
LataLast3Sample = LataLast2Sample = LataLast1Sample = 0.0;
LataHalfwaySample = LataHalfDrySample = LataHalfDiffSample = 0.0;
Expand Down
2 changes: 0 additions & 2 deletions source/projects/ar.aura_tilde/ar.aura_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class aura : public object<aura>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 1.0;
for(int count = 0; count < 21; count++) {
bL[count] = 0.0;
bR[count] = 0.0;
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.autopan_tilde/ar.autopan_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class autopan : public object<autopan>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.1;
B = 0.5;
C = 0.0;
D = 1.0;
rate = 3.0;
oldfpd = 429496.7295;
fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.average_tilde/ar.average_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class average : public object<average>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 1.0;

for(int count = 0; count < 11; count++) {bL[count] = 0.0; bR[count] = 0.0; f[count] = 0.0;}

fpNShapeL = 0.0;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.avermatrix_tilde/ar.avermatrix_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class avermatrix : public object<avermatrix>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 0.0;
C = 1.0;
for(int x = 0; x < 11; x++) {
f[x] = 0.0;
for (int y = 0; y < 11; y++) {
Expand Down
5 changes: 0 additions & 5 deletions source/projects/ar.bassamp_tilde/ar.bassamp_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ class bassamp : public object<bassamp>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.75;
B = 0.0;
C = 0.75;
D = 0.0;

LataLast6Sample = 0.0;
LataLast5Sample = 0.0;
LataLast4Sample = 0.0;
Expand Down
5 changes: 0 additions & 5 deletions source/projects/ar.bassdrive_tilde/ar.bassdrive_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ class bassdrive : public object<bassdrive>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.5;
C = 0.5;
D = 0.5;
E = 0.5;
for (int fcount = 0; fcount < 7; fcount++)
{
presenceInAL[fcount] = 0.0;
Expand Down
5 changes: 0 additions & 5 deletions source/projects/ar.basskit_tilde/ar.basskit_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ class basskit : public object<basskit>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.5;
C = 0.5;
D = 0.5;

WasNegative = false;
SubOctave = false;
flip = false;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.baxandall_tilde/ar.baxandall_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class baxandall : public object<baxandall>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.5;
C = 0.5;
for (int x = 0; x < 9; x++) {
trebleAL[x] = 0.0;
trebleBL[x] = 0.0;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.beam_tilde/ar.beam_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class beam : public object<beam>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 1.0;
B = 0.5;
C = 0.0;
for(int count = 0; count < 99; count++) {
lastSampleL[count] = 0;
lastSampleR[count] = 0;
Expand Down
5 changes: 0 additions & 5 deletions source/projects/ar.biquad_tilde/ar.biquad_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ class biquad : public object<biquad>, public vector_operator<> {
message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
for (int x = 0; x < 11; x++) {biquad[x] = 0.0;}
B = 0.5;
C = 0.5;
D = 1.0;
fpd = 17;
//this is reset: values being initialized only once. Startup values, whatever they are.

return {};
}
};
Expand Down
2 changes: 0 additions & 2 deletions source/projects/ar.bite_tilde/ar.bite_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class bite : public object<bite>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 1.0;
sampleAL = 0.0;
sampleBL = 0.0;
sampleCL = 0.0;
Expand Down
7 changes: 1 addition & 6 deletions source/projects/ar.bitglitter_tilde/ar.bitglitter_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ class bitglitter : public object<bitglitter>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.0;
C = 0.5;
D = 1.0;

fpd = 17;
fpd = 17;

ataLastSampleL = 0.0;
ataHalfwaySampleL = 0.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ class bitshiftgain : public object<bitshiftgain>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
//this is reset: values being initialized only once. Startup values, whatever they are.

return {};
}
};
Expand Down
4 changes: 1 addition & 3 deletions source/projects/ar.blockparty_tilde/ar.blockparty_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ class blockparty : public object<blockparty>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 1.0;
fpd = 17;
fpd = 17;

muSpeedAL = 10000;
muSpeedBL = 10000;
Expand Down
2 changes: 0 additions & 2 deletions source/projects/ar.brassrider_tilde/ar.brassrider_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class brassrider : public object<brassrider>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 0.0;
for(int count = 0; count < 80001; count++) {d[count] = 0.0; e[count] = 0.0;}
control = 0.0;
clamp = 0.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ class brightambience2 : public object<brightambience2>, public vector_operator<>
for(int count = 0; count < 32767; count++) {pL[count] = 0.0; pR[count] = 0.0;}
feedbackA = feedbackB = feedbackC = 0.0;
gcount = 0;
A = 0.2;
B = 0.2;
C = 0.0;
D = 0.5;
fpd = 17;
//this is reset: values being initialized only once. Startup values, whatever they are.

Expand Down
11 changes: 0 additions & 11 deletions source/projects/ar.buildatpdf_tilde/ar.buildatpdf_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,6 @@ class buildatpdf : public object<buildatpdf>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.5;
C = 0.5;
D = 0.5;
E = 0.5;
F = 0.5;
G = 0.5;
H = 0.5;
I = 0.5;
J = 0.5;

for(int count = 0; count < 11; count++) {bL[count] = 0.0; bR[count] = 0.0; f[count] = 0.0;}

//this is reset: values being initialized only once. Startup values, whatever they are.
Expand Down
2 changes: 0 additions & 2 deletions source/projects/ar.buttercomp_tilde/ar.buttercomp_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class buttercomp : public object<buttercomp>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 1.0;
controlAposL = 1.0;
controlAnegL = 1.0;
controlBposL = 1.0;
Expand Down
6 changes: 0 additions & 6 deletions source/projects/ar.calibre_tilde/ar.calibre_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,9 @@ class calibre : public object<calibre>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.74;
B = 0.3333333;
C = 0.3333333;
D = 1.0;
for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;}
lastSampleR = 0.0;lastSampleL = 0.0;
fpd = 17;
//this is reset: values being initialized only once. Startup values, whatever they are.

return {};
}
};
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.capacitor2_tilde/ar.capacitor2_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class capacitor2 : public object<capacitor2>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 1.0;
B = 0.0;
C = 0.0;
D = 1.0;
iirHighpassAL = 0.0;
iirHighpassBL = 0.0;
iirHighpassCL = 0.0;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.capacitor_tilde/ar.capacitor_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class capacitor : public object<capacitor>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 1.0;
B = 0.0;
C = 1.0;
iirHighpassAL = 0.0;
iirHighpassBL = 0.0;
iirHighpassCL = 0.0;
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.chorus_tilde/ar.chorus_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ class chorus : public object<chorus>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.5;
C = 0.5;

for(int count = 0; count < totalsamples-1; count++) {dL[count] = 0; dR[count] = 0;}
sweep = 3.141592653589793238 / 2.0;
gcount = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ class chorusensemble : public object<chorusensemble>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5;
B = 0.5;
C = 0.8;

for(int count = 0; count < totalsamples-1; count++) {dL[count] = 0; dR[count] = 0;}
sweep = 3.141592653589793238 / 2.0;
gcount = 0;
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.cider_tilde/ar.cider_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class cider : public object<cider>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.70;
B = 0.3333333;
C = 0.3333333;
D = 1.0;
for(int count = 0; count < 34; count++) {bR[count] = 0;bL[count] = 0;}
lastSampleR = 0.0;lastSampleL = 0.0;
fpd = 17;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.coils2_tilde/ar.coils2_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class coils2 : public object<coils2>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 0.0;
C = 1.0;
for (int x = 0; x < 15; x++) {biquadA[x] = 0.0; biquadB[x] = 0.0;}
hysteresisL = hysteresisR = 0.0;
fpdL = 1.0; while (fpdL < 16386) fpdL = rand()*UINT32_MAX;
Expand Down
3 changes: 0 additions & 3 deletions source/projects/ar.coils_tilde/ar.coils_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ class coils : public object<coils>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.0;
B = 0.5;
C = 1.0;
for (int x = 0; x < 9; x++) {figureL[x] = 0.0;figureR[x] = 0.0;}
fpd = 17;
//this is reset: values being initialized only once. Startup values, whatever they are.
Expand Down
6 changes: 0 additions & 6 deletions source/projects/ar.cojones_tilde/ar.cojones_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ class cojones : public object<cojones>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5; //0-2
B = 0.5; //0-2
C = 0.5; //0-2
D = 1.0;
E = 1.0;

storedL[0] = storedL[1] = 0.0;
diffL[0] = diffL[1] = diffL[2] = diffL[3] = diffL[4] = diffL[5] = 0.0;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ class compresaturator : public object<compresaturator>, public vector_operator<>

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.5; //-12 to +12 dB
B = 0.5; //0 to 100%
C = 0.5; //50 to 5000 samples, default 500
D = 1.0;
E = 1.0;

for(int count = 0; count < 10990; count++) {dL[count] = 0.0; dR[count] = 0.0;}
dCount = 0;
lastWidthL = 500;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ class crunchygroovewear : public object<crunchygroovewear>, public vector_operat

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.064;
B = 1.0;

for(int count = 0; count < 21; count++) {
aMidL[count] = 0.0;
bMidL[count] = 0.0;
Expand Down
4 changes: 0 additions & 4 deletions source/projects/ar.crystal_tilde/ar.crystal_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ class crystal : public object<crystal>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 0.7;
B = 1.0;
C = 0.333; //0.0 to 3.0 range
D = 1.0;
for(int count = 0; count < 34; count++) {bL[count] = 0; bR[count] = 0;}
lastSampleL = 0.0;
lastSampleR = 0.0;
Expand Down
2 changes: 0 additions & 2 deletions source/projects/ar.dark_tilde/ar.dark_tilde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ class dark : public object<dark>, public vector_operator<> {

message<> dspsetup {this, "dspsetup",
MIN_FUNCTION {
A = 1.0;
B = 0.0;
fpd = 17;
for(int count = 0; count < 99; count++) {
lastSampleL[count] = 0;
Expand Down
Loading

0 comments on commit 7776843

Please sign in to comment.