-
-
Save ciarandg/6d0c4e0c9218d3cba22e11c301959e60 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import("stdfaust.lib"); | |
noiseGate = hgroup("Noise Gate", | |
ef.gate_mono(hslider("Threshold",-60,-60,0,1), | |
0.002, 0.3, 0.02)); | |
gainMultiplier = hslider("Gain",2,1,25,0.1); | |
compressor = hgroup("Compressor", | |
co.compressor_mono(hslider("Ratio",8,1,10,0.1), | |
hslider("Threshold",-10,-60,0,1), | |
0.02, 0.02)); | |
effectChain = noiseGate : *(gainMultiplier) : compressor; | |
inMeter = hgroup("Volume",attach(_,abs : ba.linear2db : hbargraph("Input",-60,0))); | |
outMeter = hgroup("Volume",attach(_,abs : ba.linear2db : hbargraph("Output",-60,0))); | |
process = _ <: inMeter,effectChain <: outMeter; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment