_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
|
---|---|---|---|---|---|---|---|
320cb62f8ba7aa1b2ab2aff236e7cee80088c6a82e0bba3a07cfa0a9ecf2dcd2 | maximalexanian/guitarix-vst | tonecontroll.dsp | declare id "tonemodul";
declare name "3 Band EQ";
declare category "Tone Control";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = 600; //nentry("split_low_freq", 250, 20, 600, 10);
F1 = 1200; //nentry("split_middle_freq", 650, 600, 1250, 10);
F2 = 2400; //nentry("split_high_freq", 1250, 1250, 12000, 10);
/**********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
***********************************************************************/
//------------------------------ ba.count and ba.take --------------------------------------
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1, xs) = xs;
takeN (nn, (xs, xxs)) = takeN (nn-1, xxs);
//------------------------------ low/high-passfilters --------------------------------------
tf1N(b0,b1,a1) = _ <: *(b0), (mem : *(b1)) :> + ~ *(0-a1);
tf2N(b0,b1,b2,a1,a2) = sub ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
sub(x,y) = y-x;
};
tf1sN(b1,b0,a0,w1) = tf1N(b0d,b1d,a1d)
with {
c = 1/tan((w1)*0.5/ma.SR); // bilinear-transform scale-factor
d = a0 + c;
b1d = (b0 - b1*c) / d;
b0d = (b0 + b1*c) / d;
a1d = (a0 - c) / d;
};
tf2sN(b2,b1,b0,a1,a0,w1) = tf2N(b0d,b1d,b2d,a1d,a2d)
with {
c = 1/tan((w1)*0.5/ma.SR); // bilinear-transform scale-factor
csq = c*c;
d = a0 + a1 * c + csq;
b0d = (b0 + b1 * c + b2 * csq)/d;
b1d = 2 * (b0 - b2 * csq)/d;
b2d = (b0 - b1 * c + b2 * csq)/d;
a1d = 2 * (a0 - csq)/d;
a2d = (a0 - a1*c + csq)/d;
};
lowpassN(N,fc) = lowpass0_highpass1N(0,N,fc);
highpassN(N,fc) = lowpass0_highpass1N(1,N,fc);
lowpass0_highpass1N(s,N,fc) = lphpr(s,N,N,fc)
with {
lphpr(s,0,N,fc) = _;
lphpr(s,1,N,fc) = tf1sN(s,1-s,1,2*ma.PI*fc);
lphpr(s,O,N,fc) = lphpr(s,(O-2),N,fc) : tf2sN(s,0,1-s,a1s,1,w1) with {
parity = N % 2;
S = (O-parity)/2; // current section number
a1s = -2*cos(-ma.PI + (1-parity)*ma.PI/(2*N) + (S-1+parity)*ma.PI/N);
w1 = 2*ma.PI*fc;
};
};
//------------------------------ an.analyzer --------------------------------------
analyzern(O,lfreqs) = _ <: bsplit(nb) with
{
nb = countN(lfreqs);
fc(n) = takeN(n, lfreqs);
lp(n) = lowpassN(O,fc(n));
hp(n) = highpassN(O,fc(n));
bsplit(0) = _;
bsplit(i) = hp(i), (lp(i) <: bsplit(i-1));
};
analyzerN(lfreqs) = analyzern(3,lfreqs);
filterbankn(O,lfreqs) = analyzern(O,lfreqs) : delayeq with
{
nb = ba.count(lfreqs);
fc(n) = ba.take(n, lfreqs);
ap(n) = fi.highpass_plus_lowpass(O,fc(n));
delayeq = par(i,nb-1,apchain(nb-1-i)),_,_;
apchain(0) = _;
apchain(i) = ap(i) : apchain(i-1);
};
filterbankN(lfreqs) = fi.filterbank(3,lfreqs);
/**********************************************************************
*** end for backward compatibility from 0.9.27 to
*** 0.9.24 , it could removed when switch completly to > 0.9.27
***********************************************************************/
//----------tone_controll---------
t = vslider("Treble[name:Treble", 0., -5., 5, 0.01): ba.db2linear : smoothi(0.999);
m = vslider("Middle[name:Middle", 0., -5., 5, 0.01): ba.db2linear : smoothi(0.999);
l = vslider("Bass[name:Bass", 0., -5., 5, 0.01): ba.db2linear : smoothi(0.999) ;
//tstack = component("tonestack.dsp");
sharp = vslider("sharper[name:Sharp]", -2, -2.5, 5, 0.1);
press = -5. * sharp;
attack = 0.005;
release = 5.0;
knee = 10.5;
ratio = 3.0;
env = abs : max(1);
compress(env) = level * (1-r)/r
with {
level = env : h ~ _ : ba.linear2db : (_ - press ) : max(0)
with {
h(x,y) = f*x+(1-f)*y with { f = (x<y)*ga+(x>=y)*gr; };
ga = exp(-1/(ma.SR*attack));
gr = exp(-1/(ma.SR*release));
};
p = level/(knee+eps) : max(0) : min(1) with { eps = 0.001; };
r = 1 - p + p * ratio;
};
comp1(x) = g(x) * x
with {
g = env : compress + sharp : ba.db2linear;
};
comp = BP( comp1);
tone_controll = _ : filterbankN((F,F2)): *(t),*(m),*(l):>_;
process = (tone_controll : comp) ,(tone_controll : comp);
| https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/faust/tonecontroll.dsp | faust | nentry("split_low_freq", 250, 20, 600, 10);
nentry("split_middle_freq", 650, 600, 1250, 10);
nentry("split_high_freq", 1250, 1250, 12000, 10);
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************************************************************
------------------------------ ba.count and ba.take --------------------------------------
------------------------------ low/high-passfilters --------------------------------------
bilinear-transform scale-factor
bilinear-transform scale-factor
current section number
------------------------------ an.analyzer --------------------------------------
*********************************************************************
*** end for backward compatibility from 0.9.27 to
*** 0.9.24 , it could removed when switch completly to > 0.9.27
**********************************************************************
----------tone_controll---------
tstack = component("tonestack.dsp"); | declare id "tonemodul";
declare name "3 Band EQ";
declare category "Tone Control";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1, xs) = xs;
takeN (nn, (xs, xxs)) = takeN (nn-1, xxs);
tf1N(b0,b1,a1) = _ <: *(b0), (mem : *(b1)) :> + ~ *(0-a1);
tf2N(b0,b1,b2,a1,a2) = sub ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
sub(x,y) = y-x;
};
tf1sN(b1,b0,a0,w1) = tf1N(b0d,b1d,a1d)
with {
d = a0 + c;
b1d = (b0 - b1*c) / d;
b0d = (b0 + b1*c) / d;
a1d = (a0 - c) / d;
};
tf2sN(b2,b1,b0,a1,a0,w1) = tf2N(b0d,b1d,b2d,a1d,a2d)
with {
csq = c*c;
d = a0 + a1 * c + csq;
b0d = (b0 + b1 * c + b2 * csq)/d;
b1d = 2 * (b0 - b2 * csq)/d;
b2d = (b0 - b1 * c + b2 * csq)/d;
a1d = 2 * (a0 - csq)/d;
a2d = (a0 - a1*c + csq)/d;
};
lowpassN(N,fc) = lowpass0_highpass1N(0,N,fc);
highpassN(N,fc) = lowpass0_highpass1N(1,N,fc);
lowpass0_highpass1N(s,N,fc) = lphpr(s,N,N,fc)
with {
lphpr(s,0,N,fc) = _;
lphpr(s,1,N,fc) = tf1sN(s,1-s,1,2*ma.PI*fc);
lphpr(s,O,N,fc) = lphpr(s,(O-2),N,fc) : tf2sN(s,0,1-s,a1s,1,w1) with {
parity = N % 2;
a1s = -2*cos(-ma.PI + (1-parity)*ma.PI/(2*N) + (S-1+parity)*ma.PI/N);
w1 = 2*ma.PI*fc;
};
};
analyzern(O,lfreqs) = _ <: bsplit(nb) with
{
nb = countN(lfreqs);
fc(n) = takeN(n, lfreqs);
lp(n) = lowpassN(O,fc(n));
hp(n) = highpassN(O,fc(n));
bsplit(0) = _;
bsplit(i) = hp(i), (lp(i) <: bsplit(i-1));
};
analyzerN(lfreqs) = analyzern(3,lfreqs);
filterbankn(O,lfreqs) = analyzern(O,lfreqs) : delayeq with
{
nb = ba.count(lfreqs);
fc(n) = ba.take(n, lfreqs);
ap(n) = fi.highpass_plus_lowpass(O,fc(n));
delayeq = par(i,nb-1,apchain(nb-1-i)),_,_;
apchain(0) = _;
apchain(i) = ap(i) : apchain(i-1);
};
filterbankN(lfreqs) = fi.filterbank(3,lfreqs);
t = vslider("Treble[name:Treble", 0., -5., 5, 0.01): ba.db2linear : smoothi(0.999);
m = vslider("Middle[name:Middle", 0., -5., 5, 0.01): ba.db2linear : smoothi(0.999);
l = vslider("Bass[name:Bass", 0., -5., 5, 0.01): ba.db2linear : smoothi(0.999) ;
sharp = vslider("sharper[name:Sharp]", -2, -2.5, 5, 0.1);
press = -5. * sharp;
attack = 0.005;
release = 5.0;
knee = 10.5;
ratio = 3.0;
env = abs : max(1);
compress(env) = level * (1-r)/r
with {
level = env : h ~ _ : ba.linear2db : (_ - press ) : max(0)
with {
h(x,y) = f*x+(1-f)*y with { f = (x<y)*ga+(x>=y)*gr; };
ga = exp(-1/(ma.SR*attack));
gr = exp(-1/(ma.SR*release));
};
p = level/(knee+eps) : max(0) : min(1) with { eps = 0.001; };
r = 1 - p + p * ratio;
};
comp1(x) = g(x) * x
with {
g = env : compress + sharp : ba.db2linear;
};
comp = BP( comp1);
tone_controll = _ : filterbankN((F,F2)): *(t),*(m),*(l):>_;
process = (tone_controll : comp) ,(tone_controll : comp);
|
b59d79e8877894271740cfbeabfbc44542a3c51603bff35cb5522e1eb186f7de | guysherman/Faust | dbmeter.dsp | declare name "dbmeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-------------------------------------------------
// A dB Vumeter
//-------------------------------------------------
import("math.lib");
import("music.lib");
vmeter(x) = attach(x, envelop(x) : vbargraph("[unit:dB]", -70, 10));
hmeter(x) = attach(x, envelop(x) : hbargraph("[unit:dB]", -70, 10));
envelop = abs : max(db2linear(-70)) : linear2db : min(10) : max ~ -(80.0/SR);
null(x) = attach(0,x);
process = hgroup("8 channels dB meter", par(i,8, vgroup("%i", vmeter : null))); | https://raw.githubusercontent.com/guysherman/Faust/4cac36e7fc493158e92946b3a840c4f611ac2844/examples/dbmeter.dsp | faust | -------------------------------------------------
A dB Vumeter
------------------------------------------------- | declare name "dbmeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("math.lib");
import("music.lib");
vmeter(x) = attach(x, envelop(x) : vbargraph("[unit:dB]", -70, 10));
hmeter(x) = attach(x, envelop(x) : hbargraph("[unit:dB]", -70, 10));
envelop = abs : max(db2linear(-70)) : linear2db : min(10) : max ~ -(80.0/SR);
null(x) = attach(0,x);
process = hgroup("8 channels dB meter", par(i,8, vgroup("%i", vmeter : null))); |
28f236b3c39fdadfaf4ea183ab0c6968b20cd6e38bed12dedbf32ae13ce1f71c | maximalexanian/guitarix-vst | chorus.dsp | declare name "Chorus";
declare category "Modulation";
/* Stereo chorus. */
// declare name "chorus -- stereo chorus effect";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
level = hslider("level", 0.5, 0, 1, 0.01);
freq = hslider("freq", 3, 0, 10, 0.01);
dtime = hslider("de.delay", 0.02, 0, 0.2, 0.01);
depth = hslider("depth", 0.02, 0, 1, 0.01);
tblosc(n,f,freq,mod) = (1-d)*rdtable(n,wform,i&(n-1)) +
d*rdtable(n,wform,(i+1)&(n-1))
with {
wform = ba.time*(2.0*ma.PI)/n : f;
phase = freq/ma.SR : (+ : ma.decimal) ~ _;
modphase = ma.decimal(phase+mod/(2*ma.PI))*n;
i = int(floor(modphase));
d = ma.decimal(modphase);
};
chorus(dtime,freq,depth,phase,x)
= x+level*de.fdelay(1<<16, t, x)
with {
t = ma.SR*dtime/2*(1+depth*tblosc(1<<16, sin, freq, phase));
};
process = vgroup("chorus", (left, right))
with {
left = chorus(dtime,freq,depth,0);
right = chorus(dtime,freq,depth,ma.PI/2);
};
| https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/LV2/faust/chorus.dsp | faust | Stereo chorus.
declare name "chorus -- stereo chorus effect"; | declare name "Chorus";
declare category "Modulation";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
level = hslider("level", 0.5, 0, 1, 0.01);
freq = hslider("freq", 3, 0, 10, 0.01);
dtime = hslider("de.delay", 0.02, 0, 0.2, 0.01);
depth = hslider("depth", 0.02, 0, 1, 0.01);
tblosc(n,f,freq,mod) = (1-d)*rdtable(n,wform,i&(n-1)) +
d*rdtable(n,wform,(i+1)&(n-1))
with {
wform = ba.time*(2.0*ma.PI)/n : f;
phase = freq/ma.SR : (+ : ma.decimal) ~ _;
modphase = ma.decimal(phase+mod/(2*ma.PI))*n;
i = int(floor(modphase));
d = ma.decimal(modphase);
};
chorus(dtime,freq,depth,phase,x)
= x+level*de.fdelay(1<<16, t, x)
with {
t = ma.SR*dtime/2*(1+depth*tblosc(1<<16, sin, freq, phase));
};
process = vgroup("chorus", (left, right))
with {
left = chorus(dtime,freq,depth,0);
right = chorus(dtime,freq,depth,ma.PI/2);
};
|
bd7b1225d5bfb5d5ce5a3fb28e0e1602b70122c1d3e8f03d4cfabc22b1395250 | olilarkin/OL-OWLPatches | ThruZeroFlanger.dsp | declare name "Thru Zero Flanger";
declare description "Stereo Thru Zero Flanger - warning can ZERO the sound!";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
lutsize = 1 << 9;
maxdtms = 20;
smooth_time = 0.005;
rate = hslider("Rate [unit:hz] [OWL:PARAMETER_A]", 0.1, 0., 1, 0.001);
dt = hslider("Delay [unit:ms] [OWL:PARAMETER_B]", 10., 0.5, maxdtms, 0.01) : si.smooth(ba.tau2pole(smooth_time));
lr_offset = hslider("L-R Offset [OWL:PARAMETER_C]", 0, 0., 1, 0.001) *(0.5) : si.smooth(ba.tau2pole(smooth_time));
depth = hslider("Depth [unit:%] [OWL:PARAMETER_D]", 20., 3., 100., 1) *(0.01): si.smooth(ba.tau2pole(smooth_time));
tbllookup(phase) = s1+d*(s2-s1)
with {
i = int(phase * lutsize);
d = ma.decimal(phase * lutsize);
triangle_table = triangle_phasor(float(ba.time)/float(lutsize));
triangle_phasor(t) = ((0<=t) & (t<=0.5))*((2*t-0.5)/0.5) + ((0.5<t) & (t<=1.))*((1.5-2*t)/0.5);
s1 = rdtable(lutsize+1, triangle_table, i);
s2 = rdtable(lutsize+1, triangle_table, i+1);
};
tzflangeunit(x, offset) = staticdelay(x) + moddelay(x)
with {
dtsamples = dt * (float(ma.SR)/1000.);
staticdelay = de.fdelay(4096, dtsamples);
moddelay = de.fdelay(4096, modulation) *(-1.); // inverted
phasor = fmod((rate/float(ma.SR) : (+ : ma.decimal) ~ _)+offset, 1.);
modulation = dtsamples + ((tbllookup(phasor)*depth) * dtsamples);
};
process(l,r) = tzflangeunit(l, 0.), tzflangeunit(r, lr_offset); | https://raw.githubusercontent.com/olilarkin/OL-OWLPatches/2dad8107814082c9de8ef1d117950fe3f49633b6/ThruZeroFlanger.dsp | faust | inverted | declare name "Thru Zero Flanger";
declare description "Stereo Thru Zero Flanger - warning can ZERO the sound!";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
lutsize = 1 << 9;
maxdtms = 20;
smooth_time = 0.005;
rate = hslider("Rate [unit:hz] [OWL:PARAMETER_A]", 0.1, 0., 1, 0.001);
dt = hslider("Delay [unit:ms] [OWL:PARAMETER_B]", 10., 0.5, maxdtms, 0.01) : si.smooth(ba.tau2pole(smooth_time));
lr_offset = hslider("L-R Offset [OWL:PARAMETER_C]", 0, 0., 1, 0.001) *(0.5) : si.smooth(ba.tau2pole(smooth_time));
depth = hslider("Depth [unit:%] [OWL:PARAMETER_D]", 20., 3., 100., 1) *(0.01): si.smooth(ba.tau2pole(smooth_time));
tbllookup(phase) = s1+d*(s2-s1)
with {
i = int(phase * lutsize);
d = ma.decimal(phase * lutsize);
triangle_table = triangle_phasor(float(ba.time)/float(lutsize));
triangle_phasor(t) = ((0<=t) & (t<=0.5))*((2*t-0.5)/0.5) + ((0.5<t) & (t<=1.))*((1.5-2*t)/0.5);
s1 = rdtable(lutsize+1, triangle_table, i);
s2 = rdtable(lutsize+1, triangle_table, i+1);
};
tzflangeunit(x, offset) = staticdelay(x) + moddelay(x)
with {
dtsamples = dt * (float(ma.SR)/1000.);
staticdelay = de.fdelay(4096, dtsamples);
phasor = fmod((rate/float(ma.SR) : (+ : ma.decimal) ~ _)+offset, 1.);
modulation = dtsamples + ((tbllookup(phasor)*depth) * dtsamples);
};
process(l,r) = tzflangeunit(l, 0.), tzflangeunit(r, lr_offset); |
922218be086f637243143832e3b38f6637322d84e255bac3079d699e660bc0ca | friskgit/snares | o_impulse.dsp | // -*- compile-command: "cd .. && make jack src=o_impulse.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`General impulse` --------------------------
//
// Generating a single impulse to be fed into the likes of 'snare.dsp'.
// Use this in order to have a trigger programmatically available.
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = impgrp(button("play")) : ba.impulsify;
process = imp;
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/o_impulse.dsp | faust | -*- compile-command: "cd .. && make jack src=o_impulse.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`General impulse` --------------------------
Generating a single impulse to be fed into the likes of 'snare.dsp'.
Use this in order to have a trigger programmatically available.
18 Juli 2019 Henrik Frisk [email protected]
--------------------------------------------------- |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = impgrp(button("play")) : ba.impulsify;
process = imp;
|
0f47c4bd0da0036ef87252a7b52e30322780a5e3b8b2a54cd77a3dada34e5282 | friskgit/snares | i_impulse.dsp | // -*- compile-command: "cd .. && make jack src=i_impulse.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`General impulse` --------------------------
//
// Generating a stream of impulses at frequency 'tempo'
// to be fed into the likes of 'snare.dsp'
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 500, 10000, 1)));
process = imp;
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_impulse.dsp | faust | -*- compile-command: "cd .. && make jack src=i_impulse.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`General impulse` --------------------------
Generating a stream of impulses at frequency 'tempo'
to be fed into the likes of 'snare.dsp'
18 Juli 2019 Henrik Frisk [email protected]
--------------------------------------------------- |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 500, 10000, 1)));
process = imp;
|
7c1b4c1ed15fbda82b8655ace53c1adbaed5b0f8fba5c6b62a4b9adcda6a9209 | jrdooley/formuls | f_limiter.dsp | //----------------------------------------------------------------------------------------//
//----------------------------------FORMULS_MASTER_BUS_FX---------------------------------//
//----------------------------------------------------------------------------------------//
// compile with: faust2puredata -vec -lv 0 -vs 4 -clang
declare names "formuls";
declare author "James Dooley: [email protected]";
declare copyright "James Dooley";
declare version "1.0";
declare license "MIT";
declare options "[osc:on]";
import("stdfaust.lib");
fx = library("ffx.lib");
process = fx.limiter,fx.limiter;
| https://raw.githubusercontent.com/jrdooley/formuls/9e3264759a3685478d8f9fe5a99e63474afa80ad/src/faust/f_limiter.dsp | faust | ----------------------------------------------------------------------------------------//
----------------------------------FORMULS_MASTER_BUS_FX---------------------------------//
----------------------------------------------------------------------------------------//
compile with: faust2puredata -vec -lv 0 -vs 4 -clang |
declare names "formuls";
declare author "James Dooley: [email protected]";
declare copyright "James Dooley";
declare version "1.0";
declare license "MIT";
declare options "[osc:on]";
import("stdfaust.lib");
fx = library("ffx.lib");
process = fx.limiter,fx.limiter;
|
e6e3bf4061ec3cc764bd3344d134a09f4f598097df48d9799ab58f69c80a2e01 | jrdooley/formuls | f_digitaliser.dsp | //----------------------------------------------------------------------------------------//
//----------------------------------FORMULS_MASTER_BUS_FX---------------------------------//
//----------------------------------------------------------------------------------------//
// compile with: faust2puredata -vec -lv 0 -vs 4 -clang
declare names "formuls";
declare author "James Dooley: [email protected]";
declare copyright "James Dooley";
declare version "1.0";
declare license "MIT";
declare options "[osc:on]";
import("stdfaust.lib");
fx = library("ffx.lib");
process = fx.digitaliser,fx.digitaliser;
| https://raw.githubusercontent.com/jrdooley/formuls/9e3264759a3685478d8f9fe5a99e63474afa80ad/src/faust/f_digitaliser.dsp | faust | ----------------------------------------------------------------------------------------//
----------------------------------FORMULS_MASTER_BUS_FX---------------------------------//
----------------------------------------------------------------------------------------//
compile with: faust2puredata -vec -lv 0 -vs 4 -clang |
declare names "formuls";
declare author "James Dooley: [email protected]";
declare copyright "James Dooley";
declare version "1.0";
declare license "MIT";
declare options "[osc:on]";
import("stdfaust.lib");
fx = library("ffx.lib");
process = fx.digitaliser,fx.digitaliser;
|
a9dfd856f7d4a9de5b1cf89683c398afefbe6872accaf908b9563cbf2675d76b | friskgit/snares | i_generic_snarefs.dsp | // -*- compile-command: "cd .. && make jack src=i_generic_snarefs.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`Single snare drum` --------------------------
//
// Generating an impulse and feeding it to a generic_snarefs.
//
// Paramters
// - tempo: tempo of impulse
// - see inherited parameters from generic_snarefs.dsp
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 5, 10000, 1)));
//imp = os.imptrain(impgrp(hslider("tempo", 1, 0.01, 10000, 1)));
//imp = os.impulse;g
process = imp : component("generic_snarefs.dsp") : !,_ :> _;
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_generic_snarefs.dsp | faust | -*- compile-command: "cd .. && make jack src=i_generic_snarefs.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`Single snare drum` --------------------------
Generating an impulse and feeding it to a generic_snarefs.
Paramters
- tempo: tempo of impulse
- see inherited parameters from generic_snarefs.dsp
18 Juli 2019 Henrik Frisk [email protected]
---------------------------------------------------
imp = os.imptrain(impgrp(hslider("tempo", 1, 0.01, 10000, 1)));
imp = os.impulse;g |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 5, 10000, 1)));
process = imp : component("generic_snarefs.dsp") : !,_ :> _;
|
08c5fcf88bc48c06abb59a0102948dd4d2d3ac98219cb3ee9a078bfd6f949cee | friskgit/snares | i_filtered_snare_8.dsp | // -*- compile-command: "cd .. && make sc src=i_filtered_snare_8.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`Snare drum split up in X channels` --------------------------
//
// Generating an impulse and feeding it to a generic_snarefs and on to a disperser.
// disperse.dsp doe not pass on the impules as generic_snarefs does.
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 500, 10000, 1)));
//imp = os.impulse;
process = component("generic_snarefs.dsp") : component("filter_bank.dsp")[bands = 8;] ;
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_filtered_snare_8.dsp | faust | -*- compile-command: "cd .. && make sc src=i_filtered_snare_8.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`Snare drum split up in X channels` --------------------------
Generating an impulse and feeding it to a generic_snarefs and on to a disperser.
disperse.dsp doe not pass on the impules as generic_snarefs does.
18 Juli 2019 Henrik Frisk [email protected]
---------------------------------------------------
imp = os.impulse; |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 500, 10000, 1)));
process = component("generic_snarefs.dsp") : component("filter_bank.dsp")[bands = 8;] ;
|
82abfce0d2fc4abbbfeb8b31b09584bebe924c8b1d19bdac40cddb196fc141ca | friskgit/snares | i_dispersed_snare.dsp | // -*- compile-command: "cd .. && make jack src=i_dispersed_snare.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`Snare drum dispersing over X channels` --------------------------
//
// Generating an impulse and feeding it to a generic_snarefs and on to a disperser.
// disperse.dsp doe not pass on the impules as generic_snarefs does.
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("pulse", 5000, 500, 10000, 1)));
process = imp : component("generic_snarefs.dsp") : component("disperse.dsp")[channels = 29;];
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_dispersed_snare.dsp | faust | -*- compile-command: "cd .. && make jack src=i_dispersed_snare.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`Snare drum dispersing over X channels` --------------------------
Generating an impulse and feeding it to a generic_snarefs and on to a disperser.
disperse.dsp doe not pass on the impules as generic_snarefs does.
18 Juli 2019 Henrik Frisk [email protected]
--------------------------------------------------- |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("pulse", 5000, 500, 10000, 1)));
process = imp : component("generic_snarefs.dsp") : component("disperse.dsp")[channels = 29;];
|
2d3aeb3ce09684d737654b36d912a540e01b704bf0a1006ed33da34a53047ac5 | friskgit/snares | o_generic_snarefs.dsp | // -*- compile-command: "cd .. && make jack src=o_generic_snarefs.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`Single snare drum` --------------------------
//
// Taking an impulse as input and feeding it to a generic_snarefs.
//
// Paramters
// - tempo: tempo of impulse
// - see inherited parameters from generic_snarefs.dsp
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 5, 10000, 1)));
//imp = os.imptrain(impgrp(hslider("tempo", 1, 0.01, 10000, 1)));
//imp = os.impulse;g
process = component("generic_snarefs.dsp") : !,_ :> _;
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/o_generic_snarefs.dsp | faust | -*- compile-command: "cd .. && make jack src=o_generic_snarefs.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`Single snare drum` --------------------------
Taking an impulse as input and feeding it to a generic_snarefs.
Paramters
- tempo: tempo of impulse
- see inherited parameters from generic_snarefs.dsp
18 Juli 2019 Henrik Frisk [email protected]
---------------------------------------------------
imp = os.imptrain(impgrp(hslider("tempo", 1, 0.01, 10000, 1)));
imp = os.impulse;g |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 5, 10000, 1)));
process = component("generic_snarefs.dsp") : !,_ :> _;
|
9423f180a1c87bc352b0396a1d579e8717e78ed046c5177e1ecf114e3431e0ea | madskjeldgaard/komet | KometDelay.dsp | declare name "KometDelay";
declare author "Yann Orlarey";
declare author "Mads Kjeldgaard";
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't
// click and doesn't transpose when the delay time is changed
//-------------------------------------------------------------
import("stdfaust.lib");
process = par(i, 1, voice)
with
{
voice = (+ : de.sdelay(N, interp, dtime)) ~ *(fback);
N = int(2^19);
interp = hslider("interpolation",10,1,100,0.1)*ma.SR/1000.0;
dtime = hslider("delay", 0, 0, 5000, 0.1)*ma.SR/1000.0;
fback = hslider("feedback",0,0,100,0.1)/100.0;
};
| https://raw.githubusercontent.com/madskjeldgaard/komet/b7123007d7af668181d4741f6c9746b37fca8729/faust/KometDelay.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
------------------------------------------------------------- | declare name "KometDelay";
declare author "Yann Orlarey";
declare author "Mads Kjeldgaard";
declare copyright "Grame";
declare version "1.0";
declare license "STK-4.3";
import("stdfaust.lib");
process = par(i, 1, voice)
with
{
voice = (+ : de.sdelay(N, interp, dtime)) ~ *(fback);
N = int(2^19);
interp = hslider("interpolation",10,1,100,0.1)*ma.SR/1000.0;
dtime = hslider("delay", 0, 0, 5000, 0.1)*ma.SR/1000.0;
fback = hslider("feedback",0,0,100,0.1)/100.0;
};
|
17d5792a53d090183b97e90ea38da2d78af0a1a392305392b3b48a83b8d5ee78 | sekisushai/ambitools | soundcheck.dsp | declare name "Soundcheck";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "BSD";
declare copyright "(c) GRAME 2006";
// Description: Multichannel audio tester. The test signal are among: sinus tone, white noise, pink noise, audio input.
// Input: 1
// Outputs: N
import("stdfaust.lib");
N=50;
pink = f : (+ ~ g) with {
f(x) = 0.04957526213389*x - 0.06305581334498*x' +
0.01483220320740*x'';
g(x) = 1.80116083982126*x - 0.80257737639225*x';
};
// User interface
//----------------
smooth(c) = *(1-c) : +~*(c);
vol = hslider("[1]Volume", -96, -96, 0, 0.1): ba.db2linear : si.smooth(0.999);
freq = hslider("[2]Freq", 1000, 0, 24000, 0.1);
dest = int(hslider("[3]Destination", 1, 1, N, 1));
testsignal = _*checkbox("[7]Input")
+ os.osci(freq)*checkbox("[4]Sine Wave")
+ no.noise * checkbox("[5]White Noise")
+ pink(no.noise) * ba.db2linear(20) * checkbox("[6]Pink Noise");
process = vgroup( "Multichannel Audio Tester", testsignal*vol <: par(i,N, _*((i+1)==dest)) );
| https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/soundcheck.dsp | faust | Description: Multichannel audio tester. The test signal are among: sinus tone, white noise, pink noise, audio input.
Input: 1
Outputs: N
User interface
---------------- | declare name "Soundcheck";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "BSD";
declare copyright "(c) GRAME 2006";
import("stdfaust.lib");
N=50;
pink = f : (+ ~ g) with {
f(x) = 0.04957526213389*x - 0.06305581334498*x' +
0.01483220320740*x'';
g(x) = 1.80116083982126*x - 0.80257737639225*x';
};
smooth(c) = *(1-c) : +~*(c);
vol = hslider("[1]Volume", -96, -96, 0, 0.1): ba.db2linear : si.smooth(0.999);
freq = hslider("[2]Freq", 1000, 0, 24000, 0.1);
dest = int(hslider("[3]Destination", 1, 1, N, 1));
testsignal = _*checkbox("[7]Input")
+ os.osci(freq)*checkbox("[4]Sine Wave")
+ no.noise * checkbox("[5]White Noise")
+ pink(no.noise) * ba.db2linear(20) * checkbox("[6]Pink Noise");
process = vgroup( "Multichannel Audio Tester", testsignal*vol <: par(i,N, _*((i+1)==dest)) );
|
b831c35d53c6c7b33149e543b91c1a41cf53b4c6e5bb57eb1e246138a68d0906 | micbuffa/WebAudioPlugins | StereoFreqShifter.dsp | declare name "Stereo Frequency Shifter";
declare description "Stereo Frequency Shifting";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
import("FrequencyShifter.lib");
// Generic bypass mecanism
bypass = checkbox("bypass");
block_on(fx) = par(i, inputs(fx), _*(1-bypass));
block_off(fx) = par(i, inputs(fx), _*bypass);
bypass_fx(fx) = par(i, inputs(fx), _) <: ((block_on(fx):fx), block_off(fx)):> par(i, outputs(fx), _);
shift = hslider("Shift [unit:hz] [OWL:PARAMETER_A]", 0.0, -1., 1, 0.001);
shift_scalar = hslider("Shift Scalar [OWL:PARAMETER_B]", 1., 1., 100, 0.1);
lr_offset = hslider("L-R Offset [OWL:PARAMETER_C]", 0., 0., 1., 0.00001);
mix = hslider("Mix [OWL:PARAMETER_D]",0.5,0,1,0.01) : si.smooth(ba.tau2pole(0.005));
shift_amount = shift*shift_scalar;
stereofreqshifter(l, r) = l, r <: *(1-mix), *(1-mix), ssb(shift_amount,l)*mix, ssb(shift_amount+lr_offset,r)*mix :> _,_;
process = bypass_fx(stereofreqshifter); | https://raw.githubusercontent.com/micbuffa/WebAudioPlugins/2fab2ee55d131aa5de753dc2dd3b3723fbd5b274/examples/plugins/Faust/Oliver-Larkin/StereoFrequencyShifter/Original%20Faust%20Code/StereoFreqShifter.dsp | faust | Generic bypass mecanism | declare name "Stereo Frequency Shifter";
declare description "Stereo Frequency Shifting";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
import("FrequencyShifter.lib");
bypass = checkbox("bypass");
block_on(fx) = par(i, inputs(fx), _*(1-bypass));
block_off(fx) = par(i, inputs(fx), _*bypass);
bypass_fx(fx) = par(i, inputs(fx), _) <: ((block_on(fx):fx), block_off(fx)):> par(i, outputs(fx), _);
shift = hslider("Shift [unit:hz] [OWL:PARAMETER_A]", 0.0, -1., 1, 0.001);
shift_scalar = hslider("Shift Scalar [OWL:PARAMETER_B]", 1., 1., 100, 0.1);
lr_offset = hslider("L-R Offset [OWL:PARAMETER_C]", 0., 0., 1., 0.00001);
mix = hslider("Mix [OWL:PARAMETER_D]",0.5,0,1,0.01) : si.smooth(ba.tau2pole(0.005));
shift_amount = shift*shift_scalar;
stereofreqshifter(l, r) = l, r <: *(1-mix), *(1-mix), ssb(shift_amount,l)*mix, ssb(shift_amount+lr_offset,r)*mix :> _,_;
process = bypass_fx(stereofreqshifter); |
b1de2f8bff28c454857aaee0d3698995417989cbf6059579c5ba299afd78d9f1 | tomara-x/magi | dandeliongirl.dsp | //trans rights
declare name "dandeliongirl";
declare author "amy universe";
declare version "0.05";
declare license "WTFPL";
import("stdfaust.lib");
pcharm = _ <: (*(wet) <: (sum(i,N,_ : ef.transpose(w*((i+1)*sw+(1-sw)),x,s*i))/N)), *(1-wet) :> _
with {
N = 16;
w = ba.sec2samp(vslider("[0]window length (s) [style:knob]",0.1,0.001,4,0.001));
x = ba.sec2samp(vslider("[1]crossfade dur (s) [style:knob]",0.1,0.001,1,0.001));
s = vslider("[2]shift (semitones) [style:knob]",1,-24,24,0.001);
sw = checkbox("[-1]space win");
wet = vslider("wet [style:knob]",1,0,1,0.01);
};
process = _,_ : hgroup("dandeliongirl",vgroup("l",pcharm),vgroup("r",pcharm)) : _,_;
| https://raw.githubusercontent.com/tomara-x/magi/d741d3f9d3503bfdaa2a873ce84a641ed329c13c/effect/dandeliongirl.dsp | faust | trans rights |
declare name "dandeliongirl";
declare author "amy universe";
declare version "0.05";
declare license "WTFPL";
import("stdfaust.lib");
pcharm = _ <: (*(wet) <: (sum(i,N,_ : ef.transpose(w*((i+1)*sw+(1-sw)),x,s*i))/N)), *(1-wet) :> _
with {
N = 16;
w = ba.sec2samp(vslider("[0]window length (s) [style:knob]",0.1,0.001,4,0.001));
x = ba.sec2samp(vslider("[1]crossfade dur (s) [style:knob]",0.1,0.001,1,0.001));
s = vslider("[2]shift (semitones) [style:knob]",1,-24,24,0.001);
sw = checkbox("[-1]space win");
wet = vslider("wet [style:knob]",1,0,1,0.01);
};
process = _,_ : hgroup("dandeliongirl",vgroup("l",pcharm),vgroup("r",pcharm)) : _,_;
|
9b8de21eaee5dd3a9680fce41543f8863280e7101728a74552e1f7dffab3b2d0 | jameslnrd/mi_introduction_workshop_2020 | paramOsc.dsp | declare name "Param Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A basic oscillator with labelled stiffness and damping parameters
- inputs: force impulse
- outputs: oscillator' position.
- controls: none.
*/
import("stdfaust.lib");
import("mi.lib");
in1 = button("Frc Input 1"): ba.impulsify* 0.25;
OutGain = 1;
K = 0.1;
Z = 0.0003;
model = (
mi.oscil(1., K, Z, 0, 0., 0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
par(i, nbOut+nbFrcIn, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
RoutingMassToLink(m0) = /* routed positions */ /* outputs */ m0;
RoutingLinkToMass(p_out1, f_in1) = /* routed forces */ f_in1, /* pass-through */ p_out1;
nbMass = 1;
nbFrcIn = 1;
nbOut = 1;
};
process = in1 : model:*(OutGain);
/*
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
@K param 0.1
@Z param 0.0003
# Integrated harmonic oscillator
# with param-controlled K and Z
@o osc 1. K Z 0. 0.
# Add force input to the model
@in1 frcInput @o
# Add position output from the oscillator
@out1 posOutput @o
# end of MIMS script
*/ | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/01_ParamControl/paramOsc.dsp | faust | ========= DESCRITPION =============
A basic oscillator with labelled stiffness and damping parameters
- inputs: force impulse
- outputs: oscillator' position.
- controls: none.
routed positions
outputs
routed forces
pass-through
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
@K param 0.1
@Z param 0.0003
# Integrated harmonic oscillator
# with param-controlled K and Z
@o osc 1. K Z 0. 0.
# Add force input to the model
@in1 frcInput @o
# Add position output from the oscillator
@out1 posOutput @o
# end of MIMS script
| declare name "Param Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
import("mi.lib");
in1 = button("Frc Input 1"): ba.impulsify* 0.25;
OutGain = 1;
K = 0.1;
Z = 0.0003;
model = (
mi.oscil(1., K, Z, 0, 0., 0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
par(i, nbOut+nbFrcIn, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
nbMass = 1;
nbFrcIn = 1;
nbOut = 1;
};
process = in1 : model:*(OutGain);
|
4cdb017374a3629f89aae04473b705b3c982fd143073b00bd05bf5296e7cbd81 | bluenote10/RustFaustExperiments | matrix.dsp | declare name "matrix";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-----------------------------------------------
// Audio Matrix : N inputs x M outputs
//-----------------------------------------------
import("stdfaust.lib");
Fader(in) = ba.db2linear(vslider("Input %in", -10, -96, 4, 0.1));
Mixer(N,out) = hgroup("Output %out", par(in, N, *(Fader(in)) ) :> _ );
Matrix(N,M) = tgroup ("Matrix %N x %M", par(in, N, _) <: par(out, M, Mixer(N, out)));
process = Matrix(8, 8);
| https://raw.githubusercontent.com/bluenote10/RustFaustExperiments/23dab88f47cff4f3ad9efe0119b2d32ed1b5559b/Benchmarks/dsp/matrix.dsp | faust | -----------------------------------------------
Audio Matrix : N inputs x M outputs
----------------------------------------------- | declare name "matrix";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
Fader(in) = ba.db2linear(vslider("Input %in", -10, -96, 4, 0.1));
Mixer(N,out) = hgroup("Output %out", par(in, N, *(Fader(in)) ) :> _ );
Matrix(N,M) = tgroup ("Matrix %N x %M", par(in, N, _) <: par(out, M, Mixer(N, out)));
process = Matrix(8, 8);
|
4b7ef515eb8104f6f2f285bade0696a86f34c4e0b684af6fded73477d651e660 | friskgit/snares | i_filtered_snare.dsp | // -*- compile-command: "cd .. && make jack src=i_filtered_snare.dsp && cd -"; -*-&& cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
import("math.lib") ; // for PI definition
import("music.lib") ; // for osci definition
//---------------`Snare drum split up in X channels` --------------------------
//
// Taking an impulse as input and feeding it to a generic_snarefs and on to a disperser.
// disperse.dsp does not pass on the impules as generic_snarefs does.
//
// 18 Juli 2019 Henrik Frisk [email protected]
//---------------------------------------------------
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 20, 10000, 2))) : si.smooth(0.999);
//imp = os.impulse;
process = imp : component("generic_snarefs.dsp") : component("filter_bank.dsp")[bands = 16;] ;
| https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_filtered_snare.dsp | faust | -*- compile-command: "cd .. && make jack src=i_filtered_snare.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`Snare drum split up in X channels` --------------------------
Taking an impulse as input and feeding it to a generic_snarefs and on to a disperser.
disperse.dsp does not pass on the impules as generic_snarefs does.
18 Juli 2019 Henrik Frisk [email protected]
---------------------------------------------------
imp = os.impulse; |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
impgrp(x) = vgroup("impulse", x);
imp = ba.pulse(impgrp(hslider("tempo", 5000, 20, 10000, 2))) : si.smooth(0.999);
process = imp : component("generic_snarefs.dsp") : component("filter_bank.dsp")[bands = 16;] ;
|
bbc3e3205eccd0894ace9c7b05a6fecdba565f5b55b9de8fc59d169e86651f88 | magnetophon/DigiDrie | korg35lpf_approx.dsp | declare korg35LPF author "Eric Tarr";
declare korg35LPF license "MIT-style STK-4.3 license";
import("stdfaust.lib");
korg35LPF(freq,Q) = _ <: (s1,s2,s3,y) : !,!,!,_
letrec{
's1 = _-s1:_*(alpha*2):_+s1;
's2 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*alpha:_+s3:_*K:_-s2:_*(alpha*2):_+s2;
's3 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*(alpha*2):_+s3;
'y = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2) :_*alpha0:_-s3:_*alpha:_+s3;
}
with{
// Only valid in [0, 0.498). 0.5 is nyquist frequency.
tan_halfpi_approx(x) = (
4.189308700355015e-05 +
4.290568649086532 * x +
-2.657498976290899 * x * x +
-1.5163927048819992 * x * x * x
) / (
1.3667229106607917 +
-0.8644224895636948 * x +
-4.828883069406347 * x * x +
2.181672945531366 * x * x * x
);
// freq = 2*(10^(3*normFreq+1));
K = 2.0*(Q - 0.707)/(10.0 - 0.707);
g = tan_halfpi_approx(freq / ma.SR);
G = g/(1.0 + g);
alpha = G;
B3 = (K - K*G)/(1 + g);
B2 = -1/(1 + g);
alpha0 = 1/(1 - K*G + K*G*G);
};
process = _, _, _ : korg35LPF;
| https://raw.githubusercontent.com/magnetophon/DigiDrie/a9f79d502e1f8d522e5f47e0c460ae99e80f9441/faust/benchmark/korg35lfp/korg35lpf_approx.dsp | faust | Only valid in [0, 0.498). 0.5 is nyquist frequency.
freq = 2*(10^(3*normFreq+1)); | declare korg35LPF author "Eric Tarr";
declare korg35LPF license "MIT-style STK-4.3 license";
import("stdfaust.lib");
korg35LPF(freq,Q) = _ <: (s1,s2,s3,y) : !,!,!,_
letrec{
's1 = _-s1:_*(alpha*2):_+s1;
's2 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*alpha:_+s3:_*K:_-s2:_*(alpha*2):_+s2;
's3 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*(alpha*2):_+s3;
'y = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2) :_*alpha0:_-s3:_*alpha:_+s3;
}
with{
tan_halfpi_approx(x) = (
4.189308700355015e-05 +
4.290568649086532 * x +
-2.657498976290899 * x * x +
-1.5163927048819992 * x * x * x
) / (
1.3667229106607917 +
-0.8644224895636948 * x +
-4.828883069406347 * x * x +
2.181672945531366 * x * x * x
);
K = 2.0*(Q - 0.707)/(10.0 - 0.707);
g = tan_halfpi_approx(freq / ma.SR);
G = g/(1.0 + g);
alpha = G;
B3 = (K - K*G)/(1 + g);
B2 = -1/(1 + g);
alpha0 = 1/(1 - K*G + K*G*G);
};
process = _, _, _ : korg35LPF;
|
3a6c9317977991a0e164c5e584327e3f5bdcda4712956fee226588ba282294bb | goofy2k/ESP32_faust2api | spat.dsp | declare name "spat";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//==========================================================
//
// GMEM SPAT
// implementation of L. Pottier Spatializer
//
//==========================================================
import("stdfaust.lib");
//------------------------------------------------------
// EXEMPLE : une entree mono spatialisee sur 8 sorties
//------------------------------------------------------
angle = hslider("angle", 0.0, 0, 1, 0.01);
distance = hslider("distance", 0.5, 0, 1, 0.01);
process = vgroup("Spatializer 1x8", sp.spat(8, angle, distance));
| https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/all_engines/spat.dsp | faust | ==========================================================
GMEM SPAT
implementation of L. Pottier Spatializer
==========================================================
------------------------------------------------------
EXEMPLE : une entree mono spatialisee sur 8 sorties
------------------------------------------------------ | declare name "spat";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
angle = hslider("angle", 0.0, 0, 1, 0.01);
distance = hslider("distance", 0.5, 0, 1, 0.01);
process = vgroup("Spatializer 1x8", sp.spat(8, angle, distance));
|
f602d665556f23f691fa665dc8a3a57df58d3f1d389a634b9280336bd70b5599 | tomara-x/magi | overpassgirl.dsp | //trans rights
declare name "overpassgirl";
declare author "amy universe";
declare version "0.00";
declare license "WTFPL";
import("stdfaust.lib");
op(amp,frq,fb) = (_+_ : *(ma.PI) : os.oscp(frq)*amp) ~ *(fb);
dc = vslider("dc [style:knob]", 1,0,5000,0.1);
mod = 0 : seq(i,4,op(a(i),f(i),fb(i))) : *(vslider("mod gain [style:knob]", 1,0,10000,0.1))
with {
a(x) = vslider("h:%x/[0]amp [style:knob]",0.1,0,1,0.001);
f(x) = vslider("h:%x/[1]frq [style:knob]",220,1,15000,1);
fb(x) = vslider("h:%x/[2]fb [style:knob]",0,0,1,0.001);
};
q = vslider("q [style:knob]", 1,0,100,0.1);
process = hgroup("",no.noise*0.1 : fi.svf.bp(dc+mod,q) : aa.clip(-1,1)) <: _,_;
| https://raw.githubusercontent.com/tomara-x/magi/2678f456f4b7e266d6e7043cbd09c2600eee6672/effect/overpassgirl.dsp | faust | trans rights |
declare name "overpassgirl";
declare author "amy universe";
declare version "0.00";
declare license "WTFPL";
import("stdfaust.lib");
op(amp,frq,fb) = (_+_ : *(ma.PI) : os.oscp(frq)*amp) ~ *(fb);
dc = vslider("dc [style:knob]", 1,0,5000,0.1);
mod = 0 : seq(i,4,op(a(i),f(i),fb(i))) : *(vslider("mod gain [style:knob]", 1,0,10000,0.1))
with {
a(x) = vslider("h:%x/[0]amp [style:knob]",0.1,0,1,0.001);
f(x) = vslider("h:%x/[1]frq [style:knob]",220,1,15000,1);
fb(x) = vslider("h:%x/[2]fb [style:knob]",0,0,1,0.001);
};
q = vslider("q [style:knob]", 1,0,100,0.1);
process = hgroup("",no.noise*0.1 : fi.svf.bp(dc+mod,q) : aa.clip(-1,1)) <: _,_;
|
72fd8d16838082d26ef800b96f21b610515fddf6873985c807463ef7d2340bae | tomara-x/magi | rubberbandgirl.dsp | //trans rights
declare name "rubberbandgirl";
declare author "amy universe";
declare version "0.01";
declare license "WTFPL";
import("stdfaust.lib");
N = 8;
bands = par(i,N,fi.svf.bp(f(i),q(i)))
with {
f(x) = vslider("h:bands/v:%x/[1]f [style:knob]",x*2500+1,1,2e4,1);
q(x) = vslider("h:bands/v:%x/[0]q [style:knob]",1,0.1,32,0.01);
};
gate = par(i,N,ef.gate_mono(threshold,att,hld,rel)) //split the gates?
with {
threshold = vslider("h:gate/threshold [style:knob]",0,-69,1,1);
att = vslider("h:gate/attack [style:knob]",0,0,0.1,0.0001);
hld = vslider("h:gate/hold [style:knob]",0,0,0.1,0.0001);
rel = vslider("h:gate/release [style:knob]",0,0,0.1,0.0001);
};
rubberband = _ <: bands : gate :> _;
process = sp.stereoize(rubberband);
| https://raw.githubusercontent.com/tomara-x/magi/37de1a09577b8bc58e566f396fac38f2408a597e/effect/rubberbandgirl.dsp | faust | trans rights
split the gates? |
declare name "rubberbandgirl";
declare author "amy universe";
declare version "0.01";
declare license "WTFPL";
import("stdfaust.lib");
N = 8;
bands = par(i,N,fi.svf.bp(f(i),q(i)))
with {
f(x) = vslider("h:bands/v:%x/[1]f [style:knob]",x*2500+1,1,2e4,1);
q(x) = vslider("h:bands/v:%x/[0]q [style:knob]",1,0.1,32,0.01);
};
with {
threshold = vslider("h:gate/threshold [style:knob]",0,-69,1,1);
att = vslider("h:gate/attack [style:knob]",0,0,0.1,0.0001);
hld = vslider("h:gate/hold [style:knob]",0,0,0.1,0.0001);
rel = vslider("h:gate/release [style:knob]",0,0,0.1,0.0001);
};
rubberband = _ <: bands : gate :> _;
process = sp.stereoize(rubberband);
|
4e22dcb659cca9dcff1bd1cd3817edccf5fb3a5664bdda004b6a89487e622848 | magnetophon/DigiDrie | oberheim_approx.dsp | declare oberheim author "Eric Tarr";
declare oberheim license "MIT-style STK-4.3 license";
import("stdfaust.lib");
oberheimF(freq,Q) = _<:(s1,s2,ybsf,ybpf,yhpf,ylpf) : !,!,_,_,_,_
letrec{
's1 = _-s2:_-(s1*FBs1):_*alpha0:_*g<:_,(_+s1:ef.cubicnl(0.0,0)):>_;
's2 = _-s2:_-(s1*FBs1):_*alpha0:_*g:_+s1:ef.cubicnl(0.0,0):_*g*2:_+s2;
// Compute the BSF, BPF, HPF, LPF outputs
'ybsf = _-s2:_-(s1*FBs1):_*alpha0<:(_*g:_+s1:ef.cubicnl(0.0,0):_*g:_+s2),_:>_;
'ybpf = _-s2:_-(s1*FBs1):_*alpha0:_*g:_+s1:ef.cubicnl(0.0,0);
'yhpf = _-s2:_-(s1*FBs1):_*alpha0;
'ylpf = _-s2:_-(s1*FBs1):_*alpha0:_*g :_+s1:ef.cubicnl(0.0,0):_*g:_+s2;
}
with{
// Only valid in [0, 0.498). 0.5 is nyquist frequency.
tan_halfpi_approx(x) = (
4.189308700355015e-05 +
4.290568649086532 * x +
-2.657498976290899 * x * x +
-1.5163927048819992 * x * x * x
) / (
1.3667229106607917 +
-0.8644224895636948 * x +
-4.828883069406347 * x * x +
2.181672945531366 * x * x * x
);
g = tan_halfpi_approx(freq / ma.SR);
R = 1/(2*Q);
FBs1 = (2*R+g);
alpha0 = 1/(1 + 2*R*g + g*g);
};
process = _, _, _ : oberheimF;
| https://raw.githubusercontent.com/magnetophon/DigiDrie/a9f79d502e1f8d522e5f47e0c460ae99e80f9441/faust/benchmark/oberheim/oberheim_approx.dsp | faust | Compute the BSF, BPF, HPF, LPF outputs
Only valid in [0, 0.498). 0.5 is nyquist frequency. | declare oberheim author "Eric Tarr";
declare oberheim license "MIT-style STK-4.3 license";
import("stdfaust.lib");
oberheimF(freq,Q) = _<:(s1,s2,ybsf,ybpf,yhpf,ylpf) : !,!,_,_,_,_
letrec{
's1 = _-s2:_-(s1*FBs1):_*alpha0:_*g<:_,(_+s1:ef.cubicnl(0.0,0)):>_;
's2 = _-s2:_-(s1*FBs1):_*alpha0:_*g:_+s1:ef.cubicnl(0.0,0):_*g*2:_+s2;
'ybsf = _-s2:_-(s1*FBs1):_*alpha0<:(_*g:_+s1:ef.cubicnl(0.0,0):_*g:_+s2),_:>_;
'ybpf = _-s2:_-(s1*FBs1):_*alpha0:_*g:_+s1:ef.cubicnl(0.0,0);
'yhpf = _-s2:_-(s1*FBs1):_*alpha0;
'ylpf = _-s2:_-(s1*FBs1):_*alpha0:_*g :_+s1:ef.cubicnl(0.0,0):_*g:_+s2;
}
with{
tan_halfpi_approx(x) = (
4.189308700355015e-05 +
4.290568649086532 * x +
-2.657498976290899 * x * x +
-1.5163927048819992 * x * x * x
) / (
1.3667229106607917 +
-0.8644224895636948 * x +
-4.828883069406347 * x * x +
2.181672945531366 * x * x * x
);
g = tan_halfpi_approx(freq / ma.SR);
R = 1/(2*Q);
FBs1 = (2*R+g);
alpha0 = 1/(1 + 2*R*g + g*g);
};
process = _, _, _ : oberheimF;
|
9bf25563ea613de6718824699478e6b9ada9f7a01705a7550934f8148ae607e1 | grame-cncm/smartfaust | sfTrashComb.dsp | declare name "sfTrashComb";
declare version "1.4";
declare author "Christophe Lebreton";
declare license "BSD & STK-4.3";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
//-------------------- MAIN -------------------------------
// fb_fcomb from Julius Smith filter lib and adapted by Christophe Lebreton to SmartFaust project
// https://ccrma.stanford.edu/~jos/pasp/Feedback_Comb_Filters.html
process = fi.fb_fcomb(maxdel,del,b0,aN):*(volume):*(out)
with {
maxdel = 1<<16; // 2 exposant 16 soit 65536 samples 1<<16
freq = 1/(vslider("h:sfTrashComb parameter(s)/freq [acc:0 0 -10 0 10][color:255 0 0][hidden:1]",2300,100,20000,0.001)):si.smooth(0.99); //[accx:1 0 2300 0]
del = freq * ma.SR:si.smooth(0.99);
b0 = vslider("h:sfTrashComb parameter(s)/gain [acc:2 1 -10 0 10][color:0 255 0][hidden:1]",0.5,0,10,0.001):si.smooth(0.99); //[accz:-1 0 0.5 0]
aN = vslider("h:sfTrashComb parameter(s)/feedback[acc:1 0 -10 0 10][color:255 255 0][hidden:1]",50,0,100,0.01)*(0.01):si.smooth(0.99); //[accy:1 0 50 0]
volume = vslider ("h:sfTrashComb/Volume",1,0,2,0.001):si.smooth(0.998):max(0):min(2);
out = checkbox ("h:sfTrashComb/ON/OFF"):si.smooth(0.998);
};
| https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfTrashComb/sfTrashComb.dsp | faust | -------------------- MAIN -------------------------------
fb_fcomb from Julius Smith filter lib and adapted by Christophe Lebreton to SmartFaust project
https://ccrma.stanford.edu/~jos/pasp/Feedback_Comb_Filters.html
2 exposant 16 soit 65536 samples 1<<16
[accx:1 0 2300 0]
[accz:-1 0 0.5 0]
[accy:1 0 50 0] | declare name "sfTrashComb";
declare version "1.4";
declare author "Christophe Lebreton";
declare license "BSD & STK-4.3";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
process = fi.fb_fcomb(maxdel,del,b0,aN):*(volume):*(out)
with {
del = freq * ma.SR:si.smooth(0.99);
volume = vslider ("h:sfTrashComb/Volume",1,0,2,0.001):si.smooth(0.998):max(0):min(2);
out = checkbox ("h:sfTrashComb/ON/OFF"):si.smooth(0.998);
};
|
77c1c05c479f57a0f46b3a4074c16023c8ca38ee7cd24e0c5e495f4e4b8827cd | grame-cncm/smartfaust | sfSiren.dsp | declare name "sfSiren";
declare version "0.3";
declare author "Christophe Lebreton";
declare license "BSD";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
//-------------------- MAIN -------------------------------
process = FM_synth:*(out):max(-0.99):min(0.99)
with {
out = checkbox ("v:sfSiren/ON/OFF"):si.smooth(0.998);
};
//-------------------- PARAMETERS -------------------------------
// to be compatible with android smartphone
lowpassfilter = fi.lowpass(N,fc)
with {
fc= hslider("v:sfSiren parameter(s)/high_cut [hidden:1][acc:2 0 -10 0 10][color:0 255 0]",0.01,0.01,10,0.01):fi.lowpass(1,1);
N= 1; // order of filter
};
// simple FM synthesis /////////////////////////////////
FM_synth = carrier_freq <: (*(harmonicity_ratio)<: os.osci,*(modulation_index):*),_:+:os.osci:*(vol)
with {
carrier_freq = hslider ( "v:sfSiren parameter(s)/freq [acc:0 0 -10 0 10][color:255 0 0][hidden:1]",300,100,2000,1):lowpassfilter;
harmonicity_ratio = hslider ( "v:sfSiren parameter(s)/harmoni [acc:0 1 -10 0 10][color:255 0 0][hidden:1]",0,0,10,0.001):lowpassfilter;
modulation_index = hslider ("v:sfSiren parameter(s)/freqmod [acc:1 1 -10 0 10][color:255 255 0][hidden:1]", 2.5,0.,10,0.001):lowpassfilter;
vol = hslider ( "v:sfSiren parameter(s)/vol [acc:0 1 -10 0 10] [color:255 0 0][hidden:1]",0.6,0,1,0.0001):lowpassfilter;
};
| https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfSiren/sfSiren.dsp | faust | -------------------- MAIN -------------------------------
-------------------- PARAMETERS -------------------------------
to be compatible with android smartphone
order of filter
simple FM synthesis ///////////////////////////////// | declare name "sfSiren";
declare version "0.3";
declare author "Christophe Lebreton";
declare license "BSD";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
process = FM_synth:*(out):max(-0.99):min(0.99)
with {
out = checkbox ("v:sfSiren/ON/OFF"):si.smooth(0.998);
};
lowpassfilter = fi.lowpass(N,fc)
with {
fc= hslider("v:sfSiren parameter(s)/high_cut [hidden:1][acc:2 0 -10 0 10][color:0 255 0]",0.01,0.01,10,0.01):fi.lowpass(1,1);
};
FM_synth = carrier_freq <: (*(harmonicity_ratio)<: os.osci,*(modulation_index):*),_:+:os.osci:*(vol)
with {
carrier_freq = hslider ( "v:sfSiren parameter(s)/freq [acc:0 0 -10 0 10][color:255 0 0][hidden:1]",300,100,2000,1):lowpassfilter;
harmonicity_ratio = hslider ( "v:sfSiren parameter(s)/harmoni [acc:0 1 -10 0 10][color:255 0 0][hidden:1]",0,0,10,0.001):lowpassfilter;
modulation_index = hslider ("v:sfSiren parameter(s)/freqmod [acc:1 1 -10 0 10][color:255 255 0][hidden:1]", 2.5,0.,10,0.001):lowpassfilter;
vol = hslider ( "v:sfSiren parameter(s)/vol [acc:0 1 -10 0 10] [color:255 0 0][hidden:1]",0.6,0,1,0.0001):lowpassfilter;
};
|
7f74e5e3b5c57420b5061984b5f0ebeb968a3a6a37c98b5ec55c238b153bedbe | jameslnrd/mi_introduction_workshop_2020 | pluckedOsc.dsp | declare name "Plucked Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
Plucking a simple oscillator
- inputs: position control of the "plucking" mass
- outputs: oscillator position.
- controls: none.
*/
import("stdfaust.lib");
in1 = hslider("Pluck Position", 0, -1, 1, 0.001):si.smoo;
OutGain = 8;
model = (
mi.oscil(1., 0.1, 0.0003, 0, 0., 0.),
mi.posInput(1.):
RoutingMassToLink :
mi.nlPluck(0.5, 0.1, 0.001, 0., 1.),
par(i, nbOut, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
RoutingMassToLink(m0, m1) = /* routed positions */ m0, m1, /* outputs */ m0, m1;
RoutingLinkToMass(l0_f1, l0_f2, p_out1, p_out2) = /* routed forces */ l0_f1, l0_f2, /* pass-through */ p_out1, p_out2;
nbMass = 2;
nbOut = 2;
};
process = in1 : model:*(OutGain), *(OutGain);
/*
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
# Integrated harmonic oscillator
@o osc 1. 0.1 0.0003 0. 0.
# Position input, controlled by audio signal
@in1 posInput 1.
@pl nlPluck @o @in1 0.5 0.1 0.001
# Add position output from the oscillator
@out1 posOutput @o
@out2 posOutput @in1
# end of MIMS script
*/ | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/05_PluckedOscillator/pluckedOsc.dsp | faust | ========= DESCRITPION =============
Plucking a simple oscillator
- inputs: position control of the "plucking" mass
- outputs: oscillator position.
- controls: none.
routed positions
outputs
routed forces
pass-through
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
# Integrated harmonic oscillator
@o osc 1. 0.1 0.0003 0. 0.
# Position input, controlled by audio signal
@in1 posInput 1.
@pl nlPluck @o @in1 0.5 0.1 0.001
# Add position output from the oscillator
@out1 posOutput @o
@out2 posOutput @in1
# end of MIMS script
| declare name "Plucked Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = hslider("Pluck Position", 0, -1, 1, 0.001):si.smoo;
OutGain = 8;
model = (
mi.oscil(1., 0.1, 0.0003, 0, 0., 0.),
mi.posInput(1.):
RoutingMassToLink :
mi.nlPluck(0.5, 0.1, 0.001, 0., 1.),
par(i, nbOut, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
nbMass = 2;
nbOut = 2;
};
process = in1 : model:*(OutGain), *(OutGain);
|
62ecd11d3d6780919d944fe8c699e470abb25335ab5d2f581cd992d00d4bfae4 | dariosanfilippo/modified_lorenz | modified_lorenz.dsp | // =============================================================================
// Modified Lorenz complex generator (A)
// =============================================================================
//
// Complex sound generator based on modified Lorenz equations.
// The model is structurally-stable through hyperbolic tangent function
// saturators and allows for parameters in unstable ranges to explore
// different dynamics. Furthermore, this model includes DC-blockers in the
// feedback paths to counterbalance a tendency towards fixed-point attractors
// – thus enhancing complex behaviours – and obtain signals suitable for audio.
// Besides the original parameters in the model, this system includes a
// saturating threshold determining the positive and negative bounds in the
// equations, while the output peaks are within the [-1.0; 1.0] range.
//
// The system can be triggered by an impulse or by a constant of arbitrary
// values for deterministic and reproducable behaviours. Alternatively,
// the oscillator can be fed with external inputs to be used as a nonlinear
// distortion unit.
//
// =============================================================================
import("stdfaust.lib");
declare name "Modified Lorenz complex generator";
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2021 Dario Sanfilippo
<[email protected]>";
declare version "1.1";
declare license "GPL v3.0 license";
lorenz(l, s, r, b, dt, x_0, y_0, z_0) = x_level(out * (x / l)) ,
y_level(out * (y / l)) ,
z_level(out * (z / l))
letrec {
'x = fi.highpass(1, 10, tanh(l, (x_0 + x + s * (x - y) * dt)));
'y = fi.highpass(1, 10, tanh(l, (y_0 + y + (r * x - x * z - y) * dt)));
'z = fi.highpass(1, 10, tanh(l, (z_0 + z + (x * y - b * z) * dt)));
};
// tanh() saturator with adjustable saturating threshold
tanh(l, x) = l * ma.tanh(x / l);
// smoothing function for click-free parameter variations using
// a one-pole low-pass with a 20-Hz cut-off frequency.
smooth(x) = fi.pole(pole, x * (1.0 - pole))
with {
pole = exp(-2.0 * ma.PI * 20.0 / ma.SR);
};
// GUI parameters
x_level(x) = attach(x , abs(x) : ba.linear2db :
levels_group(hbargraph("[5]x[style:dB]", -60, 0)));
y_level(x) = attach(x , abs(x) : ba.linear2db :
levels_group(hbargraph("[6]y[style:dB]", -60, 0)));
z_level(x) = attach(x , abs(x) : ba.linear2db :
levels_group(hbargraph("[7]z[style:dB]", -60, 0)));
global_group(x) = vgroup("[3]Global", x);
levels_group(x) = hgroup("[4]Levels (dB)", x);
s = global_group(hslider("[4]Sigma[scale:exp]", 10, 0, 100, .000001) : smooth);
r = global_group(hslider("[5]Rho[scale:exp]", 8 / 3, 0, 100, .000001) : smooth);
b = global_group(hslider("[6]Beta[scale:exp]", 28, 0, 100, .000001) : smooth);
dt = global_group(
hslider("[7]dt (integration step)[scale:exp]", 0.1, 0.000001, 1, .000001) :
smooth);
input(x) = global_group(nentry("[3]Input value", 1, 0, 10, .000001) <:
_ * impulse + _ * checkbox("[1]Constant inputs") +
x * checkbox("[0]External inputs"));
impulse = button("[2]Impulse inputs") : ba.impulsify;
limit = global_group(
hslider("[8]Saturation limit[scale:exp]", 4, 1, 1024, .000001) : smooth);
out = global_group(hslider("[9]Output scaling[scale:exp]", 0, 0, 1, .000001) :
smooth);
process(x0, y0, z0) = lorenz(limit, s, r, b, dt, input(x0), input(y0), input(z0));
| https://raw.githubusercontent.com/dariosanfilippo/modified_lorenz/7f0b628ed4b8e4047a3709a01d26ac3e2512b721/modified_lorenz.dsp | faust | =============================================================================
Modified Lorenz complex generator (A)
=============================================================================
Complex sound generator based on modified Lorenz equations.
The model is structurally-stable through hyperbolic tangent function
saturators and allows for parameters in unstable ranges to explore
different dynamics. Furthermore, this model includes DC-blockers in the
feedback paths to counterbalance a tendency towards fixed-point attractors
– thus enhancing complex behaviours – and obtain signals suitable for audio.
Besides the original parameters in the model, this system includes a
saturating threshold determining the positive and negative bounds in the
equations, while the output peaks are within the [-1.0; 1.0] range.
The system can be triggered by an impulse or by a constant of arbitrary
values for deterministic and reproducable behaviours. Alternatively,
the oscillator can be fed with external inputs to be used as a nonlinear
distortion unit.
=============================================================================
tanh() saturator with adjustable saturating threshold
smoothing function for click-free parameter variations using
a one-pole low-pass with a 20-Hz cut-off frequency.
GUI parameters |
import("stdfaust.lib");
declare name "Modified Lorenz complex generator";
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2021 Dario Sanfilippo
<[email protected]>";
declare version "1.1";
declare license "GPL v3.0 license";
lorenz(l, s, r, b, dt, x_0, y_0, z_0) = x_level(out * (x / l)) ,
y_level(out * (y / l)) ,
z_level(out * (z / l))
letrec {
'x = fi.highpass(1, 10, tanh(l, (x_0 + x + s * (x - y) * dt)));
'y = fi.highpass(1, 10, tanh(l, (y_0 + y + (r * x - x * z - y) * dt)));
'z = fi.highpass(1, 10, tanh(l, (z_0 + z + (x * y - b * z) * dt)));
};
tanh(l, x) = l * ma.tanh(x / l);
smooth(x) = fi.pole(pole, x * (1.0 - pole))
with {
pole = exp(-2.0 * ma.PI * 20.0 / ma.SR);
};
x_level(x) = attach(x , abs(x) : ba.linear2db :
levels_group(hbargraph("[5]x[style:dB]", -60, 0)));
y_level(x) = attach(x , abs(x) : ba.linear2db :
levels_group(hbargraph("[6]y[style:dB]", -60, 0)));
z_level(x) = attach(x , abs(x) : ba.linear2db :
levels_group(hbargraph("[7]z[style:dB]", -60, 0)));
global_group(x) = vgroup("[3]Global", x);
levels_group(x) = hgroup("[4]Levels (dB)", x);
s = global_group(hslider("[4]Sigma[scale:exp]", 10, 0, 100, .000001) : smooth);
r = global_group(hslider("[5]Rho[scale:exp]", 8 / 3, 0, 100, .000001) : smooth);
b = global_group(hslider("[6]Beta[scale:exp]", 28, 0, 100, .000001) : smooth);
dt = global_group(
hslider("[7]dt (integration step)[scale:exp]", 0.1, 0.000001, 1, .000001) :
smooth);
input(x) = global_group(nentry("[3]Input value", 1, 0, 10, .000001) <:
_ * impulse + _ * checkbox("[1]Constant inputs") +
x * checkbox("[0]External inputs"));
impulse = button("[2]Impulse inputs") : ba.impulsify;
limit = global_group(
hslider("[8]Saturation limit[scale:exp]", 4, 1, 1024, .000001) : smooth);
out = global_group(hslider("[9]Output scaling[scale:exp]", 0, 0, 1, .000001) :
smooth);
process(x0, y0, z0) = lorenz(limit, s, r, b, dt, input(x0), input(y0), input(z0));
|
5c6b9b7c58551d0a3eb77f7e692d7be4c542f637dd45e6a514a4dca9e4d6862f | goofy2k/ESP32_faust2api | oneSourceToStereo.dsp | declare name "oneSourceToStereo";
declare version "1.0";
declare author "CICM";
declare license "BSD";
declare copyright "(c)CICM 2013";
import("stdfaust.lib");
r1 = hslider("Radius", 1.0, 0, 5, 0.001) : si.smooth(ba.tau2pole(0.02));
a1 = hslider("Angle", 0, ma.PI*(-2), ma.PI*2, 0.001) : si.smooth(ba.tau2pole(0.02));
process(sig) = ho.map(7, sig, r1, a1) : ho.optimInPhase(7) : ho.decoderStereo(7);
| https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/all_engines/oneSourceToStereo.dsp | faust | declare name "oneSourceToStereo";
declare version "1.0";
declare author "CICM";
declare license "BSD";
declare copyright "(c)CICM 2013";
import("stdfaust.lib");
r1 = hslider("Radius", 1.0, 0, 5, 0.001) : si.smooth(ba.tau2pole(0.02));
a1 = hslider("Angle", 0, ma.PI*(-2), ma.PI*2, 0.001) : si.smooth(ba.tau2pole(0.02));
process(sig) = ho.map(7, sig, r1, a1) : ho.optimInPhase(7) : ho.decoderStereo(7);
|
|
954e59b98ceba9774fd2b0e1ebfffc88ca0e09fe7575872075666688b6da537c | tomara-x/magi | nailgirl.dsp | //trans rights
declare name "nailgirl";
declare author "amy universe";
declare version "1.01";
declare license "WTFPL";
import("stdfaust.lib");
dist = _ <: (*(wet) : seq(i,3,*(g(i)) : f(s(i))) *gf), *(1-wet) :> _
with {
f(x) = _ <: aa.acosh2,aa.arccos2,aa.arcsin2,aa.arctan2,aa.asinh2,
aa.clip(-1,1),aa.cosine2,aa.cubic1,aa.hardclip2,aa.hyperbolic2,
aa.parabolic2,aa.sinarctan2,aa.sine2,aa.tanh1 : ba.selectn(14,x);
s(x) = vslider("h:%x/%x function [style:knob]",5,0,13,1);
g(x) = vslider("h:%x/%x amount [style:knob]",1,1,100,0.01);
gf = vslider("post gain [style:knob]",0.5,0,1,0.01);
wet = vslider("wet [style:knob]",0,0,1,0.01);
};
process = _,_ : hgroup("nailgirl",dist,dist) : _,_;
| https://raw.githubusercontent.com/tomara-x/magi/9416e40d491ddded160941410df80856d88dd34a/effect/nailgirl.dsp | faust | trans rights |
declare name "nailgirl";
declare author "amy universe";
declare version "1.01";
declare license "WTFPL";
import("stdfaust.lib");
dist = _ <: (*(wet) : seq(i,3,*(g(i)) : f(s(i))) *gf), *(1-wet) :> _
with {
f(x) = _ <: aa.acosh2,aa.arccos2,aa.arcsin2,aa.arctan2,aa.asinh2,
aa.clip(-1,1),aa.cosine2,aa.cubic1,aa.hardclip2,aa.hyperbolic2,
aa.parabolic2,aa.sinarctan2,aa.sine2,aa.tanh1 : ba.selectn(14,x);
s(x) = vslider("h:%x/%x function [style:knob]",5,0,13,1);
g(x) = vslider("h:%x/%x amount [style:knob]",1,1,100,0.01);
gf = vslider("post gain [style:knob]",0.5,0,1,0.01);
wet = vslider("wet [style:knob]",0,0,1,0.01);
};
process = _,_ : hgroup("nailgirl",dist,dist) : _,_;
|
c72c63bdd88ca2cd992dc4a0732920f3c9f00660f4e10e36b6dbf687589c5032 | s-e-a-m/faust-libraries | vcs3osc1.dsp | declare name "EMS VCS3 OSCILLATOR 1";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "EMS VCS3 OSCILLATOR 1";
import("stdfaust.lib");
import("../seam.lib");
process = vcs3osc1;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/block-diagrams/vcs3osc1.dsp | faust | declare name "EMS VCS3 OSCILLATOR 1";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "EMS VCS3 OSCILLATOR 1";
import("stdfaust.lib");
import("../seam.lib");
process = vcs3osc1;
|
|
ca7c0e438187d12641855a02e5e02c744c486633252a2fb96760cf942e40a414 | s-e-a-m/faust-libraries | lrpanq.dsp | declare name "LR QUADRATIC PANNER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "LR QUADRATIC PANNER";
import("stdfaust.lib");
import("../../seam.lib");
process = _,p : lrpanq;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/lrpanq.dsp | faust | declare name "LR QUADRATIC PANNER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "LR QUADRATIC PANNER";
import("stdfaust.lib");
import("../../seam.lib");
process = _,p : lrpanq;
|
|
9cdf21b3b3b54cfbfdefcdea6469df490e16d8dd86fd2d8715a1e5b2fa1d296d | s-e-a-m/faust-libraries | charlieverb.dsp | declare name "EMS VCS3 OSCILLATOR 1";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "EMS VCS3 OSCILLATOR 1";
import("stdfaust.lib");
import("../seam.lib");
process = charlieverb;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/block-diagrams/charlieverb.dsp | faust | declare name "EMS VCS3 OSCILLATOR 1";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "EMS VCS3 OSCILLATOR 1";
import("stdfaust.lib");
import("../seam.lib");
process = charlieverb;
|
|
c774898ab4196f0ddb5796cca837cc750f10627d824aecb710b6ae0cbc27e173 | s-e-a-m/faust-libraries | sdmx.dsp | declare name "SUM AND DIFFERENCE MATRIX";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "SUM AND DIFFERENCE MATRIX";
import("stdfaust.lib");
import("../seam.lib");
process = sdmx;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/block-diagrams/sdmx.dsp | faust | declare name "SUM AND DIFFERENCE MATRIX";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "SUM AND DIFFERENCE MATRIX";
import("stdfaust.lib");
import("../seam.lib");
process = sdmx;
|
|
8b5b15f00123c4ba60f8a78848f1e28ff97df7ef08eae67fc1300acb8c3ed018 | Sylcantor/wam-web-components | OwlDirty.dsp | declare name "Owlgazer Dirty Reverb";
declare version "1.0.0";
declare author "Xavier Godart";
declare copyright "(c) Empirical Noises 2017";
import("stdfaust.lib");
owlgazer(mix,decay,hicut,gain) =
_,_ <:
(
_,_ <:
(si.bus(N*2) :> networkline)~(feedbackline)
:> distorsion,distorsion : fi.lowpass(2, hicut),fi.lowpass(2, hicut) : *(mix),*(mix)
),
(*(1-mix),*(1-mix)) :>
_,_
with {
N = 4;
earlyAPNb = 3;
MAXDELAY = 8192;
clip(lo,hi) = min(hi) : max(lo);
cubic(x) = x - x*x*x/3;
preGain = pow(10, gain*2);
postVolume = 1-gain;
distorsion = *(preGain) : clip(-1,1) : cubic : fi.dcblocker : *(postVolume);
delays = (2401, 3125, 6561, 14641);
delayval(i) = ba.take(i+1,delays);
earlyreflections(i) = seq(j, earlyAPNb,
fi.allpass_fcomb(2048, delayval(j+1), -allpassfb)
)
with{
allpassfb = 0.6;
delays = (243, 343, 625, 727, 1331, 2403, 3119);
delayval(x) = ba.take(x+1, delays);
};
latereflections(i) = de.fdelay(MAXDELAY, delayval(i));
networkline = par(i,N,
_ :
earlyreflections(i) :
latereflections(i) :
_/sqrt(N)
) : _,_,fi.highpass(1, 90),_;
feedbackline = ro.hadamard(N) : par(i,N,*(decay));
};
owlgazer_ui = owlgazer(mix,decay,hicut,gain)
with {
decay = hslider("DECAY[style:knobs]", 0.7, 0.5, 1.00, 0.01) : *(0.5) : +(0.5);
hicut = hslider("TONE[OWL:B][style:knobs]", 4000, 900, 8000, 0.01);
gain = hslider("DRIVE[style:knobs]", 0, 0, 0.7, 0.1);
mix = hslider("MIX[style:knobs]", 0.75, 0, 1, 0.01);
};
process = ba.bypass_fade(0, checkbox("bypass"), owlgazer_ui);
| https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/OwlDirty/OwlDirty.dsp | faust | declare name "Owlgazer Dirty Reverb";
declare version "1.0.0";
declare author "Xavier Godart";
declare copyright "(c) Empirical Noises 2017";
import("stdfaust.lib");
owlgazer(mix,decay,hicut,gain) =
_,_ <:
(
_,_ <:
(si.bus(N*2) :> networkline)~(feedbackline)
:> distorsion,distorsion : fi.lowpass(2, hicut),fi.lowpass(2, hicut) : *(mix),*(mix)
),
(*(1-mix),*(1-mix)) :>
_,_
with {
N = 4;
earlyAPNb = 3;
MAXDELAY = 8192;
clip(lo,hi) = min(hi) : max(lo);
cubic(x) = x - x*x*x/3;
preGain = pow(10, gain*2);
postVolume = 1-gain;
distorsion = *(preGain) : clip(-1,1) : cubic : fi.dcblocker : *(postVolume);
delays = (2401, 3125, 6561, 14641);
delayval(i) = ba.take(i+1,delays);
earlyreflections(i) = seq(j, earlyAPNb,
fi.allpass_fcomb(2048, delayval(j+1), -allpassfb)
)
with{
allpassfb = 0.6;
delays = (243, 343, 625, 727, 1331, 2403, 3119);
delayval(x) = ba.take(x+1, delays);
};
latereflections(i) = de.fdelay(MAXDELAY, delayval(i));
networkline = par(i,N,
_ :
earlyreflections(i) :
latereflections(i) :
_/sqrt(N)
) : _,_,fi.highpass(1, 90),_;
feedbackline = ro.hadamard(N) : par(i,N,*(decay));
};
owlgazer_ui = owlgazer(mix,decay,hicut,gain)
with {
decay = hslider("DECAY[style:knobs]", 0.7, 0.5, 1.00, 0.01) : *(0.5) : +(0.5);
hicut = hslider("TONE[OWL:B][style:knobs]", 4000, 900, 8000, 0.01);
gain = hslider("DRIVE[style:knobs]", 0, 0, 0.7, 0.1);
mix = hslider("MIX[style:knobs]", 0.75, 0, 1, 0.01);
};
process = ba.bypass_fade(0, checkbox("bypass"), owlgazer_ui);
|
|
799726189e832488925cd5d0a92d66d82237c1706b2fc07387f0558513161413 | s-e-a-m/faust-libraries | crap.dsp | declare name "CURTIS ROADS ALLPASS FILTER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "CURTIS ROADS ALLPASS FILTER";
import("stdfaust.lib");
import("../../../seam.lib");
process = lsweep : cmtap(512,0.9);
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/allpass/crap.dsp | faust | declare name "CURTIS ROADS ALLPASS FILTER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "CURTIS ROADS ALLPASS FILTER";
import("stdfaust.lib");
import("../../../seam.lib");
process = lsweep : cmtap(512,0.9);
|
|
32c1c090f1be322d0b3d096734fdbaba6f197abc7b9df90c0b43853ab21bb688 | s-e-a-m/faust-libraries | midside.dsp | declare name "MID SIDE STEREO PAIR MODEL";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE STEREO PAIR MODEL";
import("stdfaust.lib");
import("../seam.lib");
process = midside;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/block-diagrams/midside.dsp | faust | declare name "MID SIDE STEREO PAIR MODEL";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE STEREO PAIR MODEL";
import("stdfaust.lib");
import("../seam.lib");
process = midside;
|
|
f782d6fae8a2e653f6d0f29e26b834e53569a8c010f0101b13bfeaadca8f8ab6 | s-e-a-m/faust-libraries | crcpan.dsp | declare name "CURTIS ROADS CONSTANT POWER PANNING";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "CURTIS ROADS CONSTANT POWER PANNING";
import("stdfaust.lib");
import("../seam.lib");
process = crcppan;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/block-diagrams/crcpan.dsp | faust | declare name "CURTIS ROADS CONSTANT POWER PANNING";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "CURTIS ROADS CONSTANT POWER PANNING";
import("stdfaust.lib");
import("../seam.lib");
process = crcppan;
|
|
3d8b3f9a5442b9c681dfe9b839513b80724dffc4a0ec6aedd0ebb9917ae9c670 | Sylcantor/wam-web-components | ThruZeroFlanger.dsp | declare name "Thru Zero Flanger";
declare description "Stereo Thru Zero Flanger - warning can ZERO the sound!";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
lutsize = 1 << 9;
maxdtms = 20;
smooth_time = 0.005;
rate = hslider("Rate[style:knob][unit:hz] [OWL:PARAMETER_A]", 0.1, 0., 1, 0.001);
dt = hslider("Delay[style:knob][unit:ms] [OWL:PARAMETER_B]", 10., 0.5, maxdtms, 0.01) : si.smooth(ba.tau2pole(smooth_time));
lr_offset = hslider("L-ROffset[style:knob][OWL:PARAMETER_C]", 0, 0., 1, 0.001) *(0.5) : si.smooth(ba.tau2pole(smooth_time));
depth = hslider("Depth[unit:%][style:knob][OWL:PARAMETER_D]", 20., 3., 100., 1) *(0.01): si.smooth(ba.tau2pole(smooth_time));
tbllookup(phase) = s1+d*(s2-s1)
with {
i = int(phase * lutsize);
d = ma.decimal(phase * lutsize);
triangle_table = triangle_phasor(float(ba.time)/float(lutsize));
triangle_phasor(t) = ((0<=t) & (t<=0.5))*((2*t-0.5)/0.5) + ((0.5<t) & (t<=1.))*((1.5-2*t)/0.5);
s1 = rdtable(lutsize+1, triangle_table, i);
s2 = rdtable(lutsize+1, triangle_table, i+1);
};
tzflangeunit(x, offset) = staticdelay(x) + moddelay(x)
with {
dtsamples = dt * (float(ma.SR)/1000.);
staticdelay = de.fdelay(4096, dtsamples);
moddelay = de.fdelay(4096, modulation) *(-1.); // inverted
phasor = fmod((rate/float(ma.SR) : (+ : ma.decimal) ~ _)+offset, 1.);
modulation = dtsamples + ((tbllookup(phasor)*depth) * dtsamples);
};
thruZeroFlanger(l,r) = tzflangeunit(l, 0.), tzflangeunit(r, lr_offset);
process = ba.bypass_fade(ma.SR/10, checkbox("bypass"), thruZeroFlanger); | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/ThruZeroFlanger/ThruZeroFlanger.dsp | faust | inverted | declare name "Thru Zero Flanger";
declare description "Stereo Thru Zero Flanger - warning can ZERO the sound!";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
lutsize = 1 << 9;
maxdtms = 20;
smooth_time = 0.005;
rate = hslider("Rate[style:knob][unit:hz] [OWL:PARAMETER_A]", 0.1, 0., 1, 0.001);
dt = hslider("Delay[style:knob][unit:ms] [OWL:PARAMETER_B]", 10., 0.5, maxdtms, 0.01) : si.smooth(ba.tau2pole(smooth_time));
lr_offset = hslider("L-ROffset[style:knob][OWL:PARAMETER_C]", 0, 0., 1, 0.001) *(0.5) : si.smooth(ba.tau2pole(smooth_time));
depth = hslider("Depth[unit:%][style:knob][OWL:PARAMETER_D]", 20., 3., 100., 1) *(0.01): si.smooth(ba.tau2pole(smooth_time));
tbllookup(phase) = s1+d*(s2-s1)
with {
i = int(phase * lutsize);
d = ma.decimal(phase * lutsize);
triangle_table = triangle_phasor(float(ba.time)/float(lutsize));
triangle_phasor(t) = ((0<=t) & (t<=0.5))*((2*t-0.5)/0.5) + ((0.5<t) & (t<=1.))*((1.5-2*t)/0.5);
s1 = rdtable(lutsize+1, triangle_table, i);
s2 = rdtable(lutsize+1, triangle_table, i+1);
};
tzflangeunit(x, offset) = staticdelay(x) + moddelay(x)
with {
dtsamples = dt * (float(ma.SR)/1000.);
staticdelay = de.fdelay(4096, dtsamples);
phasor = fmod((rate/float(ma.SR) : (+ : ma.decimal) ~ _)+offset, 1.);
modulation = dtsamples + ((tbllookup(phasor)*depth) * dtsamples);
};
thruZeroFlanger(l,r) = tzflangeunit(l, 0.), tzflangeunit(r, lr_offset);
process = ba.bypass_fade(ma.SR/10, checkbox("bypass"), thruZeroFlanger); |
0b740f06d620d058e066ec30c55833038d22da576fd3fb8d388273d4d9da8133 | johannphilippe/paw2022 | polyphonic_detection.dsp | declare name "polyphonic_detection";
declare version "1.0";
declare author "Johann Philippe";
declare license "MIT";
declare copyright "(c) Johann Philippe 2022";
import("stdfaust.lib");
/*
poly_detector : A polyphonic pitch detector based on parallel bandpass filters
Input Arguments :
* thresh : threshold detection - when the RMS level of a band crosses the threshold, it will output the RMS of the band, else 0
* rms_avg : RMS average (duration in seconds)
* sig : input signal
Output :
* N_BANDS parallel signals. Value of each signal is the RMS of the band if this RMS level is above threshold, else 0. Bandpass filters frequencies are MIDI notes from 20 to (20 + N_BANDS)
*/
// Increase N_FILTER for more accuracy, reduce it to increase processing speed
N_FILTER = 4;
// From midi note 20 to 20 + 105 (125)
N_BANDS = 105;
poly_detector(thresh, rms_avg, sig) = par(n, N_BANDS, chain(20 + n))
with {
// Precision of filters is 1/4 tone up and down of the center frequency
filter(note) = fi.bandpass(1, ba.midikey2hz(note - 0.5), ba.midikey2hz(note + 0.5));
// Sequential butterworth bandpass filter
band( note) = seq(n, N_FILTER, filter(note));
// RMS detection
detect(band) = 0, brms : select2( (brms > thresh) )
with {
brms = band : an.rms_envelope_rect(rms_avg);
};
// Filters the input signal, and calls RMS detection
chain(note) = detect(bnd)
with {
bnd = sig : band(note) : fi.dcblocker;
};
};
synt(note, atq, rel, amp) = os.sawtooth(ba.midikey2hz(note)) * env * amp
with {
env = (amp > 0) : en.are(atq, rel);
};
rms_avg = hslider("rms", 0.01, 0.0001, 0.1, 0.00001);
atq = hslider("attack", 0.1, 0.05, 1, 0.01);
rel = hslider("release", 0.1, 0.01, 3, 0.01);
threshold = hslider("thresh", 0.001, 0.0001, 1, 0.0001);
process = _ : poly_detector(threshold, rms_avg) : par(n, N_BANDS, synt(n + 20, atq, rel)) :> _;
| https://raw.githubusercontent.com/johannphilippe/paw2022/d9b921a44e72bab11e457a13a1b43a4eabca53df/examples/polyphonic_detection.dsp | faust |
poly_detector : A polyphonic pitch detector based on parallel bandpass filters
Input Arguments :
* thresh : threshold detection - when the RMS level of a band crosses the threshold, it will output the RMS of the band, else 0
* rms_avg : RMS average (duration in seconds)
* sig : input signal
Output :
* N_BANDS parallel signals. Value of each signal is the RMS of the band if this RMS level is above threshold, else 0. Bandpass filters frequencies are MIDI notes from 20 to (20 + N_BANDS)
Increase N_FILTER for more accuracy, reduce it to increase processing speed
From midi note 20 to 20 + 105 (125)
Precision of filters is 1/4 tone up and down of the center frequency
Sequential butterworth bandpass filter
RMS detection
Filters the input signal, and calls RMS detection | declare name "polyphonic_detection";
declare version "1.0";
declare author "Johann Philippe";
declare license "MIT";
declare copyright "(c) Johann Philippe 2022";
import("stdfaust.lib");
N_FILTER = 4;
N_BANDS = 105;
poly_detector(thresh, rms_avg, sig) = par(n, N_BANDS, chain(20 + n))
with {
filter(note) = fi.bandpass(1, ba.midikey2hz(note - 0.5), ba.midikey2hz(note + 0.5));
band( note) = seq(n, N_FILTER, filter(note));
detect(band) = 0, brms : select2( (brms > thresh) )
with {
brms = band : an.rms_envelope_rect(rms_avg);
};
chain(note) = detect(bnd)
with {
bnd = sig : band(note) : fi.dcblocker;
};
};
synt(note, atq, rel, amp) = os.sawtooth(ba.midikey2hz(note)) * env * amp
with {
env = (amp > 0) : en.are(atq, rel);
};
rms_avg = hslider("rms", 0.01, 0.0001, 0.1, 0.00001);
atq = hslider("attack", 0.1, 0.05, 1, 0.01);
rel = hslider("release", 0.1, 0.01, 3, 0.01);
threshold = hslider("thresh", 0.001, 0.0001, 1, 0.0001);
process = _ : poly_detector(threshold, rms_avg) : par(n, N_BANDS, synt(n + 20, atq, rel)) :> _;
|
89b57e6e1f8aa21ad88105071d63b64a9bf5b8da1147d0faee1b0e41f2867e70 | s-e-a-m/faust-libraries | gnap.dsp | declare name "GIORGIO NOTTOLI ALLPASS FILTER DESIGN";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "GIORGIO NOTTOLI ALLPASS FILTER DESIGN";
import("stdfaust.lib");
import("../../../seam.lib");
process = lsweep : gnalp(512,0.9);
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/allpass/gnap.dsp | faust | declare name "GIORGIO NOTTOLI ALLPASS FILTER DESIGN";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "GIORGIO NOTTOLI ALLPASS FILTER DESIGN";
import("stdfaust.lib");
import("../../../seam.lib");
process = lsweep : gnalp(512,0.9);
|
|
931ce9e68cae39e87dc5d70eec9692e9c22eaeb90b22c63266ef853e3844f399 | s-e-a-m/faust-libraries | jsap.dsp | declare name "STD FAUST ALLPASS";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "STD FAUST ALLPASS";
import("stdfaust.lib");
import("../../../seam.lib");
process = lsweep : fi.allpass_comb((ma.SR/2),512,0.9);
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/allpass/jsap.dsp | faust | declare name "STD FAUST ALLPASS";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2020";
declare description "STD FAUST ALLPASS";
import("stdfaust.lib");
import("../../../seam.lib");
process = lsweep : fi.allpass_comb((ma.SR/2),512,0.9);
|
|
13ea63b5df92bbd2458e5cd2eec9456d040bf12fc1f37509ad2c19084a81e63b | s-e-a-m/faust-libraries | mspanlr.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../seam.lib");
process = mspan_lr;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/block-diagrams/mspanlr.dsp | faust | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../seam.lib");
process = mspan_lr;
|
|
642d5daa2f76ba332f25551d77165066af5c6c684f2aa1dff7ede87c7703a178 | goofy2k/ESP32_faust2api | moogHalfLadder.dsp | declare name "moogHalfLadder";
declare description "Demonstration of moogHalfLadder";
declare author "Eric Tarr";
import("stdfaust.lib");
Q = hslider("Q",1,0.7072,25,0.01);
normFreq = hslider("freq",0.1,0,1,0.001):si.smoo;
switch = checkbox("Saw/Noise");
inputSignal = (no.noise *switch) , (os.sawtooth(100)*(1-switch)) :> _;
process = inputSignal : ve.moogHalfLadder(normFreq,Q) <:_,_; | https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/all_engines/moogHalfLadder.dsp | faust | declare name "moogHalfLadder";
declare description "Demonstration of moogHalfLadder";
declare author "Eric Tarr";
import("stdfaust.lib");
Q = hslider("Q",1,0.7072,25,0.01);
normFreq = hslider("freq",0.1,0,1,0.001):si.smoo;
switch = checkbox("Saw/Noise");
inputSignal = (no.noise *switch) , (os.sawtooth(100)*(1-switch)) :> _;
process = inputSignal : ve.moogHalfLadder(normFreq,Q) <:_,_; |
|
129746a0ed554f1f56bf8163456e564130dd67ad78df74e0193f49fa228606c3 | jameslnrd/mi_introduction_workshop_2020 | bouncingOsc.dsp | declare name "Boucing On an Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A dropped mass falling onto an oscillator (due to gravity)
- inputs: none, just gravity doing its thing.
- outputs: oscillator position.
- controls: none.
Note: Beware, if using 32 bit precision gravity forces can become so small they are truncated in calculations !
*/
import("stdfaust.lib");
OutGain = 700;
grav = 0.002;
K = 0.04;
model = (
mi.oscil(1., K, 0.0003, 0, 0., 0.),
mi.mass(1, grav/ ma.SR, 0.5, 0.5):
RoutingMassToLink :
mi.collision(0.1, 0.02, 0, 0., 0.5),
par(i, nbOut, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
RoutingMassToLink(m0, m1) = /* routed positions */ m0, m1, /* outputs */ m0;
RoutingLinkToMass(l0_f1, l0_f2, p_out1) = /* routed forces */ l0_f1, l0_f2, /* pass-through */ p_out1;
nbMass = 2;
nbOut = 1;
};
process = model:*(OutGain);
/*
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
@grav param 0.002
@K param 0.04
# Integrated harmonic oscillator
@o osc 1. K 0.0003 0. 0.
# Hammer mass falling down with gravity
@p mass 1 grav 0.5 0.
@c contact @o @p 0.1 0.02
# Add position output from the oscillator
@out1 posOutput @o
#@out2 posOutput @p
# end of MIMS script
*/
| https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/04_Gravity/bouncingOsc.dsp | faust | ========= DESCRITPION =============
A dropped mass falling onto an oscillator (due to gravity)
- inputs: none, just gravity doing its thing.
- outputs: oscillator position.
- controls: none.
Note: Beware, if using 32 bit precision gravity forces can become so small they are truncated in calculations !
routed positions
outputs
routed forces
pass-through
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
@grav param 0.002
@K param 0.04
# Integrated harmonic oscillator
@o osc 1. K 0.0003 0. 0.
# Hammer mass falling down with gravity
@p mass 1 grav 0.5 0.
@c contact @o @p 0.1 0.02
# Add position output from the oscillator
@out1 posOutput @o
#@out2 posOutput @p
# end of MIMS script
| declare name "Boucing On an Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
OutGain = 700;
grav = 0.002;
K = 0.04;
model = (
mi.oscil(1., K, 0.0003, 0, 0., 0.),
mi.mass(1, grav/ ma.SR, 0.5, 0.5):
RoutingMassToLink :
mi.collision(0.1, 0.02, 0, 0., 0.5),
par(i, nbOut, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
nbMass = 2;
nbOut = 1;
};
process = model:*(OutGain);
|
29b41c97a929ade93fe792c807f9bf851f465efccdafaa0ef946535621f53a1b | jameslnrd/mi_introduction_workshop_2020 | harmonicOscillator.dsp | declare name "Harmonic Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
The simplest mass-interaction construct: a harmonic oscillator, containing only one physical element (mi.osc).
- inputs: force impulse
- outputs: oscillator' position.
- controls: none.
Note: The routing pattern could be simplified here (cf.diagram), as the model contains no interaction elements.
*/
import("stdfaust.lib");
in1 = button("Frc Input 1"): ba.impulsify * 0.25; //write a specific force input signal operation here
OutGain = 1;
model = (
mi.oscil(1., 0.1, 0.0003, 0, 0., 0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
par(i, nbOut+nbFrcIn, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
RoutingMassToLink(m0) = /* routed positions */ /* outputs */ m0;
RoutingLinkToMass(p_out1, f_in1) = /* routed forces */ f_in1, /* pass-through */ p_out1;
nbMass = 1;
nbFrcIn = 1;
nbOut = 1;
};
process = in1 : model:*(OutGain);
/*
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
# Integrated harmonic oscillator with M = 1, K = 0.1, Z = 0.0003
@o osc 1. 0.1 0.0003 0. 0.
# Add force input to the model
@in1 frcInput @o
# Add position output from the oscillator
@out1 posOutput @o
# end of MIMS script
*/ | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/00_BasicOscillator/harmonicOscillator.dsp | faust | ========= DESCRITPION =============
The simplest mass-interaction construct: a harmonic oscillator, containing only one physical element (mi.osc).
- inputs: force impulse
- outputs: oscillator' position.
- controls: none.
Note: The routing pattern could be simplified here (cf.diagram), as the model contains no interaction elements.
write a specific force input signal operation here
routed positions
outputs
routed forces
pass-through
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
# Integrated harmonic oscillator with M = 1, K = 0.1, Z = 0.0003
@o osc 1. 0.1 0.0003 0. 0.
# Add force input to the model
@in1 frcInput @o
# Add position output from the oscillator
@out1 posOutput @o
# end of MIMS script
| declare name "Harmonic Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
OutGain = 1;
model = (
mi.oscil(1., 0.1, 0.0003, 0, 0., 0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
par(i, nbOut+nbFrcIn, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
nbMass = 1;
nbFrcIn = 1;
nbOut = 1;
};
process = in1 : model:*(OutGain);
|
2152b321a30648fc6a41933f114db2f1997acb42d591ccb4922d84c7c572e863 | jameslnrd/mi_introduction_workshop_2020 | audioParamOsc.dsp | declare name "Audio Param Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A basic oscillator with labelled stiffness and damping parameters, controlled by sliders
- inputs: force impulse
- outputs: oscillator' position.
- controls: stiffness and damping.
*/
import("stdfaust.lib");
in1 = button("Force Impulse"): ba.impulsify;
in2 = hslider("Stiffness", 0.01, 0, 0.1, 0.0001):si.smoo;
in3 = hslider("Damping", 0.0001, 0, 0.005, 0.000001):si.smoo;
OutGain = 0.05;
K = in2;
Z = in3;
model = (
mi.oscil(1., K, Z, 0, 0., 0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
par(i, nbOut+nbFrcIn, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
RoutingMassToLink(m0) = /* routed positions */ /* outputs */ m0;
RoutingLinkToMass(p_out1, f_in1) = /* routed forces */ f_in1, /* pass-through */ p_out1;
nbMass = 1;
nbFrcIn = 1;
nbOut = 1;
};
process = in1 : model:*(OutGain);
/*
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
@K audioParam @in2
@Z audioParam @in3
# Integrated harmonic oscillator
# with param-controlled K and Z
@o osc 1. K Z 0. 0.
# Add force input to the model
@in1 frcInput @o
# Add position output from the oscillator
@out1 posOutput @o
# end of MIMS script
*/ | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/02_AudioParamControl/audioParamOsc.dsp | faust | ========= DESCRITPION =============
A basic oscillator with labelled stiffness and damping parameters, controlled by sliders
- inputs: force impulse
- outputs: oscillator' position.
- controls: stiffness and damping.
routed positions
outputs
routed forces
pass-through
========= MIMS SCRIPT USED FOR MODEL GENERATION =============
# MIMS script file
# Script author: James Leonard
@K audioParam @in2
@Z audioParam @in3
# Integrated harmonic oscillator
# with param-controlled K and Z
@o osc 1. K Z 0. 0.
# Add force input to the model
@in1 frcInput @o
# Add position output from the oscillator
@out1 posOutput @o
# end of MIMS script
| declare name "Audio Param Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = button("Force Impulse"): ba.impulsify;
in2 = hslider("Stiffness", 0.01, 0, 0.1, 0.0001):si.smoo;
in3 = hslider("Damping", 0.0001, 0, 0.005, 0.000001):si.smoo;
OutGain = 0.05;
K = in2;
Z = in3;
model = (
mi.oscil(1., K, Z, 0, 0., 0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
par(i, nbOut+nbFrcIn, _):
RoutingLinkToMass
)~par(i, nbMass, _):
par(i, nbMass, !), par(i, nbOut , _)
with{
nbMass = 1;
nbFrcIn = 1;
nbOut = 1;
};
process = in1 : model:*(OutGain);
|
3394e51ab1122a9fa96fd21ba1b071c8a8528e8f4b2c305b1dfa2b4c3aec5ee0 | grame-cncm/smartfaust | sampler_pitch_shifter2_v0.1.dsp | declare name "sfPitchShifter";
declare version "1.1";
declare author "Christophe Lebreton";
declare license "BSD";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
//-------------------- MAIN -------------------------------
process = pitchshifter_drywet;
// from FAUST example and adapted by Christophe Lebreton
//----------------------------
// very simple real time pitch shifter
//----------------------------
lowpassmotion = fi.lowpass(N,fc)
with {
//fc= hslider("h:motion filter/high_cut [hidden:1]",10,0.01,10,0.01);
fc=10;
N= 1; // order of filter
};
transpose (w, x, s, sig) = de.fdelay1s(d,sig)* ma.fmin(d/x,1) + de.fdelay1s(d+w,sig)*(1- ma.fmin(d/x,1))
with {
i = 1 - pow(2, s/12);
d = i : (+ : +(w) : fmod(_,w)) ~ _;
};
// faire une version en remplacent les xfade par des buffers plus "doux"
pitchshifter = transpose(w,x,s)
with {
//w = hslider("window [units (ms)]", 75, 10, 1000, 1)*SR*0.001;
w = (75)* ma.SR *(0.001);
//x = hslider("xfade [units (ms)]", 10, 1, 500, 1)*SR*0.001 : smooth (0.99);
x = w * 0.5;
s = (hslider("v:sfPlayer parameter(s)/shift [units (cents)] [acc:0 0 -10 0 10][color: 255 0 0 ][hidden:1] ", 0, -200, 200, 0.1))*0.01 : fi.lowpass(1,1); //[accx:1 0 0 1]
};
dry_wet(x,y) = (1-c)*x + c*y
with {
c = hslider("v:sfPlayer parameter(s)/dry_wet [acc:2 0 -10 0 10][color: 0 255 0 ][hidden:1] ",100,0,100,0.01):*(0.01):fi.lowpass(1,1); //[accz:1 0 100 0]
};
pitchshifter_drywet = _<: _ , pitchshifter: dry_wet;
| https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfPlayer/sampler_pitch_shifter2_v0.1.dsp | faust | -------------------- MAIN -------------------------------
from FAUST example and adapted by Christophe Lebreton
----------------------------
very simple real time pitch shifter
----------------------------
fc= hslider("h:motion filter/high_cut [hidden:1]",10,0.01,10,0.01);
order of filter
faire une version en remplacent les xfade par des buffers plus "doux"
w = hslider("window [units (ms)]", 75, 10, 1000, 1)*SR*0.001;
x = hslider("xfade [units (ms)]", 10, 1, 500, 1)*SR*0.001 : smooth (0.99);
[accx:1 0 0 1]
[accz:1 0 100 0] | declare name "sfPitchShifter";
declare version "1.1";
declare author "Christophe Lebreton";
declare license "BSD";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
process = pitchshifter_drywet;
lowpassmotion = fi.lowpass(N,fc)
with {
fc=10;
};
transpose (w, x, s, sig) = de.fdelay1s(d,sig)* ma.fmin(d/x,1) + de.fdelay1s(d+w,sig)*(1- ma.fmin(d/x,1))
with {
i = 1 - pow(2, s/12);
d = i : (+ : +(w) : fmod(_,w)) ~ _;
};
pitchshifter = transpose(w,x,s)
with {
w = (75)* ma.SR *(0.001);
x = w * 0.5;
};
dry_wet(x,y) = (1-c)*x + c*y
with {
};
pitchshifter_drywet = _<: _ , pitchshifter: dry_wet;
|
44f64af3b540cfa5e7d427d6c83f011d4b41674fa06adc3d6c94a63a6241327b | s-e-a-m/faust-libraries | sdmx.dsp | declare name "SUM AND DIFFERENCE MATRIX";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "SUM AND DIFFERENCE MATRIX";
import("stdfaust.lib");
//import("../../seam.lib");
nsum = 0.707*(_+_);
ndif = 0.707*(_-_);
sdmx = _,_ <: nsum, ndif;
process = sdmx;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/sdmx.dsp | faust | import("../../seam.lib"); | declare name "SUM AND DIFFERENCE MATRIX";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "SUM AND DIFFERENCE MATRIX";
import("stdfaust.lib");
nsum = 0.707*(_+_);
ndif = 0.707*(_-_);
sdmx = _,_ <: nsum, ndif;
process = sdmx;
|
6fac24fbf917d3c43317ac5f181a05bf28fe14fb958605a22e956a3d346d978d | afalaize/faust | virtualAnalog.dsp | declare name "VirtualAnalog";
declare version "0.0";
declare author "JOS, revised by RM";
declare description "Virtual analog oscillator demo application.";
import("stdfaust.lib");
process = dm.virtual_analog_oscillator_demo;
| https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/generator/virtualAnalog.dsp | faust | declare name "VirtualAnalog";
declare version "0.0";
declare author "JOS, revised by RM";
declare description "Virtual analog oscillator demo application.";
import("stdfaust.lib");
process = dm.virtual_analog_oscillator_demo;
|
|
6a534ed7be4208ca321835bff4094bed852ee559c2c264951ef25cbd9b896dab | darkoverlordofdata/amp-sim-faust | chorus.dsp | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
import("../layout2.dsp");
voices = 8; // MUST BE EVEN
process = ba.bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices));
dmax = 8192;
curdel = dmax * ckg(vslider("[0] Delay [midi:ctrl 55] [style:knob]", 0.5, 0, 1, 1)) : si.smooth(0.999);
rateMax = 7.0; // Hz
rateMin = 0.01;
rateT60 = 0.15661;
rate = ckg(vslider("[1] Rate [midi:ctrl 56] [unit:Hz] [style:knob]", 0.5, rateMin, rateMax, 0.0001))
: si.smooth(ba.tau2pole(rateT60/6.91));
depth = ckg(vslider("[4] Depth [midi:ctrl 57] [style:knob]", 0.5, 0, 1, 0.001)) : si.smooth(ba.tau2pole(depthT60/6.91));
depthT60 = 0.15661;
delayPerVoice = 0.5*curdel/voices;
sigma = delayPerVoice * ckg(vslider("[6] Deviation [midi:ctrl 58] [style:knob]",0.5,0,1,0.001)) : si.smooth(0.999);
periodic = 1;
do2 = depth; // use when depth=1 means "multivibrato" effect (no original => all are modulated)
cbp = 1-int(csg(vslider("[0] Enable [midi:ctrl 103][style:knob]",0,0,1,1)));
chorus_mono(dmax,curdel,rate,sigma,do2,voices)
= _ <: (*(1-do2)<:_,_),(*(do2) <: par(i,voices,voice(i)) :> _,_) : ro.interleave(2,2) : +,+
with {
angle(i) = 2*ma.PI*(i/2)/voices + (i%2)*ma.PI/2;
voice(i) = de.fdelay(dmax,min(dmax,del(i))) * cos(angle(i));
del(i) = curdel*(i+1)/voices + dev(i);
rates(i) = rate/float(i+1);
dev(i) = sigma * os.oscp(rates(i),i*2*ma.PI/voices);
};
| https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/df478c01ed3763795c11779faa47a4b9d0f6de37/src/guitar/chorus.dsp | faust | MUST BE EVEN
Hz
use when depth=1 means "multivibrato" effect (no original => all are modulated) | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
import("../layout2.dsp");
process = ba.bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices));
dmax = 8192;
curdel = dmax * ckg(vslider("[0] Delay [midi:ctrl 55] [style:knob]", 0.5, 0, 1, 1)) : si.smooth(0.999);
rateMin = 0.01;
rateT60 = 0.15661;
rate = ckg(vslider("[1] Rate [midi:ctrl 56] [unit:Hz] [style:knob]", 0.5, rateMin, rateMax, 0.0001))
: si.smooth(ba.tau2pole(rateT60/6.91));
depth = ckg(vslider("[4] Depth [midi:ctrl 57] [style:knob]", 0.5, 0, 1, 0.001)) : si.smooth(ba.tau2pole(depthT60/6.91));
depthT60 = 0.15661;
delayPerVoice = 0.5*curdel/voices;
sigma = delayPerVoice * ckg(vslider("[6] Deviation [midi:ctrl 58] [style:knob]",0.5,0,1,0.001)) : si.smooth(0.999);
periodic = 1;
cbp = 1-int(csg(vslider("[0] Enable [midi:ctrl 103][style:knob]",0,0,1,1)));
chorus_mono(dmax,curdel,rate,sigma,do2,voices)
= _ <: (*(1-do2)<:_,_),(*(do2) <: par(i,voices,voice(i)) :> _,_) : ro.interleave(2,2) : +,+
with {
angle(i) = 2*ma.PI*(i/2)/voices + (i%2)*ma.PI/2;
voice(i) = de.fdelay(dmax,min(dmax,del(i))) * cos(angle(i));
del(i) = curdel*(i+1)/voices + dev(i);
rates(i) = rate/float(i+1);
dev(i) = sigma * os.oscp(rates(i),i*2*ma.PI/voices);
};
|
54cab038a1617ff3b4f19d116db5e01c735199c5d21fcf63506137e5ba0a7e16 | afalaize/faust | sawtoothLab.dsp | declare name "sawtoothLab";
declare version "0.0";
declare author "JOS, revised by RM";
declare description "An application demonstrating the different sawtooth oscillators of Faust.";
import("stdfaust.lib");
process = dm.sawtooth_demo;
| https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/generator/sawtoothLab.dsp | faust | declare name "sawtoothLab";
declare version "0.0";
declare author "JOS, revised by RM";
declare description "An application demonstrating the different sawtooth oscillators of Faust.";
import("stdfaust.lib");
process = dm.sawtooth_demo;
|
|
115bc5fcea770e4e4d1e62e0b974b48150c7fa389d8cb86bdbde87355bcb960e | s-e-a-m/faust-libraries | mspanlr.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
main(x) = hgroup("Mid-Side Panner", x);
process = _,main(p),main(rad) : mspan_lr;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/mspanlr.dsp | faust | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
main(x) = hgroup("Mid-Side Panner", x);
process = _,main(p),main(rad) : mspan_lr;
|
|
68b36b4d37ab96a7e793498c434f62e0a904cdbfa38897195c1d72be23c88a60 | afalaize/faust | vocoder.dsp | declare name "Vocoder";
declare version "0.0";
declare author "RM";
declare description "Use example of the vocoder function where an impulse train is used as excitation.";
import("stdfaust.lib");
process = dm.vocoder_demo;
| https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/filtering/vocoder.dsp | faust | declare name "Vocoder";
declare version "0.0";
declare author "RM";
declare description "Use example of the vocoder function where an impulse train is used as excitation.";
import("stdfaust.lib");
process = dm.vocoder_demo;
|
|
400924f11d1b1a1312f1d79335f304c37412c376e48bcc0c633426a42e366418 | magnetophon/VoiceOfFaust | jcmlb.dsp | declare name "jcmlb";
declare version "1.0";
declare author "cc";
declare license "BSD";
declare copyright "stk";
import("stdfaust.lib");
//form(f0,a,b,c) = (even) : *(a) // jc
form(f0,a,b,c,w) = (even + odd) : *(a) // mlb
with
{
f1cr = ba.if((c<f0),1.0,(c/f0));
f1ci = ba.if((w==0),float(int(f1cr)),floor(f1cr));
// f1ci = float(int( f1cr )); // jc
// f1ci = floor( f1cr ); // mlb
f1cm = fmod(f1ci, 2);
isEven = ba.if((w==0), 1, ba.if ((f1cm < 1.0),1,0) );
// isEven = 1; // jc
// isEven = ba.if ((f1cm < 1.0),1,0); // mlb
evenfreq = ba.if (isEven, f1ci, (1 + f1ci) );
oddfreq = ba.if (isEven, (1 + f1ci), f1ci );
ampfrac = (f1cr - f1ci);
oddamp = ba.if (isEven, ampfrac, (1.0 - ampfrac) );
evenamp = ba.if((w==0), 1, ba.if (isEven, (1.0 - ampfrac), ampfrac ) );
// evenamp = 1; // jc
// evenamp = ba.if (isEven, (1.0 - ampfrac), ampfrac ); // mlb
mod = os.osc(f0) : *(f0 * b); // jc mlb
even = evenamp : *(os.osc((f0 * evenfreq) + mod));
odd = ba.if((w==0), 0, oddamp:*(os.osc((f0 * oddfreq) + mod)) );
// odd = oddamp : *(os.osc((f0 * oddfreq) + mod));
};
frame(c) = (w ~ _ )
with {
rst(y)= ba.if(c,-y,1);
w(x) = x+rst(x); };
demux(i,ctr,x) = coef
with {
trig = (ctr==i);
coef = (*(1-trig)+x*trig) ~ _; };
nf = 4;
formant(f_num,ctlStream) = fsig
with {
ctr = frame(ctlStream<0);
co(i) = demux(i,ctr,ctlStream);
f0 = 1;
a = f0+1+f_num*3;
b = a+1;
c = a+2;
which = f0+1+nf*3;
fsig = form(co(f0), co(a),
co(b), co(c), co(which));
};
knee = 48000.0;
filt = fi.tf2s(0,0,1,sqrt(2),1,ma.PI*knee/2);
// process = _ <: par(i,nf,formant(i)) :> fi.dcblocker : filt : filt;
process = form(freq,amp,bandwidth,center);
freq = vslider("freq", 110, 55, 440, 1):si.smooth(0.999);
amp = vslider("amp", 0, 0, 1, 0.001):si.smooth(0.999);
bandwidth = vslider("bandwidth", 1, 0, 100, 0.001):si.smooth(0.999);
center =vslider("center", 110, 55, 440, 1):si.smooth(0.999);
| https://raw.githubusercontent.com/magnetophon/VoiceOfFaust/82c20ed40fb5f184a236a7c765eab5acfc3bb5f5/lib/cruft/jcmlb.dsp | faust | form(f0,a,b,c) = (even) : *(a) // jc
mlb
f1ci = float(int( f1cr )); // jc
f1ci = floor( f1cr ); // mlb
isEven = 1; // jc
isEven = ba.if ((f1cm < 1.0),1,0); // mlb
evenamp = 1; // jc
evenamp = ba.if (isEven, (1.0 - ampfrac), ampfrac ); // mlb
jc mlb
odd = oddamp : *(os.osc((f0 * oddfreq) + mod));
process = _ <: par(i,nf,formant(i)) :> fi.dcblocker : filt : filt; | declare name "jcmlb";
declare version "1.0";
declare author "cc";
declare license "BSD";
declare copyright "stk";
import("stdfaust.lib");
with
{
f1cr = ba.if((c<f0),1.0,(c/f0));
f1ci = ba.if((w==0),float(int(f1cr)),floor(f1cr));
f1cm = fmod(f1ci, 2);
isEven = ba.if((w==0), 1, ba.if ((f1cm < 1.0),1,0) );
evenfreq = ba.if (isEven, f1ci, (1 + f1ci) );
oddfreq = ba.if (isEven, (1 + f1ci), f1ci );
ampfrac = (f1cr - f1ci);
oddamp = ba.if (isEven, ampfrac, (1.0 - ampfrac) );
evenamp = ba.if((w==0), 1, ba.if (isEven, (1.0 - ampfrac), ampfrac ) );
even = evenamp : *(os.osc((f0 * evenfreq) + mod));
odd = ba.if((w==0), 0, oddamp:*(os.osc((f0 * oddfreq) + mod)) );
};
frame(c) = (w ~ _ )
with {
rst(y)= ba.if(c,-y,1);
w(x) = x+rst(x); };
demux(i,ctr,x) = coef
with {
trig = (ctr==i);
coef = (*(1-trig)+x*trig) ~ _; };
nf = 4;
formant(f_num,ctlStream) = fsig
with {
ctr = frame(ctlStream<0);
co(i) = demux(i,ctr,ctlStream);
f0 = 1;
a = f0+1+f_num*3;
b = a+1;
c = a+2;
which = f0+1+nf*3;
fsig = form(co(f0), co(a),
co(b), co(c), co(which));
};
knee = 48000.0;
filt = fi.tf2s(0,0,1,sqrt(2),1,ma.PI*knee/2);
process = form(freq,amp,bandwidth,center);
freq = vslider("freq", 110, 55, 440, 1):si.smooth(0.999);
amp = vslider("amp", 0, 0, 1, 0.001):si.smooth(0.999);
bandwidth = vslider("bandwidth", 1, 0, 100, 0.001):si.smooth(0.999);
center =vslider("center", 110, 55, 440, 1):si.smooth(0.999);
|
9952680528b0cd960137c43d80647341d899c969bc3c851ec1e020ce85c4ae4b | agraef/pd-remote | phasemod.dsp |
declare name "phasemod";
declare description "phase modulation synth";
declare author "Albert Graef";
declare version "2.0";
import("stdfaust.lib");
// master volume and pan
vol = hslider("/v:[1]/vol [midi:ctrl 2]", 0.3, 0, 1, 0.01);
pan = hslider("/v:[1]/pan [midi:ctrl 10]", 0.5, 0, 1, 0.01);
// ADSR envelop
attack = hslider("/v:[2]/[1] attack", 0.01, 0, 1, 0.001);
decay = hslider("/v:[2]/[2] decay", 0.3, 0, 1, 0.001);
sustain = hslider("/v:[2]/[3] sustain", 0.5, 0, 1, 0.01);
release = hslider("/v:[2]/[4] release", 0.2, 0, 1, 0.001);
// modulation index
modindex = hslider("/v:[3]/modulation index [midi:ctrl 1]", 0.5, 0, 1, 0.01);
// pitch bend (2 semitones up and down, in cent increments)
bend = hslider("/v:[4]/bend[midi:pitchbend]", 0, -2, 2, 0.01);
// voice parameters
freq(i) = nentry("/freq%i[voice:freq]", 440, 20, 20000, 1);
gain(i) = nentry("/gain%i[voice:gain]", 1, 0, 10, 0.01);
gate(i) = button("/gate%i[voice:gate]");
// generic table-driven oscillator with phase modulation
// n = the size of the table, must be a power of 2
// f = the wave function, must be defined on the range [0,2*PI]
// freq = the desired frequency in Hz
// mod = the phase modulation signal, in radians
tblosc(n,f,freq,mod) = (1-d)*rdtable(n,wave,i&(n-1)) +
d*rdtable(n,wave,(i+1)&(n-1))
with {
wave = ba.time*(2.0*ma.PI)/n : f;
phase = freq/ma.SR : (+ : ma.decimal) ~ _;
modphase = ma.decimal(phase+mod/(2*ma.PI))*n;
i = int(floor(modphase));
d = ma.decimal(modphase);
};
// phase modulation synth (sine modulated by another sine)
voice(i) = tblosc(1<<16, sin, f, mod)*env*gain(i) with {
f = freq(i)*pow(2,bend/12);
env = gate(i) : en.adsr(attack, decay, sustain, release);
mod = 2*ma.PI*tblosc(1<<16, sin, f, 0)*env*modindex;
};
n = 8;
process = sum(i, n, voice(i))
: (*(vol:si.smooth(0.99)) : sp.panner(pan:si.smooth(0.99)));
| https://raw.githubusercontent.com/agraef/pd-remote/4fede0b70ac5f9544a783dd45ddcf4643a29bc63/examples/dsp/phasemod.dsp | faust | master volume and pan
ADSR envelop
modulation index
pitch bend (2 semitones up and down, in cent increments)
voice parameters
generic table-driven oscillator with phase modulation
n = the size of the table, must be a power of 2
f = the wave function, must be defined on the range [0,2*PI]
freq = the desired frequency in Hz
mod = the phase modulation signal, in radians
phase modulation synth (sine modulated by another sine) |
declare name "phasemod";
declare description "phase modulation synth";
declare author "Albert Graef";
declare version "2.0";
import("stdfaust.lib");
vol = hslider("/v:[1]/vol [midi:ctrl 2]", 0.3, 0, 1, 0.01);
pan = hslider("/v:[1]/pan [midi:ctrl 10]", 0.5, 0, 1, 0.01);
attack = hslider("/v:[2]/[1] attack", 0.01, 0, 1, 0.001);
decay = hslider("/v:[2]/[2] decay", 0.3, 0, 1, 0.001);
sustain = hslider("/v:[2]/[3] sustain", 0.5, 0, 1, 0.01);
release = hslider("/v:[2]/[4] release", 0.2, 0, 1, 0.001);
modindex = hslider("/v:[3]/modulation index [midi:ctrl 1]", 0.5, 0, 1, 0.01);
bend = hslider("/v:[4]/bend[midi:pitchbend]", 0, -2, 2, 0.01);
freq(i) = nentry("/freq%i[voice:freq]", 440, 20, 20000, 1);
gain(i) = nentry("/gain%i[voice:gain]", 1, 0, 10, 0.01);
gate(i) = button("/gate%i[voice:gate]");
tblosc(n,f,freq,mod) = (1-d)*rdtable(n,wave,i&(n-1)) +
d*rdtable(n,wave,(i+1)&(n-1))
with {
wave = ba.time*(2.0*ma.PI)/n : f;
phase = freq/ma.SR : (+ : ma.decimal) ~ _;
modphase = ma.decimal(phase+mod/(2*ma.PI))*n;
i = int(floor(modphase));
d = ma.decimal(modphase);
};
voice(i) = tblosc(1<<16, sin, f, mod)*env*gain(i) with {
f = freq(i)*pow(2,bend/12);
env = gate(i) : en.adsr(attack, decay, sustain, release);
mod = 2*ma.PI*tblosc(1<<16, sin, f, 0)*env*modindex;
};
n = 8;
process = sum(i, n, voice(i))
: (*(vol:si.smooth(0.99)) : sp.panner(pan:si.smooth(0.99)));
|
b978c19b04bf462e04f86530c9cf3b771c52798b31b24b40dfab5250f8ee9b09 | s-e-a-m/faust-libraries | mspan_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
pisweep = (os.lf_trianglepos(1)*360)-180;
rad = pisweep : deg2rad;
process = 1, rad : mspan;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/mspan_plot.dsp | faust | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
pisweep = (os.lf_trianglepos(1)*360)-180;
rad = pisweep : deg2rad;
process = 1, rad : mspan;
|
|
6f20536556e8c41a52297545870ef7670c6553055b58e72d0f3ec9238fb1e5ff | s-e-a-m/faust-libraries | lrpan_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
pot = os.lf_trianglepos(1);
lrpan(x,pot) = l,r
with{
l = sqrt(pot)*x;
r = sqrt(1-pot)*x;
};
process = 1, pot : lrpan;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/lrpan_plot.dsp | faust | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
pot = os.lf_trianglepos(1);
lrpan(x,pot) = l,r
with{
l = sqrt(pot)*x;
r = sqrt(1-pot)*x;
};
process = 1, pot : lrpan;
|
|
b576aafca00ff3fe14b07bad31a3673b89dce70c0023ca4d18ad560a6561f7de | Sylcantor/wam-web-components | weirdPhaser.dsp | declare name "Weird Phaser";
declare description "Stereo Phaser based on SSB Modulation";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1)
: biquad(1.8685, -0.870686, 0.870686, -1.8685, 1) ;
imag = biquad(1.94632, -0.94657, 0.94657, -1.94632, 1)
: biquad(0.83774, -0.06338, 0.06338, -0.83774, 1) ;
};
mix = 0.5;
maxfeedback = 0.7;
rate = hslider("Rate[style:knob][unit:hz][OWL:PARAMETER_A]", 0, 0., 1, 0.001);
rateScalar = hslider("RateScalar[style:knob][OWL:PARAMETER_B]", 1., 1., 40., 0.001);
offset = hslider("L-ROffset[style:knob][OWL:PARAMETER_C]", 0., 0., 1., 0.001) * 0.5;
fbk = hslider("Feedback[style:knob][OWL:PARAMETER_D]", 0., 0, 1., 0.01) : *(maxfeedback) : si.smooth(ba.tau2pole(0.005));
ssbfreqshift(x, offset) = (+ : negative) ~ (*(fbk) : clip(-1, 1))
with {
negative(x) = real(x)*cosv - imag(x)*sinv;
positive(x) = real(x)*cosv + imag(x)*sinv;
real(x) = hilbert(x) : _ , !;
imag(x) = hilbert(x) : ! , _;
phasor = fmod(((rate*rateScalar)/float(ma.SR) : (+ : ma.decimal) ~ _)+offset, 1.) * (2*ma.PI);
sinv = sin(phasor);
cosv = cos(phasor);
hilbert = hilbertef;
clip(lo,hi) = min(hi) : max(lo);
};
weirdPhaser(l,r) = l,r <: *(1-mix), *(1-mix), ssbfreqshift(l, 0.)*mix, ssbfreqshift(r, offset)*mix :> _,_;
process = ba.bypass_fade(ma.SR/10, checkbox("bypass"), weirdPhaser); | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/WeirdPhaser/weirdPhaser.dsp | faust | declare name "Weird Phaser";
declare description "Stereo Phaser based on SSB Modulation";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1)
: biquad(1.8685, -0.870686, 0.870686, -1.8685, 1) ;
imag = biquad(1.94632, -0.94657, 0.94657, -1.94632, 1)
: biquad(0.83774, -0.06338, 0.06338, -0.83774, 1) ;
};
mix = 0.5;
maxfeedback = 0.7;
rate = hslider("Rate[style:knob][unit:hz][OWL:PARAMETER_A]", 0, 0., 1, 0.001);
rateScalar = hslider("RateScalar[style:knob][OWL:PARAMETER_B]", 1., 1., 40., 0.001);
offset = hslider("L-ROffset[style:knob][OWL:PARAMETER_C]", 0., 0., 1., 0.001) * 0.5;
fbk = hslider("Feedback[style:knob][OWL:PARAMETER_D]", 0., 0, 1., 0.01) : *(maxfeedback) : si.smooth(ba.tau2pole(0.005));
ssbfreqshift(x, offset) = (+ : negative) ~ (*(fbk) : clip(-1, 1))
with {
negative(x) = real(x)*cosv - imag(x)*sinv;
positive(x) = real(x)*cosv + imag(x)*sinv;
real(x) = hilbert(x) : _ , !;
imag(x) = hilbert(x) : ! , _;
phasor = fmod(((rate*rateScalar)/float(ma.SR) : (+ : ma.decimal) ~ _)+offset, 1.) * (2*ma.PI);
sinv = sin(phasor);
cosv = cos(phasor);
hilbert = hilbertef;
clip(lo,hi) = min(hi) : max(lo);
};
weirdPhaser(l,r) = l,r <: *(1-mix), *(1-mix), ssbfreqshift(l, 0.)*mix, ssbfreqshift(r, offset)*mix :> _,_;
process = ba.bypass_fade(ma.SR/10, checkbox("bypass"), weirdPhaser); |
|
f24875d930c14ec8d4134152bcedc3cb2564a847bfd0cd850e431eaafe9e4011 | Sylcantor/wam-web-components | StereoFreqShifter.dsp | declare name "Stereo Frequency Shifter";
declare description "Stereo Frequency Shifting";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1)
: biquad(1.8685, -0.870686, 0.870686, -1.8685, 1) ;
imag = biquad(1.94632, -0.94657, 0.94657, -1.94632, 1)
: biquad(0.83774, -0.06338, 0.06338, -0.83774, 1) ;
};
freqshift(x, shift) = negative(x), positive(x)
with {
negative(x) = real(x)*cosv - imag(x)*sinv;
positive(x) = real(x)*cosv + imag(x)*sinv;
real(x) = hilbert(x) : _ , !;
imag(x) = hilbert(x) : ! , _;
phasor(x) = fmod((x/float(ma.SR) : (+ : ma.decimal) ~ _), 1.) * (ma.PI * 2);
sinv = sin(phasor(shift));
cosv = cos(phasor(shift));
hilbert = hilbertef;
};
ssb(shift, x) = freqshift(x, shift) : _ , !;
shift = hslider("Shift[style:knob][unit:hz][OWL:PARAMETER_A]", 0.0, -1., 1, 0.001);
shift_scalar = hslider("ShiftScalar[style:knob][OWL:PARAMETER_B]", 1., 1., 100, 0.1);
lr_offset = hslider("L-ROffset[style:knob][OWL:PARAMETER_C]", 0., 0., 1., 0.00001);
mix = hslider("Mix[style:knob][OWL:PARAMETER_D]",0.5,0,1,0.01) : si.smooth(ba.tau2pole(0.005));
shift_amount = shift*shift_scalar;
stereoFreqShift(l, r) = l, r <: *(1-mix), *(1-mix), ssb(shift_amount,l)*mix, ssb(shift_amount+lr_offset,r)*mix :> _,_;
process = ba.bypass_fade(ma.SR/10, checkbox("bypass"), stereoFreqShift); | https://raw.githubusercontent.com/Sylcantor/wam-web-components/c54352dae5b80bcf6d8d4c306ea22e2c91a12b08/plugins/StereoFreqShifter/StereoFreqShifter.dsp | faust | declare name "Stereo Frequency Shifter";
declare description "Stereo Frequency Shifting";
declare author "Oli Larkin ([email protected])";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1)
: biquad(1.8685, -0.870686, 0.870686, -1.8685, 1) ;
imag = biquad(1.94632, -0.94657, 0.94657, -1.94632, 1)
: biquad(0.83774, -0.06338, 0.06338, -0.83774, 1) ;
};
freqshift(x, shift) = negative(x), positive(x)
with {
negative(x) = real(x)*cosv - imag(x)*sinv;
positive(x) = real(x)*cosv + imag(x)*sinv;
real(x) = hilbert(x) : _ , !;
imag(x) = hilbert(x) : ! , _;
phasor(x) = fmod((x/float(ma.SR) : (+ : ma.decimal) ~ _), 1.) * (ma.PI * 2);
sinv = sin(phasor(shift));
cosv = cos(phasor(shift));
hilbert = hilbertef;
};
ssb(shift, x) = freqshift(x, shift) : _ , !;
shift = hslider("Shift[style:knob][unit:hz][OWL:PARAMETER_A]", 0.0, -1., 1, 0.001);
shift_scalar = hslider("ShiftScalar[style:knob][OWL:PARAMETER_B]", 1., 1., 100, 0.1);
lr_offset = hslider("L-ROffset[style:knob][OWL:PARAMETER_C]", 0., 0., 1., 0.00001);
mix = hslider("Mix[style:knob][OWL:PARAMETER_D]",0.5,0,1,0.01) : si.smooth(ba.tau2pole(0.005));
shift_amount = shift*shift_scalar;
stereoFreqShift(l, r) = l, r <: *(1-mix), *(1-mix), ssb(shift_amount,l)*mix, ssb(shift_amount+lr_offset,r)*mix :> _,_;
process = ba.bypass_fade(ma.SR/10, checkbox("bypass"), stereoFreqShift); |
|
a37567895422aa43b493ca835a30d24194cf6062d0af80e652d768464f6f6a83 | s-e-a-m/faust-libraries | mspan.dsp | declare name "MID SIDE PANNER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER";
import("stdfaust.lib");
//import("../seam.lib");
deg2rad = *(ma.PI/180);
mspan(x) = m, s
with{
pot = vslider("[01] Azimuth [style:knob]", 0, -180, 180, 0.1) : deg2rad : si.smoo;
m = (0.5 * x) + (0.5 * (x * cos(pot)));
s = x *(sin(-pot));
};
process = _,! : mspan;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/mspan.dsp | faust | import("../seam.lib"); | declare name "MID SIDE PANNER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER";
import("stdfaust.lib");
deg2rad = *(ma.PI/180);
mspan(x) = m, s
with{
pot = vslider("[01] Azimuth [style:knob]", 0, -180, 180, 0.1) : deg2rad : si.smoo;
m = (0.5 * x) + (0.5 * (x * cos(pot)));
s = x *(sin(-pot));
};
process = _,! : mspan;
|
9f92fa8c40757f4922a7bd25db863bca2e419f73a041b7a2ab0b12ea52186e2b | goofy2k/ESP32_faust2api | capture.dsp | declare name "capture";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-------------------------------------------------
// Capture : record up to 8s of sound and
// playback the recorded sound in loop
//-------------------------------------------------
import("stdfaust.lib");
B = button("Capture"); // Capture sound while pressed
I = int(B); // convert button signal from float to integer
R = (I-I') <= 0; // Reset capture when button is pressed
D = (+(I):*(R))~_; // Compute capture duration while button is pressed: 0..NNNN0..MMM
capture = *(B) : (+ : de.delay(8*65536, D-1)) ~ *(1.0-B);
level = hslider("level (db)", 0, -96, 4, 0.1) : ba.db2linear : si.smoo;
process = vgroup("Audio Capture", capture : *(level));
| https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/all_engines/capture.dsp | faust | -------------------------------------------------
Capture : record up to 8s of sound and
playback the recorded sound in loop
-------------------------------------------------
Capture sound while pressed
convert button signal from float to integer
Reset capture when button is pressed
Compute capture duration while button is pressed: 0..NNNN0..MMM | declare name "capture";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
capture = *(B) : (+ : de.delay(8*65536, D-1)) ~ *(1.0-B);
level = hslider("level (db)", 0, -96, 4, 0.1) : ba.db2linear : si.smoo;
process = vgroup("Audio Capture", capture : *(level));
|
cc48fec817d14da99bdbcbe7c790f6d903d22353687d99816def93fca5286ea6 | s-e-a-m/faust-libraries | ms2bfmt.dsp | declare name "MS STEREO TO BFORMAT ENCODER";
declare version "003";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MS STEREO TO BFORMAT ENCODER";
import("stdfaust.lib");
import("../../seam.lib");
// LS and RS are dead channels to create VST routing consistency
midside2bfmt(M,S,LS,RS) = W,X,Y,Z
with{
W = M * 0.707;
X = M * cos(0) * cos(0);
Y = S;
Z = M * sin(0);
};
process = _,_,*(0.0),*(0.0) : midside2bfmt;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/ms2bfmt.dsp | faust | LS and RS are dead channels to create VST routing consistency | declare name "MS STEREO TO BFORMAT ENCODER";
declare version "003";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MS STEREO TO BFORMAT ENCODER";
import("stdfaust.lib");
import("../../seam.lib");
midside2bfmt(M,S,LS,RS) = W,X,Y,Z
with{
W = M * 0.707;
X = M * cos(0) * cos(0);
Y = S;
Z = M * sin(0);
};
process = _,_,*(0.0),*(0.0) : midside2bfmt;
|
c2421ab86d7ba98d77a39832e7fa88e4c3a0f7593e0db84d3784b3688607c977 | sebastien-clara/panoplie | toneStackPeavey.dsp | declare name "Tonestack Emulation Peavey";
declare author "Guitarix";
declare description "Peavey c20";
import("stdfaust.lib");
process = component("tonestacks.lib").peavey(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackPeavey%7E.mxo/toneStackPeavey.dsp | faust | declare name "Tonestack Emulation Peavey";
declare author "Guitarix";
declare description "Peavey c20";
import("stdfaust.lib");
process = component("tonestacks.lib").peavey(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
92cdc69b466e373f6841286c0cc6a9d59d358dce28922c02cb34e5c07654dd51 | sebastien-clara/panoplie | toneStackIbanez.dsp | declare name "Tonestack Emulation Ibanez";
declare author "Guitarix";
declare description "Ibanez gx20";
import("stdfaust.lib");
process = component("tonestacks.lib").ibanez(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackIbanez%7E.mxo/toneStackIbanez.dsp | faust | declare name "Tonestack Emulation Ibanez";
declare author "Guitarix";
declare description "Ibanez gx20";
import("stdfaust.lib");
process = component("tonestacks.lib").ibanez(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
f7b72e53ced21d337a8c26d585bd94dc475ddf411ca77709ec64ad25ee42ac0d | jrdooley/formuls | formuls.dsp | //----------------------------------------------------------------------------------------//
//------------------------------------------formuls---------------------------------------//
//----------------------------------------------------------------------------------------//
// compile with: faust2puredata -vec -lv 0 -vs 4 -clang
declare names "formuls";
declare author "James Dooley: [email protected]";
declare copyright "James Dooley";
declare license "MIT";
declare options "[osc:on]";
import("stdfaust.lib");
fx = library("ffx.lib");
fs = library("fsynth.lib");
//--------------------------------//
//-------GLOBAL_PARAMETERS--------//
//--------------------------------//
//------VOLUME----//
volume = _ : *(vol)
with{
vol = hslider("volume",0,0,1,0.01) : si.smoo;
};
mute = hslider("mute",0,0,1,1) : 1-(_) : si.smoo;
//---------------------------------------------------------------------------------------//
//-------------------------------------------MAIN----------------------------------------//
//---------------------------------------------------------------------------------------//
/* Signal inputs: 1)input synth voice frequency modulation; 2)input envelope follower; Signal outputs: 1)left audio channel; 2)right audio channel; 3) mono signal when synth muted */
process(mod,env) = fs.synth(mod) : fx.fx : *(env : fx.envelopefollower) : volume <: fx.panner <: *(mute),*(mute),_,_;
| https://raw.githubusercontent.com/jrdooley/formuls/9e3264759a3685478d8f9fe5a99e63474afa80ad/src/faust/formuls.dsp | faust | ----------------------------------------------------------------------------------------//
------------------------------------------formuls---------------------------------------//
----------------------------------------------------------------------------------------//
compile with: faust2puredata -vec -lv 0 -vs 4 -clang
--------------------------------//
-------GLOBAL_PARAMETERS--------//
--------------------------------//
------VOLUME----//
---------------------------------------------------------------------------------------//
-------------------------------------------MAIN----------------------------------------//
---------------------------------------------------------------------------------------//
Signal inputs: 1)input synth voice frequency modulation; 2)input envelope follower; Signal outputs: 1)left audio channel; 2)right audio channel; 3) mono signal when synth muted | declare names "formuls";
declare author "James Dooley: [email protected]";
declare copyright "James Dooley";
declare license "MIT";
declare options "[osc:on]";
import("stdfaust.lib");
fx = library("ffx.lib");
fs = library("fsynth.lib");
volume = _ : *(vol)
with{
vol = hslider("volume",0,0,1,0.01) : si.smoo;
};
mute = hslider("mute",0,0,1,1) : 1-(_) : si.smoo;
process(mod,env) = fs.synth(mod) : fx.fx : *(env : fx.envelopefollower) : volume <: fx.panner <: *(mute),*(mute),_,_;
|
c8dce5d180aa9b6c8ecfddc5441bb810e34c2fb2fafb6496511c9a12b7ee63ed | sebastien-clara/panoplie | toneStackCrunch.dsp | declare name "Tonestack Emulation Crunch";
declare author "Guitarix";
declare description "Crunch Hughes & Kettner";
import("stdfaust.lib");
process = component("tonestacks.lib").crunch(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackCrunch%7E.mxo/toneStackCrunch.dsp | faust | declare name "Tonestack Emulation Crunch";
declare author "Guitarix";
declare description "Crunch Hughes & Kettner";
import("stdfaust.lib");
process = component("tonestacks.lib").crunch(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
48ede72a72d6cccc450bc7f433520cfee0a6c53b5dc3c40935855793850be2da | sebastien-clara/panoplie | toneStackSoldano.dsp | declare name "Tonestack Emulation Soldano";
declare author "Guitarix";
declare description "Soldano SLO 100";
import("stdfaust.lib");
process = component("tonestacks.lib").soldano(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackSoldano%7E.mxo/toneStackSoldano.dsp | faust | declare name "Tonestack Emulation Soldano";
declare author "Guitarix";
declare description "Soldano SLO 100";
import("stdfaust.lib");
process = component("tonestacks.lib").soldano(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
6785f4640d53e1597f0f4d03109fda969f5290659f4cf18a1d86d209de1e8d7f | sebastien-clara/panoplie | toneStackRoland.dsp | declare name "Tonestack Emulation Roland";
declare author "Guitarix";
declare description "Roland Cube 60";
import("stdfaust.lib");
process = component("tonestacks.lib").roland(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackRoland%7E.mxo/toneStackRoland.dsp | faust | declare name "Tonestack Emulation Roland";
declare author "Guitarix";
declare description "Roland Cube 60";
import("stdfaust.lib");
process = component("tonestacks.lib").roland(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
ef5190e03ad1e966106b08635f954128e7311202cff0a0d4dda3c0d99bcd08fa | sebastien-clara/panoplie | toneStackGroove.dsp | declare name "Tonestack Emulation Groove";
declare author "Guitarix";
declare description "Groove Trio Preamp";
import("stdfaust.lib");
process = component("tonestacks.lib").groove(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackGroove%7E.mxo/toneStackGroove.dsp | faust | declare name "Tonestack Emulation Groove";
declare author "Guitarix";
declare description "Groove Trio Preamp";
import("stdfaust.lib");
process = component("tonestacks.lib").groove(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
bb58a2844179647a35559a7de41f77632bc39b1df96f85ae425cf982e4adcde7 | sebastien-clara/panoplie | toneStackAmpeg.dsp | declare name "Tonestack Emulation Ampeg";
declare author "Guitarix";
declare description "Ampeg VL 501";
import("stdfaust.lib");
process = component("tonestacks.lib").ampeg(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackAmpeg%7E.mxo/toneStackAmpeg.dsp | faust | declare name "Tonestack Emulation Ampeg";
declare author "Guitarix";
declare description "Ampeg VL 501";
import("stdfaust.lib");
process = component("tonestacks.lib").ampeg(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
d589a7bdea721d12b80956f3581d3fffd168fe72ec4440525c9cd3d85884694b | sebastien-clara/panoplie | toneStackSovtek.dsp | declare name "Tonestack Emulation Sovtek";
declare author "Guitarix";
declare description "Sovtek MIG 100 H";
import("stdfaust.lib");
process = component("tonestacks.lib").sovtek(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackSovtek%7E.mxo/toneStackSovtek.dsp | faust | declare name "Tonestack Emulation Sovtek";
declare author "Guitarix";
declare description "Sovtek MIG 100 H";
import("stdfaust.lib");
process = component("tonestacks.lib").sovtek(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
fff4ea34aaedeb970f20342a5e406470080be1d32b7400622e43db15ab80f9eb | sebastien-clara/panoplie | toneStackGibsen.dsp | declare name "Tonestack Emulation Gibsen";
declare author "Guitarix";
declare description "Gibsen gs12 reverbrocket";
import("stdfaust.lib");
process = component("tonestacks.lib").gibsen(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackGibsen%7E.mxo/toneStackGibsen.dsp | faust | declare name "Tonestack Emulation Gibsen";
declare author "Guitarix";
declare description "Gibsen gs12 reverbrocket";
import("stdfaust.lib");
process = component("tonestacks.lib").gibsen(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
033a03b2077cc344762ceabb5a2ec3ddb85c8dea96d0cabde0dbdaca679a8b3b | sebastien-clara/panoplie | toneStackAmpegRev.dsp | declare name "Tonestack Emulation Ampeg Rev";
declare author "Guitarix";
declare description "Ampeg reverbrocket";
import("stdfaust.lib");
process = component("tonestacks.lib").ampeg_rev(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackAmpegRev%7E.mxo/toneStackAmpegRev.dsp | faust | declare name "Tonestack Emulation Ampeg Rev";
declare author "Guitarix";
declare description "Ampeg reverbrocket";
import("stdfaust.lib");
process = component("tonestacks.lib").ampeg_rev(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
dac70cea001e66c50f026a788722b9a84182f845d58979666d1b32134eefc2df | sebastien-clara/panoplie | toneStackFenderBlues.dsp | declare name "Tonestack Emulation Fender Blues";
declare author "Guitarix";
declare description "Fender Blues Junior";
import("stdfaust.lib");
process = component("tonestacks.lib").crunch(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackFenderBlues%7E.mxo/toneStackFenderBlues.dsp | faust | declare name "Tonestack Emulation Fender Blues";
declare author "Guitarix";
declare description "Fender Blues Junior";
import("stdfaust.lib");
process = component("tonestacks.lib").crunch(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
7d002598c46d34b0330fa87baa4495b01653fa5123861e9d5ffe0f0026c79614 | sebastien-clara/panoplie | toneStackBogner.dsp | declare name "Tonestack Emulation Bogner";
declare author "Guitarix";
declare description "Bogner Triple Giant Preamp";
import("stdfaust.lib");
process = component("tonestacks.lib").bogner(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackBogner%7E.mxo/toneStackBogner.dsp | faust | declare name "Tonestack Emulation Bogner";
declare author "Guitarix";
declare description "Bogner Triple Giant Preamp";
import("stdfaust.lib");
process = component("tonestacks.lib").bogner(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
954027ea377f8a243ee3f944432eed3a08ffdca2efec4272cc910c844daaf869 | sebastien-clara/panoplie | toneStackFenderBassman.dsp | declare name "Tonestack Emulation Fender Bassman";
declare author "Guitarix";
declare description "Fender 59 Bassman 5F6-A";
import("stdfaust.lib");
process = component("tonestacks.lib").bassman(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackFenderBassman%7E.mxo/toneStackFenderBassman.dsp | faust | declare name "Tonestack Emulation Fender Bassman";
declare author "Guitarix";
declare description "Fender 59 Bassman 5F6-A";
import("stdfaust.lib");
process = component("tonestacks.lib").bassman(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
44fd1ebca5e98c2fe3fb07056fac5504e29f2d7953f8ee48b3ec8fb108c71197 | sebastien-clara/panoplie | toneStackVoxAc15.dsp | declare name "Tonestack Emulation Vox AC-15";
declare author "Guitarix";
declare description "VOX AC-15";
import("stdfaust.lib");
process = component("tonestacks.lib").ac15(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackVoxAc15%7E.mxo/toneStackVoxAc15.dsp | faust | declare name "Tonestack Emulation Vox AC-15";
declare author "Guitarix";
declare description "VOX AC-15";
import("stdfaust.lib");
process = component("tonestacks.lib").ac15(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
e197586faed395cafceeb069556e180d8b784c48aefde006a9df3e0ff96728ff | sebastien-clara/panoplie | toneStackMarshallJtm45.dsp | declare name "Tonestack Emulation Marshall JTM 45";
declare author "Guitarix";
declare description "Marshall JTM 45";
import("stdfaust.lib");
process = component("tonestacks.lib").jtm45(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackMarshallJtm45%7E.mxo/toneStackMarshallJtm45.dsp | faust | declare name "Tonestack Emulation Marshall JTM 45";
declare author "Guitarix";
declare description "Marshall JTM 45";
import("stdfaust.lib");
process = component("tonestacks.lib").jtm45(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
72c23664cdcc27b8606e1f86ebaaae4604da78b959f40505af32af16700f252e | sebastien-clara/panoplie | toneStackFenderPrinceton.dsp | declare name "Tonestack Emulation Fender Princeton";
declare author "Guitarix";
declare description "Fender 64 Princeton AA1164";
import("stdfaust.lib");
process = component("tonestacks.lib").princeton(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackFenderPrinceton%7E.mxo/toneStackFenderPrinceton.dsp | faust | declare name "Tonestack Emulation Fender Princeton";
declare author "Guitarix";
declare description "Fender 64 Princeton AA1164";
import("stdfaust.lib");
process = component("tonestacks.lib").princeton(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
99ac4a3b14524df0395100a7a6382479b119a58b8379d81c3ca3264ac37b0856 | sebastien-clara/panoplie | toneStackMesaBoogie.dsp | declare name "Tonestack Emulation Mesa Boogie";
declare author "Guitarix";
declare description "Fender Mesa Boogie Mark";
import("stdfaust.lib");
process = component("tonestacks.lib").mesa(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackMesaBoogie%7E.mxo/toneStackMesaBoogie.dsp | faust | declare name "Tonestack Emulation Mesa Boogie";
declare author "Guitarix";
declare description "Fender Mesa Boogie Mark";
import("stdfaust.lib");
process = component("tonestacks.lib").mesa(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
af2335807da1f390b4aa82ac5060acf9d73da00fd24dba904b2cb8bafdb099e3 | sebastien-clara/panoplie | toneStackFenderTwin.dsp | declare name "Tonestack Emulation Fender Twin";
declare author "Guitarix";
declare description "Fender 69 Twin Reverb AA270";
import("stdfaust.lib");
process = component("tonestacks.lib").twin(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackFenderTwin%7E.mxo/toneStackFenderTwin.dsp | faust | declare name "Tonestack Emulation Fender Twin";
declare author "Guitarix";
declare description "Fender 69 Twin Reverb AA270";
import("stdfaust.lib");
process = component("tonestacks.lib").twin(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
50ec7ef99dd09cee1cc63b8da17feff264433bccd81c055e6e509d73ff0e1931 | sebastien-clara/panoplie | toneStackFenderDeville.dsp | declare name "Tonestack Emulation Fender Deville";
declare author "Guitarix";
declare description "Fender Deville Hot Rod";
import("stdfaust.lib");
process = component("tonestacks.lib").fender_deville(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackFenderDeville%7E.mxo/toneStackFenderDeville.dsp | faust | declare name "Tonestack Emulation Fender Deville";
declare author "Guitarix";
declare description "Fender Deville Hot Rod";
import("stdfaust.lib");
process = component("tonestacks.lib").fender_deville(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
1250165dd711f17036d3c5f6a632c4178584df7000ea857100e6842ea40528af | sebastien-clara/panoplie | toneStackVoxAc30.dsp | declare name "Tonestack Emulation Vox AC-30";
declare author "Guitarix";
declare description "Vox 59/86 AC-30";
import("stdfaust.lib");
process = component("tonestacks.lib").ac30(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackVoxAc30%7E.mxo/toneStackVoxAc30.dsp | faust | declare name "Tonestack Emulation Vox AC-30";
declare author "Guitarix";
declare description "Vox 59/86 AC-30";
import("stdfaust.lib");
process = component("tonestacks.lib").ac30(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
5c5cb02b152c5268b7a572d36a58c41b011bc99b1cccbcd0a351fd50591e5bf7 | sebastien-clara/panoplie | toneStackMarshallJcm2000.dsp | declare name "Tonestack Emulation Marshall JCM-2000";
declare author "Guitarix";
declare description "Marshall JCM 2000 / TSL 100";
import("stdfaust.lib");
process = component("tonestacks.lib").jcm2000(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackMarshallJcm2000%7E.mxo/toneStackMarshallJcm2000.dsp | faust | declare name "Tonestack Emulation Marshall JCM-2000";
declare author "Guitarix";
declare description "Marshall JCM 2000 / TSL 100";
import("stdfaust.lib");
process = component("tonestacks.lib").jcm2000(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
bab28880b7a4a408783393f74244859fe7fd5222c71a9bca5105ad4601a2ecfe | sebastien-clara/panoplie | toneStackMarshallMlead.dsp | declare name "Tonestack Emulation Marshall M-lead";
declare author "Guitarix";
declare description "Marshall 67 Major Lead 200";
import("stdfaust.lib");
process = component("tonestacks.lib").mlead(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackMarshallMlead%7E.mxo/toneStackMarshallMlead.dsp | faust | declare name "Tonestack Emulation Marshall M-lead";
declare author "Guitarix";
declare description "Marshall 67 Major Lead 200";
import("stdfaust.lib");
process = component("tonestacks.lib").mlead(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
7eb1b0eb11bc34af4de62e829ee40b3a7f123b2c68e4cd45e5c16b4f41c8ff52 | grame-cncm/GameLAN | Baliphone.dsp | declare name "Baliphone";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
import ("stdfaust.lib");
// 4 gamelans :
process = par(i, 4, (multi(i):> _* (select_gamelan == i))) :> bali_reverb * on_off <: limiter : _,_;
on_off = checkbox("[0]ON / OFF");
select_gamelan = hslider("[1]Gamelans[style:radio{'1':0;'2':1;'3':2;'4':3}]", 0, 0, 3, 1);
// 3 notes per gamelan :
multi(N) = par(i, 2, play(gamelan(N), i, i,(pitch == i)) * (0.666));
pitch = hslider("[3]Note [hidden: 1][acc:0 0 -10 0 10]", 1, 0, 2, 0.01) : rint/2;
gamelan(0) = soundfile("Gamelan_1 [url:{'Gamelan_1_1_C_gauche.flac'; 'Gamelan_3_2_Eb_gauche.flac'}]", 1);
gamelan(1) = soundfile("Gamelan_2 [url:{'Gamelan_2_1_D_center.flac';'Gamelan_4_1_G_droite.flac'}]", 1);
gamelan(2) = soundfile("Gamelan_3 [url:{'Gamelan_5_2_Ab_center.flac';'Gamelan_7_2_D_droite.flac'}]", 1);
gamelan(3) = soundfile("Gamelan_4 [url:{'Gamelan_6_3_C_gauche.flac'; 'Gamelan_8_3_Eb_center.flac'}]", 1);
//--------------- Player ---------------//
file_index = 0;
trigger(n,p) = hslider("[2]Trigger [hidden: 1][acc:1 0 -10 0 10]", 0.5, 0, 1, 0.1) * (p);
upfront(x) = (x-x')>0.99;
counter(sampleSize,n,p) = trigger(n,p) : upfront : decrease > (0.0) with{ //trig impulse to launch stream of 1
decay(y) = y - (y>0.0)/sampleSize;
decrease = +~decay;
};
index(sampleSize,n,p) = +(counter(sampleSize,n,p))~_ * (1 - (trigger(n,p) : upfront)) : int; //increment loop with reinit to 0 through reversed impulse (trig : upfront)
play(s, part,n,p) = (part, reader(s,n,p)) : outs(s)
with {
length(s) = part,0 : s : _,si.block(outputs(s)-1);
srate(s) = part,0 : s : !,_,si.block(outputs(s)-2);
outs(s) = s : si.block(2), si.bus(outputs(s)-2);
reader(s,n,p) = index(length(s),n,p);
};
//----------------- Limiter --------------//
limiter(x,y) = x*coeff,y*coeff
with {
epsilon = 1/(44100*1.0);
peak = max(abs(x),abs(y)) : max ~ -(epsilon);
coeff = 1.0/max(1.0,peak);
};
//----------------- Reverb --------------//
bali_reverb = _<: instrReverb :>_;
instrReverb = _,_ <: *(reverbGain),*(reverbGain),*(1 - reverbGain),*(1 - reverbGain) :
re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ <: _,!,_,!,!,_,!,_ : +,+
with {
reverbGain = 1;
roomSize = 0.7;
rdel = 20;
f1 = 200;
f2 = 6000;
t60dc = roomSize*3;
t60m = roomSize*2;
fsmax = 48000;
};
| https://raw.githubusercontent.com/grame-cncm/GameLAN/8d1dc26d709d721d27ec1156fbb66b03478f2529/baliphone/Baliphone.dsp | faust | 4 gamelans :
3 notes per gamelan :
--------------- Player ---------------//
trig impulse to launch stream of 1
increment loop with reinit to 0 through reversed impulse (trig : upfront)
----------------- Limiter --------------//
----------------- Reverb --------------// | declare name "Baliphone";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
import ("stdfaust.lib");
process = par(i, 4, (multi(i):> _* (select_gamelan == i))) :> bali_reverb * on_off <: limiter : _,_;
on_off = checkbox("[0]ON / OFF");
select_gamelan = hslider("[1]Gamelans[style:radio{'1':0;'2':1;'3':2;'4':3}]", 0, 0, 3, 1);
multi(N) = par(i, 2, play(gamelan(N), i, i,(pitch == i)) * (0.666));
pitch = hslider("[3]Note [hidden: 1][acc:0 0 -10 0 10]", 1, 0, 2, 0.01) : rint/2;
gamelan(0) = soundfile("Gamelan_1 [url:{'Gamelan_1_1_C_gauche.flac'; 'Gamelan_3_2_Eb_gauche.flac'}]", 1);
gamelan(1) = soundfile("Gamelan_2 [url:{'Gamelan_2_1_D_center.flac';'Gamelan_4_1_G_droite.flac'}]", 1);
gamelan(2) = soundfile("Gamelan_3 [url:{'Gamelan_5_2_Ab_center.flac';'Gamelan_7_2_D_droite.flac'}]", 1);
gamelan(3) = soundfile("Gamelan_4 [url:{'Gamelan_6_3_C_gauche.flac'; 'Gamelan_8_3_Eb_center.flac'}]", 1);
file_index = 0;
trigger(n,p) = hslider("[2]Trigger [hidden: 1][acc:1 0 -10 0 10]", 0.5, 0, 1, 0.1) * (p);
upfront(x) = (x-x')>0.99;
decay(y) = y - (y>0.0)/sampleSize;
decrease = +~decay;
};
play(s, part,n,p) = (part, reader(s,n,p)) : outs(s)
with {
length(s) = part,0 : s : _,si.block(outputs(s)-1);
srate(s) = part,0 : s : !,_,si.block(outputs(s)-2);
outs(s) = s : si.block(2), si.bus(outputs(s)-2);
reader(s,n,p) = index(length(s),n,p);
};
limiter(x,y) = x*coeff,y*coeff
with {
epsilon = 1/(44100*1.0);
peak = max(abs(x),abs(y)) : max ~ -(epsilon);
coeff = 1.0/max(1.0,peak);
};
bali_reverb = _<: instrReverb :>_;
instrReverb = _,_ <: *(reverbGain),*(reverbGain),*(1 - reverbGain),*(1 - reverbGain) :
re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ <: _,!,_,!,!,_,!,_ : +,+
with {
reverbGain = 1;
roomSize = 0.7;
rdel = 20;
f1 = 200;
f2 = 6000;
t60dc = roomSize*3;
t60m = roomSize*2;
fsmax = 48000;
};
|
b794487dcf0642647002c9cc732223e701b4415c8940afea0d4bafc5ff592851 | grame-cncm/GameLAN | Attackey_no_interpolation.dsp | import("stdfaust.lib");
declare nvoices "12";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
// Specific syntax for faust2android, [style:keyboard] doesn't exist in iOS
process = vgroup("AttacKey [style:keyboard]", instru);
freq = hslider("freq", 349.23, 261.63, 783.99, 0.001);
gain = hslider("gain",0.5,0,1,0.01);
gate = button("gate");
instru = play(noteOn, instrument) * envelope * volume : attackey_reverb * 0.5 <:_,_;
envelope = en.adsr(0.01,0.01,0.9,0.1,gate)*gain;
instrument = hslider("Instruments[style:radio{'1':0;'2':1;'3':2;'4':3;'5':4}]", 0, 0, 4, 1);
volume = hslider("Volume [acc: 0 0 -8 0 0]", 1, 0, 1, 0.001):si.smoo;
noteOn = soundfile("Bell [url:{'Piano_F.flac';'Ether_F.flac';'Bell_F.flac';'Saw_F.flac';'Vibraphone_F.flac'}]", 1);
//--------------- Player ---------------//
trigger = gate;
upfront(x) = (x-x')>0.99;
//trig impulse to launch stream of 1 :
counter(sampleSize) = trigger : upfront : decrease > (0.0) with{
decay(y) = y - (y>0.0)/sampleSize;
decrease = +~decay;
};
speed = freq/(349.23*2); //reference pitch = F * 2 (midi keyboard plays one octave higher)
play(s, part) = (part, reader(s)) : outs(s)
with {
length(s) = part,0 : s : _,si.block(outputs(s)-1);
srate(s) = part,0 : s : !,_,si.block(outputs(s)-2);
outs(s) = s : si.block(2), si.bus(outputs(s)-2);
index(sampleSize) = +(speed*(float(srate(s)/ma.SR)*(counter(sampleSize))))~_ * (1 - (trigger : upfront)) : int; //increment loop with reinit to 0 through reversed impulse (trig : upfront)
reader(s) = index(length(s));
};
// -------------------- Reverb ------------------- //
attackey_reverb = _<: instrReverb :>_;
instrReverb = _,_ <: *(reverbGain),*(reverbGain),*(1 - reverbGain),*(1 - reverbGain) :
re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ <: _,!,_,!,!,_,!,_ : +,+
with {
reverbGain = 1;
roomSize = 2;
rdel = 20;
f1 = 200;
f2 = 6000;
t60dc = roomSize*3;
t60m = roomSize*2;
fsmax = 48000;
};
| https://raw.githubusercontent.com/grame-cncm/GameLAN/8d1dc26d709d721d27ec1156fbb66b03478f2529/attacKey/Attackey_no_interpolation.dsp | faust | Specific syntax for faust2android, [style:keyboard] doesn't exist in iOS
--------------- Player ---------------//
trig impulse to launch stream of 1 :
reference pitch = F * 2 (midi keyboard plays one octave higher)
increment loop with reinit to 0 through reversed impulse (trig : upfront)
-------------------- Reverb ------------------- // | import("stdfaust.lib");
declare nvoices "12";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
process = vgroup("AttacKey [style:keyboard]", instru);
freq = hslider("freq", 349.23, 261.63, 783.99, 0.001);
gain = hslider("gain",0.5,0,1,0.01);
gate = button("gate");
instru = play(noteOn, instrument) * envelope * volume : attackey_reverb * 0.5 <:_,_;
envelope = en.adsr(0.01,0.01,0.9,0.1,gate)*gain;
instrument = hslider("Instruments[style:radio{'1':0;'2':1;'3':2;'4':3;'5':4}]", 0, 0, 4, 1);
volume = hslider("Volume [acc: 0 0 -8 0 0]", 1, 0, 1, 0.001):si.smoo;
noteOn = soundfile("Bell [url:{'Piano_F.flac';'Ether_F.flac';'Bell_F.flac';'Saw_F.flac';'Vibraphone_F.flac'}]", 1);
trigger = gate;
upfront(x) = (x-x')>0.99;
counter(sampleSize) = trigger : upfront : decrease > (0.0) with{
decay(y) = y - (y>0.0)/sampleSize;
decrease = +~decay;
};
play(s, part) = (part, reader(s)) : outs(s)
with {
length(s) = part,0 : s : _,si.block(outputs(s)-1);
srate(s) = part,0 : s : !,_,si.block(outputs(s)-2);
outs(s) = s : si.block(2), si.bus(outputs(s)-2);
reader(s) = index(length(s));
};
attackey_reverb = _<: instrReverb :>_;
instrReverb = _,_ <: *(reverbGain),*(reverbGain),*(1 - reverbGain),*(1 - reverbGain) :
re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ <: _,!,_,!,!,_,!,_ : +,+
with {
reverbGain = 1;
roomSize = 2;
rdel = 20;
f1 = 200;
f2 = 6000;
t60dc = roomSize*3;
t60m = roomSize*2;
fsmax = 48000;
};
|
0ec510fa4aff0ba4dff92f83e45e04d65db65e22c9f4b4e9fea25eedd9ca1e30 | sebastien-clara/panoplie | toneStackMarshallM2199.dsp | declare name "Tonestack Emulation Marshall M-2199";
declare author "Guitarix";
declare description "Marshall undated M2199 30W solid state";
import("stdfaust.lib");
process = component("tonestacks.lib").m2199(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackMarshallM2199%7E.mxo/toneStackMarshallM2199.dsp | faust | declare name "Tonestack Emulation Marshall M-2199";
declare author "Guitarix";
declare description "Marshall undated M2199 30W solid state";
import("stdfaust.lib");
process = component("tonestacks.lib").m2199(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
9ed892cfea3c374be4e6e1505e5ec65e846b674652e88505a075aff98293fe02 | DISTRHO/elements-template-plugin | korg35lpf.dsp | declare name "Korg35LPF";
declare description "FAUST Korg 35 24 dB LPF";
declare author "Christopher Arndt";
declare license "MIT"; // MIT-style STK-4.3 license
import("stdfaust.lib");
//===================================Korg 35 Filters======================================
// The following filters are virtual analog models of the Korg 35 low-pass
// filter and high-pass filter found in the MS-10 and MS-20 synthesizers.
// The virtual analog models for the LPF and HPF are different, making these
// filters more interesting than simply tapping different states of the same
// circuit.
//
// These filters were implemented in Faust by Eric Tarr during the
// [2019 Embedded DSP With Faust Workshop](https://ccrma.stanford.edu/workshops/faust-embedded-19/).
//
// Modified by Christopher Arndt to change the cutoff frequency param
// to be given in Hertz instead of normalized 0.0 - 1.0.
//
// #### Filter history:
//
// <https://secretlifeofsynthesizers.com/the-korg-35-filter/>
//========================================================================================
//------------------`korg35LPF`-----------------
// Virtual analog models of the Korg 35 low-pass filter found in the MS-10 and
// MS-20 synthesizers.
//
// #### Usage
//
// ```
// _ : korg35LPF(normFreq,Q) : _
// ```
//
// Where:
//
// * `freq`: cutoff frequency (20-20000 Hz)
// * `Q`: q (0.5 - 10.0)
//---------------------------------------------------------------------
declare korg35LPF author "Eric Tarr";
declare korg35LPF license "MIT-style STK-4.3 license";
korg35LPF(freq,Q) = _ <: (s1,s2,s3,y) : !,!,!,_
letrec{
's1 = _-s1:_*(alpha*2):_+s1;
's2 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*alpha:_+s3:_*K:_-s2:_*(alpha*2):_+s2;
's3 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*(alpha*2):_+s3;
'y = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2) :_*alpha0:_-s3:_*alpha:_+s3;
}
with{
// freq = 2*(10^(3*normFreq+1));
K = 2.0*(Q - 0.707)/(10.0 - 0.707);
wd = 2*ma.PI*freq;
T = 1/ma.SR;
wa = (2/T)*tan(wd*T/2);
g = wa*T/2;
G = g/(1.0 + g);
alpha = G;
B3 = (K - K*G)/(1 + g);
B2 = -1/(1 + g);
alpha0 = 1/(1 - K*G + K*G*G);
};
q = hslider("[1]Q[symbol: q][abbrev: q][style:knob]", 1.0, 0.5, 10.0, 0.01);
cutoff = hslider("[0]Cutoff frequency[symbol: cutoff][abbrev: cutoff][unit: hz][scale: log][style: knob]", 20000.0, 20.0, 20000, 0.1):si.smoo;
process = korg35LPF(cutoff, q);
| https://raw.githubusercontent.com/DISTRHO/elements-template-plugin/c4129072d9188a8d5c1ecd8a47bb51d1fb75b8b3/src/korg35lpf.dsp | faust | MIT-style STK-4.3 license
===================================Korg 35 Filters======================================
The following filters are virtual analog models of the Korg 35 low-pass
filter and high-pass filter found in the MS-10 and MS-20 synthesizers.
The virtual analog models for the LPF and HPF are different, making these
filters more interesting than simply tapping different states of the same
circuit.
These filters were implemented in Faust by Eric Tarr during the
[2019 Embedded DSP With Faust Workshop](https://ccrma.stanford.edu/workshops/faust-embedded-19/).
Modified by Christopher Arndt to change the cutoff frequency param
to be given in Hertz instead of normalized 0.0 - 1.0.
#### Filter history:
<https://secretlifeofsynthesizers.com/the-korg-35-filter/>
========================================================================================
------------------`korg35LPF`-----------------
Virtual analog models of the Korg 35 low-pass filter found in the MS-10 and
MS-20 synthesizers.
#### Usage
```
_ : korg35LPF(normFreq,Q) : _
```
Where:
* `freq`: cutoff frequency (20-20000 Hz)
* `Q`: q (0.5 - 10.0)
---------------------------------------------------------------------
freq = 2*(10^(3*normFreq+1)); | declare name "Korg35LPF";
declare description "FAUST Korg 35 24 dB LPF";
declare author "Christopher Arndt";
import("stdfaust.lib");
declare korg35LPF author "Eric Tarr";
declare korg35LPF license "MIT-style STK-4.3 license";
korg35LPF(freq,Q) = _ <: (s1,s2,s3,y) : !,!,!,_
letrec{
's1 = _-s1:_*(alpha*2):_+s1;
's2 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*alpha:_+s3:_*K:_-s2:_*(alpha*2):_+s2;
's3 = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2):_*alpha0:_-s3:_*(alpha*2):_+s3;
'y = _-s1:_*alpha:_+s1:_+(s3*B3):_+(s2*B2) :_*alpha0:_-s3:_*alpha:_+s3;
}
with{
K = 2.0*(Q - 0.707)/(10.0 - 0.707);
wd = 2*ma.PI*freq;
T = 1/ma.SR;
wa = (2/T)*tan(wd*T/2);
g = wa*T/2;
G = g/(1.0 + g);
alpha = G;
B3 = (K - K*G)/(1 + g);
B2 = -1/(1 + g);
alpha0 = 1/(1 - K*G + K*G*G);
};
q = hslider("[1]Q[symbol: q][abbrev: q][style:knob]", 1.0, 0.5, 10.0, 0.01);
cutoff = hslider("[0]Cutoff frequency[symbol: cutoff][abbrev: cutoff][unit: hz][scale: log][style: knob]", 20000.0, 20.0, 20000, 0.1):si.smoo;
process = korg35LPF(cutoff, q);
|
b7f7cfda4dcbef829b10e7d7f8deaf5299873ec6751c47e9ae9de41db6dd7348 | sebastien-clara/panoplie | toneStackMarshallJcm800.dsp | declare name "Tonestack Emulation Marshall JCM-800";
declare author "Guitarix";
declare description "Marshall 59/81 JCM-800 Lead 100 2203";
import("stdfaust.lib");
process = component("tonestacks.lib").jcm800(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
| https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/toneStackMarshallJcm800%7E.mxo/toneStackMarshallJcm800.dsp | faust | declare name "Tonestack Emulation Marshall JCM-800";
declare author "Guitarix";
declare description "Marshall 59/81 JCM-800 Lead 100 2203";
import("stdfaust.lib");
process = component("tonestacks.lib").jcm800(t,m,l)
with {
t = vslider("Treble ", 0.5, 0, 1, 0.01);
m = vslider("Middle ", 0.5, 0, 1, 0.01);
l = vslider("Bass ", 0.5, 0, 1, 0.01);
};
|
|
e98a0a4d5cfbd9329fb3d8e63c9d9889f8221f68d09322ecfb75962e2b22ca93 | s-e-a-m/faust-libraries | XY180pan_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
//radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad;
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : xy180 <: _,_,ndif;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/XY180pan_plot.dsp | faust | radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad; | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : xy180 <: _,_,ndif;
|
28f73a696bb650eaf5195551c1ba1fd0402ce77ef0d68bbc6962b22fb2087341 | s-e-a-m/faust-libraries | mspanlr_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
//radsweep = (os.lf_trianglepos(1)*120)-60 : deg2rad; //
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,0,radsweep : mspan_lr;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/mspanlr_plot.dsp | faust | radsweep = (os.lf_trianglepos(1)*120)-60 : deg2rad; // | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,0,radsweep : mspan_lr;
|
3ce9338f8daa9d503d1a283915ff56573ae8007d5232f726a68668d302548c7e | s-e-a-m/faust-libraries | uhj2bfmt.dsp | declare name "MICHAEL GERZON UHJ TO BFORMAT DECODER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON UHJ TO BFORMAT DECODER";
import("stdfaust.lib");
import("../seam.lib");
uhj2bfmt(L,R,T,Q) = W,X,Y,Z
with{
S = (L+R)/2;
D = (L-R)/2;
j = fi.pospass(128, 35) : *(2), !;
W = (0.982*S) + j(0.197*((0.828*D)+(0.768*T)));
X = (0.419*S) - j(0.828*(D+(0.768*T)));
Y = j(0.187*S) + ((0.796*D)-(0.676*T));
Z = 1.023 * Q;
};
process = uhj2bfmt;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/uhj2bfmt.dsp | faust | declare name "MICHAEL GERZON UHJ TO BFORMAT DECODER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON UHJ TO BFORMAT DECODER";
import("stdfaust.lib");
import("../seam.lib");
uhj2bfmt(L,R,T,Q) = W,X,Y,Z
with{
S = (L+R)/2;
D = (L-R)/2;
j = fi.pospass(128, 35) : *(2), !;
W = (0.982*S) + j(0.197*((0.828*D)+(0.768*T)));
X = (0.419*S) - j(0.828*(D+(0.768*T)));
Y = j(0.187*S) + ((0.796*D)-(0.676*T));
Z = 1.023 * Q;
};
process = uhj2bfmt;
|
|
f335c9daf4ac74c2905dd1cacce8d5d43d32384e35239fbb4ea83fa2b70b7216 | s-e-a-m/faust-libraries | XY120pan_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
//radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad;
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : xy120 <: _,_,nsum;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/XY120pan_plot.dsp | faust | radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad; | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : xy120 <: _,_,nsum;
|
f3d4d40a2b08192465a7d6f12f18c6f71b19aced0c3e2a108c720f3fb70e6bc4 | s-e-a-m/faust-libraries | crcppan_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad;
//radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : crcppan <: _,_,+ : _,_,*(0.707);
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/crcppan_plot.dsp | faust | radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad; | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad;
process = 1,radsweep : crcppan <: _,_,+ : _,_,*(0.707);
|
c2bd795652438c698efddd05899040891b8225e0e512352a904fbd8c114e411e | s-e-a-m/faust-libraries | mspanlrfb_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,0.5,(radsweep <:_,_) : (+,_,_ : mspan_lr)~*(1), _/ma.PI;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/mspanlrfb_plot.dsp | faust | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,0.5,(radsweep <:_,_) : (+,_,_ : mspan_lr)~*(1), _/ma.PI;
|
|
b1bd970001cac4ddce383a13d6cddaf74eaa9a482df67906e3e06d03ba7f865f | s-e-a-m/faust-libraries | lrpanfb_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
import("stdfaust.lib");
import("../../seam.lib");
pot = os.lf_trianglepos(1);// : 1-(_);
process = 1, pot : (+,_ : lrpanq)~*(1), (pot*350);
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/lrpanfb_plot.dsp | faust | : 1-(_); | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER - LEFT CHANNEL IN FEEDBACK";
import("stdfaust.lib");
import("../../seam.lib");
process = 1, pot : (+,_ : lrpanq)~*(1), (pot*350);
|
38f0859762ad5c8f947362167c4347a08dd07282f820ff192859e0fa44844f35 | s-e-a-m/faust-libraries | blumleinpan_plot.dsp | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
//radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad;
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : blumlein <: _,_,nsum;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/blumleinpan_plot.dsp | faust | radsweep = (os.lf_trianglepos(1)*90)-45 : deg2rad; | declare name "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MID SIDE PANNER - LEFT RIGHT LOUDSPEAKER";
import("stdfaust.lib");
import("../../seam.lib");
radsweep = (os.lf_trianglepos(1)*360)-180 : deg2rad;
process = 1,radsweep : blumlein <: _,_,nsum;
|
7c8a3e28e89997b075a83997d1f2b9733425818c7f36894f8b1500a81ce1bd2c | s-e-a-m/faust-libraries | bdmodule.dsp | declare name "MICHAEL GERZON BFORMAT TO PLANAR QUADRAPHONIC";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON BFORMAT TO PLANAR QUADRAPHONIC";
import("stdfaust.lib");
import("../seam.lib");
bdmodule = shelf : bamodule
with{
shelf = fi.highshelf(2,1.76,350), fi.highshelf(2,-1.25,350), fi.highshelf(2,-1.25,350), *(0.0);
};
process = bdmodule;
| https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/bdmodule.dsp | faust | declare name "MICHAEL GERZON BFORMAT TO PLANAR QUADRAPHONIC";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON BFORMAT TO PLANAR QUADRAPHONIC";
import("stdfaust.lib");
import("../seam.lib");
bdmodule = shelf : bamodule
with{
shelf = fi.highshelf(2,1.76,350), fi.highshelf(2,-1.25,350), fi.highshelf(2,-1.25,350), *(0.0);
};
process = bdmodule;
|
Subsets and Splits