_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 |
|---|---|---|---|---|---|---|---|
dc03e0594c681885e7d4d0692afcd0510850649dccf475250d061d1fcf9c0b62 | Rickr922/Faust-FDS | dampedStringAutoRoute.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 5;
L = 0.1; // String length [m]
//nPoints=int(L/h);
k = 1/48000;//1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 150... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/dampedString/dampedStringAutoRoute.dsp | faust | --------------------------------Model Settings-----------------------------//
String length [m]
nPoints=int(L/h);
1/ma.SR;
Stability condition
Tension [N]
T = hslider("Tension",150,10,1000,0.1);
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness para... | import("stdfaust.lib");
nPoints = 5;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
nInputs = inputs(schemeMidPoint);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1... |
79506c62d8c73a0a880cc65b68bba52ac90d7cf4ccab682e7ca8118240f9ef64 | Rickr922/Faust-FDS | 2dWave.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
A = lambda*lambda;
B = 2*(1-2*lambda*lambda);
C = -1;
midCoeff = 0,A,0,
A,B,A,
0,A,0;
midCoeffDelay1 = 0... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/2dWave.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
----------------------------------Interpolation---------------------------------//
----... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
A = lambda*lambda;
B = 2*(1-2*lambda*lambda);
C = -1;
midCoeff = 0,A,0,
A,B,A,
0,A,0;
midCoeffDelay1 = 0,0,0,
0,C,0,
0,0,0;
r=1;
t=1;
coefficients =... |
60347fe4727dc8d7789629bc2e6901e8d3ddfb58736c6acabfe51d0716708da5 | Rickr922/Faust-FDS | ControllableNonPhysicalString.dsp | import("stdfaust.lib");
/*DISCLAMER:
This is a creative "non physical" finite difference scheme physical model
of a string, intended to show how changing the different physical
parameters has an impact on the sounding characteristics of the string.
I have to say that to make things physica... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ead5c05c0eced6ed111dcfd8eeea14d313f74ef6/library/CorrectExamples/ControllableNonPhysicalString.dsp | faust | DISCLAMER:
This is a creative "non physical" finite difference scheme physical model
of a string, intended to show how changing the different physical
parameters has an impact on the sounding characteristics of the string.
I have to say that to make things physically correct, the number of
... | import("stdfaust.lib");
declare name "ControllableNonPhysicalString";
declare description "Linear string model with controllable (non physical) parameters.";
declare author "Riccardo Russo";
nPoints = 100;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h = sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
... |
6ae2da798a26a18880f527f56ce9604144795bdb95ebce197aeb3243528ea2ef | Rickr922/Faust-FDS | thinPlateNewSchemePoint.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
K = 20;
s0 = 2;
s1 = 0.05;
c=344;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
nPointsX = 5;
nPointsY = 5;
lambda = c*k/h;
//----------------------------------Equations---... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/thinPlate/thinPlateNewSchemePoint.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
---------... | import("stdfaust.lib");
k = 1/ma.SR;
K = 20;
s0 = 2;
s1 = 0.05;
c=344;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
nPointsX = 5;
nPointsY = 5;
lambda = c*k/h;
mu=K*K*k*k/(h^4);
den = 1+s0*k;
A = 2*(1-10*mu-2*lambda*lambda-4*s1*k*k)/den;
B = (s0*k+4*k*k-1)/den;
C = (8*mu + lambda*lambda ... |
440a47e0068d79e20404d57b8a836b0dba31a72f5086528fd8ddb03a45d56a92 | Rickr922/Faust-FDS | stringDampedInOutSelector.dsp | import("stdfaust.lib");
/*Number of points: 19*/
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
nPoints = 19;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
//------------------------------------------Equations--------------------------
nSpatialDependency = 2; //n° of spatial side points needed by the updat... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDampedInOutSelector.dsp | faust | Number of points: 19
------------------------------------------Equations--------------------------
n° of spatial side points needed by the update eq
u_(l-1)=uSide_l, u_(l+1)=uSide_
----------------------------------------Controls-----------------------------
because every module has 2 outs, except
the boundaries-> -2
-... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
nPoints = 19;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
}<:par(i,nSpatialDependency,_);
stringDampFreePoint(fIn,uSide) = u
letr... |
ee9be7def3b4569a52f7e18fd94df0c6949f09f386a9e7e30f08256461910d11 | Rickr922/Faust-FDS | stringDampedNewRoute.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 150;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
c = 344;
//Stability condition
h = c*k;
s0 = 1000;
//----------------------------------Equations------------... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDampedNewRoute.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
Stability condition
----------------------------------Equations--------------------------------//
twice the number of side points (left + right)
n° of spatial side points needed by th... | import("stdfaust.lib");
nPoints = 150;
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
nPointInputs = inputs(stringDampMidPoint);
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
};
stringDampF... |
071a30ea8ca784765e1d2ab2766559ac0133e120c13ea393ea55e2021ca86c2e | Rickr922/Faust-FDS | thinPlate.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
K = 20;
s0 = 2;
s1 = 0.05;
c=344;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
nPointsX = 40;
nPointsY = 30;
lambda = c*k/h;
//----------------------------------Equations-... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/thinPlate/thinPlate.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Interpolation---------------------------------//
---... | import("stdfaust.lib");
k = 1/ma.SR;
K = 20;
s0 = 2;
s1 = 0.05;
c=344;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
nPointsX = 40;
nPointsY = 30;
lambda = c*k/h;
mu=K*K*k*k/(h^4);
den = 1+s0*k;
A = 2*(1-10*mu-2*lambda*lambda-4*s1*k*k)/den;
B = (s0*k+4*k*k-1)/den;
C = (8*mu + lambda*lambd... |
6c3b75e816a73d8dece83e4aadba0a9a7f36b0bb3271f1af2543a2c167990f81 | Rickr922/Faust-FDS | thinPlate.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
K = 20;
s0 = 2;
s1 = 0.05;
c=344;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
nPointsX = 10;
nPointsY = 10;
lambda = c*k/h;
//----------------------------------Equations-... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/thinPlate/thinPlate.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
---------... | import("stdfaust.lib");
k = 1/ma.SR;
K = 20;
s0 = 2;
s1 = 0.05;
c=344;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
nPointsX = 10;
nPointsY = 10;
lambda = c*k/h;
mu=K*K*k*k/(h^4);
den = 1+s0*k;
A = 2*(1-10*mu-2*lambda*lambda-4*s1*k*k)/den;
B = (s0*k+4*k*k-1)/den;
C = (8*mu + lambda*lambd... |
4c7691bd29d2950654b0045657374f100496476f405753fc46873c8130ef291b | Rickr922/Faust-FDS | 2dWaveBUG.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
alpha = lambda*lambda;
beta = 2*(1-2*lambda*lambda);
midCoeff = 0,alpha,0,
alpha,beta,alpha,
0,alpha,0;
... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/2dWaveBUG.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
nPoints = pointsX*pointsY;
nNeighbors = (2*R+1)^2;
coeffsLength = int(nNei... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
alpha = lambda*lambda;
beta = 2*(1-2*lambda*lambda);
midCoeff = 0,alpha,0,
alpha,beta,alpha,
0,alpha,0;
midCoeffDelay1 = 0,0,0,
0,-1,0,
0,0,0;
r=1;
t=1... |
8d51c859b44366b6964a1dfebff0fd41b0402b15be1d2d5a50a388fdeaa304b8 | Rickr922/Faust-FDS | stiffString.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 100;
L = 0.7; // String length [m]
//nPoints=int(L/h);
k = 1/48000;//1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 1... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/stiffString/stiffString.dsp | faust | --------------------------------Model Settings-----------------------------//
String length [m]
nPoints=int(L/h);
1/ma.SR;
Stability condition
Tension [N]
T = hslider("Tension",150,10,1000,0.1);
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness para... | import("stdfaust.lib");
nPoints = 100;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
nInputs = inputs(schemeMidPoint);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigm... |
b85cc2ea0cb42755ef51c2fab9b48404a504f2adcb303e6d82e95c74fe529e3a | Rickr922/Faust-FDS | stiffStringDampNofIn.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 200;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
//T =... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stiffStringDamp/stiffStringDampNofIn.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
Stability condition
T = 150; // Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
String length [m]
Young modulus [... | import("stdfaust.lib");
nPoints = 200;
modelType = 0;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = hslider("Tension",150,10,1000,0.1);
sigma0 = 0.0005;
nPointInputs = inputs(midPointEq);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h... |
ebe088fc51408982380d3e01c3022e09de9b8d4c2ae786e45a5b0b0730fc8cb3 | Rickr922/Faust-FDS | stiffStringDampNofIn_compilercrash.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 80;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
//T = ... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stiffStringDamp/stiffStringDampNofIn_compilercrash.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
Stability condition
T = 150; // Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
String length [m]
Young modulus [... | import("stdfaust.lib");
nPoints = 80;
modelType = 0;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = hslider("Tension",150,10,1000,0.1);
sigma0 = 0.0005;
nPointInputs = inputs(midPointEq);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^... |
be4526fa5a0988396f4b54811d1d954c34262c3e0ee6fd167c697181b506b133 | Rickr922/Faust-FDS | stiffStringDamp.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 6;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 75; // Te... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stiffStringDamp/stiffStringDamp.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
String length [m]
Young modulus [Pa]
Stiffness parameter
Wave speed
Frequency... | import("stdfaust.lib");
nPoints = 6;
modelType = 0;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.5;
nPointInputs = inputs(midPointEq);
sidePoints = spaceDep/2;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^... |
133c2bcc6989619a9029c02c643b80acf8788806b79ba191f5f919c642757fe4 | Rickr922/Faust-FDS | stringDampedInterp.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 10;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
//----------------------------------Equations--------------------------------//
n... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDampedInterp.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
----------------------------------Equations--------------------------------//
n° of spatial side points needed by the update eq
u_(l-1)=uSide_l,u_(l+1)=uSide_r
u_(l-1)=uSide_l,u_(l+1)... | import("stdfaust.lib");
nPoints = 10;
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
nPointInputs = inputs(stringDampMidPoint);
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
stringDampMidPoint(i, uSide_l, uSide_r) = equation
with
{
fIn = linInterpolForce(i,inPoint,forceModel);
letrec... |
cab1e3808e628129e605abe42a7a446f5b538ac6db1d23add3ec54c6c20c6efc | Rickr922/Faust-FDS | stiffStringDampInterp.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 30;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 15... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stiffStringDamp/stiffStringDampInterp.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
Stability condition
Tension [N]
T = hslider("Tension",150,10,1000,0.1);
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
String length [m]
Yo... | import("stdfaust.lib");
nPoints = 30;
modelType = 0;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
nPointInputs = inputs(midPointEq);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den... |
9975779116049fd4044e1062cfebf3ff8604d73e12d890a9007c2b4f63ecdc10 | Rickr922/Faust-FDS | stiffStringDampAuto.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 80;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
//T = ... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stiffStringDamp/stiffStringDampAuto.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
Stability condition
T = 150; // Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
String length [m]
Young modulus [... | import("stdfaust.lib");
nPoints = 80;
modelType = 0;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = hslider("Tension",150,10,1000,0.1);
sigma0 = 0.0005;
nPointInputs = inputs(midPointEq);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^... |
065bc398d839f711322dabafee3c8d746e2b74b0a1cfa963e26fa41a6e56c008 | Rickr922/Faust-FDS | string1_D_19.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
lambda = c*k/h;
string1dMidPoint(fIn, uSide_l, uSide_r) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*(uSide_l-2*u+uSide_r) + fIn;
};
updatePoint(fIn, uSide_l, uSide_r) = string1dMidPoint(fIn, uSide_l, uSide_r)<:_,_; //u_(l-1)=uSide_l, u_(l+1)=uSide_r
up... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/string/string1_D_19.dsp | faust | u_(l-1)=uSide_l, u_(l+1)=uSide_r
u_(l-1)=uSide_l, u_(l+1)=uSide_r
NOTATION: u_n_m
n indicates the number of element (update or fixed point)
m indicates the connection: 1 is left connection, 2 is right connections
Ex: the extreme left point 0 gives out only x02 because it only has a right
connection, a generi... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
lambda = c*k/h;
string1dMidPoint(fIn, uSide_l, uSide_r) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*(uSide_l-2*u+uSide_r) + fIn;
};
fixedPoint(uSide) = 0;
freePoint(uSide) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*2*(uSide - u);
};
hit = button... |
6c49356fd8daa259126306f1e71e73be2160a097b47954d4cf8791b493e7cbab | Rickr922/Faust-FDS | 2dWave.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPointsX = 30;
nPointsY = 10;
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
s0 = 500;
//----------------------------------Equations--------------------------------//
nPointInputs = inputs(waveMidPoint);
nDepX = 2;
nDep... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/2dWave/2dWave.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
n° of spatial side points needed by the update eq
fIn = forceModel*(i==inPointX)*(j==inPointY); stairs approx
/u_(l-1)=uSide_w,u_(l+1)=uSide_e,u_(m-1)=uSide_s,u_(m+... | import("stdfaust.lib");
nPointsX = 30;
nPointsY = 10;
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
s0 = 500;
nPointInputs = inputs(waveMidPoint);
nDepX = 2;
nDepY = 2;
nDep = nPointInputs-2;
lambda = c*k/h;
waveMidPoint(i,j, uSide_w, uSide_e, uSide_s, uSide_n) = equation
with
{
fIn = linInterpolation2dIn(i,j,inPoi... |
d1587ffad8d8b514f7898ce04df6c334ea7ea7d03c8008809b660243a178bb49 | Rickr922/echoplex-sim | tapeDelay.dsp | import("stdfaust.lib");
//Average filter
filterLength = 500;
movingAvg(x) = par(i, filterLength, x@(i)):>_/filterLength;
//Delay handle delay
delayAvg = delMs * (ma.SR/1000) : movingAvg;
delSec = delMs / 1000;
//Measured tape speed= 8ips = 0.203 m/s
//headDist = 0.203 * delSec; //[m] Not used
//creating an angular ... | https://raw.githubusercontent.com/Rickr922/echoplex-sim/90933e2bc65710207baacb0118b6b591b753e6e7/tapeDelay.dsp | faust | Average filter
Delay handle delay
Measured tape speed= 8ips = 0.203 m/s
headDist = 0.203 * delSec; //[m] Not used
creating an angular frequency
phasenoise frequency is related to drift freq: i want smooth changes->freq has to be lower for
low freq drift while noise amplitude has to be higher
Capstan: Observed amplitu... | import("stdfaust.lib");
filterLength = 500;
movingAvg(x) = par(i, filterLength, x@(i)):>_/filterLength;
delayAvg = delMs * (ma.SR/1000) : movingAvg;
delSec = delMs / 1000;
pulse(freq) = os.lf_saw(freq) * (ma.PI);
with
{
freq = 26;
phase = ma.PI * 3/2 + phaseNoise;
sinArg = pulse(freq) + phase;
ampl... |
c85dff7c9c897d5ef6b10a88e9d9c7a33b2a948b5de6d3859d4c396552bb5aaa | ossia/score-user-library | gateCompressor.dsp | declare name "gateCompressor";
import("stdfaust.lib");
process =
vgroup("[1]", dm.sawtooth_demo) <:
vgroup("[2]", dm.gate_demo) :
vgroup("[3]", dm.compressor_demo) :>
vgroup("[4]", dm.spectral_level_demo) <:
_,_;
| https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/dynamic/gateCompressor.dsp | faust | declare name "gateCompressor";
import("stdfaust.lib");
process =
vgroup("[1]", dm.sawtooth_demo) <:
vgroup("[2]", dm.gate_demo) :
vgroup("[3]", dm.compressor_demo) :>
vgroup("[4]", dm.spectral_level_demo) <:
_,_;
| |
b77dd7dd0520fe6a9e15b5a3870946328eb4c2e5db6f7140f2c4273b3bd34cca | ossia/score-user-library | graphicEqLab.dsp | declare name "graphicEqLab";
declare description "Signal generators through a filter bank with spectrum analysis display";
import("stdfaust.lib");
process =
vgroup("[1]",dm.sawtooth_demo) :
vgroup("[2]",dm.filterbank_demo) :
vgroup("[3]",dm.spectral_level_demo) <:
_,_;
| https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/filtering/graphicEqLab.dsp | faust | declare name "graphicEqLab";
declare description "Signal generators through a filter bank with spectrum analysis display";
import("stdfaust.lib");
process =
vgroup("[1]",dm.sawtooth_demo) :
vgroup("[2]",dm.filterbank_demo) :
vgroup("[3]",dm.spectral_level_demo) <:
_,_;
| |
454215f900b532f0d6275bd99e764fb132222adfffa2d237a396bf7c8a3e2132 | ossia/score-user-library | phaserFlangerLab.dsp | declare name "phaserFlangerLab";
import("stdfaust.lib");
fx_stack =
vgroup("[1]", dm.sawtooth_demo) <:
vgroup("[2]", dm.flanger_demo) :
vgroup("[3]", dm.phaser2_demo);
level_viewer(x,y) = attach(x, vgroup("[4]", dm.spectral_level_demo(x+y))),y;
process = fx_stack : level_viewer;
| https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/phasing/phaserFlangerLab.dsp | faust | declare name "phaserFlangerLab";
import("stdfaust.lib");
fx_stack =
vgroup("[1]", dm.sawtooth_demo) <:
vgroup("[2]", dm.flanger_demo) :
vgroup("[3]", dm.phaser2_demo);
level_viewer(x,y) = attach(x, vgroup("[4]", dm.spectral_level_demo(x+y))),y;
process = fx_stack : level_viewer;
| |
90d677f72f0c4f6f4c71312e861f424b92c8698e558ada0056bcb80e233da191 | ossia/score-user-library | parametricEqLab.dsp | declare name "parametricEqLab";
declare description "Demonstrate the Parametric Equalizer sections on test signals with spectrum analysis display";
import("stdfaust.lib");
process =
vgroup("[1]", dm.sawtooth_demo) :
vgroup("[2]", dm.parametric_eq_demo) :
vgroup("[3]", dm.mth_octave_spectral_level_demo(2))
<: ... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/filtering/parametricEqLab.dsp | faust | declare name "parametricEqLab";
declare description "Demonstrate the Parametric Equalizer sections on test signals with spectrum analysis display";
import("stdfaust.lib");
process =
vgroup("[1]", dm.sawtooth_demo) :
vgroup("[2]", dm.parametric_eq_demo) :
vgroup("[3]", dm.mth_octave_spectral_level_demo(2))
<: ... | |
977fa5971ab6d23d13b96f16d95104fecf11aa63f82f659e1f0f9931bb1467c6 | ossia/score-user-library | vcfWahLab.dsp | import("stdfaust.lib");
declare description "Demonstrate competing variable-lowpass-filter effects on test signals with spectrum analysis display";
declare name "vcfWahLab";
process =
vgroup("[1]", dm.sawtooth_demo) :
vgroup("[2]", dm.crybaby_demo) :
vgroup("[3]", dm.wah4_demo) :
vgroup("[4]", dm.moog_vcf_dem... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/filtering/vcfWahLab.dsp | faust | import("stdfaust.lib");
declare description "Demonstrate competing variable-lowpass-filter effects on test signals with spectrum analysis display";
declare name "vcfWahLab";
process =
vgroup("[1]", dm.sawtooth_demo) :
vgroup("[2]", dm.crybaby_demo) :
vgroup("[3]", dm.wah4_demo) :
vgroup("[4]", dm.moog_vcf_dem... | |
f15a1a7946998163b5f9f5f074af4de6ce132db64a4be0968a0037b85468544e | ossia/score-user-library | demixer.dsp | declare name "demixer";
declare author "SCRIME";
import("stdfaust.lib");
N = 7; // Numbre of speaker pairs
master = hslider("master", 0.5, 0, 1, 0.00001) : ba.lin2LogGain : si.smoo; // master volume slider;
sub = hslider("sub", 0.5, 0, 1, 0.00001) : ba.lin2LogGain : si.smoo; // subwofer volume slider;
left(i) = hsl... | https://raw.githubusercontent.com/ossia/score-user-library/1de4c36f179105f1728e72b02e96f68d1c9130c2/Presets/Faust/demixer.dsp | faust | Numbre of speaker pairs
master volume slider;
subwofer volume slider;
left volume slider;
wright volume slider; | declare name "demixer";
declare author "SCRIME";
import("stdfaust.lib");
demixer(n) = *(master), *(master) <: par( j, n, *(left(j)), *(wright(j)) ),
(+ : *(sub) *(0.2));
process = demixer(N);
|
faa0904e8905b3000df2ac8d7f80f07e30ec04d0717cddbc1af6364368d99b2f | ossia/score-user-library | midiDemixer.dsp | declare name "midiDemixer";
declare author "SCRIME";
import("stdfaust.lib");
N = 9; // Numbre of speaker pairs
master = hslider("master", 0, 0, 127, 1) / 127 : ba.lin2LogGain : si.smoo; // master volume slider;
sub = hslider("sub", 0, 0, 127, 1) / 127 : ba.lin2LogGain : si.smoo; // subwofer volume slider;
left(i) =... | https://raw.githubusercontent.com/ossia/score-user-library/1de4c36f179105f1728e72b02e96f68d1c9130c2/Presets/Faust/midiDemixer.dsp | faust | Numbre of speaker pairs
master volume slider;
subwofer volume slider;
left volume slider;
wright volume slider; | declare name "midiDemixer";
declare author "SCRIME";
import("stdfaust.lib");
demixer(n) = *(master), *(master) <: par( j, n, *(left(j)), *(wright(j)) ),
(+ : *(sub) *(0.2));
process = demixer(N);
|
ed848e3a651ffcc552f123b5336ea20687f815151a704e0ff9b66f7ff84183f6 | ossia/score-user-library | fractal.dsp | declare name "fractal";
declare author "SCRIME";
V = 5; // number of voisces
import("stdfaust.lib");
import("delays.lib");
import("maths.lib");
transpose (w, x, s, sig) =
fdelay1s(d,sig)*fmin(d/x,1) + fdelay1s(d+w,sig)*(1-fmin(d/x,1))
with {
i = 1 - pow(2, s/12);
d = i : (+ : +(w) : fmod(_,w)) ~ _;
... | https://raw.githubusercontent.com/ossia/score-user-library/1de4c36f179105f1728e72b02e96f68d1c9130c2/Presets/Faust/fractal.dsp | faust | number of voisces | declare name "fractal";
declare author "SCRIME";
import("stdfaust.lib");
import("delays.lib");
import("maths.lib");
transpose (w, x, s, sig) =
fdelay1s(d,sig)*fmin(d/x,1) + fdelay1s(d+w,sig)*(1-fmin(d/x,1))
with {
i = 1 - pow(2, s/12);
d = i : (+ : +(w) : fmod(_,w)) ~ _;
};
fractales(1) = (+:t... |
10ca197665e3fb55397f5960e282134d6b0bcf4090cc7864ad14a6e22298d4d6 | ossia/score-user-library | midiSpat.dsp | declare name "midiSpat";
declare author "SCRIME";
import("stdfaust.lib");
N = 9; // Numbre of speaker pairs
window = (hslider("window", 0, 0, 127, 1) / 127) * 5; // attack and release time;
master = nentry("master", 0, 0, 127, 1) / 127 : ba.lin2LogGain; // master volume slider;
sub = nentry("sub", 0, 0, 127, 1) / 1... | https://raw.githubusercontent.com/ossia/score-user-library/1de4c36f179105f1728e72b02e96f68d1c9130c2/Presets/Faust/midiSpat.dsp | faust | Numbre of speaker pairs
attack and release time;
master volume slider;
subwofer volume slider;
left volume slider;
wright volume slider; | declare name "midiSpat";
declare author "SCRIME";
import("stdfaust.lib");
winMaster = en.asr(window, 1, window, master);
winSub = en.asr(window, 1, window, sub);
winLeft(i) = en.asr(window, 1, window, left(i));
winWright(i) = en.asr(window, 1, window, wright(i));
demixer(n) = *(winMaster), *(winMaster) <: par( ... |
5b563976419961f93e42c9ba1647b4aed2dcd0ec4a2a6b94c0f9494a435ef280 | ossia/score-user-library | fire.dsp | import("stdfaust.lib");
//----------------------------`fire`---------------------------
// fire(is_wet) : produces burning fire sound
//
// #### Usage
//
// ```
// fire(is_wet) : _
// ```
//
// Where:
//
// * `is_wet`: a binary flag/signal adding wet wood
// popping sound
//
// #### Example
//
// ```
// ch... | https://raw.githubusercontent.com/ossia/score-user-library/bbc998c0b88ce0c2a71128e42e1fee88591f4bbd/Presets/Faust/gameaudio/fire.dsp | faust | ----------------------------`fire`---------------------------
fire(is_wet) : produces burning fire sound
#### Usage
```
fire(is_wet) : _
```
Where:
* `is_wet`: a binary flag/signal adding wet wood
popping sound
#### Example
```
checkbox("wet") : fire : _
```
------------------------------... | import("stdfaust.lib");
sq(x) = x * x;
stretch(ms) = ba.countdown(ma.SR * ms / 1000): >(0);
crackle(dens, rel) = ((no.noise : fi.lowpass(3, 10000)) * 0.77 * os.osc(50 / dens) *
en.arfe(0.001, release, 0, trigger: >(0)
: stretch(sus)))
: fi.highpass(3... |
9c655b5a806e7fc96d48917486b4f70dd65755ea2e49b2329da5f64e60397f08 | ossia/score-user-library | fauSuround.dsp | declare name "faustSuround";
declare author "SCRIME";
import("stdfaust.lib");
import("basics.lib");
import("maths.lib");
Inputs = 1;
Outputs = (-1, 1, // Quadriphonic setup
-1, -1,
1, -1,
1, 1);
halfSize(a) = count(a) * 0.5; // Half the size of a list
xaxe(n) = hslider("x_%n", 0, -1, 1, 0.001):si... | https://raw.githubusercontent.com/ossia/score-user-library/1de4c36f179105f1728e72b02e96f68d1c9130c2/Presets/Faust/fauSuround.dsp | faust | Quadriphonic setup
Half the size of a list
Definition-------------------------------------------------------------------------------------------------
Diameter around the speaker inside withch a source can be heard.
Poccess in parallel the gain for each individual spaekers.
Gain as square root of 1 - distance be... | declare name "faustSuround";
declare author "SCRIME";
import("stdfaust.lib");
import("basics.lib");
import("maths.lib");
Inputs = 1;
-1, -1,
1, -1,
1, 1);
xaxe(n) = hslider("x_%n", 0, -1, 1, 0.001):si.smoo;
yaxe(n) = vslider("y_%n", 0, -1, 1, 0.001):si.smoo;
inf(n) = 0 - (1 - vslider("influence_%n... |
cd8a0c9a2b862a7fdbde0dd4a10bee0a4d400ddf4567a279496c31a14e4c57da | ossia/score-user-library | granulator.dsp | // FROM FAUST DEMO
// Designed to use the Analog Input for parameter controls.
//
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// ANALOG IN:
// ANALOG 0 : Grain Size
// ANALOG 1 : Speed
// ANALOG 2 : Probability
// (others analog inputs are not used)
//
////////... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/bela/granulator.dsp | faust | FROM FAUST DEMO
Designed to use the Analog Input for parameter controls.
/////////////////////////////////////////////////////////////////////////////////////////////////
ANALOG IN:
ANALOG 0 : Grain Size
ANALOG 1 : Speed
ANALOG 2 : Probability
(others analog inputs are not used)
//////////////////////////////... |
process = vgroup("Granulator", environment {
declare name "Granulator";
declare author "Adapted from sfIter by Christophe Lebreton";
import("stdfaust.lib");
process = hgroup("Granulator", *(excitation : ampf));
excitation = noiseburst(gate,P) * (gain);
ampf = an.amp_follower_ud(duree_env,du... |
490adf00f0010b1377c2976f1e3c0ddc9b820cdb8cc288fce3c5fdc5c6d1b44c | ossia/score-user-library | harmonicOscillator3.dsp | declare name "Harmonic Oscillator v3";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
The simplest mass-interaction construct: a harmonic oscillator, built by assembling four elements:
a mass, a fixed point and a spring and a damper interaction.
The resulting... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/harmonicOscillator3.dsp | faust | ========= DESCRITPION =============
The simplest mass-interaction construct: a harmonic oscillator, built by assembling four elements:
a mass, a fixed point and a spring and a damper interaction.
The resulting model is identical to an mi.osc element (which integrates them together).
- inputs: force impulse
-... | declare name "Harmonic Oscillator v3";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
import("mi.lib");
OutGain = 1;
model = (
mi.mass(1., 0, 0., 0.),
mi.ground(0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
mi.spring(0.1, 0., 0.),
mi.damper(0.0003,... |
b22028d22e839e45856fe3ada44d79926e7458aa6c2459b1439a80012b133ddc | ossia/score-user-library | quantizedChords.dsp | /*
MIT License
Copyright (c) 2021 César Chaussinand
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publi... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/quantizing/quantizedChords.dsp | faust |
MIT License
Copyright (c) 2021 César Chaussinand
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... |
declare name "quantizedChords";
declare description "Generate chords using the quantizer functions";
declare author "CesarChaussinand";
declare license "MIT";
import("stdfaust.lib");
Nb = 3;
process = synth*gain<:_,_;
synth = freq : chord <: mQuantizer, mQuantizerSmooth, mBypass :> par(i,Nb,os.osc):>_/Nb;
chord =... |
af00f0c8efcff4cbd1b7ac2ecf51cc38b11a36d68688a7472cbb4b0f1576457f | ossia/score-user-library | PianoHammeredString.dsp | import("stdfaust.lib");
//----------------------------------String Settings---------------------------//
/* Data:
Music wire ASTM A 228
https://materials.gelsonluz.com/2020/09/astm-a228-properties-chem-mech-rankings.html
A. Stulov,
Physical modelling of the piano string scale,
Applied Acoustics,
Volume 69, Issue 11,... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/physicalModeling/fds/PianoHammeredString.dsp | faust | ----------------------------------String Settings---------------------------//
Data:
Music wire ASTM A 228
https://materials.gelsonluz.com/2020/09/astm-a228-properties-chem-mech-rankings.html
A. Stulov,
Physical modelling of the piano string scale,
Applied Acoustics,
Volume 69, Issue 11,
2008,
Pages 977-984,
ISSN 00... | import("stdfaust.lib");
nPoints = 77;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h = sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
mass = Area*L*rho;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1*k*h^2-4*K^2*k^2... |
0d0911d57f115df7e712b79f6ce3fa28b5e83506ae483f11a6616e9a3270fdf8 | ossia/score-user-library | nlOsc.dsp | declare name "Non Linear Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A non-linear oscillator (containing a cubic stiffness term, making pitch amplitude dependant)
- inputs: force impulse
- outputs: oscillator position.
- controls: v... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/physicalModeling/mi-faust/nlOsc.dsp | faust | ========= DESCRITPION =============
A non-linear oscillator (containing a cubic stiffness term, making pitch amplitude dependant)
- inputs: force impulse
- outputs: oscillator position.
- controls: value of the non-linear stiffness component.
Note: we are using the nlSpringDamperClipped interaction that ... | declare name "Non Linear Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = button("Hammer Input Force"): ba.impulsify* -0.1;
OutGain = 1;
nlK = hslider("non-linear stiffness", 0.005, ma.MIN, 0.1, 0.0001);
model = (
mi.mass(1., 0, 0., 0.),
mi.ground(0.),... |
694411a20e9cbc5ab2e3142d827301ff7c4ba90e890366a2f1a2803e55f1859d | ossia/score-user-library | elecGuitar.dsp | //################################### elecGuitar.dsp #####################################
// Faust instruments specifically designed for `faust2smartkeyb` where an electric
// guitar physical model is controlled using an isomorphic keyboard. Rock on!
//
// ## `SmartKeyboard` Use Strategy
//
// we want to create an iso... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/smartKeyboard/elecGuitar.dsp | faust | ################################### elecGuitar.dsp #####################################
Faust instruments specifically designed for `faust2smartkeyb` where an electric
guitar physical model is controlled using an isomorphic keyboard. Rock on!
## `SmartKeyboard` Use Strategy
we want to create an isomorphic keyboa... |
declare interface "SmartKeyboard{
'Number of Keyboards':'6',
'Max Keyboard Polyphony':'1',
'Keyboard 0 - Number of Keys':'13',
'Keyboard 1 - Number of Keys':'13',
'Keyboard 2 - Number of Keys':'13',
'Keyboard 3 - Number of Keys':'13',
'Keyboard 4 - Number of Keys':'13',
'Keyboard 5 - Number of Keys':'13',
'Ke... |
6b1aa249eab37ec7186a754d730467ae145de945ba0b8214a0f3da1fdf21009d | ossia/score-user-library | violin2.dsp | //############################### violin2.dsp ##################################
// Faust instrument specifically designed for `faust2smartkeyb` where a
// complete violin physical model can be played using the touch sceen
// interface. Bowing is carried out by constantly moving a finger on the
// y axis of a key.
//
/... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/smartKeyboard/violin2.dsp | faust | ############################### violin2.dsp ##################################
Faust instrument specifically designed for `faust2smartkeyb` where a
complete violin physical model can be played using the touch sceen
interface. Bowing is carried out by constantly moving a finger on the
y axis of a key.
## `SmartKey... |
declare interface "SmartKeyboard{
'Number of Keyboards':'4',
'Max Keyboard Polyphony':'0',
'Rounding Mode':'2',
'Send Fingers Count':'1',
'Keyboard 0 - Number of Keys':'12',
'Keyboard 1 - Number of Keys':'12',
'Keyboard 2 - Number of Keys':'12',
'Keyboard 3 - Number of Keys':'12',
'Keyboard 0 - Lowest Key':'5... |
9ccbcc948b86e035868d7f3daed3c76078e901c738cd86c65e59c8bd23ae8cc8 | ossia/score-user-library | violin.dsp | //############################### violin.dsp ###################################
// Faust instrument specifically designed for `faust2smartkeyb` where a
// complete violin physical model can be played using the touch sceen
// interface. While the 4 virtual strings can be bowed using a control
// surface on the screen, ... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/smartKeyboard/violin.dsp | faust | ############################### violin.dsp ###################################
Faust instrument specifically designed for `faust2smartkeyb` where a
complete violin physical model can be played using the touch sceen
interface. While the 4 virtual strings can be bowed using a control
surface on the screen, it could b... |
declare interface "SmartKeyboard{
'Number of Keyboards':'5',
'Max Keyboard Polyphony':'0',
'Rounding Mode':'2',
'Send Fingers Count':'1',
'Keyboard 0 - Number of Keys':'19',
'Keyboard 1 - Number of Keys':'19',
'Keyboard 2 - Number of Keys':'19',
'Keyboard 3 - Number of Keys':'19',
'Keyboard 4 - Number of Keys... |
ce2aef1cbf64a53e78270d50c33c87cffa9ff5d3c1aaf38c3756917cec1e814c | ossia/score-user-library | tinyString.dsp | declare name "Tiny String";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A small string, composed of 8 masses and two fixed points, connected by spring-dampers
- inputs: force impulse on mass 7.
- outputs: position of mass 2.
- controls: none
No... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/tinyString.dsp | faust | ========= DESCRITPION =============
A small string, composed of 8 masses and two fixed points, connected by spring-dampers
- inputs: force impulse on mass 7.
- outputs: position of mass 2.
- controls: none
Note: the model block diagram is starting to get more complex, but it's still readable.
route... | declare name "Tiny String";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = button("Force Impulse"): ba.impulsify;
OutGain = 0.6;
stiffness = 0.5;
damping = 0.0003;
model = (
mi.ground(0.),
mi.mass(1., 0, 0., 0.),
mi.mass(1., 0, 0., 0.),
mi.mass(1., 0, 0., 0.),
... |
be85dcf7f6a443170bb676ecd76dbc9eab7b73ec09651e4810172580128a94ee | ossia/score-user-library | insects.dsp | import("stdfaust.lib");
//---------------------------`cricket`-------------------------
// cricket(f1, f2, trig) : produces a cricket chirp,
// the cricket sound based on examples
// from the book "Designing Sound"
// by Andy Farnell
//
// #... | https://raw.githubusercontent.com/ossia/score-user-library/bbc998c0b88ce0c2a71128e42e1fee88591f4bbd/Presets/Faust/gameaudio/insects.dsp | faust | ---------------------------`cricket`-------------------------
cricket(f1, f2, trig) : produces a cricket chirp,
the cricket sound based on examples
from the book "Designing Sound"
by Andy Farnell
#### Usage
```
cricket(f1, f2, trig) ... | import("stdfaust.lib");
wrap(s) = s - int(s);
normsin(s) = sin(2 * ma.PI * s);
normcos(s) = cos(2 * ma.PI * s);
phasor(f) = os.phasor(1, f);
stretch(ms) = ba.countdown(ma.SR * ms / 1000) : >(0);
pulsetrain(ms, n, trig) = (trig: stretch(ms * n)) * ba.pulse(ma.SR * ms / 1000);
cricket(f1, f2, trig) = s1 : *(44) <:... |
c3c5aeade984567e9710de61b5a115fda0d28070953cd3f9cac4dfe9e95e3a46 | ossia/score-user-library | acGuitar.dsp | //############################### acGuitar.dsp #################################
// Faust instrument specifically designed for `faust2smartkeyb` where 6 virtual
// nylon strings can be strummed and plucked using a dedicated keyboard. The
// extra "strumming keyboard" could be easily replaced by an external strumming
//... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/smartKeyboard/acGuitar.dsp | faust | ############################### acGuitar.dsp #################################
Faust instrument specifically designed for `faust2smartkeyb` where 6 virtual
nylon strings can be strummed and plucked using a dedicated keyboard. The
extra "strumming keyboard" could be easily replaced by an external strumming
interface... |
declare interface "SmartKeyboard{
'Number of Keyboards':'7',
'Max Keyboard Polyphony':'0',
'Rounding Mode':'2',
'Keyboard 0 - Number of Keys':'14',
'Keyboard 1 - Number of Keys':'14',
'Keyboard 2 - Number of Keys':'14',
'Keyboard 3 - Number of Keys':'14',
'Keyboard 4 - Number of Keys':'14',
'Keyboard 5 - Num... |
c6e97ac267742393adbed36953759f9cdc5d75198d8a528aeafcc790b99bdb20 | ossia/score-user-library | physicalLFO.dsp | declare name "Physical LFO";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
You can use physical models for other things than sythesizing "acoustical" sounds!
Here, we use a very floppy string as an LFO generator to modulate a white noise signal.
- inputs:... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/physicalLFO.dsp | faust | ========= DESCRITPION =============
You can use physical models for other things than sythesizing "acoustical" sounds!
Here, we use a very floppy string as an LFO generator to modulate a white noise signal.
- inputs: force impulse to excite the string.
- outputs: position of one mass of the string (used to mo... | declare name "Physical LFO";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
gateT = button("Excite String"):ba.impulsify;
in1 = gateT * 0.1;
OutGain = hslider("output gain", 0.01, 0, 0.02, 0.00001);
str_M = 1.0;
str_K = hslider("string stiffness", 0.000001, 0.0000001, 0.... |
66d61166d7433f11d764603169aa177fe4ede83a7114dceb0d6b86dffb8dcaff | ossia/score-user-library | simpleSynth_FX_Analog.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// A very simple subtractive synthesizer with 1 VCO 1 VCF.
// The VCO Waveform is variable between Saw and Square
// The frequency is modulated by an LFO
// The envelope control volum and filt... | https://raw.githubusercontent.com/ossia/score-user-library/1de4c36f179105f1728e72b02e96f68d1c9130c2/Presets/Faust/bela/simpleSynth_FX_Analog.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
A very simple subtractive synthesizer with 1 VCO 1 VCF.
The VCO Waveform is variable between Saw and Square
The frequency is modulated by an LFO
The envelope control volum and filter frequency
///////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
wfFade = hslider("waveform[BELA: ANALOG_0]",0.5,0,1,0.001):si.smoo;
res = hslider("resonnance[BELA: ANALOG_2]",0.5,0,1,0.001):si.smoo;
fr = h... |
4160910b0a2bfc699cf64b3ce9b1c8496996865213727a4b1a19e616919fd8fd | ossia/score-user-library | virtualAnalogForBrowser.dsp | import("stdfaust.lib");
// These are now in a separate file ./effects.dsp
// echo = echog(component("echo.dsp")); // ./echo.dsp
// flanger = flg(component("flanger.dsp")); // ./flanger.dsp
// chorus = chg(component("chorus.dsp")); // ./chorus.dsp
// reverb = rg(component("freeverb.dsp"));
process = main <: _,_; // No... | https://raw.githubusercontent.com/ossia/score-user-library/37914d4137032863dd00ac816da849fdf082dfa4/Presets/Faust/SAM/virtualAnalog/virtualAnalogForBrowser.dsp | faust | These are now in a separate file ./effects.dsp
echo = echog(component("echo.dsp")); // ./echo.dsp
flanger = flg(component("flanger.dsp")); // ./flanger.dsp
chorus = chg(component("chorus.dsp")); // ./chorus.dsp
reverb = rg(component("freeverb.dsp"));
Now separate: : echo : flanger : chorus : reverb;
masterVolume... | import("stdfaust.lib");
main = (signal + attach(extInput,amp) : filters : *(ampScaling)) ~ _;
signal = oscs + noise * noiseOff * namp;
oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _;
detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001));
waveSelect(1) = osc1(v... |
e5ea5094b36e7a06c3bbd166f92050cff9cf5dbdbb61c19a1412517980f2783e | ossia/score-user-library | triangleMesh.dsp | declare name "Plucked Triangle";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A triangular mesh (fixed at its corners) excited by a plucking mass
- inputs: pluck position
- outputs: two listening points on the triangle
- controls: triangle mesh s... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/triangleMesh.dsp | faust | ========= DESCRITPION =============
A triangular mesh (fixed at its corners) excited by a plucking mass
- inputs: pluck position
- outputs: two listening points on the triangle
- controls: triangle mesh stiffness, damping and air friction.
routed positions
outputs
routed forces
pass-through
===... | declare name "Plucked Triangle";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = hslider("Pluck Position", 0, -1, 1, 0.001):si.smoo;
OutGain = 30;
t_M = 1;
t_K = hslider("Mesh Stiffness", 0.1, 0.001, 0.3, 0.0001);
t_Z = hslider("Mesh Damping", 0.001, 0.00001, 0.003,... |
86d2d7af1600888f8c733aee85927aa6aee8c6c7a8e7a3517bcf09c3baf55af9 | ossia/score-user-library | bowedString.dsp | declare name "Bowed String";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A simple bowed string model
- inputs: bow position (move it slowly to yield self-sustained oscillations!).
- outputs: two listening points on the string.
- controls: bow pr... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/bowedString.dsp | faust | ========= DESCRITPION =============
A simple bowed string model
- inputs: bow position (move it slowly to yield self-sustained oscillations!).
- outputs: two listening points on the string.
- controls: bow pressure and string stiffness.
nice and smooth position signal
routed positions
outputs
route... | declare name "Bowed String";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
OutGain = 150.;
low_M = 1.0;
low_K = hslider("String Stiffness",0.3,0.001,0.7,0.0001) : si.smoo;
low_Z = 0.001;
nlZ = hslider("Bow Pressure",0.3,0.001,0.5,0.0001) : si.smoo;
nlscale = 0.00005;
mo... |
0b108952da6a5f5fc1d48725662ca1ae630aefa17cf8304e2baa66507aa59ce5 | ossia/score-user-library | pluckedString.dsp | declare name "Plucked String";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A plucked string with a few controls.
- inputs: pick position.
- outputs: two listening points on the string.
- controls: pick stiffness and damping, string stiffness, da... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/pluckedString.dsp | faust | ========= DESCRITPION =============
A plucked string with a few controls.
- inputs: pick position.
- outputs: two listening points on the string.
- controls: pick stiffness and damping, string stiffness, damping and air friction.
Note: the model block diagram is starting to look like a piece of modern ar... | declare name "Plucked String";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = hslider("Pick position", 0, -1, 1, 0.001):si.smoo;
OutGain = 5;
str_M = 1.0;
str_K = hslider("string stiffness", 0.7, 0.001, 0.7, 0.001):si.smoo;
str_Z = hslider("string internal damping"... |
61b86e7b3df27e86aac8ffad33a505d9a9bd7cae9ee07ca81130d2616d470477 | ossia/score-user-library | construction.dsp | declare name "Strange Physical Construction";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A triangle mesh (fixed corners) struck by a hammer, connected (through a slightly non-linear spring)
to a resonant square mesh (fixed corners).
- inputs: Force imp... | https://raw.githubusercontent.com/ossia/score-user-library/8a910e05f713a6d710fe3c1b8cd3e63eee9394b0/Presets/Faust/physicalModeling/mi-faust/construction.dsp | faust | ========= DESCRITPION =============
A triangle mesh (fixed corners) struck by a hammer, connected (through a slightly non-linear spring)
to a resonant square mesh (fixed corners).
- inputs: Force impulse applied to the hammer
- outputs: one listening point on the triangle, another on the resonnant mesh.
-... | declare name "Strange Physical Construction";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = button("Force Impulse"): ba.impulsify * hslider("Force Scaling", 0.5, 0.01, 0.9, 0.001) * -1;
OutGain = 1;
t_M = 1;
t_K = hslider("Triangle Stiffness", 0.1, 0.001, 0.2, 0.00... |
d141e9c3563da97793056fdf52f1cf12b17bbad32b0a66cabc9692fff86564d4 | CesarChaussinand/GramoCollection | rythmesBranches.dsp | declare name "Rythmes branchés";
declare version "1.0";
declare author "César Chaussinand";
declare license "MIT";
declare copyright "(c) César Chaussinand 2022";
import("stdfaust.lib");
process = bell*0.2, (clap*0.6:fx), hihat*0.3, kick*gate :> _ : ef.cubicnl(0,0);
bell =... | https://raw.githubusercontent.com/CesarChaussinand/GramoCollection/58f63f2fdb1fe4d01b4e0416d3a0c14639a347f2/rythmesBranches.dsp | faust | declare name "Rythmes branchés";
declare version "1.0";
declare author "César Chaussinand";
declare license "MIT";
declare copyright "(c) César Chaussinand 2022";
import("stdfaust.lib");
process = bell*0.2, (clap*0.6:fx), hihat*0.3, kick*gate :> _ : ef.cubicnl(0,0);
bell =... | |
39bd9f6c0b406f85cf9519c5fa14016ff15bff45f73287f0c9cb9b2c98ed0c29 | CesarChaussinand/GramoCollection | rythmesChaloupes.dsp | declare name "Rythmes chaloupés";
declare version "1.0";
declare author "César Chaussinand";
declare license "MIT";
declare copyright "(c) César Chaussinand 2022";
import("stdfaust.lib");
process = bell1*0.2*b1vol, bell2*0.2*b2vol, shaker*0.1*gate, tom1*0.3, tom2*0.3 :> _ : ... | https://raw.githubusercontent.com/CesarChaussinand/GramoCollection/58f63f2fdb1fe4d01b4e0416d3a0c14639a347f2/rythmesChaloupes.dsp | faust | declare name "Rythmes chaloupés";
declare version "1.0";
declare author "César Chaussinand";
declare license "MIT";
declare copyright "(c) César Chaussinand 2022";
import("stdfaust.lib");
process = bell1*0.2*b1vol, bell2*0.2*b2vol, shaker*0.1*gate, tom1*0.3, tom2*0.3 :> _ : ... | |
07c64558be35b1b81c03b8367b38a36a72ef537aafa104a4b95d573463b35a24 | alainbonardi/enecho | eCheapNoise.dsp | //--------------------------------------------------------------------------------------//
//----------------------------------------enecho----------------------------------------//
//
//-----------------------FAUST CODE FOR THE PRESERVATION OF EN ECHO---------------------//
//-----------------FOR SOPRANO AND LIVE ELEC... | https://raw.githubusercontent.com/alainbonardi/enecho/afc94af2c59d25e42b32d003236fc3af4e65d5d0/faustCodes/eCheapNoise.dsp | faust | --------------------------------------------------------------------------------------//
----------------------------------------enecho----------------------------------------//
-----------------------FAUST CODE FOR THE PRESERVATION OF EN ECHO---------------------//
-----------------FOR SOPRANO AND LIVE ELECTRONICS BY... | declare author "Alain Bonardi";
declare licence "GPL-2.0";
declare name "eCheapNoise";
import("stdfaust.lib");
noiseTabNsamp = 512;
delMaxNsamp = 65536;
player(f0, mySamp, mySampNum) = thisPlayer with {
zeroToOnePhase = os.phasor(1, f0) : ma.decimal;
myIndex = zeroToOnePhase * float(mySampNum);
i1 = int(myIndex... |
8f26ddf70320415876aa67ab4d911632457c0f67e73c5ddc8354adc5b9e3dcff | jatinchowdhury18/CrossroadsEffects | test_evolve_gen.dsp | import("stdfaust.lib");
unit_delay_b781e2f7 = @(1);
gain_bcdd61d6 = _*1.0;
split_0afcca1b = _ <: (unit_delay_b781e2f7), (gain_bcdd61d6) :> _;
unit_delay_08aaabe4 = @(1);
gain_df56d5f1 = _*1.0;
unit_delay_95a9f64c = @(1);
split_1b3af4fc = _ <: _, (gain_df56d5f1 : unit_delay_95a9f64c) :> _;
gain_1e1ae59f = _*1.0;
gain... | https://raw.githubusercontent.com/jatinchowdhury18/CrossroadsEffects/9a4ece57ce439103369f6c36bc1d74bec9043d64/faust_scripts/test_evolve_gen.dsp | faust | import("stdfaust.lib");
unit_delay_b781e2f7 = @(1);
gain_bcdd61d6 = _*1.0;
split_0afcca1b = _ <: (unit_delay_b781e2f7), (gain_bcdd61d6) :> _;
unit_delay_08aaabe4 = @(1);
gain_df56d5f1 = _*1.0;
unit_delay_95a9f64c = @(1);
split_1b3af4fc = _ <: _, (gain_df56d5f1 : unit_delay_95a9f64c) :> _;
gain_1e1ae59f = _*1.0;
gain... | |
89b7201adefd9f3b2f9c45ee482a65c1a3bb7729a514429187eb80ec2132301a | jatinchowdhury18/wdf-bakeoff | baxandall.dsp | import("stdfaust.lib");
baxandall(in1) = wd.buildtree(tree)
with {
// Resistors
Pt_plus(i) = wd.resistor(i, 100.0e3 - p_Treble_ui);
Resd(i) = wd.resistor(i, 10.0e3);
Pt_minus(i) = wd.resistor(i, p_Treble_ui);
Rese(i) = wd.resistor(i, 1.0e3);
Rl(i) = wd.resistor_Vout(i, 1.0e6);
Resc(i) = wd.... | https://raw.githubusercontent.com/jatinchowdhury18/wdf-bakeoff/6b44a28c66d6b4f20cdd8aed9593f562200e7c2c/src/faust_wdf/baxandall.dsp | faust | Resistors
Capacitors
UI controls
connection tree parts
b = wd.parallel : (Pt_minus, Rese);
process = no.pink_noise <: baxandall , baxandall; | import("stdfaust.lib");
baxandall(in1) = wd.buildtree(tree)
with {
Pt_plus(i) = wd.resistor(i, 100.0e3 - p_Treble_ui);
Resd(i) = wd.resistor(i, 10.0e3);
Pt_minus(i) = wd.resistor(i, p_Treble_ui);
Rese(i) = wd.resistor(i, 1.0e3);
Rl(i) = wd.resistor_Vout(i, 1.0e6);
Resc(i) = wd.resistor(i, 10.0e... |
483fe550e271ed483aab4131b3cbbca8b66d807f7d56a34b060b46303f20246e | jatinchowdhury18/wdf-bakeoff | pultec.dsp | import("stdfaust.lib");
pultec(in1) = wd.buildtree(tree)
with{
//resistors and potentiometers
p_HB_p(i) = wd.resistor(i, (10.0e4 - p_HB_ui + 1));
p_HB_m(i) = wd.resistor(i, (p_HB_ui + 1));
p_HBQ(i) = wd.resistor(i, (p_HBQ_ui+1));
p_LC(i) = wd.resistor(i, (p_LC_ui +1));
p_HC_p(i) = wd.resistor(i... | https://raw.githubusercontent.com/jatinchowdhury18/wdf-bakeoff/6b44a28c66d6b4f20cdd8aed9593f562200e7c2c/src/faust_wdf/pultec.dsp | faust | resistors and potentiometers
capacitors
inductor
voltage input
connection tree parts
approximate a potentiometer position as an audio taper (log) resistance (%)
approximate a potentiometer postion as an inverse log resistance (%)
ui-elements
capacitor switched values
inductor switched values
(3kHz, 4kHz, 5kHz, 6kHz, 10... | import("stdfaust.lib");
pultec(in1) = wd.buildtree(tree)
with{
p_HB_p(i) = wd.resistor(i, (10.0e4 - p_HB_ui + 1));
p_HB_m(i) = wd.resistor(i, (p_HB_ui + 1));
p_HBQ(i) = wd.resistor(i, (p_HBQ_ui+1));
p_LC(i) = wd.resistor(i, (p_LC_ui +1));
p_HC_p(i) = wd.resistor(i, (1.0e3 - p_HC_ui + 1));
p_HC_... |
8e05403ef025ff676d2643d46009bc7e1504a8585ff387fa09166d4a4432d899 | jatinchowdhury18/wdf-bakeoff | bassman.dsp | import("stdfaust.lib");
bassman(in1) = wd.buildtree(tree)
with {
// Resistors
Res1p(i) = wd.resistor(i, (1.0 - p_High_ui) * 250.0e3);
Res1m(i) = wd.resistor_Vout(i, p_High_ui * 250.0e3);
Res2(i) = wd.resistor_Vout(i, p_Low_ui * 1.0e6);
Res3p(i) = wd.resistor_Vout(i, (1.0 - p_Mid_ui) * 25.0e3);
... | https://raw.githubusercontent.com/jatinchowdhury18/wdf-bakeoff/6b44a28c66d6b4f20cdd8aed9593f562200e7c2c/src/faust_wdf/bassman.dsp | faust | Resistors
UI controls
connection tree parts
process = no.pink_noise <: bassman_out, bassman_out; | import("stdfaust.lib");
bassman(in1) = wd.buildtree(tree)
with {
Res1p(i) = wd.resistor(i, (1.0 - p_High_ui) * 250.0e3);
Res1m(i) = wd.resistor_Vout(i, p_High_ui * 250.0e3);
Res2(i) = wd.resistor_Vout(i, p_Low_ui * 1.0e6);
Res3p(i) = wd.resistor_Vout(i, (1.0 - p_Mid_ui) * 25.0e3);
Res3m(i) = wd.res... |
5f5a3868e933f758baff22786b200fbe8800c3d46d7234389e2864b6889f3151 | HolyCityAudio/ESP32 | flangerOSC.dsp | import("stdfaust.lib");
flaDelay = vslider("[03]Delay", 156, 5, 1000, 1) : si.smoo;
flaLFORate = vslider("[04]Rate", 0.25, 0, 3, 0.01) : si.smoo;
flaLFOWidth = vslider("[05]Width", 0.5, 0, 1.0, 0.01) : si.smoo;
flaDepth = vslider("[06]Depth", 0.95, 0, 1.0, 0.01) : si.smoo;
flaFeedback = 0; // vslider("[07]FlgFbk", 0.8,... | https://raw.githubusercontent.com/HolyCityAudio/ESP32/9fd8916dc158c4ed3690e4e6ba2b98014f283b80/faust/flangerOSC/main/flangerOSC.dsp | faust | vslider("[07]FlgFbk", 0.8, 0, 0.97, 0.01) : si.smoo;
can't get lowpass filter to fit on ESP32
echoLPF = vslider("[11]rotary38", 10000, 1000, 15000, 0.1) : si.smoo;
line below is basic echo with Feedback
fbkEcho = ( +: de.fdelay(ba.sec2samp(1), ba.sec2samp(echoDelay)) : flange ) ~ *(echoFeedback);
can't get the... | import("stdfaust.lib");
flaDelay = vslider("[03]Delay", 156, 5, 1000, 1) : si.smoo;
flaLFORate = vslider("[04]Rate", 0.25, 0, 3, 0.01) : si.smoo;
flaLFOWidth = vslider("[05]Width", 0.5, 0, 1.0, 0.01) : si.smoo;
flaDepth = vslider("[06]Depth", 0.95, 0, 1.0, 0.01) : si.smoo;
echoDelay = vslider("[08]EchoDelay", 0.20, 0, ... |
095f40116ba629e79c1f1390d7a1dbb30bc5153f60cf0150326d40ea480ab151 | HolyCityAudio/Plugins | jpreverb.dsp | declare name "JPverbRaw";
declare version "1.1";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
allpass_stretched(maxdel,N,a) = (+ <: de.fdelay1a(maxdel,N-1),*(a)) ~ *(-a) : mem, _ : + ;
... | https://raw.githubusercontent.com/HolyCityAudio/Plugins/db4b649005ce49c12665578e04cf1957f87b58eb/ParkerReverb/jpreverb.dsp | faust | using exteral function to access list of prime numbers is slightly faster than an inline approach (as of 428bf3b)
prime_delays(x) = (waveform {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179,... | declare name "JPverbRaw";
declare version "1.1";
declare author "Julian Parker, bug fixes by Till Bovermann";
declare license "GPL2+";
declare copyright "(c) Julian Parker 2013";
import("stdfaust.lib");
allpass_stretched(maxdel,N,a) = (+ <: de.fdelay1a(maxdel,N-1),*(a)) ~ *(-a) : mem, _ : + ;
... |
7b92ed7c899345c72a993ffdff11acaa5a82bb339f98fec1f87e79c8617daeba | SKyzZz/test | noise.dsp | import("stdfaust.lib");
process = no.noise * hslider("Volume", 0.5, 0, 1, 0.01);
| https://raw.githubusercontent.com/SKyzZz/test/9b03adce666adb85e5ae2d8af5262e0acb4b91e1/Dependencies/Build/mac/share/faust/webaudio/noise.dsp | faust | import("stdfaust.lib");
process = no.noise * hslider("Volume", 0.5, 0, 1, 0.01);
| |
a6c0bf2f5ef7e888fa8f0ba9ff09647491afdb19323407185d2edf9409fbc86e | SKyzZz/test | organ.dsp | // Simple Organ
import("stdfaust.lib");
// MIDI keyon-keyoff
midigate = button ("gate");
// MIDI keyon key
midifreq = hslider("freq[unit:Hz]", 440, 20, 20000, 1);
// MIDI keyon velocity
midigain = hslider("gain", 0.5, 0, 10, 0.01);
// Implementation
phasor(f) = f/ma.SR : (+,1.0:... | https://raw.githubusercontent.com/SKyzZz/test/9b03adce666adb85e5ae2d8af5262e0acb4b91e1/Dependencies/Build/mac/share/faust/webaudio/organ.dsp | faust | Simple Organ
MIDI keyon-keyoff
MIDI keyon key
MIDI keyon velocity
Implementation
Main | import("stdfaust.lib");
midigate = button ("gate");
midifreq = hslider("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = hslider("gain", 0.5, 0, 10, 0.01);
phasor(f) = f/ma.SR : (+,1.0:fmod) ~ _ ;
osc(f) = phasor(f) * 6.28318530718 : sin;
timbre(freq) = osc(freq) + 0.5 * osc(2.0*freq) + 0.25 * osc(3.0*fre... |
467de4169c7c0e40e5d3ae275777c838ca03fa40c14f7a6b64576abc5d9779db | lupu2022/LotusRiver | select.dsp | import("stdfaust.lib");
process(a, b, s) = (s != 0) * a + (s == 0)*b;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1a3dbd15f0c83f4307deb24ee4d28a31d3bd1192/fs/zz/select.dsp | faust | import("stdfaust.lib");
process(a, b, s) = (s != 0) * a + (s == 0)*b;
| |
235f9235c1ffb59c4c9a3d3f283c93deeb3822ac2c363a20e6139562ff164a7a | lupu2022/LotusRiver | tick.dsp | import("stdfaust.lib");
process = (ba.time == 0) * 1.0;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/95162806cd18c083e90803cb45b00325d4d494c3/fs/zz/tick.dsp | faust | import("stdfaust.lib");
process = (ba.time == 0) * 1.0;
| |
b30cda9abccf05a3088166a15e7c736366cc16a4746dee1129b8c550c9a1717f | lupu2022/LotusRiver | OsSquareF.dsp | import("stdfaust.lib");
process = os.square;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsSquareF.dsp | faust | import("stdfaust.lib");
process = os.square;
| |
3947eb281f683ee27bc88033e33e055ab6ed14dce4298c1d31cc005d83953be6 | lupu2022/LotusRiver | OsOscF.dsp | import("stdfaust.lib");
process = os.osc;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsOscF.dsp | faust | import("stdfaust.lib");
process = os.osc;
| |
14639647ad7e28a2d7174fea0c4c9da88cd941d25c950868ff3a686bfa33162c | lupu2022/LotusRiver | OsSawtoothF.dsp | import("stdfaust.lib");
process = os.sawtooth;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsSawtoothF.dsp | faust | import("stdfaust.lib");
process = os.sawtooth;
| |
244532099bd5b77d235ed9848a7a7d7ce3f692419adfa20368da3689374c4283 | lupu2022/LotusRiver | OsTriangleF.dsp | import("stdfaust.lib");
process = os.triangle;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsTriangleF.dsp | faust | import("stdfaust.lib");
process = os.triangle;
| |
5c9b3d7a7886448e9a0cfc413020d5c08574e9ca221e0ad659ee713f54388d2c | lupu2022/LotusRiver | FiZero.dsp | import("stdfaust.lib");
z = nentry("z", 0, 0, 1.0, 0.1);
process = fi.zero(z);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiZero.dsp | faust | import("stdfaust.lib");
z = nentry("z", 0, 0, 1.0, 0.1);
process = fi.zero(z);
| |
99821d07657815f27ef503786e5e8dd7b30aab93583e93118458a31aac758336 | lupu2022/LotusRiver | FiPole.dsp | import("stdfaust.lib");
p = nentry("p", 0, 0, 1.0, 0.1);
process = fi.pole(p);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiPole.dsp | faust | import("stdfaust.lib");
p = nentry("p", 0, 0, 1.0, 0.1);
process = fi.pole(p);
| |
b54cd3da56b0266999a5cd9fc6189a1eab2015f11e60c917810ceee444cf4908 | lupu2022/LotusRiver | DeDelay.dsp | import("stdfaust.lib");
d = nentry("d", 0, 0, 1.0, 0.1);
process = de.delay(8192, d);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/DeDelay.dsp | faust | import("stdfaust.lib");
d = nentry("d", 0, 0, 1.0, 0.1);
process = de.delay(8192, d);
| |
2c0f9657eb3b5ae494ff084b2d5289ce1f16f1584151fcc939955a8d8121c24a | lupu2022/LotusRiver | DeFdelay.dsp | import("stdfaust.lib");
d = nentry("d", 0, 0, 1.0, 0.1);
process = de.fdelay(8192, d);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/DeFdelay.dsp | faust | import("stdfaust.lib");
d = nentry("d", 0, 0, 1.0, 0.1);
process = de.fdelay(8192, d);
| |
cbb4f9904c03ea5b1b6233164728c0191b8c8b5ec52984b2627e5a73edb58354 | lupu2022/LotusRiver | switch.dsp | import("stdfaust.lib");
process(a, b, s) = (mode != 0) * a + (mode == 0) * b
with {
mode = p ~ _ with {
p(x) = (s == 0) * x + (s != 0) * (1 - x);
};
};
| https://raw.githubusercontent.com/lupu2022/LotusRiver/235f7735eebbf49b698f85effb7c61d16a7a2ac5/fs/zz/switch.dsp | faust | import("stdfaust.lib");
process(a, b, s) = (mode != 0) * a + (mode == 0) * b
with {
mode = p ~ _ with {
p(x) = (s == 0) * x + (s != 0) * (1 - x);
};
};
| |
9aa61f717736e667287e7ecbf0bfebf99c11781f138c23a7980dc55a9d772f6c | lupu2022/LotusRiver | FiBandpass6e.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.bandpass6e(fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiBandpass6e.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.bandpass6e(fc);
| |
90d0458aab9344d7f234ce74e3d5d942ad6f0bd066411a59a696042610095dfe | lupu2022/LotusRiver | FiLowpass.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.lowpass(2, fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiLowpass.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.lowpass(2, fc);
| |
dc4e2b488cb76d42881d64fc9f1a0760f62c1ab30b5421d7283774627069be7a | lupu2022/LotusRiver | OsTriangle.dsp | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.triangle(freq);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsTriangle.dsp | faust | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.triangle(freq);
| |
51192de6ea29fb541993b70ea1f7bb05d92c625c8a44d7ac6d402c008184ca78 | lupu2022/LotusRiver | FiHighpass6e.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.highpass6e(fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiHighpass6e.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.highpass6e(fc);
| |
b30335927fe3a6be0bbfc21e9f67c141a49df789778400e3b483e36f57513575 | lupu2022/LotusRiver | OsOsc.dsp | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.osc(freq);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsOsc.dsp | faust | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.osc(freq);
| |
10c3c3b61410baa8cf09b4104a09e529f3c54abc89a9d9ad9792f5ab8e2d2efb | lupu2022/LotusRiver | FiDcblockerat.dsp | import("stdfaust.lib");
fb = nentry("fb", 0, 0, 1.0, 0.1);
process = fi.dcblockerat(fb);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiDcblockerat.dsp | faust | import("stdfaust.lib");
fb = nentry("fb", 0, 0, 1.0, 0.1);
process = fi.dcblockerat(fb);
| |
3fe10c9a37f498d3c92780bbe37f06618b1490c4c66a9c33c9dbea22610a7e8b | lupu2022/LotusRiver | BaPulse.dsp | import("stdfaust.lib");
length = nentry("length", 0, 0, 1.0, 0.1);
process = ba.pulse(length);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/BaPulse.dsp | faust | import("stdfaust.lib");
length = nentry("length", 0, 0, 1.0, 0.1);
process = ba.pulse(length);
| |
5241ba28c1330ece3dac10987c27968507452e092eaea0934793b6b76c0921b0 | lupu2022/LotusRiver | FiLowpass6e.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.lowpass6e(fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiLowpass6e.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.lowpass6e(fc);
| |
8fb7df9eb8926c5464358d5d5c36692951e2c8e5a4b214eaf56dbd67da702a60 | lupu2022/LotusRiver | FiHighpass3e.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.highpass3e(fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiHighpass3e.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.highpass3e(fc);
| |
4fe0458a998b99e894324c21454a566ff76533137ede7b9d3d5d26cf81131858 | lupu2022/LotusRiver | FiLowpass3e.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.lowpass3e(fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiLowpass3e.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.lowpass3e(fc);
| |
56ae7230463db78a6605f3dd44b094f39923206c201150830621313a4c9b5ab9 | lupu2022/LotusRiver | BaBeat.dsp | import("stdfaust.lib");
bpm = nentry("bpm", 0, 0, 1.0, 0.1);
process = ba.beat(bpm);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/BaBeat.dsp | faust | import("stdfaust.lib");
bpm = nentry("bpm", 0, 0, 1.0, 0.1);
process = ba.beat(bpm);
| |
6630ac99a524670898c9a9755d6ef032e89afc88ea1a60356c33965fc5905914 | lupu2022/LotusRiver | OsSquare.dsp | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.square(freq);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsSquare.dsp | faust | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.square(freq);
| |
9b065353af6f1741ff6c010be1479d261398a9514a98fee0cf970b9404cd5eff | lupu2022/LotusRiver | FiHighpass.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.highpass(2, fc);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiHighpass.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
process = fi.highpass(2, fc);
| |
fbc0540667a12e6fc273a192a4862e43642dc56dac892359ad5c8413d149f331 | lupu2022/LotusRiver | BaBitcrusher.dsp | import("stdfaust.lib");
nbits = nentry("nbits", 0, 0, 1.0, 0.1);
process = ba.bitcrusher(nbits);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/BaBitcrusher.dsp | faust | import("stdfaust.lib");
nbits = nentry("nbits", 0, 0, 1.0, 0.1);
process = ba.bitcrusher(nbits);
| |
2e7fe9bfb8085911fe120af4da9e4a21d1d0e1a3bacd4b6b28b9dc06ecefe7b6 | lupu2022/LotusRiver | OsSawtooth.dsp | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.sawtooth(freq);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/OsSawtooth.dsp | faust | import("stdfaust.lib");
freq = nentry("freq", 0, 0, 1.0, 0.1);
process = os.sawtooth(freq);
| |
0887db472607e14e37e19c61cae0e5c8cc0c0dd5af10cc36b9acb1524dff9b94 | lupu2022/LotusRiver | FiHighpassLR4.dsp | import("stdfaust.lib");
cf = nentry("cf", 0, 0, 1.0, 0.1);
process = fi.highpassLR4(cf);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiHighpassLR4.dsp | faust | import("stdfaust.lib");
cf = nentry("cf", 0, 0, 1.0, 0.1);
process = fi.highpassLR4(cf);
| |
3eea8c358f3efd5300752abac5f621034cb664640a9903a8e473bdb4a515d8c6 | lupu2022/LotusRiver | FiLowpassLR4.dsp | import("stdfaust.lib");
cf = nentry("cf", 0, 0, 1.0, 0.1);
process = fi.lowpassLR4(cf);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiLowpassLR4.dsp | faust | import("stdfaust.lib");
cf = nentry("cf", 0, 0, 1.0, 0.1);
process = fi.lowpassLR4(cf);
| |
8aa02b395209460256351918274ea3070b0513564bb8361e0917179516ea32b1 | lupu2022/LotusRiver | noise.dsp | import("stdfaust.lib");
freq = nentry("freq", 0.1, 0, 10000, 0.01);
process = os.osc(freq) * 0.6;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/0b1b200e9ba200a6c545d18896b8b347b130e935/examples/assets/noise.dsp | faust | import("stdfaust.lib");
freq = nentry("freq", 0.1, 0, 10000, 0.01);
process = os.osc(freq) * 0.6;
| |
a8bdc0c51b988e9dc26c1a8492e6c170f45620605391a85dd39e7d4782947af8 | lupu2022/LotusRiver | port.dsp | import("stdfaust.lib");
cx = nentry("cx", 0.1, 0, 1, 0.01);
cy = 1.0 - cx;
process(x) = (*(cy), cx*x : +) ~ _;
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/zz/port.dsp | faust | import("stdfaust.lib");
cx = nentry("cx", 0.1, 0, 1, 0.01);
cy = 1.0 - cx;
process(x) = (*(cy), cx*x : +) ~ _;
| |
db8fce7cb7d7dd151f0fa729cec4223959b1edb04893b3645b6876d1aa4f1975 | lupu2022/LotusRiver | metro.dsp | import("stdfaust.lib");
bpm = nentry("bpm", 0.1, 0, 10000, 0.01);
process = ba.beat( bpm * 60.0 );
| https://raw.githubusercontent.com/lupu2022/LotusRiver/b322bf01d9f390cd83c6d22a04de894aedfd8bf9/fs/zz/metro.dsp | faust | import("stdfaust.lib");
bpm = nentry("bpm", 0.1, 0, 10000, 0.01);
process = ba.beat( bpm * 60.0 );
| |
8ba13137c5f886fec08de99e4bcb8e0c3069b1a6fb85c03b5e30ab8086f3c854 | lupu2022/LotusRiver | BaPulsen.dsp | import("stdfaust.lib");
length = nentry("length", 0, 0, 1.0, 0.1);
period = nentry("period", 0, 0, 1.0, 0.1);
process = ba.pulsen(length, period);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/BaPulsen.dsp | faust | import("stdfaust.lib");
length = nentry("length", 0, 0, 1.0, 0.1);
period = nentry("period", 0, 0, 1.0, 0.1);
process = ba.pulsen(length, period);
| |
9c53ed7b002461e636fd5809ba23e567e7c5d7469b8c41ebae52648be7dced44 | lupu2022/LotusRiver | FiBandpass.dsp | import("stdfaust.lib");
fl = nentry("fl", 0, 0, 1.0, 0.1);
fu = nentry("fu", 0, 0, 1.0, 0.1);
process = fi.bandpass(2, fl, fu);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiBandpass.dsp | faust | import("stdfaust.lib");
fl = nentry("fl", 0, 0, 1.0, 0.1);
fu = nentry("fu", 0, 0, 1.0, 0.1);
process = fi.bandpass(2, fl, fu);
| |
38867aa63073b625042502df857f4a730dc9ac5a84559f12efeeca0e24b05006 | lupu2022/LotusRiver | EnAre.dsp | import("stdfaust.lib");
attack = nentry("attack", 0, 0, 1.0, 0.1);
release = nentry("release", 0, 0, 1.0, 0.1);
process = en.are(attack, release);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/EnAre.dsp | faust | import("stdfaust.lib");
attack = nentry("attack", 0, 0, 1.0, 0.1);
release = nentry("release", 0, 0, 1.0, 0.1);
process = en.are(attack, release);
| |
a767b2f931033216e6ba40f811182c89d1bff14f2bb7ddf201d45a3f668c659c | lupu2022/LotusRiver | FiResonhp.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
q = nentry("q", 0, 0, 1.0, 0.1);
gain = nentry("gain", 0, 0, 1.0, 0.1);
process = fi.resonhp(fc, q, gain);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiResonhp.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
q = nentry("q", 0, 0, 1.0, 0.1);
gain = nentry("gain", 0, 0, 1.0, 0.1);
process = fi.resonhp(fc, q, gain);
| |
e37366403851da1a47cefd00e4487ee16af8e50ef0550e5e49ee38ef1d56e81a | lupu2022/LotusRiver | FiResonlp.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
q = nentry("q", 0, 0, 1.0, 0.1);
gain = nentry("gain", 0, 0, 1.0, 0.1);
process = fi.resonlp(fc, q, gain);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiResonlp.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
q = nentry("q", 0, 0, 1.0, 0.1);
gain = nentry("gain", 0, 0, 1.0, 0.1);
process = fi.resonlp(fc, q, gain);
| |
2d69129a812303e6126de074f98afc8f13cb8650680cac1bd9e126d73ff53ea5 | lupu2022/LotusRiver | FiResonbp.dsp | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
q = nentry("q", 0, 0, 1.0, 0.1);
gain = nentry("gain", 0, 0, 1.0, 0.1);
process = fi.resonbp(fc, q, gain);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/FiResonbp.dsp | faust | import("stdfaust.lib");
fc = nentry("fc", 0, 0, 1.0, 0.1);
q = nentry("q", 0, 0, 1.0, 0.1);
gain = nentry("gain", 0, 0, 1.0, 0.1);
process = fi.resonbp(fc, q, gain);
| |
7a1b0edced2c2c084875dbeb2da4a3fdd03733a3d80cbfa9b616248ef8c429ca | lupu2022/LotusRiver | butbp.dsp | import("stdfaust.lib");
bw = nentry("bw", 0.1, 0, 10000, 0.01);
process(x,fc) = x:fi.bandpass(1, fc - bw / 2, fc + bw /2 );
| https://raw.githubusercontent.com/lupu2022/LotusRiver/ecb36e94c58e560de353a45f032b14a4fa246db1/examples/assets/butbp.dsp | faust | import("stdfaust.lib");
bw = nentry("bw", 0.1, 0, 10000, 0.01);
process(x,fc) = x:fi.bandpass(1, fc - bw / 2, fc + bw /2 );
| |
8d78863eabe584080bcbf269038a4b3d2d56595900c2658cbb8f2b8a4483c64a | lupu2022/LotusRiver | tport.dsp | import("stdfaust.lib");
cx = nentry("cx", 0.1, 0, 1, 0.01);
cy = 1.0 - cx;
with_trig(t, x) = _ * t + (1.0 - t) * x;
process(t, x) = (*(cy), x*cx : +) ~ with_trig(tt, x)
with {
tt = t == 0;
};
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/zz/tport.dsp | faust | import("stdfaust.lib");
cx = nentry("cx", 0.1, 0, 1, 0.01);
cy = 1.0 - cx;
with_trig(t, x) = _ * t + (1.0 - t) * x;
process(t, x) = (*(cy), x*cx : +) ~ with_trig(tt, x)
with {
tt = t == 0;
};
| |
440e01ee85fbaa42f860541929a39a55d1823a7dc0189c3bafc529cb3cea3293 | lupu2022/LotusRiver | EnAdsr.dsp | import("stdfaust.lib");
attack = nentry("attack", 0, 0, 1.0, 0.1);
decay = nentry("decay", 0, 0, 1.0, 0.1);
sustain = nentry("sustain", 0, 0, 1.0, 0.1);
release = nentry("release", 0, 0, 1.0, 0.1);
process = en.adsr(attack, decay, sustain, release);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/EnAdsr.dsp | faust | import("stdfaust.lib");
attack = nentry("attack", 0, 0, 1.0, 0.1);
decay = nentry("decay", 0, 0, 1.0, 0.1);
sustain = nentry("sustain", 0, 0, 1.0, 0.1);
release = nentry("release", 0, 0, 1.0, 0.1);
process = en.adsr(attack, decay, sustain, release);
| |
30250d64b58a63ea7fdeceecf0848a2193c5d129041d1464a90dce37559e6343 | lupu2022/LotusRiver | ReMonoFreeverb.dsp | import("stdfaust.lib");
fb1 = nentry("fb1", 0, 0, 1.0, 0.1);
fb2 = nentry("fb2", 0, 0, 1.0, 0.1);
damp = nentry("damp", 0, 0, 1.0, 0.1);
spread = nentry("spread", 0, 0, 1.0, 0.1);
process = re.mono_freeverb(fb1, fb2, damp, spread);
| https://raw.githubusercontent.com/lupu2022/LotusRiver/1de6b2c5c790cb62e127f0447e93f12b87d0c238/fs/auto/ReMonoFreeverb.dsp | faust | import("stdfaust.lib");
fb1 = nentry("fb1", 0, 0, 1.0, 0.1);
fb2 = nentry("fb2", 0, 0, 1.0, 0.1);
damp = nentry("damp", 0, 0, 1.0, 0.1);
spread = nentry("spread", 0, 0, 1.0, 0.1);
process = re.mono_freeverb(fb1, fb2, damp, spread);
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.