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
From this example:
declare options "[midi:on][nvoices:12]"; import("stdfaust.lib"); freq = hslider("freq",200,50,1000,0.01); gain = hslider("gain",0.5,0,1,0.01); gate = button("gate"); envelope = en.adsr(0.01,0.01,0.8,0.1,gate)*gain; process = os.sawtooth(freq)*envelope <: _,_; effect = dm.zita_light;
adding a comment on any line after effect causes the compiler to ignore the definition (here, making the sawtooth sound dry).
effect
declare options "[midi:on][nvoices:12]"; import("stdfaust.lib"); freq = hslider("freq",200,50,1000,0.01); gain = hslider("gain",0.5,0,1,0.01); gate = button("gate"); envelope = en.adsr(0.01,0.01,0.8,0.1,gate)*gain; process = os.sawtooth(freq)*envelope <: _,_; //foo effect = dm.zita_light;
runs normally.
declare options "[midi:on][nvoices:12]"; import("stdfaust.lib"); freq = hslider("freq",200,50,1000,0.01); gain = hslider("gain",0.5,0,1,0.01); gate = button("gate"); envelope = en.adsr(0.01,0.01,0.8,0.1,gate)*gain; process = os.sawtooth(freq)*envelope <: _,_; effect = dm.zita_light; //foo
makes effect disappear.
The text was updated successfully, but these errors were encountered:
@Fr0stbyteR stage bug since the same code works correctly in faustwasm standalone mode. Any idea ?
Sorry, something went wrong.
Hmm.. if you put a new line after //foo, the effect appears
//foo
Fixed in 7f18b17 and deployed.
No branches or pull requests
From this example:
adding a comment on any line after
effect
causes the compiler to ignore the definition (here, making the sawtooth sound dry).runs normally.
makes
effect
disappear.The text was updated successfully, but these errors were encountered: