_id stringlengths 64 64 | repository stringlengths 7 61 | name stringlengths 5 45 | content stringlengths 0 943k | download_url stringlengths 94 213 | language stringclasses 1
value | comments stringlengths 0 20.9k | code stringlengths 0 943k |
|---|---|---|---|---|---|---|---|
c6ec6ab08a89ea570a50177668ebf8841d710d49206b17f62f4fed5bfc774aed | lupu2022/LotusRiver | biscale.dsp | import("stdfaust.lib");
low = nentry("low", 0.1, 0, 10000, 0.01);
up = nentry("up", 0.1, 0, 10000, 0.01);
scale = up - low;
process(x) = low + (xx + 1.0) / 2.0 * scale
with {
xx = ((x <= 1.0) & (x >= -1.0)) * x + (x > 1.0) - (x < -1.0);
};
| https://raw.githubusercontent.com/lupu2022/LotusRiver/fdcfc1bd1669e61b21d09f22063a158cdfc23294/fs/zz/biscale.dsp | faust | import("stdfaust.lib");
low = nentry("low", 0.1, 0, 10000, 0.01);
up = nentry("up", 0.1, 0, 10000, 0.01);
scale = up - low;
process(x) = low + (xx + 1.0) / 2.0 * scale
with {
xx = ((x <= 1.0) & (x >= -1.0)) * x + (x > 1.0) - (x < -1.0);
};
| |
d30d15e1f11aba12f1404f6eff2e009eea25a6bc6ec0cde8c2076a9b89467e26 | lupu2022/LotusRiver | fm.dsp | import("stdfaust.lib");
carry = nentry("carry", 0.1, 0, 10000, 0.01);
modulator = nentry("modulator", 0.1, 0, 10000, 0.01);
index = nentry("index", 0.1, 0, 1000, 0.01);
freqs = (carry, modulator);
indics = (index);
process = sy.fm(freqs, indics);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/zz/fm.dsp | faust | import("stdfaust.lib");
carry = nentry("carry", 0.1, 0, 10000, 0.01);
modulator = nentry("modulator", 0.1, 0, 10000, 0.01);
index = nentry("index", 0.1, 0, 1000, 0.01);
freqs = (carry, modulator);
indics = (index);
process = sy.fm(freqs, indics);
| |
0db8156c72390cb0bf9eae751134e57f1b978830388c868c06628ed04aac481e | lupu2022/LotusRiver | comb.dsp | import("stdfaust.lib");
rtime = nentry("rtime", 0.1, 0, 10000, 0.01);
coef_y = nentry("coef_y", 0.1, 0, 10000, 0.01);
coef_x = nentry("coef_x", 0.1, 0, 10000, 0.01);
n = int(0.25 * ma.SR);
d = int(rtime * ma.SR - 1);
process = (*(coef_y), *(coef_x) : + : de.delay(n, d)) ~ _;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/zz/comb.dsp | faust | import("stdfaust.lib");
rtime = nentry("rtime", 0.1, 0, 10000, 0.01);
coef_y = nentry("coef_y", 0.1, 0, 10000, 0.01);
coef_x = nentry("coef_x", 0.1, 0, 10000, 0.01);
n = int(0.25 * ma.SR);
d = int(rtime * ma.SR - 1);
process = (*(coef_y), *(coef_x) : + : de.delay(n, d)) ~ _;
| |
f45b5bbc07fd4dac7e2d33cc9961a05bb7aeb9595a0ea2321b6dc805ad922c1f | lupu2022/LotusRiver | tenv.dsp | import("stdfaust.lib");
atk = nentry("atk", 0.1, 0, 10000, 0.01);
hold = nentry("hold", 0.1, 0, 10000, 0.01);
rel = nentry("rel", 0.1, 0, 10000, 0.01);
hold_flag = (rel + hold) * ma.SR;
pos = auto_add ~ _
with {
auto_add(last_p, trig) =
(trig == 0) * ( ( (last_p - 1) < hold_flag) * (last_p + 1) + ( (last_p + ... | https://raw.githubusercontent.com/lupu2022/LotusRiver/2502800bdb1c86ff7cfe2da97a3acf2d88b39002/fs/zz/tenv.dsp | faust | import("stdfaust.lib");
atk = nentry("atk", 0.1, 0, 10000, 0.01);
hold = nentry("hold", 0.1, 0, 10000, 0.01);
rel = nentry("rel", 0.1, 0, 10000, 0.01);
hold_flag = (rel + hold) * ma.SR;
pos = auto_add ~ _
with {
auto_add(last_p, trig) =
(trig == 0) * ( ( (last_p - 1) < hold_flag) * (last_p + 1) + ( (last_p + ... | |
ccc40aa95caca60a7cc2cb9a0d9d856c4ecf717c9528fe74292789ab6b519485 | lupu2022/LotusRiver | tenvx.dsp | import("stdfaust.lib");
atk = nentry("atk", 0.1, 0, 10000, 0.01);
hold = nentry("hold", 0.1, 0, 10000, 0.01);
rel = nentry("rel", 0.1, 0, 10000, 0.01);
a_a = exp(-1.0/(atk * ma.SR));
b_a = 1.0 - a_a;
a_r = exp(-1.0/(rel * ma.SR));
hcount = hold * ma.SR;
counter(t) = (a * hcount + b * (_ - 1) ) ~ check
with {
a... | https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/zz/tenvx.dsp | faust | import("stdfaust.lib");
atk = nentry("atk", 0.1, 0, 10000, 0.01);
hold = nentry("hold", 0.1, 0, 10000, 0.01);
rel = nentry("rel", 0.1, 0, 10000, 0.01);
a_a = exp(-1.0/(atk * ma.SR));
b_a = 1.0 - a_a;
a_r = exp(-1.0/(rel * ma.SR));
hcount = hold * ma.SR;
counter(t) = (a * hcount + b * (_ - 1) ) ~ check
with {
a... | |
b040b127a8a7f942a529f8a9acd5c4b7bdca259cb85815f6a511c6a8243b51d3 | lupu2022/phy2raw | clarinet.dsp | import("stdfaust.lib");
import("instruments.lib");
//==================== GUI SPECIFICATION ================
freq = nentry("h:Basic_Parameters/freq [1][unit:Hz] [tooltip:Tone frequency]",440,20,20000,1);
gain = nentry("h:Basic_Parameters/gain [1][tooltip:Gain (value between 0 and 1)]",1,0,1,0.01);
gate = button("h:B... | https://raw.githubusercontent.com/lupu2022/phy2raw/2aa0ff6ac003b2dc63dbb6a89e4d0fe3d9941431/phy/clarinet.dsp | faust | ==================== GUI SPECIFICATION ================
Reed stiffness (value between 0 and 1)
Breath noise gain (value between 0 and 1)
Breath pressure (value bewteen 0 and 1)
0=theta is modulated by the incoming signal;
1=theta is modulated by the averaged incoming signal;
2=theta is modulated by the ... | import("stdfaust.lib");
import("instruments.lib");
freq = nentry("h:Basic_Parameters/freq [1][unit:Hz] [tooltip:Tone frequency]",440,20,20000,1);
gain = nentry("h:Basic_Parameters/gain [1][tooltip:Gain (value between 0 and 1)]",1,0,1,0.01);
gate = button("h:Basic_Parameters/gate [1][tooltip:noteOn = 1, noteOff = 0]"... |
3210ca4c4e48c13f745d591b5e2bccf45abe4bea7a7b9f7504cc4cafc4f045ab | lupu2022/LotusRiver | vibrato.dsp | import("stdfaust.lib");
//----------------------- VIBRATO ENVELOPE ----------------------------
// 4 phases envelope to control vibrato gain
//
// USAGE:
// _ : *(envVibrato(b,a,s,r,t)) : _
// where
// b = beginning duration (silence) in seconds
// a = attack duration in seconds
// s = sustain as a percentage ... | https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/zz/vibrato.dsp | faust | ----------------------- VIBRATO ENVELOPE ----------------------------
4 phases envelope to control vibrato gain
USAGE:
_ : *(envVibrato(b,a,s,r,t)) : _
where
b = beginning duration (silence) in seconds
a = attack duration in seconds
s = sustain as a percentage of the amplitude to be modified
r = rele... | import("stdfaust.lib");
with {
env(p2,cnt,y) =
(t>0) & (p2|(y>=1)),
with {
nb = ma.SR*b+(b==0.0) ; na = ma.SR*a+(a==0.0); nr = ma.SR*r+(r==0.0);
z = s+(s==0.0)*ba.db2linear(-60);
u = 1/na; w = 1-1/pow(z*ba.db2linear(60), 1/nr);
eps = ba.db2linear(-12... |
fcf555b9e2e470b91ced68eb37f4b5b4d422ce7b3c222e828d344785a555b0f8 | matthewcaren/faust-guitar | chain.dsp | import("stdfaust.lib");
// *** COMPRESSOR ***
compressorParam = hslider("compressorParam", 6, 1, 20, 0.01) : si.smoo;
compressorDepth = hslider("compressorDepth", 0, 0, 1, 0.01) : si.smoo;
compressor = _*(1+compressorDepth) <: _*(1-compressorDepth), compressorDepth*co.compressor_mono(compressorParam,-20,0.08,0.3) ... | https://raw.githubusercontent.com/matthewcaren/faust-guitar/5bbe6a0b4e0f348c570cd8dfc228a723bc85b87e/chain.dsp | faust | *** COMPRESSOR ***
*** FUZZ ***
*** PHASER ***
*** REVERB ***
Delay-line lengths in seconds:
feedforward delays in seconds
total delays in seconds
samples
NOTE: Since SR is not bounded at compile time, we can't use it to
allocate delay lines; hence, the fsmax parameter:
allpass comb-filter coefficient
filte... | import("stdfaust.lib");
compressorParam = hslider("compressorParam", 6, 1, 20, 0.01) : si.smoo;
compressorDepth = hslider("compressorDepth", 0, 0, 1, 0.01) : si.smoo;
compressor = _*(1+compressorDepth) <: _*(1-compressorDepth), compressorDepth*co.compressor_mono(compressorParam,-20,0.08,0.3) :> _ ;
fuzzDepth = h... |
37c53f2a51a3f77b0431270536206ac69d98d71851f943d596cfb34c6f546e97 | madskjeldgaard/komet | ekvi5.dsp | // Equalizer with 5 bells + low and high shelf
import("stdfaust.lib");
import("lib/ekvi.lib");
num_bells = 5;
process = ek.ekvi(num_bells);
| https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/ekvi5.dsp | faust | Equalizer with 5 bells + low and high shelf | import("stdfaust.lib");
import("lib/ekvi.lib");
num_bells = 5;
process = ek.ekvi(num_bells);
|
ac282bc3e350ae317b795ee5301ae543dc3e7c6313e26eaa2ed68bc568c1d4ef | madskjeldgaard/komet | krossover2.dsp | // Linkwitz riley based band splitter
import("stdfaust.lib");
process = fi.crossover2LR4(cf) with{
cf = vslider("crossoverFreq",1500,10,20000,0.001);
};
| https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/krossover2.dsp | faust | Linkwitz riley based band splitter | import("stdfaust.lib");
process = fi.crossover2LR4(cf) with{
cf = vslider("crossoverFreq",1500,10,20000,0.001);
};
|
e6ccfcc2db6b785f568ffbb742288da7c9bad4cadaff111de9fcc9bf144b1a69 | madskjeldgaard/komet | guitar_streng.dsp | import("stdfaust.lib");
import("physmodels.lib");
// Based on guitar_ui_MIDI
streng_guitar1 = pm.guitar(stringLength,pluckPosition,gain,gate)
with{
f = hslider("freq",440,20,20000,0.0001);
gain = hslider("gain",0.8,0,1,0.01);
s = hslider("sustain",0,0,1,1);
pluckPosition = hslider("pluckPosition" ,0.8,... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/guitar_streng.dsp | faust | Based on guitar_ui_MIDI | import("stdfaust.lib");
import("physmodels.lib");
streng_guitar1 = pm.guitar(stringLength,pluckPosition,gain,gate)
with{
f = hslider("freq",440,20,20000,0.0001);
gain = hslider("gain",0.8,0,1,0.01);
s = hslider("sustain",0,0,1,1);
pluckPosition = hslider("pluckPosition" ,0.8,0,1,0.01) : si.smoo;
t ... |
5c44649aa3948e5d937ba8569fdd5e9a390725368d2b4275e30238ec90ada63a | madskjeldgaard/komet | elektrisk_streng.dsp | import("stdfaust.lib");
import("physmodels.lib");
// Based on elecGuitar demo
streng_guitar2 = pm.elecGuitar(stringLength,pluckPosition,1,gain,gate)
with{
f = hslider("freq",440,20,20000,0.001);
gain = hslider("gain",0.8,0,1,0.01);
s = hslider("sustain",0,0,1,1);
pluckPosition = hslider("pluckPosition"... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/elektrisk_streng.dsp | faust | Based on elecGuitar demo | import("stdfaust.lib");
import("physmodels.lib");
streng_guitar2 = pm.elecGuitar(stringLength,pluckPosition,1,gain,gate)
with{
f = hslider("freq",440,20,20000,0.001);
gain = hslider("gain",0.8,0,1,0.01);
s = hslider("sustain",0,0,1,1);
pluckPosition = hslider("pluckPosition",0.8,0,1,0.01) : si.smoo;
... |
d06fb7d76f885c69930242016493f91f73e901a3672e1414314d12b1c25487c9 | madskjeldgaard/komet | modular_streng.dsp | import("stdfaust.lib");
import("physmodels.lib");
modular_streng = pm.modularInterpInstr(stringLength,pluckPosition,shape,scale,gain,tapBody,gate)
with{
f = hslider("freq",440,20,20000,0.001);
gain = hslider("gain",0.8,0,1,0.01);
s = hslider("sustain",0,0,1,1);
shape = hslider("shape",0,0,1,0.01)*2;
... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/modular_streng.dsp | faust | import("stdfaust.lib");
import("physmodels.lib");
modular_streng = pm.modularInterpInstr(stringLength,pluckPosition,shape,scale,gain,tapBody,gate)
with{
f = hslider("freq",440,20,20000,0.001);
gain = hslider("gain",0.8,0,1,0.01);
s = hslider("sustain",0,0,1,1);
shape = hslider("shape",0,0,1,0.01)*2;
... | |
7efe2159a4af7fb8da201992d15d009ad06ec11f2031c1d9a595f42f5cea5284 | madskjeldgaard/komet | floejte.dsp | import("stdfaust.lib");
import("physmodels.lib");
process = fluteModel(tubeLength,mouthPosition,blow)
with{
f = hslider("freq",440,10,20000,0.00001);
gain = hslider("gain",0.9,0,1,0.01);
envAttack = hslider("envAttack",1,0,10,0.01)*0.001;
s = hslider("sustain",0,0,1,1);
mouthPosition = hslider("mou... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/floejte.dsp | faust | import("stdfaust.lib");
import("physmodels.lib");
process = fluteModel(tubeLength,mouthPosition,blow)
with{
f = hslider("freq",440,10,20000,0.00001);
gain = hslider("gain",0.9,0,1,0.01);
envAttack = hslider("envAttack",1,0,10,0.01)*0.001;
s = hslider("sustain",0,0,1,1);
mouthPosition = hslider("mou... | |
7df1b548072475b6765c34de5157e20c3b6066881b610df1ac2b39f17af0f53a | madskjeldgaard/komet | klimit.dsp | import("stdfaust.lib");
// process = co.limiter_1176_R4_mono;
process = co.limiter_lad_mono(LD, ceiling, attack, hold, release) with {
// * `LD` is the lookahead delay in seconds, known at compile-time
LD=0.002;
// * `ceiling` is the linear amplitude output limit
ceiling = vslider("ceiling",0.95,0.00001,1,0.0001);... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/klimit.dsp | faust | process = co.limiter_1176_R4_mono;
* `LD` is the lookahead delay in seconds, known at compile-time
* `ceiling` is the linear amplitude output limit
* `attack` is the attack time in seconds
* `hold` is the hold time in seconds
* `release` is the release time in seconds | import("stdfaust.lib");
process = co.limiter_lad_mono(LD, ceiling, attack, hold, release) with {
LD=0.002;
ceiling = vslider("ceiling",0.95,0.00001,1,0.0001);
attack = vslider("attack",0.001,0.00000001,2,0.0001);
hold = vslider("hold",0.5,0.00000001,3,0.0001);
release = vslider("release",0.01,0.00000001,2,0.0001)... |
6c8dd8de2fed936d86f43a239c596632350bcee9d4969d9c1376212e56cd8ebb | madskjeldgaard/komet | messing.dsp | import("stdfaust.lib");
import("physmodels.lib");
process = brassModel(tubeLength,lipsTension,mute,pressure)
with{
f = hslider("freq",440,10,20000,0.0001);
gain = hslider("gain",0.5,0,1,0.01);
envAttack = hslider("envAttack",1,0,30,0.01)*0.001;
s = hslider("sustain",0,0,1,1);
lipsTension = hslider(... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/drafts/messing.dsp | faust | import("stdfaust.lib");
import("physmodels.lib");
process = brassModel(tubeLength,lipsTension,mute,pressure)
with{
f = hslider("freq",440,10,20000,0.0001);
gain = hslider("gain",0.5,0,1,0.01);
envAttack = hslider("envAttack",1,0,30,0.01)*0.001;
s = hslider("sustain",0,0,1,1);
lipsTension = hslider(... | |
58b98b36948f78d8930b356cc8ebba1578ae1b1f5717b66066522598aa7e76cb | madskjeldgaard/komet | klarinet.dsp | import("stdfaust.lib");
import("physmodels.lib");
process = clarinetModel(tubeLength,blow,reedStiffness,bellOpening)
with{
f = hslider("freq",440,10,20000,0.00001);
gain = hslider("gain",0.6,0,1,0.01);
envAttack = hslider("envAttack",1,0,30,0.01)*0.001;
s = hslider("sustain",0,0,1,1);
reedStiffness... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/drafts/klarinet.dsp | faust | TODO: double vibrato here!! | import("stdfaust.lib");
import("physmodels.lib");
process = clarinetModel(tubeLength,blow,reedStiffness,bellOpening)
with{
f = hslider("freq",440,10,20000,0.00001);
gain = hslider("gain",0.6,0,1,0.01);
envAttack = hslider("envAttack",1,0,30,0.01)*0.001;
s = hslider("sustain",0,0,1,1);
reedStiffness... |
32514681d66b88c48bb9a8a7762a9a1f672777068745f4e969a82016277a013b | madskjeldgaard/komet | mkdelay.dsp | import("stdfaust.lib");
import("lib/mkfilters.dsp");
mkd = environment {
// "Natural comb" - aka a comb filter with a onepole LPF in the feedback path
comblpf(order, maxdelay, delay, fb, lpfcutoff) =
(+ : de.fdelayltv(order, maxdelay, delay)) ~ (* (fb) : mkf.onepolelpf(lpfcutoff)) : fi.dcblocker;
// X... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/lib/mkdelay.dsp | faust | "Natural comb" - aka a comb filter with a onepole LPF in the feedback path
X number of parallel "natural combs". Multi channel out
Same as above but with each comb panned in stereo | import("stdfaust.lib");
import("lib/mkfilters.dsp");
mkd = environment {
comblpf(order, maxdelay, delay, fb, lpfcutoff) =
(+ : de.fdelayltv(order, maxdelay, delay)) ~ (* (fb) : mkf.onepolelpf(lpfcutoff)) : fi.dcblocker;
parallel_comb_lpf(numDelays, order, maxdelay, delay, delayOffset, fb, lpf) =
par(... |
e2e3fb172bbe099f2d1751254e1a17f0ff1a6af718458896c82d7aacc6c34dc4 | madskjeldgaard/komet | multikomp3.dsp | // Multiband compressor
import("stdfaust.lib");
numBands = 3;
cf1 = vslider("crossoverFreq0",500,10,20000,0.01);
cf2 = vslider("crossoverFreq1",2500,10,20000,0.01);
process = _ : fi.crossover3LR4(cf1, cf2) : par(bandNum,numBands,bandcomp(bandNum)) :> _
with{
bandcomp(bandNum, sig) = makeupGain(bandNum) * co.compress... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/multikomp3.dsp | faust | Multiband compressor
knee(bandNum),
prePost(bandNum),
abs(_)
TODO
According to: https://www.thomann.de/se/onlineexpert_page_mastering_dynamic_processing_the_compressor_and_other_tools.html
knee(bandNum) = vslider("knee%bandNum",6,0,100,0.001);
prePost(bandNum) = vslider("prePost%bandNum",0,0,2,1); // FIXME: Not... | import("stdfaust.lib");
numBands = 3;
cf1 = vslider("crossoverFreq0",500,10,20000,0.01);
cf2 = vslider("crossoverFreq1",2500,10,20000,0.01);
process = _ : fi.crossover3LR4(cf1, cf2) : par(bandNum,numBands,bandcomp(bandNum)) :> _
with{
bandcomp(bandNum, sig) = makeupGain(bandNum) * co.compressor_mono(
ratio(bandNu... |
41c556175bfa40f723e6242859bc5917e578a2be91b906f961b57552685de560 | madskjeldgaard/komet | musli.dsp | /*
Granola was made by Jean-Louis Paquelin. Thanks Jean-Louis!
https://github.com/jlp6k/faust-things
*/
import("stdfaust.lib");
import("faust-things/Granola.dsp");
BUFFER_DURATION = 10; // Seconds
CONCURRENT_GRAINS = 10;
/*-------------------------------*/
// FREEZE / recording
freeze_ctrl = button("Freeze");
//... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/musli.dsp | faust |
Granola was made by Jean-Louis Paquelin. Thanks Jean-Louis!
https://github.com/jlp6k/faust-things
Seconds
-------------------------------
FREEZE / recording
TODO: Not used. Remove somehow
writeIndex_disp = hbargraph("writeIndex", 0, ceil(BUFFER_DURATION * 48000) : int);
Automatic triggering from 0.1 to 1000Hz... | import("stdfaust.lib");
import("faust-things/Granola.dsp");
CONCURRENT_GRAINS = 10;
freeze_ctrl = button("Freeze");
writeIndex_disp = _;
density_ctrl = hslider("density", 1, 0.01, 1000, 0.01) : si.smoo;
seed_ctrl = button("SEED");
input_gain_ctrl = vslider("input_gain", 0, -1.5, 1, 0.01) : si.smoo : bipollin2exppo... |
65aafce1090bd54b352aa1627debb30f81c274c96a938bbb83468a0fc5db6d8c | madskjeldgaard/komet | andromeda.dsp | import("stdfaust.lib");
// Modified version of Liam Wall's original from: https://raw.githubusercontent.com/ljwall/er-301-units/main/faustian/dsp/Andromeda.dsp
declare andromeda author "Liam Wall";
declare andromeda license "MIT-style STK-4.3 license";
andromeda(decay, low_pass, high_pass) = _,_ : + : *(0.5) : diffus... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/andromeda.dsp | faust | Modified version of Liam Wall's original from: https://raw.githubusercontent.com/ljwall/er-301-units/main/faustian/dsp/Andromeda.dsp
allpass using delay with fixed size | import("stdfaust.lib");
declare andromeda author "Liam Wall";
declare andromeda license "MIT-style STK-4.3 license";
andromeda(decay, low_pass, high_pass) = _,_ : + : *(0.5) : diffusion_network : (+~chain) <: chain_l, chain_r with {
allpass_f(t, a) = (+ <: @(t),*(a)) ~ *(-a) : mem,_ : +;
i_diff1 = 0.75;
i_diff... |
fb543e901904dd49d4b55a721f1c2220a99d00d9b3a9839173f7869450821e44 | madskjeldgaard/komet | datorroplusplus.dsp | import("stdfaust.lib");
// Modified by Mads Kjeldgaard. Original is here: https://raw.githubusercontent.com/ljwall/er-301-units/main/faustian/dsp/DattorroPlusPlus.dsp
declare dattorro_rev_2 author "Jakob Zerbian, Liam Wall";
declare dattorro_rev_2 license "MIT-style STK-4.3 license";
dattorro_rev_2(pre_delay, bw, i_d... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/datorroplusplus.dsp | faust | Modified by Mads Kjeldgaard. Original is here: https://raw.githubusercontent.com/ljwall/er-301-units/main/faustian/dsp/DattorroPlusPlus.dsp
allpass using delay with fixed size
allpass using delay with fixed size, and two extra taps
allpass using delay with excursion
Around 1Hz
input pre-delay and diffusion
/****... | import("stdfaust.lib");
declare dattorro_rev_2 author "Jakob Zerbian, Liam Wall";
declare dattorro_rev_2 license "MIT-style STK-4.3 license";
dattorro_rev_2(pre_delay, bw, i_diff1, i_diff2, decay, d_diff1, d_diff2, damping) =
si.bus(2) : + : *(0.5) : predelay : bw_filter : diffusion_network : reverb_loop
with {
... |
97215c4ef02380296654c8ef0ff12a799b34132b14ed2a70db0274b1a9a69ce3 | madskjeldgaard/mkfaustplugins | BowedString.dsp | declare name "BowedString";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A simple bowed string model
- inputs: bow position (move it slowly to yield self-sustained oscillations!).
- outputs: two listening points on the string.
- controls: bow pre... | https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/fd7cf250788174b5efa6ae3294997609830875d1/plugins/BowedString/BowedString.dsp | faust | ========= DESCRITPION =============
A simple bowed string model
- inputs: bow position (move it slowly to yield self-sustained oscillations!).
- outputs: two listening points on the string.
- controls: bow pressure and string stiffness.
nice and smooth position signal
routed positions
outputs
route... | declare name "BowedString";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
OutGain = 150.;
low_M = 1.0;
low_K = hslider("String Stiffness",0.3,0.001,0.7,0.0001) : si.smoo;
low_Z = 0.001;
nlZ = hslider("Bow Pressure",0.3,0.001,0.5,0.0001) : si.smoo;
nlscale = 0.0005;
mode... |
846ca6b1b9ad1a546566e02df3c69dc0de538b84c7730e047af622db2fe63d1a | madskjeldgaard/mkfaustplugins | PluckedString.dsp | declare name "PluckedString";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A plucked string with a few controls.
- inputs: pick position.
- outputs: two listening points on the string.
- controls: pick stiffness and damping, string stiffness, dam... | https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/fd7cf250788174b5efa6ae3294997609830875d1/plugins/PluckedString/PluckedString.dsp | faust | ========= DESCRITPION =============
A plucked string with a few controls.
- inputs: pick position.
- outputs: two listening points on the string.
- controls: pick stiffness and damping, string stiffness, damping and air friction.
Note: the model block diagram is starting to look like a piece of modern ar... | declare name "PluckedString";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = _:si.smoo;
OutGain = 5;
str_M = 1.0;
str_K = hslider("stiffness", 0.7, 0.001, 0.7, 0.001):si.smoo;
str_Z = hslider("damping", 0.0009, 0.00, 0.01, 0.00001):si.smoo;
str_Zo = hslider("fricti... |
09b881551495151f79d18d1cef8a0a4c02d05a7d498ef4b084b1aeef987c343c | madskjeldgaard/mkfaustplugins | StrangeConstruct.dsp | declare name "StrangeConstruct";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A triangle mesh (fixed corners) struck by a hammer, connected (through a slightly non-linear spring)
to a resonant square mesh (fixed corners).
- inputs: Force impulse applied ... | https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/fd7cf250788174b5efa6ae3294997609830875d1/plugins/StrangeConstruct/StrangeConstruct.dsp | faust | ========= DESCRITPION =============
A triangle mesh (fixed corners) struck by a hammer, connected (through a slightly non-linear spring)
to a resonant square mesh (fixed corners).
- inputs: Force impulse applied to the hammer
- outputs: one listening point on the triangle, another on the resonnant mesh.
-... | declare name "StrangeConstruct";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = _ : ba.impulsify * hslider("scaling", 0.9, 0.01, 0.9, 0.001) * -1;
OutGain = 1;
t_M = 1;
t_K = hslider("stiffness", 0.1, 0.001, 0.2, 0.0001);
t_Z = hslider("damping", 0.0001, 0.00, 0.000... |
089cd416e9856d3170222f580f81afb2d448dcda3829520bf58d2731083f1755 | JoeWrightMusic/QuickNDirtyFaustSynths | Water.dsp | import("stdfaust.lib");
//Utilities-----------
lfNoise(freq) = no.lfnoise0(freq):si.smooth(ba.tau2pole(1/freq));
randRangeNoInt(freq, lo, hi) = no.lfnoise0(freq)*((hi-lo)*0.5)+(lo+((hi-lo)*0.5));
dust(freq, thresh) = no.lfnoise(freq) >(thresh);
clip(in, thresh) = in : min(thresh) : max(thresh * -1);
waterflow = hslide... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/ea69cff586c41aabd9e057c7171fa9a5043fd79b/Textures/Water/Water.dsp | faust | Utilities----------- | import("stdfaust.lib");
lfNoise(freq) = no.lfnoise0(freq):si.smooth(ba.tau2pole(1/freq));
randRangeNoInt(freq, lo, hi) = no.lfnoise0(freq)*((hi-lo)*0.5)+(lo+((hi-lo)*0.5));
dust(freq, thresh) = no.lfnoise(freq) >(thresh);
clip(in, thresh) = in : min(thresh) : max(thresh * -1);
waterflow = hslider("waterflow", 140, 100... |
1c3f0e8900a64961a6dcbee4b9fc57b0906be8033914727084362c2baf770384 | JoeWrightMusic/QuickNDirtyFaustSynths | Simple2opFM.dsp | import("stdfaust.lib");
//____________________________________________________________________________________FM2OSC
trig = button("trig");
freq = hslider("freq",200,10,20000,0.01):si.smoo;
mMul = hslider("mMul",0.5,0.0,100,0.0001):si.smoo;
dMul = hslider("dMul",0.5,0.00,10,0.0001):si.smoo;
aM = hslider("aM",0.1,0.01,... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/995047809aaaa0083340cdbcb727ceae0fc01a88/Basic/Simple2opFM.dsp | faust | ____________________________________________________________________________________FM2OSC
re.mono_freeverb(0.5,0.9,0.1,0.5) | import("stdfaust.lib");
trig = button("trig");
freq = hslider("freq",200,10,20000,0.01):si.smoo;
mMul = hslider("mMul",0.5,0.0,100,0.0001):si.smoo;
dMul = hslider("dMul",0.5,0.00,10,0.0001):si.smoo;
aM = hslider("aM",0.1,0.01,10,0.01);
dM = hslider("dM",0.1,0.01,10,0.01);
sM = hslider("sM",0.8,0.0,1,0.01);
rM = hslide... |
6940ac792ec2bbbc94dcf46c6afd907b69052db078a42732d941b1af1ec96b14 | JoeWrightMusic/QuickNDirtyFaustSynths | PMTrombone.dsp | import("stdfaust.lib");
//volume / vibrato / smoothing
vol = hslider("vol",35,0,100,0.01);
vib = hslider("vib",0,-1,1,0.01);
smoo = hslider("smoo",0.1,0,1,0.1);
//brass model parameters
tubeLength = hslider("length",3.3,0,5,0.01);
lipsTension = hslider("lipsTension",0.62,0,1,0.01);
mute = hslider("mute",0,0,1,0.01);
p... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/ea69cff586c41aabd9e057c7171fa9a5043fd79b/Instruments/Trombone/PMTrombone.dsp | faust | volume / vibrato / smoothing
brass model parameters
non-player vibrato
phasor
sine
autovib
envelopes
brass PM | import("stdfaust.lib");
vol = hslider("vol",35,0,100,0.01);
vib = hslider("vib",0,-1,1,0.01);
smoo = hslider("smoo",0.1,0,1,0.1);
tubeLength = hslider("length",3.3,0,5,0.01);
lipsTension = hslider("lipsTension",0.62,0,1,0.01);
mute = hslider("mute",0,0,1,0.01);
pressure = hslider("pressure",0.05,0,1,0.01);
autoVibHz ... |
df786edd66c1cee11f9221e97074e589fbcc0f93aaf68246a251cf5e744e7a8a | JoeWrightMusic/QuickNDirtyFaustSynths | Fire.dsp | import("stdfaust.lib");
//Utilities-----------
lfNoise(freq) = no.lfnoise0(freq):si.smooth(ba.tau2pole(1/freq));
randRange(freq, lo, hi) = lfNoise(freq)*((hi-lo)*0.5)+(hi-(lo));
dust(freq, thresh) = no.lfnoise(freq) >(thresh);
clip(in, thresh) = in : min(thresh) : max(thresh * -1);
//FIRE------------------
phutBalance... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/ea69cff586c41aabd9e057c7171fa9a5043fd79b/Textures/Fire/Fire.dsp | faust | Utilities-----------
FIRE------------------
process = vol*hiss;
process = phut(0.9)+pop(10)+hiss(1)+hiss(0.7),phut(0.9)+pop(10)+hiss(1)+hiss(0.7): _*vol,_*vol; | import("stdfaust.lib");
lfNoise(freq) = no.lfnoise0(freq):si.smooth(ba.tau2pole(1/freq));
randRange(freq, lo, hi) = lfNoise(freq)*((hi-lo)*0.5)+(hi-(lo));
dust(freq, thresh) = no.lfnoise(freq) >(thresh);
clip(in, thresh) = in : min(thresh) : max(thresh * -1);
phutBalance=0.4;
popBalance=1;
hissBalance=0.05;
woofBalanc... |
5e4d80e508bc1d045ee1ae88d2081afa7a00f54682ae5be42360070bad69f445 | JoeWrightMusic/QuickNDirtyFaustSynths | FireWater.dsp | import("stdfaust.lib");
smthFactor = hslider("smthFactor",0.2,0,2,0.01);
volSmth = hslider("volSmth",0.2,0,2,0.01);
fireWater = hslider("fireWater",0,0,1,0.01);//:si.smooth(ba.tau2pole(smthFactor));
vol = hslider("vol", 0, 0,1,0.01):si.smooth(ba.tau2pole(volSmth));
waterSmth = hslider("waterSmth",0.2,0,4,0.01);
waterV... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/ea69cff586c41aabd9e057c7171fa9a5043fd79b/Textures/FireWater/FireWater.dsp | faust | :si.smooth(ba.tau2pole(smthFactor));
Volumes
Utilities-----------
WATER
FIRE
process = (stream+(fire))*vol; | import("stdfaust.lib");
smthFactor = hslider("smthFactor",0.2,0,2,0.01);
volSmth = hslider("volSmth",0.2,0,2,0.01);
vol = hslider("vol", 0, 0,1,0.01):si.smooth(ba.tau2pole(volSmth));
waterSmth = hslider("waterSmth",0.2,0,4,0.01);
waterVol = (0.33-(fireWater)) : max(0) *3 : si.smooth(ba.tau2pole(waterSmth));
maxWater =... |
9df0aa9c23ec6afe25e5b851f24ff90648bd3f2a8722435df5eca7da2f0b0df2 | JoeWrightMusic/QuickNDirtyFaustSynths | AddSynthOboe.dsp | import("stdfaust.lib");
//OBOE ARGUMENTS
//choose note & define range (Bb3-Bb5)
fund = hslider("fundFreq", 60, 60, 72, 0.001):ba.midikey2hz;
vibratoHz = hslider("vibratoHz", 4, 0, 10, 0.01)+(randomize(0.7));
trigger = button("trigger");
legatoTrigger = button("legatoTrig");
loShelfFreq = hslider("loShelfFreq",1000,10,... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/ea69cff586c41aabd9e057c7171fa9a5043fd79b/Instruments/AddSynthOboe/AddSynthOboe.dsp | faust | OBOE ARGUMENTS
choose note & define range (Bb3-Bb5)
amp envs
legato amp Envs
phasor
sine
AM
FM
partial | import("stdfaust.lib");
fund = hslider("fundFreq", 60, 60, 72, 0.001):ba.midikey2hz;
vibratoHz = hslider("vibratoHz", 4, 0, 10, 0.01)+(randomize(0.7));
trigger = button("trigger");
legatoTrigger = button("legatoTrig");
loShelfFreq = hslider("loShelfFreq",1000,10,20000,1);
loShelfGain = hslider("loShelfGain",-36,-64,64... |
634b12f53472b3aca809762899afb698b409066968fa2d5a6d4279efd4a03b3c | JoeWrightMusic/QuickNDirtyFaustSynths | RumbleBox.dsp | import("stdfaust.lib");
wobWob = hslider("wobWob",0,0,10,0.01):si.smoo;
wobFreq = hslider("wobFreq",1, 0.5,10,0.01);
aMinVol = hslider("aMinVol",0,0,1,0.01):si.smoo;
aMinEno = hslider("aMinEno",0,0,1,0.01):si.smoo;
aMinLPF = hslider("aMinLPF",250,5,800,0.01);
aMinDist = hslider("aMinDist",0.01,0,1,0.001);
techno = hs... | https://raw.githubusercontent.com/JoeWrightMusic/QuickNDirtyFaustSynths/aab452c99976a17d2dfb7e688fc046c823af8eb0/RumbleBox/RumbleBox_V1.1/RumbleBox.dsp | faust | //WOBWOB
AMINENO
TECHNO
OUTPUT
+ wobWobOut;
process = left*mvol,right*mvol; | import("stdfaust.lib");
wobWob = hslider("wobWob",0,0,10,0.01):si.smoo;
wobFreq = hslider("wobFreq",1, 0.5,10,0.01);
aMinVol = hslider("aMinVol",0,0,1,0.01):si.smoo;
aMinEno = hslider("aMinEno",0,0,1,0.01):si.smoo;
aMinLPF = hslider("aMinLPF",250,5,800,0.01);
aMinDist = hslider("aMinDist",0.01,0,1,0.001);
techno = hs... |
c67407ffa4c9e8d2dac36756b411743fe878e19c761e6f7933296e55734f45ba | JoeWrightMusic/S2B-SolarSail | Synth3.dsp | // SPACE TO BE RESONATOR INSTRUMENT v3.0
import("stdfaust.lib");
//-------------------------------------------CLOCKS
bpm=hslider("bpm",81,1,400,1);
barHz=bpm/(60*6);
step=os.phasor(48,barHz):int+1;
//-------------------------------------------UTILS
//___________________SELF BLOCKING ENV
envAR(att,rel,gate) = (_:1,_>0... | https://raw.githubusercontent.com/JoeWrightMusic/S2B-SolarSail/82d3a76181e5cd6ffee1d33772d6d185ba991eb8/Faust/Synth3.dsp | faust | SPACE TO BE RESONATOR INSTRUMENT v3.0
-------------------------------------------CLOCKS
-------------------------------------------UTILS
___________________SELF BLOCKING ENV
instead of 1 << 16
-------------------------------------------FM-2OPs
___________________VARIABLES
fm synth 1
fm synth 1
fm synth 1
fm group
... | import("stdfaust.lib");
bpm=hslider("bpm",81,1,400,1);
barHz=bpm/(60*6);
step=os.phasor(48,barHz):int+1;
envAR(att,rel,gate) = (_:1,_>0:- <: en.ar((_*gate,att:ba.sAndH),(_*gate,rel:ba.sAndH),(_*gate))) ~ _;
osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq)))
with{
};
fmVol = hsl... |
764a3257fd299d75980888d3d81f9eebe124dcd484a7536c05c3efa9753941da | JoeWrightMusic/ResonatorInst-v2 | Synth.dsp | // SPACE TO BE RESONATOR INSTRUMENT v2.0
import("stdfaust.lib");
//-------------------------------------------CLOCKS
bpm=hslider("bpm",120,1,400,1);
barHz=bpm/(60*6);
step=os.phasor(48,barHz):int+1;
//-------------------------------------------UTILS
//___________________SELF BLOCKING ENV
envAR(att,rel,gate) = (_:1,_>... | https://raw.githubusercontent.com/JoeWrightMusic/ResonatorInst-v2/a231ad325d8f13c1e3b3ce582ffedd95081200e8/FAUST/Synth.dsp | faust | SPACE TO BE RESONATOR INSTRUMENT v2.0
-------------------------------------------CLOCKS
-------------------------------------------UTILS
___________________SELF BLOCKING ENV
-------------------------------------------FM-2OPs
___________________VARIABLES
fm synth 1
fm synth 2
fm synth 3
___________________DSP
fm synth ... | import("stdfaust.lib");
bpm=hslider("bpm",120,1,400,1);
barHz=bpm/(60*6);
step=os.phasor(48,barHz):int+1;
envAR(att,rel,gate) = (_:1,_>0:- <: en.ar((_*gate,att:ba.sAndH),(_*gate,rel:ba.sAndH),(_*gate))) ~ _;
fmVol = hslider("fmVol",0.5,0,1,0.001):si.smoo;
fmVerb = hslider("fmVerb", 0.5,0,1,0.001):si.smoo;
fm1vol=hsl... |
30387c322220ed374b7d869c83ca3347a2e89bd5140e149aa621c121286542d1 | nickgang/AFDN-reverb | afdnRev3rd.dsp | declare name "afdnRev3rd";
declare version "0.0";
declare author "Nick Gang & Wisam Reid";
declare description "A feedback delay network reverb for 3rd order ambisonics";
import("stdfaust.lib");
import("AFDN.lib");
//-------------------------`afdnrev3_demo`---------------------------
// A reverb application using `af... | https://raw.githubusercontent.com/nickgang/AFDN-reverb/48224a4de72617adef0c36ceec0814af611f2582/Source/Faust/afdnRev3rd.dsp | faust | -------------------------`afdnrev3_demo`---------------------------
A reverb application using `afdnrev0`.
#### Usage
```
_ : afdnrev1_demo(N,M,NB) : _
```
Where:
* `N`: Feedback Delay Network (FDN) order / number of delay lines used =
order of feedback matrix / 2, 4, 8, or 16 [extend primes array below for... | declare name "afdnRev3rd";
declare version "0.0";
declare author "Nick Gang & Wisam Reid";
declare description "A feedback delay network reverb for 3rd order ambisonics";
import("stdfaust.lib");
import("AFDN.lib");
afdnrev3_demo(N,M,NB) = par(i,A,
afdnEarly0(MAXDELAY,delEarly,3,freqs,durs,loopgainmax,nonl))
: h... |
2d6da10f4c550bad42242cf97c060d35a65a1c0f35bf0f8095e3ddf765726847 | nickgang/AFDN-reverb | afdnRev2nd.dsp | declare name "afdnRev2nd";
declare version "0.0";
declare author "Nick Gang & Wisam Reid";
declare description "A feedback delay network reverb for 2nd order ambisonics";
import("stdfaust.lib");
import("AFDN.lib");
//-------------------------`afdnrev2_demo`---------------------------
// A reverb application using `af... | https://raw.githubusercontent.com/nickgang/AFDN-reverb/48224a4de72617adef0c36ceec0814af611f2582/Source/Faust/afdnRev2nd.dsp | faust | -------------------------`afdnrev2_demo`---------------------------
A reverb application using `afdnrev0`.
#### Usage
```
_ : afdnrev1_demo(N,M,NB) : _
```
Where:
* `N`: Feedback Delay Network (FDN) order / number of delay lines used =
order of feedback matrix / 2, 4, 8, or 16 [extend primes array below for... | declare name "afdnRev2nd";
declare version "0.0";
declare author "Nick Gang & Wisam Reid";
declare description "A feedback delay network reverb for 2nd order ambisonics";
import("stdfaust.lib");
import("AFDN.lib");
afdnrev2_demo(N,M,NB) = par(i,A,
afdnEarly0(MAXDELAY,delEarly,3,freqs,durs,loopgainmax,nonl))
: h... |
c062bf9969aec8491cdb06dd6496e5e8e9452ab4a67d8b28a1c1d0ddeeef2556 | nickgang/AFDN-reverb | afdnRev1st.dsp | declare name "afdnRev1st";
declare version "0.0";
declare author "Nick Gang & Wisam Reid";
declare description "A feedback delay network reverb for 1st order ambisonics";
import("stdfaust.lib");
import("AFDN.lib");
//-------------------------`afdnrev1_demo`---------------------------
// A reverb application using `af... | https://raw.githubusercontent.com/nickgang/AFDN-reverb/48224a4de72617adef0c36ceec0814af611f2582/Source/Faust/afdnRev1st.dsp | faust | -------------------------`afdnrev1_demo`---------------------------
A reverb application using `afdnrev0`.
#### Usage
```
_ : afdnrev1_demo(N,M,NB) : _
```
Where:
* `N`: Feedback Delay Network (FDN) order / number of delay lines used =
order of feedback matrix / 2, 4, 8, or 16 [extend primes array below for... | declare name "afdnRev1st";
declare version "0.0";
declare author "Nick Gang & Wisam Reid";
declare description "A feedback delay network reverb for 1st order ambisonics";
import("stdfaust.lib");
import("AFDN.lib");
afdnrev1_demo(N,M,NB) = par(i,A,
afdnEarly0(MAXDELAY,delEarly,3,freqs,durs,loopgainmax,nonl))
: h... |
e36847046ee5f54b4769df542080551d645119b873685b78eac81ad56a051ade | JaoRamos/Faust | 11_Led.dsp | /*
Detector estilo LED (interfaz grafica)
Al mismo medidor del ejemplo anterior podemos cambiarle el estilo para verlo estilo
LED que se enciende segun la señal. Para ello le agregamos [style:led] en la etiqueta.
Suele ser mas util como detector de señal.
A veces hay que ajustar el minimo y maximo hasta tener una visu... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase%209/11_Led.dsp | faust |
Detector estilo LED (interfaz grafica)
Al mismo medidor del ejemplo anterior podemos cambiarle el estilo para verlo estilo
LED que se enciende segun la señal. Para ello le agregamos [style:led] en la etiqueta.
Suele ser mas util como detector de señal.
A veces hay que ajustar el minimo y maximo hasta tener una visual... |
import("stdfaust.lib");
led = abs : ba.linear2db : vbargraph("Señal [style:led]", -50, 0);
process = _ <: attach(_, led); |
15469226b82cbecbdff36f81d15d8f87baa6df84777ab2a08b2f9416dd4da3ee | JaoRamos/Faust | 2_Rotador.dsp | /*
Efecto super elemental de rotador estereo (paneador) automatizado, a partir de una señal mono.
Al final sumamos la señal original para obtener una suerte de control de profundidad.
|| Juan Ramos 2020 - Universidad Nacional de Quilmes ||
|| juan.ramos@unq.edu.ar ||
*/
import("stdfaust.lib");
rate = hslider("Rate (... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/2_Rotador.dsp | faust |
Efecto super elemental de rotador estereo (paneador) automatizado, a partir de una señal mono.
Al final sumamos la señal original para obtener una suerte de control de profundidad.
|| Juan Ramos 2020 - Universidad Nacional de Quilmes ||
|| juan.ramos@unq.edu.ar ||
aplicamos el rotador, y luego sumamos por separado ... |
import("stdfaust.lib");
rate = hslider("Rate (Hz) [scale:exp]", 1, 0.01, 30, 0.01);
profundidad = hslider("Profundidad", 0.5, 0, 1, 0.01);
oscilador = os.osc(rate)*0.5 + 0.5;
rotador = sp.panner(oscilador);
process(entrada) = (entrada*profundidad : rotador) :
|
e8d76db0330ec89af1bac4f20b9b52ceef396f2d59a62cdeebb542c32f532835 | JaoRamos/Faust | 4_Achurador.dsp | /*
Efecto casi comico de distorsion achuradora destructora...
Hacemos la señal totalmente cuadrada, y luego la hacemos seguir la amplitud de la señal
original mediante un seguidor de envolvente. De no hacerlo, la amplitud seria siempre
entre 1 y -1 totalmente saturado.
Es necesario añadir un filtro de agudos porque la... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/4_Achurador.dsp | faust |
Efecto casi comico de distorsion achuradora destructora...
Hacemos la señal totalmente cuadrada, y luego la hacemos seguir la amplitud de la señal
original mediante un seguidor de envolvente. De no hacerlo, la amplitud seria siempre
entre 1 y -1 totalmente saturado.
Es necesario añadir un filtro de agudos porque la s... |
import("stdfaust.lib");
achurador(x) = ba.if(x > 0, 1, -1) * 0.5;
filtroAgudos = fi.lowpass(10, 10000);
process(x) = x : achurador : filtroAgudos
<: _, _;
|
923f771bc42de8e56bc671bba6002f5462daaa9b8dfbe28fac39051441540d07 | JaoRamos/Faust | 15_Menu.dsp | /*
Selector estilo menu (interfaz grafica)
Otra alternativa que tenemos para los sliders es utilizarlos como menu de opciones.
Funciona exactamente igual que los ejemplos anteriores, pero como un grupo desplegable de opciones.
Para ello utilizamos la etiqueta:
"Nombre[style:menu{'Opcion A':0;'Opcion B':1}]"
Nuevament... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase%209/15_Menu.dsp | faust |
Selector estilo menu (interfaz grafica)
Otra alternativa que tenemos para los sliders es utilizarlos como menu de opciones.
Funciona exactamente igual que los ejemplos anteriores, pero como un grupo desplegable de opciones.
Para ello utilizamos la etiqueta:
"Nombre[style:menu{'Opcion A':0;'Opcion B':1}]"
Nuevamente,... |
import("stdfaust.lib");
formaOnda = vslider("Forma de onda[style:menu{'Triangular':0;'Diente de sierra':1;'Cuadrada':2}]", 0, 0, 2, 1);
triangular = os.triangle(220);
sierra = os.sawtooth(220);
cuadrada = os.square(220);
process = select3(formaOnda, triangular, sierra, cuadrada) * modulador * 0.3 <: _, _; |
ae633f5fdd2b708b752e852eb0cc311e5d619a5d9c822cc9d79acf43c566c7e6 | JaoRamos/Faust | 14_Conmutador.dsp | /*
Conmutador y selectores de opciones (interfaz grafica)
Teniendo un panel de opciones (o cualquier numero en realidad) podemos crear un conmutador entre
DOS o TRES señales utilizando la primitiva select2(x, señal1, señal2).
Si x vale 0, se utilizara la primer señal, si vale 1 la segunda señal.
Tenemos otro selector... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase%209/14_Conmutador.dsp | faust |
Conmutador y selectores de opciones (interfaz grafica)
Teniendo un panel de opciones (o cualquier numero en realidad) podemos crear un conmutador entre
DOS o TRES señales utilizando la primitiva select2(x, señal1, señal2).
Si x vale 0, se utilizara la primer señal, si vale 1 la segunda señal.
Tenemos otro selector l... |
import("stdfaust.lib");
formaOnda = vslider("Forma de onda[style:radio{'Triangular':0;'Diente de sierra':1}]", 0, 0, 1, 1);
modulacion = vslider("Velocidad de modulacion [style:radio{'Lenta':0;'Media':1;'Rapida':2;'Maxima':3}]", 0, 0, 3, 1);
triangular = os.triangle(220);
sierra = os.sawtooth(220);
process = hgroup... |
fa37e740c2bd7e59c4bbd0515dae4332e23aa8672df926adaf04c223066ef0b9 | JaoRamos/Faust | 6_ChorusMono.dsp | /*
Efecto de Chorus MONO de una voz
Basicamente generamos un delay con tiempo variable, lo que cambiará el pich/afinación
de la señal. La variación la realizamos con un oscilador senoidal, aunque podríamos
usar otras formas de onda para distintos colores de chorus. Luego añadimos la señal
original a la modificada e in... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/6_ChorusMono.dsp | faust |
Efecto de Chorus MONO de una voz
Basicamente generamos un delay con tiempo variable, lo que cambiará el pich/afinación
de la señal. La variación la realizamos con un oscilador senoidal, aunque podríamos
usar otras formas de onda para distintos colores de chorus. Luego añadimos la señal
original a la modificada e inco... |
import("stdfaust.lib");
rate = hslider("Rate (Hz) [scale:exp]", 0.5, 0.1, 20, 0.1);
mix = hslider("Dry/Wet %", 40, 0, 100, 1) / 100;
corteAgudos = hslider("Corte agudos (Hz) [scale:exp]", 5000, 1000, 20000, 100);
delayVariante = (os.osc(rate)*0.5 + 0.5) * tiempo;
process(x) = chorus(x) <: _, _;
|
8b0b2d78c71232782aa8606970d1508afe19d8e7dc53616cbaf89f560ae7825a | JaoRamos/Faust | 13_Opciones.dsp | /*
Selector de opciones (interfaz grafica)
Los "sliders" pueden configurarse para mostrarse como botones de opciones, con cada
una representando un numero. Recordemos que "un slider es solo un numero" !!.
Para ello incluiremos lo siguiente en su etiqueta de nombre:
"Nombre [style:radio{'Opcion A':0;'Opcion B':1}]... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase%209/13_Opciones.dsp | faust |
Selector de opciones (interfaz grafica)
Los "sliders" pueden configurarse para mostrarse como botones de opciones, con cada
una representando un numero. Recordemos que "un slider es solo un numero" !!.
Para ello incluiremos lo siguiente en su etiqueta de nombre:
"Nombre [style:radio{'Opcion A':0;'Opcion B':1}]"
... |
import("stdfaust.lib");
notaMidi = vslider("Nota [style:radio{'Do':60;'Mi':64;'Sol':67;'Si':71}]", 60, 0, 100, 1);
process = os.triangle(ba.midikey2hz(notaMidi)) * modulador * 0.5 <: _, _; |
1aae70c2068102aecdc7da9ebf149eef9314026c53597175ef0741ddcf87f87f | JaoRamos/Faust | 11_Flanger.dsp | /*
Efecto de Flanger estereo simple.
El flanger mas elemental se compone de un filtro comb (peine) modulado aplicado a una
señal. Tradicionalmente se lo obtiene sumando al original, una copia retrasada en el
tiempo. Esto produce una serie de valles en el espectro, cuyas posiciones guardan una
relación armónica. Es hab... | https://raw.githubusercontent.com/JaoRamos/Faust/d3c8edcd42f44f37975d1fe80064be98434706cc/unq/Clase_8/11_Flanger.dsp | faust |
Efecto de Flanger estereo simple.
El flanger mas elemental se compone de un filtro comb (peine) modulado aplicado a una
señal. Tradicionalmente se lo obtiene sumando al original, una copia retrasada en el
tiempo. Esto produce una serie de valles en el espectro, cuyas posiciones guardan una
relación armónica. Es habit... |
import("stdfaust.lib");
retardo = vslider("Retardo", 20, 10, 100, 0.01) + (rango*lfo);
rate = vslider("Rate LFO", 0.3, 0.1, 5, 0.01);
est = vslider("Estereo", 40, 0, 100, 1);
feedback = vslider("Feedback", 0.5, 0, 0.99, 0.01);
depth = vslider("Profundidad", 0.75, 0.0, 1.0, 0.01);
rango = vslider("Rango retardo", 15, ... |
58f429087825678e94ceb76af7862c6b4c0aa89b67771f4ca0502e84bf2fbe53 | JaoRamos/Faust | karplus.dsp | import("stdfaust.lib");
// frecuencia desde MIDI o teclado
frecuencia = nentry("freq", 120, 60, 20000, 1);
// cantidad de muestras de retardo segun la fundamental deseada
// puede haber desafinaciones porque los retardos son numeros enteros!
retardo = int(ma.SR / frecuencia);
// Controles del ruido del Karplus-Strong
G... | https://raw.githubusercontent.com/JaoRamos/Faust/4659e248a42dfcb8e623283ce4e6e60dd8b3ca59/unq/Clase_6/karplus.dsp | faust | frecuencia desde MIDI o teclado
cantidad de muestras de retardo segun la fundamental deseada
puede haber desafinaciones porque los retardos son numeros enteros!
Controles del ruido del Karplus-Strong
Cuanto menor sea, mas se parecera al ruido blanco
Cuidado no llegar a 1, ¡o el sonido no se detendra!
-1 a 1 ¡ver... | import("stdfaust.lib");
frecuencia = nentry("freq", 120, 60, 20000, 1);
retardo = int(ma.SR / frecuencia);
gainRealimentacion = hslider("Gain", GAIN_MAXIMO * 0.99, GAIN_MINIMO, GAIN_MAXIMO, 0.0001);
filtroKarplus = fi.lowpass(2, 5000);
retardoFiltrado = @ (retardo)
: filtroKarplus
: *(gainRealimentacion * invertir);
... |
f2e30d686f1696557c64f5427e8c47793e716936b6fefed7f024e4e95c2d50e4 | JaoRamos/Faust | karplus_wah.dsp | /* NOTA: para que suene hay que poner poly voices en 1 o mas (mono no sirve) y darle RUN*/
import("stdfaust.lib");
// frecuencia desde MIDI o teclado
frecuencia = nentry("freq", 120, 60, 20000, 1);
// cantidad de muestras de retardo segun la fundamental deseada
// puede haber desafinaciones porque los retardos son num... | https://raw.githubusercontent.com/JaoRamos/Faust/10dc7845e80940bf82549a0ad8ede97abfd2f7f7/sueltos/karplus_wah.dsp | faust | NOTA: para que suene hay que poner poly voices en 1 o mas (mono no sirve) y darle RUN
frecuencia desde MIDI o teclado
cantidad de muestras de retardo segun la fundamental deseada
puede haber desafinaciones porque los retardos son numeros enteros!
Controles del ruido del Karplus-Strong
Cuanto menor sea, mas se par... |
import("stdfaust.lib");
frecuencia = nentry("freq", 120, 60, 20000, 1);
retardo = int(ma.SR / frecuencia);
gainRealimentacion = hslider("Gain", GAIN_MAXIMO * 0.99, GAIN_MINIMO, GAIN_MAXIMO, 0.0001);
filtroKarplus = fi.lowpass(2, 5000);
retardoFiltrado = @ (retardo)
: filtroKarplus
: *(gainRealimentacion * invertir);... |
1831d32d39b65aa12559bfa2a3f7be588b00efdebe7cb265db97bb207e775143 | JaoRamos/Faust | 7_ChorusEstereo.dsp | /*
Efecto de Chorus ESTEREO simple
Partiendo del Chorus MONO, generamos el efecto en ambos canales, pero a uno (R)
le invertimos la fase del oscilador. El resultado es que la "desafinación" queda
invertida en R respecto de L, cuando uno está al máximo, el otro al mínimo.
Es crudo pero efectivo...! Un chorus estereo má... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/7_ChorusEstereo.dsp | faust |
Efecto de Chorus ESTEREO simple
Partiendo del Chorus MONO, generamos el efecto en ambos canales, pero a uno (R)
le invertimos la fase del oscilador. El resultado es que la "desafinación" queda
invertida en R respecto de L, cuando uno está al máximo, el otro al mínimo.
Es crudo pero efectivo...! Un chorus estereo más ... |
import("stdfaust.lib");
rate = hslider("Rate (Hz) [scale:exp]", 1, 0.01, 20, 0.01);
mix = hslider("Dry/Wet %", 50, 0, 100, 1) / 100;
corteAgudos = hslider("Corte agudos (Hz) [scale:exp]", 8000, 100, 20000, 100);
delayVariante(fase) = (fase * os.osc(rate) * 0.5 + 0.5) * tiempoMax;
inversor = (checkbox("Bypass este... |
4b233b7f94a0b85a04bf95eb170238c49d2b6f7e9decb8a4c4b77d3d0a562750 | JaoRamos/Faust | 16_TabsSinte.dsp | /*
Tabs/pestañas (interfaz grafica)
Podemos mejorar notablemente la interfaz grafica utilizando pestañas para agrupar
los distintos controles, por ejempo segun categorias.
Para ello utilizamos la primitiva:
tgroup("nombre", elementos);
Aqui "elementos" seran elementos que utilicen conjuntos de vgroup o hgroup,
y ... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase%209/16_TabsSinte.dsp | faust |
Tabs/pestañas (interfaz grafica)
Podemos mejorar notablemente la interfaz grafica utilizando pestañas para agrupar
los distintos controles, por ejempo segun categorias.
Para ello utilizamos la primitiva:
tgroup("nombre", elementos);
Aqui "elementos" seran elementos que utilicen conjuntos de vgroup o hgroup,
y au... |
import("stdfaust.lib");
numOscilador = hgroup("[0]Oscilador", formaOnda);
formaOnda = vslider(
"Forma de onda[style:menu{'Triangular':0;'Diente de sierra':1;'Cuadrada':2}]",
1, 0, 2, 1 );
salida = hgroup("[2]Salida", filtro : volumen);
volumen = * (hslider("Volumen", 50... |
9a6d7221b0ac94b1663ee939b10a96ce70f48da574b55a25df7d2b50c3e0ee4d | JaoRamos/Faust | 8_ChorusVoces.dsp | import("stdfaust.lib");
/*
Efecto de Chorus ESTEREO de multiples voces
Este efecto es mas complejo: definiremos un "coro" compuesto de "voces".
Cada voz será aproximadamente lo mismo que el chorus mono, pero con parámetros
que nos permitirán replicarla muchas veces y asignarle un valor de Paneo.
Utilizaremos la expres... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/8_ChorusVoces.dsp | faust |
Efecto de Chorus ESTEREO de multiples voces
Este efecto es mas complejo: definiremos un "coro" compuesto de "voces".
Cada voz será aproximadamente lo mismo que el chorus mono, pero con parámetros
que nos permitirán replicarla muchas veces y asignarle un valor de Paneo.
Utilizaremos la expresión with{...}, que nos per... | import("stdfaust.lib");
unaVoz(entr, j) = vgroup("[%j] Voz %j", voz)
with {
voz = entr : de.fdelay(tiempoMax, delayVariable) * vol : sp.panner(pan);
vol = vslider("[2]Nivel[style:knob]", abs(sin(j*10)) / 2 + 0.25, 0, 1, 0.01) : si.smoo;
tiempoMax = ma.SR * hslider("[1]Tiempo (ms) [scale:e... |
e4027c9ae6f18feddad0ce8646f6e87eae050b6896e85a4c147355c871d72908 | JaoRamos/Faust | 5_Phaser.dsp | /*
Efecto de Phaser estereo simple.
El phaser mas elemental se compone de un filtro all-pass (pasa todo), que (en teoria) no
modifica la amplitud de las frecuencias (a diferencia de los demas filtros), pero cambia
las relaciones de FASE de estas frecuencias. Si luego sumamos su resultado con la señal
original, produci... | https://raw.githubusercontent.com/JaoRamos/Faust/197e891722ae3630e54ae2eac38b3752570bf8c7/unq/Clase_8/5_Phaser.dsp | faust |
Efecto de Phaser estereo simple.
El phaser mas elemental se compone de un filtro all-pass (pasa todo), que (en teoria) no
modifica la amplitud de las frecuencias (a diferencia de los demas filtros), pero cambia
las relaciones de FASE de estas frecuencias. Si luego sumamos su resultado con la señal
original, producire... |
import("stdfaust.lib");
frecuencia = vslider("Frec minima", 100, 50, 10000, 0.01) + (rango*lfo);
rate = vslider("Rate LFO", 0.3, 0.1, 5, 0.01);
est = vslider("Estereo", 75, 0, 100, 1)*6;
feedback = vslider("Feedback", 0.5, 0, 0.9, 0.01);
depth = vslider("Profundidad", 1.0, 0.0, 1.0, 0.01);
rango = vslider("Rango frec... |
57620ebe1767bf03c12062df93be08155ed1660a3871b2e6ba7e860a9cd9e0ff | JaoRamos/Faust | 9_DelayEstereo.dsp | import("stdfaust.lib");
/*
Efecto de Delay ESTEREO de multiples taps
Para este efecto solo simplificaremos el funcionamiento del Chorus de voces multiples
(¡ver primero los ejemplos de chorus!)
Eliminaremos la modulacion y demas factores innecesarios
Y agregaremos un control de feedback
|| Juan Ramos 2020 - Universida... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/9_DelayEstereo.dsp | faust |
Efecto de Delay ESTEREO de multiples taps
Para este efecto solo simplificaremos el funcionamiento del Chorus de voces multiples
(¡ver primero los ejemplos de chorus!)
Eliminaremos la modulacion y demas factores innecesarios
Y agregaremos un control de feedback
|| Juan Ramos 2020 - Universidad Nacional de Quilmes ||
|... | import("stdfaust.lib");
unTap(entr, n) = hgroup("[%n] Tap %n", tap)
with {
filtroLP = fi.lowpass(2, hslider("[1]Hi Cut[unit:Hz][style:knob][scale:exp]", int(abs(sin(n*5)) * 5000 + 5000), 100, 20000, 100));
filtroHP = fi.highpass(2, hslider("[0]Lo Cut[unit:Hz][style:knob][scale:exp]", int(abs... |
2a4d4ec0f47b56734ea10fc8f8e683383a949978bf62ff1d92a1126202283cf9 | JaoRamos/Faust | 3_Distorsion.dsp | /*
Efecto de distorsion
En este ejemplo saturamos la señal con un control de ganancia para producir un efecto tipo
distorsion muy elemental. Existen maneras simples de distorsionar una señal, por ejemplo
haciendo un recorte directo una vez pasado cierto nivel (tambien llamado clip). Sin embargo
para tener un sonido al... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase_8/3_Distorsion.dsp | faust |
Efecto de distorsion
En este ejemplo saturamos la señal con un control de ganancia para producir un efecto tipo
distorsion muy elemental. Existen maneras simples de distorsionar una señal, por ejemplo
haciendo un recorte directo una vez pasado cierto nivel (tambien llamado clip). Sin embargo
para tener un sonido algo... |
import("stdfaust.lib");
volumen = hslider("[5]Volumen", 0.5, 0, 1, 0.01);
separacion = hslider("[2]Diferencia estereo", 0.3, 0, 1, 0.01);
offset = hslider("[1]Asimetria", 0, 0, 2, 0.01);
gain = hslider("[0]Ganancia [scale:exp]", 5, 0, 100, 0.01);
graves = hslider("[3]Graves", 70, 0, 100, 1) / 100;
agudos = hslider("... |
4f2995a79a97dfe73723846eff1815dcc2bf4c108a550f14bb80b9bb8b93ef72 | JaoRamos/Faust | 10_Vumetro.dsp | /*
Vumetro (interfaz grafica)
Advertencia: explicacion larga, pero uso muy facil!!!
Podemos crear un "vumetro" para tener una indicacion visual de -por ejemplo- el nivel
de una señal (¡pero podria ser otra cosa!).
Para ello podemos utilizar las primitivas hbargraph y vbargraph (horizontal/vertical).
Toman tres parame... | https://raw.githubusercontent.com/JaoRamos/Faust/c8895c672104b10729ddc06b42e2169a2943d839/unq/Clase%209/10_Vumetro.dsp | faust |
Vumetro (interfaz grafica)
Advertencia: explicacion larga, pero uso muy facil!!!
Podemos crear un "vumetro" para tener una indicacion visual de -por ejemplo- el nivel
de una señal (¡pero podria ser otra cosa!).
Para ello podemos utilizar las primitivas hbargraph y vbargraph (horizontal/vertical).
Toman tres parametr... |
import("stdfaust.lib");
medidor_0a1 = abs : hbargraph("Nivel (lineal)", 0, 1);
medidor_db = abs : ba.linear2db : hbargraph("Nivel (dB)", -60, 0);
medidor_slider = slider : hbargraph("La barra de poder", 0, 100);
slider = hslider("Funciona no solo con audio!", 50, 0, 100, 1);
process = _ <: attach(_, medidor_db... |
3de2128af2a9a3f0ecd3ee5e04b4babe4305b6db0c33cef0948345c024898756 | JaoRamos/Faust | 10_CompresorSimple.dsp | /*
Ejemplo de compresor/limitador MONO parametrizable
El funcionamiento elemental de este compresor se basa en hacer un analisis de
la amplitud de la señal ingresante, aplicando un pequeño retardo, para poder
determinar un nivel de reduccion de ganancia segun los parametros elegidos
por el usuario. Esta basado en "com... | https://raw.githubusercontent.com/JaoRamos/Faust/197e891722ae3630e54ae2eac38b3752570bf8c7/unq/Clase_8/10_CompresorSimple.dsp | faust |
Ejemplo de compresor/limitador MONO parametrizable
El funcionamiento elemental de este compresor se basa en hacer un analisis de
la amplitud de la señal ingresante, aplicando un pequeño retardo, para poder
determinar un nivel de reduccion de ganancia segun los parametros elegidos
por el usuario. Esta basado en "compr... |
import("stdfaust.lib");
compresorSimple(lad, rat, thr, att, rel, preGain, postGain, entrada) =
entrada * ba.db2linear(preGain) @ max(0, floor(0.5 + ma.SR * lad))
* compGain(rat, thr, att, rel, entrada * ba.db2linear(preGain))
* ba.db2linear(postGain)
wi... |
51cf0cea720b6ea1e36c2477508ab2190f7ef2c97669f20ac76e4d6d494f6db8 | JaoRamos/Faust | JaoAmpIR_64.dsp | declare name "Simulador de Amp Jao 64bit";
declare version "0.1";
declare author "Jao Corporation";
declare description "Simulador de Amp Jao 64bit";
import("stdfaust.lib");
impulso = fi.fir(RESPUESTA_IMPULSO) * (0.2);
mixImpulso = _ <: ( *(1 - impulsoSlider) , impulso *(impulsoSlider) ) : +;
gain = hslider("Gain", ... | https://raw.githubusercontent.com/JaoRamos/Faust/dffd281724d8941aa1efa7b8abeb09c6b2f7dee0/sueltos/JaoAmpIR_64.dsp | faust | declare name "Simulador de Amp Jao 64bit";
declare version "0.1";
declare author "Jao Corporation";
declare description "Simulador de Amp Jao 64bit";
import("stdfaust.lib");
impulso = fi.fir(RESPUESTA_IMPULSO) * (0.2);
mixImpulso = _ <: ( *(1 - impulsoSlider) , impulso *(impulsoSlider) ) : +;
gain = hslider("Gain", ... | |
4a188bef8ff5589f5ccb504fd5cba6f6b26eedc4dfba132395771a5c2509b6c0 | Msc-program/Jacklink | zitarevdsp.dsp | import("stdfaust.lib");
// Modified version from Faust Libraries demos.lib
process = zita_rev1; // same as dm.zita_rev1 but for wetness control and some defaults
//----------------------------------`(dm.)zita_rev1`------------------------------
// Example GUI for `zita_rev1_stereo` (mostly following the Linux `zita-... | https://raw.githubusercontent.com/Msc-program/Jacklink/70b8634173e66d89884bb77b70b7b3ed01f71f79/faust-src/zitarevdsp.dsp | faust | Modified version from Faust Libraries demos.lib
same as dm.zita_rev1 but for wetness control and some defaults
----------------------------------`(dm.)zita_rev1`------------------------------
Example GUI for `zita_rev1_stereo` (mostly following the Linux `zita-rev1` GUI).
Only the dry/wet and output level paramete... | import("stdfaust.lib");
zita_rev1 = _,_ <: re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ : out_eq,_,_ :
wet_dry_2(wet) : out_level
with{
fdn_group(x) = hgroup(
"[0] Zita_Rev1 [tooltip: ~ ZITA REV1 FEEDBACK DELAY NETWORK (FDN) & SCHROEDER
ALLPASS-COMB REVERBERATOR (8x8). See Faust's reverbs.lib for docume... |
5cc498c9f11bba81c0c8c6859c93cf0a6b89d98bd403e821b649750e93ec7676 | micbuffa/FaustPowerAmp | PowerAmpNeo.dsp | import("stdfaust.lib");
wa = library("webaudio.lib");
// Modified version of https://github.com/creativeintent/temper/blob/master/Dsp/temper.dsp
// Adapted for PowerAmp simulation (addition of presence filter, param adaptation, small changes...)
// Distortion parameters
pdrive = hslider("Drive gain[style:knob]", 4.0,... | https://raw.githubusercontent.com/micbuffa/FaustPowerAmp/415435288c32efad3d0de64b18004ebca3d3c06d/dsp/PowerAmpNeo.dsp | faust | Modified version of https://github.com/creativeintent/temper/blob/master/Dsp/temper.dsp
Adapted for PowerAmp simulation (addition of presence filter, param adaptation, small changes...)
Distortion parameters
Output parameters
A fairly standard wave shaping curve; we use this to shape the input signal
before modul... | import("stdfaust.lib");
wa = library("webaudio.lib");
pdrive = hslider("Drive gain[style:knob]", 4.0, -10.0, 10.0, 0.001) : si.smooth(0.995);
psat = hslider("Saturation dry wet[style:knob]", 1.0, 0.0, 1.0, 0.001) : si.smooth(0.995);
pcurve = hslider("Curve k[style:knob]", 1.0, 0.1, 4.0, 0.001) : si.smooth(0.995);
pl... |
ba3d5f92348c377085dd190144f024a392317acf02280c8d4c2353f130b0d83b | tognitete/BJT | freeverbTEST.dsp | // Created from flange.dsp 2015/06/21
import("stdfaust.lib");
flanger_mono(dmax,curdel,depth,fb,invert,lfoshape)
= _ <: _, (-:de.fdelay(dmax,curdel)) ~ *(fb) : _,
*(select2(invert,depth,0-depth))
: + : *(1/(1+depth)); // ideal for dc and reinforced sinusoids (in-phase summed signals)
process = ba.by... | https://raw.githubusercontent.com/tognitete/BJT/2818b850f2531bb8a0e84ab0f53f66b33bb256d0/server-side/plugin-services/plugins/freeverbTEST/freeverbTEST.dsp | faust | Created from flange.dsp 2015/06/21
ideal for dc and reinforced sinusoids (in-phase summed signals)
Kill the groups to save vertical space:
~1 ms at 44.1 kHz = min delay
This layout loosely follows the MiniMoog-V
Arturia-only features are labeled
Original versions also added where different
Need vrocker and hroc... |
import("stdfaust.lib");
flanger_mono(dmax,curdel,depth,fb,invert,lfoshape)
= _ <: _, (-:de.fdelay(dmax,curdel)) ~ *(fb) : _,
*(select2(invert,depth,0-depth))
process = ba.bypass1(fbp,flanger_mono_gui);
meter_group(x) = flsg(x);
ctl_group(x) = flkg(x);
del_group(x) = flkg(x);
lvl_group(x) = flkf(... |
57b8bb1885cf0efb29f58a8cda4477cb17b8b9860de2256cf232a7f3a9283e78 | rottingsounds/bitDSP-faust | intDivision.dsp | import("stdfaust.lib");
a = int(os.osc(440) * 20);
b = 7;
process = int(a/b);
| https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/test/intDivision.dsp | faust | import("stdfaust.lib");
a = int(os.osc(440) * 20);
b = 7;
process = int(a/b);
| |
be8c4797d0a4610f1ea8316da193c7a5bdb592b0da9fe16813b7c5e569a97645 | rottingsounds/bitDSP-faust | test_bitDAC.dsp | import("stdfaust.lib");
b = library("bitDSP.lib");
process = b.bitDAC(6, 0, int(no.noise * b.int_max));
| https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/test/test_bitDAC.dsp | faust | import("stdfaust.lib");
b = library("bitDSP.lib");
process = b.bitDAC(6, 0, int(no.noise * b.int_max));
| |
39436de19b94128381fb594c1de6b7f294a15eabdb802dcbde05ca282f7ff4f1 | rottingsounds/bitDSP-faust | literals.dsp | import("stdfaust.lib");
b = library("bitDSP.lib");
// CXXFLAGS="-I ../lib" faust2csvplot -I ../lib literals.dsp
s_count = (1:+~_) - 1;
a = (4:b.left_shift(1)) | (6:b.left_shift(1)) | (31:b.left_shift(1));
process = a : b.print2(0, s_count);
| https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/test/literals.dsp | faust | CXXFLAGS="-I ../lib" faust2csvplot -I ../lib literals.dsp | import("stdfaust.lib");
b = library("bitDSP.lib");
s_count = (1:+~_) - 1;
a = (4:b.left_shift(1)) | (6:b.left_shift(1)) | (31:b.left_shift(1));
process = a : b.print2(0, s_count);
|
b71de14860dd2b3c4de71fcd658484a509e00fe48bbc465e6b8771a82c9b78c6 | rottingsounds/bitDSP-faust | test_bitMask.dsp | import("stdfaust.lib");
b = library("bitDSP.lib");
// compile
// CXXFLAGS="-I ../lib" faust2csvplot -I ../lib bitMask.dsp
// ./bitMask -n 10
s_count = (1:+~_) - 1;
// a = (4:b.left_shift(1)) | (6:b.left_shift(1)) | (31:b.left_shift(1));
a = b.bit_mask((s_count % 32, 6, 31));
process = a : b.print2(0, s_count);
| https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/test/test_bitMask.dsp | faust | compile
CXXFLAGS="-I ../lib" faust2csvplot -I ../lib bitMask.dsp
./bitMask -n 10
a = (4:b.left_shift(1)) | (6:b.left_shift(1)) | (31:b.left_shift(1)); | import("stdfaust.lib");
b = library("bitDSP.lib");
s_count = (1:+~_) - 1;
a = b.bit_mask((s_count % 32, 6, 31));
process = a : b.print2(0, s_count);
|
f423129d22908ded20b96825c25996bf953db681faf951ef5c6e2e33506e3f3b | rottingsounds/bitDSP-faust | tillRBN.dsp | import("stdfaust.lib");
bitConv = library("bitDSP_conversion"); // conversion between formats library
node(function_seed, select_seed, N, K) = si.bus(N) : r_select(select_seed, K) : si.bus(K) : s_node(function_seed) with {
s_node(seed, K) = si.bus(K) : bitConv.bitBus_to_int(K) : sc.hasher(seed + _) > 0.5 : _;
};
| https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/test/tillRBN.dsp | faust | conversion between formats library | import("stdfaust.lib");
node(function_seed, select_seed, N, K) = si.bus(N) : r_select(select_seed, K) : si.bus(K) : s_node(function_seed) with {
s_node(seed, K) = si.bus(K) : bitConv.bitBus_to_int(K) : sc.hasher(seed + _) > 0.5 : _;
};
|
cf0007e362c4be271cb38dd587b1f464c51188d01687bdd5fdea34bf35fa9f85 | rottingsounds/bitDSP-faust | test_autoparam.dsp | import("stdfaust.lib");
inspect(i) = bit.inspect(i, -1, 1);
bit = library("bitDSP.lib");
gen = library("bitDSP_gen.lib");
fb1 = hslider("fb1", 0.1, -1, 1, .000001);
fb2 = hslider("fb2", 0.1, -1, 1, .000001);
process = gen.gen3 ~ (ro.cross(2) : par(i, 2, bit.autoparam + .54233) : par(i, 2, inspect(i))) : par(i, 2, fi.h... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/test/test_autoparam.dsp | faust | process = gen.gen3(fb1, fb2) <: par(i, 2, fi.highpass(1, 20)) , (par(i, 2, bit.autoparam) : par(i, 2, inspect(i))); | import("stdfaust.lib");
inspect(i) = bit.inspect(i, -1, 1);
bit = library("bitDSP.lib");
gen = library("bitDSP_gen.lib");
fb1 = hslider("fb1", 0.1, -1, 1, .000001);
fb2 = hslider("fb2", 0.1, -1, 1, .000001);
process = gen.gen3 ~ (ro.cross(2) : par(i, 2, bit.autoparam + .54233) : par(i, 2, inspect(i))) : par(i, 2, fi.h... |
667404401f6ce6ff4907a13daa1f34b17bb65f68461003bbb19b5735d01e98e7 | rottingsounds/bitDSP-faust | LowPressure.dsp | declare name "LowPressure";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/LowPressure.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix LowPressure.dsp
Final output | declare name "LowPressure";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.lowPressure(c1, c2) : si.bus(2);
|
dce143bcf25e22fd8bcf1596afa9100eea95bb60cecc0143adca5077970095fe | rottingsounds/bitDSP-faust | test_lfsr.dsp | declare name "lfsr printVals";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit32 = library("bitDSP_int32.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -I ../lib lfsr.dsp
// ./lfsr -n 10
// compile
// CXXFLAGS="-I ../../../include" faust2caqt -I ..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/test/test_lfsr.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib lfsr.dsp
./lfsr -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib lfsr.dsp
./lfsr
a = (4:b.left_shift(1)) | (6:bit32.left_shift(1)) | (31:bit32.left_shift(1)); | declare name "lfsr printVals";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit32 = library("bitDSP_int32.lib");
s_count = (1:+~_) - 1;
a = 1: bit32.lfsr32(b.bit_mask((3, 6, 31)));
process = a : bit32.print2(0, s_count);
|
346c286b39fe636e9a1850935e185458a5f6cd9cc12cd77256bee8939f9b4b0d | rottingsounds/bitDSP-faust | test_bit_delay.dsp | import("stdfaust.lib");
b = library("bitDSP.lib");
// bit_delay(0, x) = x;
// bit_delay(32, x) = x';
// bit_delay(delta, x) = ((x >> delta) | (x' << (32-delta)));
line = 1:+~_;
input = select2(1', -1216614433, 1216614432);
s_count = (1:+~_) - 1;
// parallel execution of the 32 cases for the bit_delay,
// I'd lik... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/test/test_bit_delay.dsp | faust | bit_delay(0, x) = x;
bit_delay(32, x) = x';
bit_delay(delta, x) = ((x >> delta) | (x' << (32-delta)));
parallel execution of the 32 cases for the bit_delay,
I'd like to feed all of them the two values I defined in `input`,
where the first value (-1216614433) is x' and the second value (1216614432) is x
process... | import("stdfaust.lib");
b = library("bitDSP.lib");
line = 1:+~_;
input = select2(1', -1216614433, 1216614432);
s_count = (1:+~_) - 1;
process = input <: par(i,32,b.delay32(i) : b.print2(s_count, i));
|
281990af0fdfb3df950ddcf5752a21ae3086f5b4d9c8204252f5d398f1d48564 | rottingsounds/bitDSP-faust | boolOsc0.dsp | declare name "boolOsc0";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc0.dsp
// ./boolOsc0 -n 10
// compile
// CXXFLAGS=... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/synths/boolOsc0.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc0.dsp
./boolOsc0 -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc0.dsp
./boolOsc0
stereo out | declare name "boolOsc0";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
dt1 = int(hslider("dt1",0,0,1,0) * ma.SR);
dt2 = int(hslider("dt2",0,0,1,0) * ma.SR);
dt3 = int(hslider("dt3",0,0,1... |
0ee641e2491ecdd6510d2b72dc72f0568fee0ee6e281fc52974c482e0381b300 | rottingsounds/bitDSP-faust | boolOsc1.dsp | declare name "boolOsc1";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix boolOsc1.dsp
// pl... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/boolOsc1.dsp | faust | SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix boolOsc1.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc1.dsp
./boolOsc1 -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc1.dsp
./boolOsc1
mono out | declare name "boolOsc1";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
dt1 = int(hslider("dt1",0,0,1,0) * ma.SR);
dt2 = int(hslider("dt2",0,0,1,0) * ma.SR);
process = bit.bool_osc1(d... |
b6c4c49ae609cb59593c0b03ef11d753585354fd4ffe8186237ac1ef25a903d3 | rottingsounds/bitDSP-faust | boolOsc2.dsp | declare name "boolOsc2";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix boolOsc2.dsp
// pl... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/boolOsc2.dsp | faust | SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix boolOsc2.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc2.dsp
./boolOsc2 -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc2.dsp
./boolOsc2
mono out | declare name "boolOsc2";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
dt1 = int(hslider("dt1",0,0,1,0) * ma.SR);
dt2 = int(hslider("dt2",0,0,1,0) * ma.SR);
process = bit.bool_osc2(d... |
e3079457d2410632da3a4d43390890865233c90af7963893ff3cc775117b960c | rottingsounds/bitDSP-faust | lfsr.dsp | declare name "LFSR";
declare author "Till Bovermann";
declare description "linear feedback shift register example";
declare reference "http://rottingsounds.org";
// compute lfsr on an n-bit integer bitset (assuming it to be unsigned, [0 < n <= 32] ).
// see https://en.wikipedia.org/wiki/Linear-feedback_shift_register
... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/lfsr.dsp | faust | compute lfsr on an n-bit integer bitset (assuming it to be unsigned, [0 < n <= 32] ).
see https://en.wikipedia.org/wiki/Linear-feedback_shift_register
SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -d -I ../lib -noprefix lfsr32.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib lfsr.ds... | declare name "LFSR";
declare author "Till Bovermann";
declare description "linear feedback shift register example";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit32 = library("bitDSP_int32.lib");
dac_bits = int(nentry("dacBits",1,1,32,1));
dac_offset = min(int(nentry("dacOffset",0,... |
cc161ea792dbc0a9879f5fd82eb89880d6a1945976a4d1b7ddb0001e36df1229 | rottingsounds/bitDSP-faust | BoolOscFB.dsp | declare name "BoolOscFB";
declare description "bool_osc FB";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB.dsp
// plot
// C... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/BoolOscFB.dsp | faust | SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc_fb.dsp
./boolOsc_fb -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc_fb.dsp
./boolOsc_fb
bool_osc1(del1, del2) = node1
... | declare name "BoolOscFB";
declare description "bool_osc FB";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
lp1p(cf, in) = + (in * a0) ~ * (b1) with {
a0 = 1 - b1;
b1 = exp(w(cf) * -1);
w(x) =... |
af3dc5426fb20e40a6aee2a79ddee5d551af0f2a1f39aed0192a7a8aef8f89ff | rottingsounds/bitDSP-faust | BoolOscFB1.dsp | declare name "BoolOscFB1";
declare description "bool_osc FB alternative 1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/BoolOscFB1.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB1.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc_fb.dsp
./boolOsc_fb -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc_fb.dsp
./boolOsc_fb
... | declare name "BoolOscFB1";
declare description "bool_osc FB alternative 1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bool_osc1_mod(del1, del2) = node1 letrec {
'node1 = not(node1 xor node2 & node1) @ min(ma.SR,(del1 % ma.SR));
'node2 = not(node2 x... |
77864491586143a53df1d9dc111d36eb9d855526f54565e922dafe2cb5521e8e | rottingsounds/bitDSP-faust | BoolOscFB3.dsp | declare name "BoolOscFB1";
declare description "bool_osc FB alternative 1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/synths/BoolOscFB3.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB1.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc_fb.dsp
./boolOsc_fb -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc_fb.dsp
./boolOsc_fb
... | declare name "BoolOscFB1";
declare description "bool_osc FB alternative 1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
mod(a, 0) = 0;
mod(a, b) = ba.if(a > 0, a % b, a % b + b);
bool_osc1_mod(d1, d2) = node1 letrec {
'node1 = not(node1 xor node2 & no... |
acde87b5a36b3a67b65ae0f1400d4da53215211b0134b75ad53d972f674cda48 | rottingsounds/bitDSP-faust | BASP.dsp | /*******************************************************************************
* BASP is a project for the creative use of bitstream musical DSP in Faust.
* The work relies on a several library modules developed over almost a year
* by Dario Sanfilippo and Till Bovermann. The library includes standard
* func... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/works/BASP.dsp | faust | ******************************************************************************
* BASP is a project for the creative use of bitstream musical DSP in Faust.
* The work relies on a several library modules developed over almost a year
* by Dario Sanfilippo and Till Bovermann. The library includes standard
* functi... |
import("stdfaust.lib");
declare name "BASP – Boolean Audio Signal Processing";
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2021 Dario Sanfilippo
<sanfilippo.dario@gmail.com>";
declare version "1.0";
declare license "MIT license";
bit = library("bitDSP.lib");
gen = library("bitDSP_gen.lib"... |
e3653ca9b15baca8b24a1f4c8ea8df808ab75f97b5b6190b49933b6c2f22569f | rottingsounds/bitDSP-faust | rbn.dsp | // =============================================================================
// Preliminary tests for random Boolean networks.
// reference paper: https://arxiv.org/pdf/0706.3351v2.pdf
// quick introduction: http://www.complexityexplorer.org/system/explore/models/writeup_files/000/000/040/original/random-boolean... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/c436ecad29c57d46d5e3e59110c25e71a3761fc5/test/rbn.dsp | faust | =============================================================================
Preliminary tests for random Boolean networks.
reference paper: https://arxiv.org/pdf/0706.3351v2.pdf
quick introduction: http://www.complexityexplorer.org/system/explore/models/writeup_files/000/000/040/original/random-boolean.pdf
==... |
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2020 Dario Sanfilippo
<sanfilippo.dario@gmail.com>";
declare lcg_par license "GPL v3 license";
import("stdfaust.lib");
lcg(M, A, C, S) = ((+ (S - S') * A + C) % M) ~ _;
lcg_par(1, M, A, C, S) = (A * S + C) % M;
lcg_par(N, M, A, C, S) = (A... |
0f16a86df869072cfc71d2e9c8fe67d7b3926ba4852024012a1f1a71d8b82de0 | Sylcantor/wam-web-components | StereoEnhancer.dsp | declare id "panoram_enhancer";
declare name "Panoram Enhancer";
declare shortname "Panoram";
declare category "Misc";
//------------------------------------
//Based at:
//ECE542 T. Tran; Rice University; Spring 2005
//"Title: Stereo Enhancement Algorithm"
//------------------------------------
import("stdfaust.lib"... | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/StereoEnhancer/StereoEnhancer.dsp | faust | ------------------------------------
Based at:
ECE542 T. Tran; Rice University; Spring 2005
"Title: Stereo Enhancement Algorithm"
------------------------------------
Controls
Constants
Max length of all de.delay lines, to provide 200 ms at 192 kHz
Real max length, 200 ms
Filters order in filter-banks
Main filter fhi
... | declare id "panoram_enhancer";
declare name "Panoram Enhancer";
declare shortname "Panoram";
declare category "Misc";
import("stdfaust.lib");
delay_width = hslider("Delay width[name:Delay][tooltip:Delay Width] [style:knob]",0,0,1,0.01):si.smooth(0.999);
freq_width = hslider("Frequency width[name:Frequency][tooltip... |
1f45bdc88ff2b3b3b3c0396bda37ccde2281cae429e192317e2279c78b80900e | Sylcantor/wam-web-components | temper.dsp | import("stdfaust.lib");
bypass = checkbox("99_bypass");
// Pre-filter parameters
pfilterfc = hslider("Cutoff[style:knobs]", 20000, 100, 20000, 1.0);
pfilterq = hslider("Resonance[style:knobs]", 1.0, 1.0, 8, 0.001) : si.smooth(0.995);
// Distortion parameters
pdrive = hslider("Drive[style:knobs]", 4.0, -10.0, 10.0, 0... | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/temper/temper.dsp | faust | Pre-filter parameters
Distortion parameters
Output parameters
A fairly standard wave shaping curve; we use this to shape the input signal
before modulating the filter coefficients by this signal. Which shaping curve
we use here is pretty unimportant; as long as we can introduce higher harmonics,
the coefficient ... | import("stdfaust.lib");
bypass = checkbox("99_bypass");
pfilterfc = hslider("Cutoff[style:knobs]", 20000, 100, 20000, 1.0);
pfilterq = hslider("Resonance[style:knobs]", 1.0, 1.0, 8, 0.001) : si.smooth(0.995);
pdrive = hslider("Drive[style:knobs]", 4.0, -10.0, 10.0, 0.001) : si.smooth(0.995);
psat = hslider("Saturati... |
bf36a575268543e26b068e7bbe237f9046ac09ffc270426c078d46efc38208be | Sylcantor/wam-web-components | greyhole.dsp | declare name "GreyholeRaw";
declare version "1.0";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
fb = hslider("feedback [style:knob]",0.9,0.0,1.0,0.01):linear_interp;
depth = ((ma.SR/44100)*... | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/greyhole/greyhole.dsp | faust | using exteral function to access list of prime numbers is slightly faster than an inline approach (as of 428bf3b)
prime_delays = ffunction(int primes (int),<jprev.h>,"primes");
blackhole = | declare name "GreyholeRaw";
declare version "1.0";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
fb = hslider("feedback [style:knob]",0.9,0.0,1.0,0.01):linear_interp;
depth = ((ma.SR/44100)*... |
7e88aed13515a8a6203d79a919a1b3c613cfbbfc5b5bb7e163f5d1aa882f39d3 | Sylcantor/wam-web-components | kbverb.dsp | import("stdfaust.lib");
// Simple bypass mecanism
// Bypass an effect (fx:n->n). Once bypassed the effect is replaced by par(i,n,_).
// Bypassed effects can be chained.
// Example: _,_ : bypass(checkbox("bypass reverb"), freeverb) : _,_
bypass_fx(b, fx) = par(i, inputs(fx), _) <: ((block_on(b, fx):fx), block_off(b,... | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/kbverb/kbverb.dsp | faust | Simple bypass mecanism
Bypass an effect (fx:n->n). Once bypassed the effect is replaced by par(i,n,_).
Bypassed effects can be chained.
Example: _,_ : bypass(checkbox("bypass reverb"), freeverb) : _,_
Bypass an effect (fx:n->n) with 's' samples crossfades. Once bypassed the
effect is replaced by par(i,n,_). By... | import("stdfaust.lib");
bypass_fx(b, fx) = par(i, inputs(fx), _) <: ((block_on(b, fx):fx), block_off(b, fx)) :> par(i, outputs(fx), _)
with {
block_on(b, fx) = par(i, inputs(fx), _*(1-b));
block_off(b, fx) = par(i, inputs(fx), _*b);
};
bypass_fade(b, s, fx) = par(i, inputs(fx), _)
<: (par(i, inputs(fx), *(... |
b46762b6478cb07eb0bb87608b26975e5612f8558e6877e2eb5c7a0b269b92ec | clearly-broken-software/Uprising | ur_oscillator.dsp | import("stdfaust.lib");
gate = 1-button("gate"); // starts the ramp envelope
// general purpose ramp envelope
env(start,end,len) = urRamp
with {
urRamp = ba.countup(len,gate): ba.bpf.start(0,start): ba.bpf.end(len,end);//:si.smoo;
};
// constant power panning ; reference The Audio Programming Book p.236
piOver2 =... | https://raw.githubusercontent.com/clearly-broken-software/Uprising/89f5b49d90cd47611da7e7dc2009061768716b4c/plugins/uprising/dsp/faust/ur_oscillator.dsp | faust | starts the ramp envelope
general purpose ramp envelope
:si.smoo;
constant power panning ; reference The Audio Programming Book p.236
oscilator
lfo
filter | import("stdfaust.lib");
env(start,end,len) = urRamp
with {
};
piOver2 = ma.PI/2;
root2over2 = (2 : sqrt) * 0.5;
angle = pan * piOver2 * 0.5;
posLeft = root2over2 * (cos(angle) - sin(angle));
posRight = root2over2 * (cos(angle) + sin(angle));
panStartPos = hslider("panStartPosition",0,-1,1,0.001);
panEndPos = hslid... |
66b9259a69479fdb9e905d8f9cc58f283b9d3fd9bf2db4753fc2163afaa4ba01 | VCVRack/VCV-Prototype | physicalmodel.dsp | import("stdfaust.lib");
import("rack.lib");
frenchBell_ui = pm.frenchBell(strikePosition,strikeCutoff,strikeSharpness,gain,gate)
with {
strikePosition = nentry("v:frenchBell/[0]strikePosition", 0,0,4,1);
strikeCutoff = hslider("v:frenchBell/[1]strikeCutOff", 6500,20,20000,1);
strikeSharpness = hslider("v:fren... | https://raw.githubusercontent.com/VCVRack/VCV-Prototype/6980f0f0aca2517ea4a44e749515fe868d4ff532/examples/physicalmodel.dsp | faust | Connection with VCV knob and switch
Connection with VCV knobs | import("stdfaust.lib");
import("rack.lib");
frenchBell_ui = pm.frenchBell(strikePosition,strikeCutoff,strikeSharpness,gain,gate)
with {
strikePosition = nentry("v:frenchBell/[0]strikePosition", 0,0,4,1);
strikeCutoff = hslider("v:frenchBell/[1]strikeCutOff", 6500,20,20000,1);
strikeSharpness = hslider("v:fren... |
659e065e0f76408145ad478d228e846ba5910f29ea92739422251fdb8df3e7b6 | guizmo2000/WebAudioPluginBank | stereoChorus.dsp | /* Stereo chorus. */
declare name "chorus";
declare description "stereo chorus effect";
declare author "Albert Graef";
declare version "1.1";
import("stdfaust.lib");
level = hslider("level [style: knob]", 0.5, 0, 1, 0.01);
freq = hslider("freq [style: knob]", 3, 0, 10, 0.01);
// Both must be filtered to avoid arte... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/jordan-SINTES/stereoChorus/assets/dsp_src/stereoChorus.dsp | faust | Stereo chorus.
Both must be filtered to avoid artefact when changing the values | declare name "chorus";
declare description "stereo chorus effect";
declare author "Albert Graef";
declare version "1.1";
import("stdfaust.lib");
level = hslider("level [style: knob]", 0.5, 0, 1, 0.01);
freq = hslider("freq [style: knob]", 3, 0, 10, 0.01);
dtime = hslider("delay [style: knob]", 0.025, 0, 0.2, 0.0... |
6958e0b08c2145cb69841c102ba572977987ab444a184237e76d2ea4da1ede1a | guizmo2000/WebAudioPluginBank | SmoothDelay.dsp | declare name "SmoothDelay";
declare author "Yann Orlarey";
declare copyright "Grame";
declare version "1.0";
declare license "STK-4.3";
//--------------------------process----------------------------
//
// A stereo smooth delay with a feedback control
//
// This example shows how to use sdelay, a delay that doesn... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/jordan-SINTES/SmoothDelay/assets/dsp_src/SmoothDelay.dsp | faust | --------------------------process----------------------------
A stereo smooth delay with a feedback control
This example shows how to use sdelay, a delay that doesn't
click and doesn't transpose when the delay time is changed
-------------------------------------------------------------
Simple bypass mecanism... | declare name "SmoothDelay";
declare author "Yann Orlarey";
declare copyright "Grame";
declare version "1.0";
declare license "STK-4.3";
import("stdfaust.lib");
bypass_fx(b, fx) = par(i, inputs(fx), _) <: ((block_on(b, fx):fx), block_off(b, fx)) :> par(i, outputs(fx), _)
with {
block_on(b, fx) = par(i, inputs(f... |
56995712586b9a5120f2ff8dfa7ace2c2cf9bc016378f52174bbfcce8f64f199 | guizmo2000/WebAudioPluginBank | kpp_bluedream_without_bypass.dsp | /*
* Copyright (C) 2018 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is dis... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/Faust/BlueDream/Original%20Faust%20Code/kpp_bluedream_without_bypass.dsp | faust |
* Copyright (C) 2018 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distr... |
declare name "kpp_bluedream";
declare author "Oleg Kapitonov";
declare license "GPLv3";
declare version "0.1b";
import("stdfaust.lib");
process = output with {
bypass = checkbox("99_bypass");
drive = vslider("drive",63,0,100,0.01);
volume = vslider("volume",0.5,0,1,0.001);
voice = ... |
60c512a3ef5dfcb25139dc7e5f49e364c8e78c7525d4f0c77d0a8fea124d9c41 | guizmo2000/WebAudioPluginBank | stonephaser.dsp | declare name "Stone Phaser";
declare author "Jean Pierre Cimalando";
declare version "1.2.2";
declare license "CC0-1.0";
// Référence :
// Kiiski, R., Esqueda, F., & Välimäki, V. (2016).
// Time-variant gray-box modeling of a phaser pedal.
// In 19th International Conference on Digital Audio Effects (DAFx-... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/jordan-SINTES/stonephaser/stonephaser.dsp | faust | Référence :
Kiiski, R., Esqueda, F., & Välimäki, V. (2016).
Time-variant gray-box modeling of a phaser pedal.
In 19th International Conference on Digital Audio Effects (DAFx-16).
///////////
Control //
///////////
////////////////////////
All-pass filter unit //
////////////////////////
//////////////... | declare name "Stone Phaser";
declare author "Jean Pierre Cimalando";
declare version "1.2.2";
declare license "CC0-1.0";
import("stdfaust.lib");
bypass = checkbox("[0] Bypass [symbol:bypass]");
color = checkbox("[1] Color [symbol:color]");
lf = hslider("[2] LFO frequency [symbol:lfo_frequency] [unit:Hz] [scale:log]... |
a9550b04cf21e0ba1e158444dcb20c75deaf434cc8a3ea10e3f58a286a5c1c1d | guizmo2000/WebAudioPluginBank | stonePhaserJari.dsp | declare name "Stone Phaser";
declare author "Jean Pierre Cimalando";
declare version "1.2.2";
declare license "CC0-1.0";
// Référence :
// Kiiski, R., Esqueda, F., & Välimäki, V. (2016).
// Time-variant gray-box modeling of a phaser pedal.
// In 19th International Conference on Digital Audio Effects (DAFx-... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/Buffa/stonePhaserJari/stonePhaserJari.dsp | faust | Référence :
Kiiski, R., Esqueda, F., & Välimäki, V. (2016).
Time-variant gray-box modeling of a phaser pedal.
In 19th International Conference on Digital Audio Effects (DAFx-16).
///////////
Control //
///////////
////////////////////////
All-pass filter unit //
////////////////////////
//////////////... | declare name "Stone Phaser";
declare author "Jean Pierre Cimalando";
declare version "1.2.2";
declare license "CC0-1.0";
import("stdfaust.lib");
bypass = checkbox("[0] Bypass [symbol:bypass]");
color = hslider("[1] Color [symbol:color] [boolean] [style:knob]", 1, 0, 1, 1);
lf = hslider("[2] LFO frequency [symbol:lf... |
c186683087ad93c23f300d192ebb8bc4abf155ed42f23304108df9801f6a8fcf | guizmo2000/WebAudioPluginBank | GreyHoleRaw.dsp | declare name "GreyholeRaw";
declare version "1.0";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
fb = hslider("feedback [style:knob]",0.9,0.0,1.0,0.01):linear_interp;
depth = ((ma.SR/44100)*... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/jordan-SINTES/GreyHoleRaw/GreyHoleRaw.dsp | faust | using exteral function to access list of prime numbers is slightly faster than an inline approach (as of 428bf3b)
prime_delays = ffunction(int primes (int),<jprev.h>,"primes");
blackhole = | declare name "GreyholeRaw";
declare version "1.0";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
fb = hslider("feedback [style:knob]",0.9,0.0,1.0,0.01):linear_interp;
depth = ((ma.SR/44100)*... |
42de1c72c846faa7e49b4ada4a9992bdfcc489d6d6c8baa654a4d341b025d951 | guizmo2000/WebAudioPluginBank | ReverbRaw.dsp | declare name "JPverbRaw";
declare version "1.1";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
allpass_stretched(maxdel,N,a) = (+ <: de.fdelay1a(maxdel,N-1),*(a)) ~ *(-a) : mem, _ : + ;
... | https://raw.githubusercontent.com/guizmo2000/WebAudioPluginBank/9d7a3c1bd0977d57316046c116c217dccd6caa10/jordan-SINTES/ReverbRaw/ReverbRaw.dsp | faust | using exteral function to access list of prime numbers is slightly faster than an inline approach (as of 428bf3b)
prime_delays = ffunction(int primes (int),<jprev.h>,"primes");
gi = 1.618;
Calibration constant given by T60 in seconds when fb = 0.5
Alesis Style 2-channel
with wet control
process = (_,_) <: ((reverb... | declare name "JPverbRaw";
declare version "1.1";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
allpass_stretched(maxdel,N,a) = (+ <: de.fdelay1a(maxdel,N-1),*(a)) ~ *(-a) : mem, _ : + ;
... |
ddb75dc12593cd7376b74428a1e06f679d315ea9e1a14782e4510e8a6da418c9 | polyeffects/PolyLV2 | vibrato_ext.dsp | import("stdfaust.lib");
vibrato2_mono(sections,fb,width,frqmin,fratio,frqmax, lfo) =
(+ : seq(i,sections,ap2p(R,th(i)))) ~ *(fb)
with {
//tf2 = component("filters.lib").tf2;
// second-order resonant digital allpass given pole radius and angle:
ap2p(R,th) = fi.tf2(a2,a1,1,a1,a2) with {
a2 = R^2;
... | https://raw.githubusercontent.com/polyeffects/PolyLV2/a363599f74fd1bce0b3744221e1883fdbe89c557/poly_vibrato_ext/vibrato_ext.dsp | faust | tf2 = component("filters.lib").tf2;
second-order resonant digital allpass given pole radius and angle:
depth=0 => direct-signal only
depth=1 => phaser mode (equal sum of direct and allpass-chain)
depth=2 => vibrato mode (allpass-chain signal only)
inversion negates the allpass-chain signal
ccrma.stanford.edu/~jos/... | import("stdfaust.lib");
vibrato2_mono(sections,fb,width,frqmin,fratio,frqmax, lfo) =
(+ : seq(i,sections,ap2p(R,th(i)))) ~ *(fb)
with {
ap2p(R,th) = fi.tf2(a2,a1,1,a1,a2) with {
a2 = R^2;
a1 = -2*R*cos(th);
};
R = exp(-pi*width/ma.SR);
pi = 4*atan(1);
thmin = 2*pi*frqmin/ma.SR;
... |
2221f6062cbdeda146590d6a4c89f9a01070af21fa7d2fe776dcea432b193709 | polyeffects/PolyLV2 | vibrato.dsp | import("stdfaust.lib");
vibrato2_mono(sections,phase01,fb,width,frqmin,fratio,frqmax,speed) =
(+ : seq(i,sections,ap2p(R,th(i)))) ~ *(fb)
with {
//tf2 = component("filters.lib").tf2;
// second-order resonant digital allpass given pole radius and angle:
ap2p(R,th) = fi.tf2(a2,a1,1,a1,a2) with {
a... | https://raw.githubusercontent.com/polyeffects/PolyLV2/a363599f74fd1bce0b3744221e1883fdbe89c557/poly_vibrato/vibrato.dsp | faust | tf2 = component("filters.lib").tf2;
second-order resonant digital allpass given pole radius and angle:
oscillators.lib
oscillators.lib
in [0,1]
depth=0 => direct-signal only
depth=1 => phaser mode (equal sum of direct and allpass-chain)
depth=2 => vibrato mode (allpass-chain signal only)
inversion negates the a... | import("stdfaust.lib");
vibrato2_mono(sections,phase01,fb,width,frqmin,fratio,frqmax,speed) =
(+ : seq(i,sections,ap2p(R,th(i)))) ~ *(fb)
with {
ap2p(R,th) = fi.tf2(a2,a1,1,a1,a2) with {
a2 = R^2;
a1 = -2*R*cos(th);
};
R = exp(-pi*width/ma.SR);
osc = cososc(speed) * phase01 + sinosc(... |
f38f1d88ba70c2017b55ff432e8f3cef51c779a4996c8762808e0d5a70b539fb | polyeffects/digit_carla | digit_delay.dsp | import("stdfaust.lib");
echo_group(x) = x;
knobs_group(x) = vgroup("[0] Knobs",x);
switches_group(x) = vgroup("[1] Switches",x);
dmax = 1048576; // 21 seconds
dmaxs = float(dmax)/48000.0;
Nnines = 1.8; // Increase until you get the desired maximum amount of smoothing when fbs==1
fastpow2 = ffunction(float fa... | https://raw.githubusercontent.com/polyeffects/digit_carla/75609d7dd365628fca044f64a7141686853e7945/LV2/digit_delay/digit_delay.dsp | faust | 21 seconds
Increase until you get the desired maximum amount of smoothing when fbs==1
pole radius of feedback smoother
beats to sample time
"ground input" switches input to zeros
Warp and Scrubber stuff:
enableEcho went 0 to 1
enableEcho went 1 to 0
Ramps up only during scrub "hold" time and is otherwise zero:... | import("stdfaust.lib");
echo_group(x) = x;
knobs_group(x) = vgroup("[0] Knobs",x);
switches_group(x) = vgroup("[1] Switches",x);
dmaxs = float(dmax)/48000.0;
fastpow2 = ffunction(float fastpow2(float), "fast_pow2.h", "");
inputSelect(gi) = _,0 : select2(gi);
echo_mono(dmax,curdel,tapdel,fb,fbspr,gi) = inputS... |
3a377f95dca22d5166169f22898867ecc96ccc94ef8ea544ffb6f4be85b55243 | polyeffects/digit_carla | echo.dsp | import("stdfaust.lib");
echo_group(x) = x;
knobs_group(x) = vgroup("[0] Knobs",x);
switches_group(x) = vgroup("[1] Switches",x);
dmax = 1048576; // 21 seconds
dmaxs = float(dmax)/48000.0;
Nnines = 1.8; // Increase until you get the desired maximum amount of smoothing when fbs==1
fastpow2 = ffunction(float fa... | https://raw.githubusercontent.com/polyeffects/digit_carla/75609d7dd365628fca044f64a7141686853e7945/LV2/digit_delay/echo.dsp | faust | 21 seconds
Increase until you get the desired maximum amount of smoothing when fbs==1
pole radius of feedback smoother
beats to sample time
"ground input" switches input to zeros
Warp and Scrubber stuff:
enableEcho went 0 to 1
enableEcho went 1 to 0
Ramps up only during scrub "hold" time and is otherwise zero:... | import("stdfaust.lib");
echo_group(x) = x;
knobs_group(x) = vgroup("[0] Knobs",x);
switches_group(x) = vgroup("[1] Switches",x);
dmaxs = float(dmax)/48000.0;
fastpow2 = ffunction(float fastpow2(float), "fast_pow2.h", "");
inputSelect(gi) = _,0 : select2(gi);
echo_mono(dmax,curdel,tapdel,fb,fbspr,gi) = inputS... |
ddb74d90a44ae869d0598074521cda5d91d414d4193ed2d4643d973bf0b799ff | maximalexanian/guitarix-vst | highbooster.dsp | declare name "Treble boost";
declare category "Tone Control";
import("stdfaust.lib");
level = vslider("Level", 0, 0.5, 20, 0.5) ;
hfboost(level,fx,x) = x + (ba.db2linear(level)-1)*fi.highpass(1,fx,x);
process = hfboost(level, 1500);
| https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/LV2/faust/highbooster.dsp | faust | declare name "Treble boost";
declare category "Tone Control";
import("stdfaust.lib");
level = vslider("Level", 0, 0.5, 20, 0.5) ;
hfboost(level,fx,x) = x + (ba.db2linear(level)-1)*fi.highpass(1,fx,x);
process = hfboost(level, 1500);
| |
2ffd10d988ce72dc41dfbc9d68ce6fbe3a122221b3553311205513b51a71406a | maximalexanian/guitarix-vst | gxtubedelay.dsp | declare name "Tube Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
level = vslider("level[style:knob]", 0, 0, 1, 0.1):LogPot(1):smoothi(0.993);
feedback = vslider("feedback[style:knob]", 0, 0.0,... | https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/LV2/faust/gxtubedelay.dsp | faust | for a 2.5 sec de.delay
added a de.delay bypass output to get a real tape de.delay,
and a low/fi.highpass filter section in the feedback loop
to avoid self oscillation | declare name "Tube Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
level = vslider("level[style:knob]", 0, 0, 1, 0.1):LogPot(1):smoothi(0.993);
feedback = vslider("feedback[style:knob]", 0, 0.0,... |
1b2bb0e1589b44d7dfd1df3f857a626a8db929e4c57efed723b5a70692dd3120 | maximalexanian/guitarix-vst | expander.dsp |
/* Expander unit. */
/* This is pretty much the same as compressor.dsp, but here the given ratio is
applied to *attenuate* levels *below* the threshold. */
declare name "Expander";
declare category "Guitar Effects";
declare description "expander unit";
declare author "Albert Graef";
declare version "1.0";
impor... | https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/faust/expander.dsp | faust | Expander unit.
This is pretty much the same as compressor.dsp, but here the given ratio is
applied to *attenuate* levels *below* the threshold.
Controls.
: max(ba.db2linear(-70)) : ba.linear2db; |
declare name "Expander";
declare category "Guitar Effects";
declare description "expander unit";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("reducemaps.lib");
ratio = nentry("ratio", 2, 1, 20, 0.1);
threshold = nentry("threshold", -40, -96, 10, 0.1);
knee = nentry("kne... |
186b63b8a8a9554c301adeef60306d75bee4279b5ce74d74f2037430aa1f867f | maximalexanian/guitarix-vst | graphiceq.dsp | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reducemaps.lib");
//geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.));
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 141... | https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/LV2/faust/graphiceq.dsp | faust | geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.)); | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reducemaps.lib");
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., 2828., 5657., 11384., 18110.));
g1 = vslider("g1[tooltip:gain (dB) below 31.25 Hz]", 0, -6... |
52a9b4657b028af9b720bc4b4877e0228770f68455184e14ace3782be941c8d2 | maximalexanian/guitarix-vst | graphiceq.dsp | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reducemaps.lib");
//geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.));
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 141... | https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/faust/graphiceq.dsp | faust | geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.)); | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reducemaps.lib");
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., 2828., 5657., 11384., 18110.));
g1 = vslider("g1[tooltip:gain (dB) below 31.25 Hz]", 0, -3... |
b53066b9d7f470390e22a1fe5b763dbce8e832f75949fb30e064e5915480f7de | maximalexanian/guitarix-vst | compressor.dsp | declare name "Compressor";
declare category "Guitar Effects";
/* Compressor unit. */
//declare name "compressor -- compressor/limiter unit";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("guitarix.lib");
import("reducemaps.lib");
/* Controls. */
// partition the controls into... | https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/faust/compressor.dsp | faust | Compressor unit.
declare name "compressor -- compressor/limiter unit";
Controls.
partition the controls into these three groups
compressor controls: ratio, threshold and knee size
attack and release controls; clamped to a minimum of 1 sample
gain controls: make-up gain, compression gain meter
Compute the envel... | declare name "Compressor";
declare category "Guitar Effects";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("guitarix.lib");
import("reducemaps.lib");
comp_group(x) = hgroup("1-compression", x);
env_group(x) = vgroup("2-envelop", x);
gain_group(x) = vgroup("3-gain", x);
rati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.