Removed the example from the filters modulable
section
This commit is contained in:
parent
68b317ddac
commit
8d44b85466
2 changed files with 3 additions and 9 deletions
|
|
@ -62,12 +62,3 @@ hp1Smooth(s,f) = fi.iir((0.5*(1.+p),-0.5*(1+p)),(0.-p)) with {
|
||||||
ap1Smooth(s,f) = fi.iir((a,1.),(a)) with {
|
ap1Smooth(s,f) = fi.iir((a,1.),(a)) with {
|
||||||
a = (-1.+2.*ma.PI*f/ma.SR) : s;
|
a = (-1.+2.*ma.PI*f/ma.SR) : s;
|
||||||
};
|
};
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Example
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
process = rbjPeakingEqSmooth(si.smooth(ba.tau2pole(0.001)), cutoff, gain, resonance) with {
|
|
||||||
cutoff = hslider("[1] Cutoff [unit:Hz] [scale:log]", 50.0, 50.0, 10000.0, 1.0);
|
|
||||||
resonance = hslider("[2] Resonance [unit:dB]", 1.0, 0.0, 40.0, 0.1);
|
|
||||||
gain = hslider("[2] gain [unit:dB]", 1.0, -80.0, 80.0, 0.1);
|
|
||||||
};
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,9 @@ sfzNoise = no.noise : *(0.25);
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
// Filters
|
// Filters
|
||||||
|
// To generate a specific filter from this file, use:
|
||||||
|
// faust2jack -double -pn sfzPeq src/sfizz/dsp/filters/sfz_filters.dsp
|
||||||
|
// and replace sfzPeq by the filter you want
|
||||||
|
|
||||||
// the SFZ lowpass 1-pole filter
|
// the SFZ lowpass 1-pole filter
|
||||||
sfzLpf1p = fm.lp1Smooth(smoothCoefs,cutoff);
|
sfzLpf1p = fm.lp1Smooth(smoothCoefs,cutoff);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue