We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I realized that the following faust dsp creates a unecessary slow variable fSlow0.
import("stdfaust.lib"); volumeM = vslider("volume", 0, -70, +4, 0.1) : ba.db2linear; process(a) = attach(volumeM:vbargraph("level",0,1));
virtual void compute(int count, FAUSTFLOAT** RESTRICT inputs, FAUSTFLOAT** RESTRICT outputs) { FAUSTFLOAT* input0 = inputs[0]; FAUSTFLOAT* input1 = inputs[1]; FAUSTFLOAT* output0 = outputs[0]; fVbargraph0 = FAUSTFLOAT(std::pow(1e+01f, 0.05f * float(fVslider0))); float fSlow0 = fVbargraph0; for (int i0 = 0; i0 < count; i0 = i0 + 1) { output0[i0] = FAUSTFLOAT(float(input1[i0])); } }
this becomes relevant if -ec is used because in this case it cannot be simply optimized away.
-ec
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I realized that the following faust dsp creates a unecessary slow variable fSlow0.
this becomes relevant if
-ec
is used because in this case it cannot be simply optimized away.The text was updated successfully, but these errors were encountered: