_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 |
|---|---|---|---|---|---|---|---|
755ee317f9b8ce4583c5d47d70ab86508803d4f2fa523eb79018ece0f828e822 | s-e-a-m/faust-libraries | msheadphones.dsp | declare name "MID SIDE HEADPHONES";
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] Az... | https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/msheadphones.dsp | faust | import("../seam.lib"); | declare name "MID SIDE HEADPHONES";
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, -... |
7fecd94a725658d736d5cef84d5745fcee6bd8d00b292990e0fdd68bf5db66d0 | s-e-a-m/faust-libraries | abmodule.dsp | declare name "MICHAEL GERZON AB-MODULE";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON AB-MODULE";
import("stdfaust.lib");
//import("../../seam.lib");
abmodule(LFU,RFD,RBU,LBD) = W,X,Y,Z
with{
W = (0.5 *... | https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/abmodule.dsp | faust | import("../../seam.lib"); | declare name "MICHAEL GERZON AB-MODULE";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON AB-MODULE";
import("stdfaust.lib");
abmodule(LFU,RFD,RBU,LBD) = W,X,Y,Z
with{
W = (0.5 * (LFU + RFD + RBU + LBD));
... |
a4f208cff65c9bc6f2cac1b912eac2865a491c6b3281f63412d3d8ecbc0af791 | friskgit/snares | disperse.dsp | // -*- compile-command: "cd .. && make jack src=src/disperse.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");
//---------------`Disperse audio randomly over x ... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/disperse.dsp | faust | -*- compile-command: "cd .. && make jack src=src/disperse.dsp && cd -"; -*-&& cd -"; -*-
---------------`Disperse audio randomly over x channels` --------------------------
Each hit is output to a channel <= channels as controlled by the lfo
in rndctrl. Due to the ma.fabs, there is a greater chance that signal
is ... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
posgroup(x) = vgroup("[0]position", x);
channels = 14;
integ(x) = x - ma.frac(x);
focus = posgroup(hslider("[1]disperse", 1, 0, 1, 0.0001)... |
915ac99d2b4762f217fd43b6681b68154c3145c3353215107b5c4c2500611616 | jameslnrd/mi_introduction_workshop_2020 | harmonicOscillator2.dsp | declare name "Harmonic Oscillator v2";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
The simplest mass-interaction construct: a harmonic oscillator, built by assembling three elements:
a mass, a fixed point and a spring-damper interaction.
The resulting mode... | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/00_BasicOscillator/harmonicOscillator2.dsp | faust | ========= DESCRITPION =============
The simplest mass-interaction construct: a harmonic oscillator, built by assembling three elements:
a mass, a fixed point and a spring-damper interaction.
The resulting model is identical to an mi.osc element (which integrates them together).
- inputs: force impulse
- outp... | declare name "Harmonic Oscillator v2";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
OutGain = 1;
model = (
mi.mass(1., 0, 0., 0.),
mi.ground(0.),
par(i, nbFrcIn,_):
RoutingMassToLink ,
par(i, nbFrcIn,_):
mi.springDamper(0.1, 0.0003, 0., 0.),
par(i, nbOut+nbFrcIn,... |
ee8d4e53149a7fc63a4fee5b0a9ca1b299f34b35c7a9090717e9db7add4701be | jameslnrd/mi_introduction_workshop_2020 | bowedOsc.dsp | declare name "Bowed Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
Friction-based interaction with a simple oscillator => cool squeaky sounds.
- inputs: position control of the "bowing" mass
- outputs: oscillator position.
- controls: ... | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/06_BowedOscillator/bowedOsc.dsp | faust | ========= DESCRITPION =============
Friction-based interaction with a simple oscillator => cool squeaky sounds.
- inputs: position control of the "bowing" mass
- outputs: oscillator position.
- controls: none.
Note: the "type" parameter changes the way the friction interaction is calculated
(set to 0 for... | declare name "Bowed Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
OutGain = 20;
type = 0;
model = (
mi.oscil(1., 0.1, 0.0003, 0, 0., 0.),
mi.posInput(1.):
RoutingMassToLink :
mi.nlBow(1.2, 0.001, type, 0., 1.),
par(i, nbOut, _):
RoutingLinkToMass
)~pa... |
d0bd42c06f782ab376b5de0509cbbac2e2ec7f71a4a6eaf8fcc2e77560f3b230 | grame-cncm/smartfaust | sfTrashShift.dsp | declare name "sfTrashShift";
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;
//--------------------... | https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfTrashShift/sfTrashShift.dsp | faust | -------------------- MAIN -------------------------------
--------------------------------------------------------------------------------------------------
from FAUST example and adapted by Christophe Lebreton
very simple real time pitch shifter
w = hslider("window [units (ms)]", 75, 10, 1000, 1)*SR*0.001;
x = hslid... | declare name "sfTrashShift";
declare version "1.1";
declare author "Christophe Lebreton";
declare license "BSD";
declare copyright "SmartFaust - GRAME(c)2013-2018";
import("stdfaust.lib");
process = pitchshifter_drywet;
transpose (w, x, s, sig) = de.fdelay1s(d,sig)* ma.fmin(d/x,1) + de.fdelay1s(d+w,s... |
869adf6f42d10499485b3d2a9bc91193f048f771aaa4a5b8d71e68efa87007f6 | s-e-a-m/faust-libraries | cardiosc_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_trianglepo... | https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/plots/dsp/cardiosc_plot.dsp | faust | process = os.osc(50), 0 : mspan; | 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_trianglepo... |
521b151eca25ee9c21639e1b8242c431bdf2b039af03496e0798eea895c12059 | afalaize/faust | vumeter.dsp | declare name "vumeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-------------------------------------------------
// Simple vumeter
//-------------------------------------------------
import("stdfaust.lib");
vmeter(x) = attach(x, envelop(x) ... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/analysis/vumeter.dsp | faust | -------------------------------------------------
Simple vumeter
------------------------------------------------- | declare name "vumeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
vmeter(x) = attach(x, envelop(x) : vbargraph("[2][unit:dB]", -70, +5));
hmeter(x) = attach(x, envelop(x) : hbargraph("[2][unit:dB]", -70, +5));
envelop ... |
15cb7f1e45d806d9ae21bbb1705192edb4d4b0600a1fe7e816a6571787c8dc7a | afalaize/faust | osci.dsp | declare name "osci";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2009";
//-----------------------------------------------
// Sinusoidal Oscillator
// (with linear interpolation)
//-----------------------------------------------
import("stdfaust.lib");
... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/generator/osci.dsp | faust | -----------------------------------------------
Sinusoidal Oscillator
(with linear interpolation)
----------------------------------------------- | declare name "osci";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2009";
import("stdfaust.lib");
vol = hslider("volume [unit:dB]", 0, -96, 0, 0.1) : ba.db2linear : si.smoo ;
freq = hslider("freq [unit:Hz]", 1000, 20, 24000, 1);
proce... |
40d7dcf24b805069728dd0d049b863f0f5f9ba06f59372d8898688ab579a2475 | SMERM/BN-Tedesco | spanner_1x8.dsp | declare filename "spanner_1x8.dsp"; declare name "spanner_1x8"; declare name "spanner_1x8";
declare version "1.0";
declare author "THC-SCALAS";
declare license "BSD";
declare copyright "Cecilia-labs";
//==========================================================
//
// spanner_1x8
// ... | https://raw.githubusercontent.com/SMERM/BN-Tedesco/2a77e1707f7e64c512dd40d58d29c0db8092463d/COME-04/20200507/spanner_1x8.dsp | faust | ==========================================================
spanner_1x8
traspose panner_1x8
==========================================================
NUMERO DI CANALI IN USCITA
DISTANZA ANGOLARE INTERSPEAKER IN GRADI
DIREZIONE ANGOLARE DELLA SORGENTE IN GRADI
SEPARAZIONE INTERSPEA... | declare filename "spanner_1x8.dsp"; declare name "spanner_1x8"; declare name "spanner_1x8";
declare version "1.0";
declare author "THC-SCALAS";
declare license "BSD";
declare copyright "Cecilia-labs";
import("stdfaust.lib");
process(sig) = sig*(pow(10, ((0.5*cos(angstepr*1-angr)-0.5)*sep)*0.... |
604c9deae2f2134db6278577ad9c8795460dd8e9ea64893a607ffd3a14922aeb | inria-emeraude/syfala | lmsN.dsp | declare name "Least Mean Square Algorithm";
declare version "1.0";
declare author "Pierre Lecomte";
declare author "Loic Alexandre";
declare license "CC-BY-NC-SA-4.0";
import("stdfaust.lib");
N = 500;
coeffs = si.bus(N);
h = fi.fir((1,2,3,4,5)); // target filter
y = _:h; // Output signal from target system
h_h... | https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/tools/multiN/dsp/lmsN.dsp | faust | target filter
Output signal from target system
Adapted filter
Output signal from adapted system
To obtain x_n, the reference signal at time n
Reference signal
Convergence coefficient (smaller for slower convergence)
No input
Output 0 = error signal (y - y_hat) | declare name "Least Mean Square Algorithm";
declare version "1.0";
declare author "Pierre Lecomte";
declare author "Loic Alexandre";
declare license "CC-BY-NC-SA-4.0";
import("stdfaust.lib");
N = 500;
coeffs = si.bus(N);
x = (signal:_<:(_,_,_));
process = ((coeffs,x):(y_hat(N),y,_):(coeffs,(-<:(_,_*mu)),b... |
f9b856f7070103ce40ba126f3bcda34c08d07782063513978711c0a967632c8c | inria-emeraude/syfala | lms_standalone.dsp | declare name "Least Mean Square Algorithm";
declare version "1.0";
declare author "Pierre Lecomte";
declare author "Loic Alexandre";
declare license "CC-BY-NC-SA-4.0";
import("stdfaust.lib");
N = 30; // Number of coefficients
coeffs = si.bus(N);
h = fi.fir((1,2,3,4,5)); // target filter
y = _:h; // Output signa... | https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/lms_standalone.dsp | faust | Number of coefficients
target filter
Output signal from target system
Adapted filter
Output signal from adapted system
To obtain x_n, the reference signal at time n
Reference signal
Convergence coefficient (smaller for slower convergence)
No input
Output 0 = error signal (y - y_hat) | declare name "Least Mean Square Algorithm";
declare version "1.0";
declare author "Pierre Lecomte";
declare author "Loic Alexandre";
declare license "CC-BY-NC-SA-4.0";
import("stdfaust.lib");
coeffs = si.bus(N);
x = (signal:_<:(_,_,_));
process = ((coeffs,x):(y_hat(N),y,_):(coeffs,(-<:(_,_*mu)),buffer):(c... |
5aba287c9f6e8ee48d46141310c85695da4256b04e4880d70af67333fd620a25 | rottingsounds/bitDSP-faust | DarioGen3.dsp | declare name "DarioGen3";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/DarioGen3.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix DarioGen3.dsp
Final output | declare name "DarioGen3";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.gen1(c1, c2) : si.bus(2);
|
55e9120ad5d2d5ff2ccdf36be2fd08c6358af88971b928a05f68709ea2cc2b23 | rottingsounds/bitDSP-faust | DarioGen2.dsp | declare name "DarioGen2";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/DarioGen2.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix DarioGen2.dsp
Final output | declare name "DarioGen2";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.gen2(c1, c2) : si.bus(2);
|
236896dceac16a85b502b2997e1b60a2fc8866fd018beaf2d7abb5b6db8e2f02 | rottingsounds/bitDSP-faust | DarioGen1.dsp | declare name "DarioGen1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/DarioGen1.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix DarioGen1.dsp
Final output | declare name "DarioGen1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.gen1(c1, c2) : si.bus(2);
|
457a0959dd4613a24811dbac841c615658e67031b05c86a71d272ceef3d09774 | rottingsounds/bitDSP-faust | DarioGen4.dsp | declare name "DarioGen4";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/DarioGen4.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix DarioGen4.dsp
Final output | declare name "DarioGen4";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.gen4(c1, c2) : si.bus(2);
|
d3a4cb12e796230e0ba92ebb4991e9537144d1fb7487fe28b3290fa428dc9148 | rottingsounds/bitDSP-faust | Higks.dsp | declare name "Higks";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ../../... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/Higks.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix Higks.dsp
Final output | declare name "Higks";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.higks(c1, c2) : si.bus(2);
|
4e9aa99e354f6aac204c509783e4783bcf9a7aeb004da79c23adc508deedcc6c | rottingsounds/bitDSP-faust | Bfb.dsp | declare name "Bfb";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ../../li... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/Bfb.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix Bfb.dsp
Final output | declare name "Bfb";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.bfb(c1, c2) : si.bus(2);
|
7d0546ab51bfea4b8966a59611df3e45578c17622e369c58481e68829d57d19c | rottingsounds/bitDSP-faust | Trck.dsp | declare name "Trck";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
bit_gen = library("bitDSP_gen.lib");
// SuperCollider
// export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
// faust2supercollider -I ../../l... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/d70843492b65bb2cb9cf97c2240905fefacc7383/synths/_sc/Trck.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../../lib -noprefix Trck.dsp
Final output | declare name "Trck";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit_gen = library("bitDSP_gen.lib");
c1 = hslider("c1",0,0,1,0.001);
c2 = hslider("c2",0.5,0,1,0.001);
process = bit_gen.trck(c1, c2) : si.bus(2);
|
492636850a58f92019579481e92865ef2f396732ef00b901e241c54f24f890c5 | Frando/studiox-switcher | switcher.dsp | declare name "studiox-switcher";
declare version "1.0";
declare author "Franz Heinzmann";
declare license "BSD";
declare options "[osc:on]";
import("stdfaust.lib");
merge2 = _,_: ba.parallelMean(2);
// helpers to build a VU meter
envelop = abs : max ~ -(1.0/ma.SR) : max(ba.db2linear(-70)) : b... | https://raw.githubusercontent.com/Frando/studiox-switcher/84ce1d192c86c11aaf89edb5e097b29555f632f4/dsp/switcher.dsp | faust | helpers to build a VU meter | declare name "studiox-switcher";
declare version "1.0";
declare author "Franz Heinzmann";
declare license "BSD";
declare options "[osc:on]";
import("stdfaust.lib");
merge2 = _,_: ba.parallelMean(2);
envelop = abs : max ~ -(1.0/ma.SR) : max(ba.db2linear(-70)) : ba.linear2db;
vumeterM(x) = enve... |
30b48aef23af25448a628b3c24e5775f7dbc0e6badaad3794d88f05e09bd3ecb | magnetophon/MBdistortion | MBdistortion.dsp | declare name "MBdistortion";
declare author "Bart Brouns (bart@magnetophon.nl";
declare copyright "Bart Brouns";
declare version "1.1.1";
declare license "GPLv2";
import("stdfaust.lib");
MS = (checkbox("[0] mid/side
[tooltip: When this is checked, process mid-side, otherwise process stereo]"));
freq_group(x)... | https://raw.githubusercontent.com/magnetophon/MBdistortion/612e511d7f6f09877f8bb804faacfb90a01afe9c/MBdistortion.dsp | faust | declare name "MBdistortion";
declare author "Bart Brouns (bart@magnetophon.nl";
declare copyright "Bart Brouns";
declare version "1.1.1";
declare license "GPLv2";
import("stdfaust.lib");
MS = (checkbox("[0] mid/side
[tooltip: When this is checked, process mid-side, otherwise process stereo]"));
freq_group(x)... | |
fc6cc0319086b0544f131cdea95968d74ca13ac2a955f8a05687a1603326df7f | s-e-a-m/faust-libraries | m2bfmt.dsp | declare name "MICHAEL GERZON MONO TO BFORMAT ENCODER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON MONO TO BFORMAT ENCODER";
import("stdfaust.lib");
import("../../seam.lib");
// LS and RS are dead channels ... | https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/m2bfmt.dsp | faust | LS and RS are dead channels to create VST routing consistency | declare name "MICHAEL GERZON MONO TO BFORMAT ENCODER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON MONO TO BFORMAT ENCODER";
import("stdfaust.lib");
import("../../seam.lib");
m2bfmt(L,R,LS,RS) = W,X,Y,Z
w... |
6dc8f93ac874a79b85bcfae675fe9b3e87820ba89a3e4446e0fe64b18ef83f3e | madskjeldgaard/komet | plat.dsp | declare name "Plat";
declare author "Mads Kjeldgaard";
declare copyright "Mads Kjeldgaard";
declare version "1.00";
declare license "GPL";
import("stdfaust.lib");
import("lib/mkdelay.dsp");
// Static
order = 4;
numDelays = 8;
maxdelay = 0.1 * ma.SR;
// Controls
delay = vslider("delaytime",0.1,0.001,2.0,0.01) : *(ma.... | https://raw.githubusercontent.com/madskjeldgaard/komet/defd9b0b2f4055dcb12b75565631a30152fa779c/faust/plat.dsp | faust | Static
Controls
apFb = vslider("apFb",0.25,0.0,1.0,0.00001) : si.smoo;
Process | declare name "Plat";
declare author "Mads Kjeldgaard";
declare copyright "Mads Kjeldgaard";
declare version "1.00";
declare license "GPL";
import("stdfaust.lib");
import("lib/mkdelay.dsp");
order = 4;
numDelays = 8;
maxdelay = 0.1 * ma.SR;
delay = vslider("delaytime",0.1,0.001,2.0,0.01) : *(ma.SR) : si.smoo;
fb = vs... |
7711054442f63c5055f39bc66e365dd85e4d129e0444d47cc65058e4e7523538 | jameslnrd/mi_introduction_workshop_2020 | 2massChain.dsp | declare name "2-mass Chain";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A logical step from a simple oscillator: a chain of two masses connected by spring-dampers,
fixed at one end to a fixed point !
- inputs: force impulse on the last mass of the chai... | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/08_TwoMassChain/2massChain.dsp | faust | ========= DESCRITPION =============
A logical step from a simple oscillator: a chain of two masses connected by spring-dampers,
fixed at one end to a fixed point !
- inputs: force impulse on the last mass of the chain.
- outputs: position of the last mass of the chain.
- controls: none
routed positions ... | declare name "2-mass Chain";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = button("Frc Input 1"): ba.impulsify;
OutGain = 0.1;
K1 = 0.1;
Z1 = 0.0003;
K2 = 0.1;
Z2 = 0.0003;
model = (
mi.ground(0.),
mi.mass(1., 0, 0., 0.),
mi.mass(1., 0, 0., 0.),
par(i, nbFrcIn... |
b2ad1e81b612236daa5d6acb5e09b644c1e43994df5bc0fb0efe9651692a2c23 | rottingsounds/bitDSP-faust | DSM2bipolar.dsp | declare name "DSM2bipolar";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib DSM2bipolar.dsp
// ./DSM2bipolar -n 10
// compile
// CXXFLAGS="-I ../..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/DSM2bipolar.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib DSM2bipolar.dsp
./DSM2bipolar -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -double -I ../lib DSM2bipolar.dsp
./DSM2bipolar
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../fau... | declare name "DSM2bipolar";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
process = bit.dsm2;
|
a917ca78818353ea977a6da71c44edd52d952bb7bc63d9aa2f6f35b3617766f0 | rottingsounds/bitDSP-faust | DSMAdd.dsp | declare name "DSMAdd";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib DSMAdd.dsp
// ./DSM2bipolar -n 10
// compile
// CXXFLAGS="-I ../../../includ... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/DSMAdd.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib DSMAdd.dsp
./DSM2bipolar -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -double -I ../lib DSMAdd.dsp
./DSM2bipolar
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../faust/bitDSP-... | declare name "DSMAdd";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
process = bit.bitstream_adder;
|
1ee56568c9a4ea0137c28f425f25f22eadcff3cecc71c2831db4b2bdab4d0b99 | rottingsounds/bitDSP-faust | DSM2unipolar.dsp | declare name "DSM2unipolar";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib DSM2unipolar.dsp
// ./DSM2unipolar -n 10
// compile
// CXXFLAGS="-I ..... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/DSM2unipolar.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib DSM2unipolar.dsp
./DSM2unipolar -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -double -I ../lib DSM2unipolar.dsp
./DSM2unipolar
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ..... | declare name "DSM2unipolar";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
process = bit.dsm2 > 0;
|
c672b1927ea600b0593cdc19af5fb20829e1ecbf91d7a9d6718d4e464caacf18 | afalaize/faust | karplus.dsp | declare name "karplus";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-----------------------------------------------
// karplus-strong
//-----------------------------------------------
import("stdfaust.lib");
// Excitator
//-----------
upfront... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/physicalModeling/old/karplus.dsp | faust | -----------------------------------------------
karplus-strong
-----------------------------------------------
Excitator
-----------
resonator
------------ | declare name "karplus";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
upfront(x) = (x-x') > 0.0;
decay(n,x) = x - (x>0.0)/n;
release(n) = + ~ decay(n);
trigger(n) = upfront : release(n) : >(0.0);
size = hslider("excitatio... |
f865256dfacc5ce8abe6f41e359e7130c6f6c76fe31bad121e5f68a0a68fbdd6 | friskgit/snares | i_snare_phase.dsp | // -*- compile-command: "cd .. && make jack src=i_snare_phase.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(... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_snare_phase.dsp | faust | -*- compile-command: "cd .. && make jack src=i_snare_phase.dsp && cd -"; -*-&& cd -"; -*-
for PI definition
for osci definition
---------------`Four drum instances phased equally` --------------------------
Generating an impulse and feeding it to a generic_snarefs. Each impulse is delayed by 25%
and sent to a sep... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
per = ma.SR / p : int : *(4);
hit(t) = (diff(ba.period(t)) < 0) + impulse
with {
diff(x) = x <: _ - _';
impulse = 1 - 1';
};
delA = pe... |
85949597c388c8ee1806b196f52f54760ebdbcc0b328e8b6f5c8ff700af0bd3b | friskgit/snares | snare.dsp | // -*- compile-command: "cd .. && make sc && cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
//---------------`Snare drum synth` --------------------------
// A take at a snare d... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/max/snare%7E.mxo/snare.dsp | faust | -*- compile-command: "cd .. && make sc && cd -"; -*-
---------------`Snare drum synth` --------------------------
A take at a snare drum synth
A single hit snare drum synth
Where:
* midi note 67-89
* stiffness 0-0.55 (mapped to note as in note 67 -> 0)§
* midi velocity is mapped to pressure
A useful parameter... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
channels = 2;
env = en.ar(attack, rel, imp) * amp
with {
attack = hslider("attack", 0.00000001, 0, 0.1, 0.000000001) : si.smooth(0.1);
... |
c1b07341ec500f0c4cfeedb9211871ffc5c7115df583b736404368e8fdc9c664 | chmaha/Enover | enover.dsp | declare name "Enover";
declare description "A feedback-delay-network reverb";
declare author "Julius O. Smith III, Christopher Arndt, chmaha";
declare copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare license "GPLv3";
declare version "0.1.0";
import("stdfaust.lib");
zita_rev... | https://raw.githubusercontent.com/chmaha/Enover/fc8f665d2d4b627e4196437d068fe0050deadf87/faust/enover.dsp | faust | highest sampling rate that will be used
Zolzer style peaking eq (not used in zita-rev1) (filters.lib):
pareq_stereo(eqf,eql,Q) = peak_eq(eql,eqf,eqf/Q), peak_eq(eql,eqf,eqf/Q);
Regalia-Mitra peaking eq with "Q" hard-wired near sqrt(g)/2 (filters.lib):
tan(PI*B/SR), B bw in Hz (Q^2 ~ g/4)
peak frequency in rad/sam... | declare name "Enover";
declare description "A feedback-delay-network reverb";
declare author "Julius O. Smith III, Christopher Arndt, chmaha";
declare copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare license "GPLv3";
declare version "0.1.0";
import("stdfaust.lib");
zita_rev... |
9de4496beaa05d32e41227c23d2b6dcdf5a60f807118f73be82029d545419587 | rottingsounds/bitDSP-faust | boolOsc0.dsp | declare name "boolOsc0";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix boolOsc0.dsp
// pl... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/boolOsc0.dsp | faust | SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix boolOsc0.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc0.dsp
./boolOsc0 -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc0.dsp
./boolOsc0
mono out | declare name "boolOsc0";
declare description "bool_osc_0 - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
dt1 = int(hslider("dt1",0,0,1,0) * ma.SR);
dt2 = int(hslider("dt2",0,0,1,0) * ma.SR);
dt3 = int(hslider("dt3",0,... |
6f83840bb923386cdaebd2bad7ddc6d6d0790f63d05bf33ae3115396cab6ea8a | rottingsounds/BoolOscFB1 | BoolOscFB1.dsp | declare name "BoolOscFB1";
declare description "bool_osc FB alternative 1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
// bit = library("bitDSP.lib");
// SuperCollider
// CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix... | https://raw.githubusercontent.com/rottingsounds/BoolOscFB1/b6e58251575b296268d16c2f0c48256137f4f35c/faust/BoolOscFB1.dsp | faust | bit = library("bitDSP.lib");
SuperCollider
CXXFLAGS="-I ../../../../include" faust2supercollider -I ../../lib -noprefix BoolOscFB1.dsp
plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib boolOsc_fb.dsp
./boolOsc_fb -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib boolOsc_fb.dsp
./boo... | declare name "BoolOscFB1";
declare description "bool_osc FB alternative 1";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bool_osc1_mod(d1, d2) = node1 letrec {
'node1 = delay(d1, not(node1 xor node2 & node1));
'node2 = delay(d2, no... |
c666d59a4e2cbebe49201f297fbc4f4dbaa8162cf5ca885423c60a3acaa76431 | LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust | 1.01_Wavetable_Realtime_Recorder.dsp | // ---------------------------------------------------------------------------------
declare name "Realtime Recorder";
declare version "1.0";
declare author "Luca Spanedda";
/*
Oscillator from wave-table recording
*/
// import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
imp... | https://raw.githubusercontent.com/LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust/bb01eff05a51424c16420a00b383441d8973d85e/0_work-in-progress/1.01_Wavetable_Realtime_Recorder.dsp | faust | ---------------------------------------------------------------------------------
Oscillator from wave-table recording
import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
GUI
WAVETABLE RECORDER
Offset for write and read. For point the write index at 0 when stopped.
record the memory wit... | declare name "Realtime Recorder";
declare version "1.0";
declare author "Luca Spanedda";
import("stdfaust.lib");
freqgui = hslider("[1] Frequency",1,0,2,0.001) : si.smoo;
ampgui = hslider("[2] Amp",1,0,2,0.001) : si.smoo;
buttongui = button("[0] Rec");
looptable(recstart,freq) = _*buttongui : rwtabl... |
c740113e345c994aa96285975cbd9788530fd8f2a9594799a897d55555bce826 | inria-emeraude/syfala | lms_live.dsp | declare name "Least Mean Square Algorithm";
declare version "1.0";
declare author "Pierre Lecomte";
declare author "Loic Alexandre";
declare license "CC-BY-NC-SA-4.0";
import("stdfaust.lib");
N = 5; // Number of coefficients (should be >= 200 to identify a system with narrow frequency band)
coeffs = si.bus(N);
... | https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/lms_live.dsp | faust | Number of coefficients (should be >= 200 to identify a system with narrow frequency band)
y = x*[room impulse response]
Adapted filter
Output from the adapted system
To obtain x_n, the reference signal at time n
Lowpass filter for frequency band reduction
Excitation signal
Reference signal
Inputs including th... | declare name "Least Mean Square Algorithm";
declare version "1.0";
declare author "Pierre Lecomte";
declare author "Loic Alexandre";
declare license "CC-BY-NC-SA-4.0";
import("stdfaust.lib");
coeffs = si.bus(N);
process = ((coeffs,in):(y_hat(N),y,_,_):(coeffs,(-<:(_,_*mu)),buffer,_):(coeffs,_,(_<:si.bus(N)),... |
2b9e7139d114887475436b633e726dca09e08fbcc5cfccb3622088001e0d8ea6 | s-e-a-m/faust-libraries | lr2bfmt.dsp | declare name "MICHAEL GERZON STEREO TO BFORMAT ENCODER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON STEREO TO BFORMAT ENCODER";
import("stdfaust.lib");
import("../../seam.lib");
// LS and RS are dead chann... | https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/vst/lr2bfmt.dsp | faust | LS and RS are dead channels to create VST routing consistency
lr2bfmt(L,R,LR,RS) = W,X,Y,Z
with{
azi = 45.0 : deg2rad;
elv = 00.0 : deg2rad;
WL = L * 0.707;
XL = L * cos(azi) * cos(elv);
YL = L * sin(azi) * cos(elv);
ZL = L * sin(elv);
WR = R * 0.707;
XR = R * cos(-azi) * ... | declare name "MICHAEL GERZON STEREO TO BFORMAT ENCODER";
declare version "001";
declare author "Giuseppe Silvi";
declare license "GNU-GPL-v3";
declare copyright "(c)SEAM 2019";
declare description "MICHAEL GERZON STEREO TO BFORMAT ENCODER";
import("stdfaust.lib");
import("../../seam.lib");
process = lrms2bfmt;
|
a7d0f33e6af3129c2bdc757b0f79228b48db5ce4576bb27bc65967287a109a9c | sonosaurus/sonobus | compressjlc.dsp | //----------------------------`(dm.)compressor_demo`-------------------------
// Compressor demo application.
//
// #### Usage
//
// ```
// _,_ : compressor_demo : _,_;
// ```
//------------------------------------------------------------
declare name "compressor";
declare version "0.0";
declare author "JOS, revised b... | https://raw.githubusercontent.com/sonosaurus/sonobus/52cb09f046b94ba2d5d9d47e85c8d9789d86c96e/scripts/compressjlc.dsp | faust | ----------------------------`(dm.)compressor_demo`-------------------------
Compressor demo application.
#### Usage
```
_,_ : compressor_demo : _,_;
```
------------------------------------------------------------
en.wikipedia.org/wiki/Dynamic_range_compression]", x);
gainview = co.compression_gain_mono(ratio,th... |
declare name "compressor";
declare version "0.0";
declare author "JOS, revised by RM";
declare description "Compressor demo application";
import("stdfaust.lib");
compressorjlc_demo = ba.bypass2(cbp,compressor_stereo_demo)
with{
main_group(x) = vgroup("compressor [tooltip: Reference:
comp_group(x) =... |
ad0c9caa8b6ac986ac12ae675e4fbc8a664b2fcab3572d26c6464e306da665ca | jpecquais/faustLab | jlpCompressor.dsp | import("lib/jlpLibs.lib");
import("stdfaust.lib");
declare name "Compressor";
declare author "Jean-Loup Pecquais";
declare version "1.00";
declare license "GPL3";
// TODO : TO BE IMPLEMENTED IN A PROPER LIB
delay(time) = @(max(0,floor(0.5+ma.SR*time)));
//TODO : FORCE FEEDFORWARD WHEN LAH IS ON
comp_BigBrother_nCh(... | https://raw.githubusercontent.com/jpecquais/faustLab/822700f7f05a3a033f22bc3eaebd3640904ab703/dsp/Dynamic/jlpCompressor.dsp | faust | TODO : TO BE IMPLEMENTED IN A PROPER LIB
TODO : FORCE FEEDFORWARD WHEN LAH IS ON
process = jlpDyn.crestFactorComputer_nCh(1,0,0,2)
hslider("Look Ahead", 0, 0, 120, 0.1); | import("lib/jlpLibs.lib");
import("stdfaust.lib");
declare name "Compressor";
declare author "Jean-Loup Pecquais";
declare version "1.00";
declare license "GPL3";
delay(time) = @(max(0,floor(0.5+ma.SR*time)));
comp_BigBrother_nCh(strength,thresh,att,rel,hld,rms,knee,lad,link,FBFF,meter,N) =
si.bus(N) <: si.bus(N*... |
fde506e545978ab239094cb5bbf07eee0a87667a75d8c41e87aca800429c1571 | olegkapitonov/Kapitonov-Plugins-Pack | kpp_single2humbucker.dsp | /*
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | https://raw.githubusercontent.com/olegkapitonov/Kapitonov-Plugins-Pack/ed4541172d53ecf04bad43cd583365f278ccf176/LV2/kpp_single2humbucker/kpp_single2humbucker.dsp | faust |
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is ... |
declare name "kpp_single2humbucker";
declare author "Oleg Kapitonov";
declare license "GPLv3";
declare version "1.2";
import("stdfaust.lib");
delay_samples = ma.SR / 2880 / 2;
process = output with {
effect_knob = vslider("Humbuckerize", 1, 0, 1, 0.001);
filter_knob = vslider("Bass Cut", 20, 20, 720, 0.001);
... |
fe603ee64f6dd5b3a0321e101fe391a7c9c25654dd6db586dfc1e00eb36cd9aa | olegkapitonov/Kapitonov-Plugins-Pack | kpp_single2humbucker.dsp | /*
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | https://raw.githubusercontent.com/olegkapitonov/Kapitonov-Plugins-Pack/ed4541172d53ecf04bad43cd583365f278ccf176/LADSPA/kpp_single2humbucker/kpp_single2humbucker.dsp | faust |
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is ... |
declare name "kpp_single2humbucker";
declare author "Oleg Kapitonov";
declare license "GPLv3";
declare version "1.1";
import("stdfaust.lib");
delay_samples = ma.SR / 2880 / 2;
process = output with {
effect_knob = vslider("Humbuckerize", 0, 0, 1, 0.001);
filter_knob = vslider("Bass Cut", 20, 20, 720, 0.001... |
5832966bcfbb29a79a1bdff9a5bb9216027ab0fdac1c70997aff95c7da04870b | sebastien-clara/panoplie | tube12AX7.dsp | declare name "Tube Amp Emulation 12AX7";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_12AX7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_12AX7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_12AX7 : *(gain)
with {
preamp = vslid... | https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/tube12AX7%7E.mxo/tube12AX7.dsp | faust | declare name "Tube Amp Emulation 12AX7";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_12AX7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_12AX7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_12AX7 : *(gain)
with {
preamp = vslid... | |
97a6569ff7018bbe7d695010da4f649624f54556c900a185f32d04c6fe39b37b | sebastien-clara/panoplie | tube6C16.dsp | declare name "Tube Amp Emulation 6C16";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_6C16 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_6C16 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_6C16 : *(gain)
with {
preamp = vslider("... | https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/tube6C16%7E.mxo/tube6C16.dsp | faust | declare name "Tube Amp Emulation 6C16";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_6C16 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_6C16 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_6C16 : *(gain)
with {
preamp = vslider("... | |
28aadfb46a0235c289f97ddf2a8fac01cb397010e5174a08cee9d1e5079023bf | sebastien-clara/panoplie | tube6DJ8.dsp | declare name "Tube Amp Emulation 6DJ8";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_6DJ8 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_6DJ8 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_6DJ8 : *(gain)
with {
preamp = vslider("... | https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/tube6DJ8%7E.mxo/tube6DJ8.dsp | faust | declare name "Tube Amp Emulation 6DJ8";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_6DJ8 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_6DJ8 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_6DJ8 : *(gain)
with {
preamp = vslider("... | |
aa328a55da06c3cbd31b84cb6faad643f179823cc2cf65dc3bcdc8de487b1ea9 | sebastien-clara/panoplie | tube12AT7.dsp | declare name "Tube Amp Emulation 12AT7";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_12AT7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_12AT7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_12AT7 : *(gain)
with {
preamp = vslid... | https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/tube12AT7%7E.mxo/tube12AT7.dsp | faust | declare name "Tube Amp Emulation 12AT7";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_12AT7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_12AT7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_12AT7 : *(gain)
with {
preamp = vslid... | |
9657d3a413e9c9d2b03cf534ec3216e9068529e5ad91d2e150c4bf005ff0f2a6 | sebastien-clara/panoplie | tube12AU7.dsp | declare name "Tube Amp Emulation 12AU7";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_12AU7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_12AU7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_12AU7 : *(gain)
with {
preamp = vslid... | https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/tube12AU7%7E.mxo/tube12AU7.dsp | faust | declare name "Tube Amp Emulation 12AU7";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_12AU7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_12AU7 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_12AU7 : *(gain)
with {
preamp = vslid... | |
80d098c8c4b62876e07d41d2116adcf6080c796f819f63bdeeb156445e58c90a | sebastien-clara/panoplie | tube6V6.dsp | declare name "Tube Amp Emulation 6V6";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_6V6 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_6V6 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_6V6 : *(gain)
with {
preamp = vslider("Preg... | https://raw.githubusercontent.com/sebastien-clara/panoplie/bfb061ab2874a404826a2d62a5359dcd92264f30/audioFX/ampli/tube6V6%7E.mxo/tube6V6.dsp | faust | declare name "Tube Amp Emulation 6V6";
declare author "Guitarix";
import("stdfaust.lib");
process = component("tubes.lib").T1_6V6 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T2_6V6 : *(preamp):
fi.lowpass(1,6531.0) : component("tubes.lib").T3_6V6 : *(gain)
with {
preamp = vslider("Preg... | |
ce551794d4c9ae72253d48e5b7106551c09e2307f4d361cc8fdda0a7e8639f4f | rottingsounds/bitDSP-faust | bitDAC.dsp | declare name "bitDAC";
declare description "bitDAC - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit32 = library("bitDSP_int32.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -I ../lib bitDAC.dsp
// ./bitDAC -n 10
// compile
// CXXFLAGS="-... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/bitDAC.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib bitDAC.dsp
./bitDAC -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib bitDAC.dsp
./bitDAC
counting samples from start of execution, starting at 0
select bits of the samplecount and interpret that chunk as a PCM value | declare name "bitDAC";
declare description "bitDAC - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit32 = library("bitDSP_int32.lib");
dac_bits = int(hslider("dac bits",1,1,32,1));
dac_offset = min(int(hslider("dac offset",0,0,31,1)), 32-dac_bit... |
eb0cbc77b590a52c27a1289eecf9d3f33b04a9aba3a901e796f43aa2250abca6 | pingdynasty/OwlPatches | Qompander.dsp | declare name "qompander";
declare version "1.2";
declare author "Bart Brouns";
declare license "GNU 3.0";
declare copyright "(c) Bart Brouns 2014";
declare credits "ported from qompander in pd by Katja Vetter";
declare see "http://www.katjaas.nl/compander/compander.html";
declare additional "filter coefficients by Olli... | https://raw.githubusercontent.com/pingdynasty/OwlPatches/2be8a65bb257b53ee7ee0b9d4b5a1ad249e16dab/Faust/Qompander.dsp | faust | -----------------------------------------------
imports
-----------------------------------------------
-----------------------------------------------
the GUI
-----------------------------------------------
-----------------------------------------------
the DSP
-----------------------------------------------
to g... | declare name "qompander";
declare version "1.2";
declare author "Bart Brouns";
declare license "GNU 3.0";
declare copyright "(c) Bart Brouns 2014";
declare credits "ported from qompander in pd by Katja Vetter";
declare see "http://www.katjaas.nl/compander/compander.html";
declare additional "filter coefficients by Olli... |
562cea5e761efa826f2f3cfdc47a399776cc2adc3fd7a3c21beeb7daa902bc6c | magnetophon/faustExperiments | slidingOp.dsp | declare name "LazyLeveler";
declare version "0.1";
declare author "Bart Brouns";
declare license "GPLv3";
import("stdfaust.lib");
// N = hslider("maxN", 0, 0, maxN, 1);
// maxN = pow(2,4);
N = maxN;
maxN = 14;
process =
// pow(2,32);
// maxn;
slidingMax(N,maxN);
// ba.slidingMax(N,maxN);
slidingMin(n,maxn) = ... | https://raw.githubusercontent.com/magnetophon/faustExperiments/0cb3f5027fc4350b3b448e51e2b8515107fc5e64/slidingOp.dsp | faust | N = hslider("maxN", 0, 0, maxN, 1);
maxN = pow(2,4);
pow(2,32);
maxn;
ba.slidingMax(N,maxN);
todo:
The sum of all the sizes of the previous blocks
Apply <op> to <N> parallel input signals
Decide wether or not to use a certain value, based on N
same as:
pow2(i) = int(pow(2,i));
but in the block diagram, it w... | declare name "LazyLeveler";
declare version "0.1";
declare author "Bart Brouns";
declare license "GPLv3";
import("stdfaust.lib");
N = maxN;
maxN = 14;
process =
slidingMax(N,maxN);
slidingMin(n,maxn) = slidingReduce(min,n,maxn,ma.INFINITY);
slidingMax(n,maxn) = slidingReduce(max,n,maxn,0-ma.INFINITY);
slidi... |
a15784adb5fa65f95d345569e58a710e5f8505718c1e1420f457119fe37d71f3 | friskgit/snares | filter_bank.dsp | // -*- compile-command: "cd .. && make jack src=src/filter_bank.dsp && cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
//---------------`Filterbank for snaredrum` --------------... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/filter_bank.dsp | faust | -*- compile-command: "cd .. && make jack src=src/filter_bank.dsp && cd -"; -*-
---------------`Filterbank for snaredrum` --------------------------
A filterbank for use with snare drum synths and channel disperser. It
takes a trigger and a signal as input and outputs as many channels as
there are filterbands.
Pa... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
bands = 16;
del_group(x) = vgroup("delay", x);
del = del_group(hslider("delay", 0, 0, 1024, 1));
fb = fi.mth_octave_filterbank(order,... |
5328da9f9f7d7745808e015b19e8b04d4d9e758f87885d0388de01ecfe58d5ee | friskgit/snares | snares.dsp | // -*- compile-command: "cd .. && make jack src=src/snares.dsp && cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
//---------------`Snare drum synth` --------------------------
... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/extras/snares.dsp | faust | -*- compile-command: "cd .. && make jack src=src/snares.dsp && cd -"; -*-
---------------`Snare drum synth` --------------------------
A take at a snare drum synth
Continuously playing, optionally multichannel dispersing (see focus parameter).
Where:
* midi note 67-89
* stiffness 0-0.55 (mapped to note as in no... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
channels = 14;
imp = ba.beat(hslider("tempo", 100, 1, 2000, 1));
env = en.ar(attack, rel, imp) * amp
with {
attack = hslider("attack", 0... |
a5feefe76a60641267dc096bf0796540aecf3647d408f5ed49474f4eac74c312 | dariosanfilippo/modified_hindmarsh-rose | modified_hindmarshrose.dsp | // =============================================================================
// Modified Hindmarsh-Rose complex generator
// =============================================================================
//
// Complex sound generator based on modified Hindmarsh-Rose equations.
// The model is structurally-st... | https://raw.githubusercontent.com/dariosanfilippo/modified_hindmarsh-rose/b19fa8bdd70aa59576980cfa2e01b145a0f939d2/modified_hindmarshrose.dsp | faust | =============================================================================
Modified Hindmarsh-Rose complex generator
=============================================================================
Complex sound generator based on modified Hindmarsh-Rose equations.
The model is structurally-stable through... |
import("stdfaust.lib");
declare name "Modified Hindmarsh-Rose complex generator";
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2021 Dario Sanfilippo
<sanfilippo.dario@gmail.com>";
declare version "1.1";
declare license "GPL v3.0 license";
hindmarshrose(l, a, b, I, c, d, r, s, x_R, dt, ... |
a61ddf8811b9b6780f352440ced31d41e5be03b74a18aca5fefb72c90730c67f | gabrielsanchez/faust-guitarix-sc37 | sloop.dsp | declare id "sloop";
declare version "1.0";
declare author "brummer";
declare license "BSD";
import("stdfaust.lib");
B = checkbox("Capture"); // Capture sound while pressed
C = checkbox("Play");
I = int(B); // convert button signal from float to integer
R = (I-I') <= 0; // Reset capture when button is press... | https://raw.githubusercontent.com/gabrielsanchez/faust-guitarix-sc37/c0608695e24870abb56f7f0d1355cbf2f563ed30/Faust/sloop.dsp | faust | 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 id "sloop";
declare version "1.0";
declare author "brummer";
declare license "BSD";
import("stdfaust.lib");
C = checkbox("Play");
capture = ( *(B) : (+ : de.de.fdelay(2097152, D-1)) ~ *(1.0-B)) *(C);
si.smooth(c) = *(1-c) : +~*(c);
level = hslider("gain", 0, -96, 4, 0.1) : ba.db2linear : si.smooth(0... |
f3a0a7073fb6f2e8a7af29753c6335de8e741e452515c433e6d8614463a02813 | sekisushai/ambitools | hoa_mic_encoder_lebedev50.dsp | declare name "MemsBedev HOA Encoder";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2014";
// Description: This tool does the Discrete Spherical Fourier Transform (DSFT) [1] of signal from a rigid spherical microphone with 50-... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_mic_encoder_lebedev50.dsp | faust | Description: This tool does the Discrete Spherical Fourier Transform (DSFT) [1] of signal from a rigid spherical microphone with 50-node Lebedev grid geometry [1].
CAUTION: This tool does only the DSFT, to obtain the Ambisonics components you should filter the signals with corresponding radial filters [1].
Inputs: 5... | declare name "MemsBedev HOA Encoder";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2014";
import("stdfaust.lib");
import("lebedev.lib");
import("ymn.lib");
import("gui.lib");
M = 5;
ins = 50;
outs = (M+1)^2;
insvumeter ... |
3a9f356497df9453a8cd301f66188f9958085844188e43603e159a6b80b050f1 | scottericpetersen/OMI-Faust-Workshop | pulsee_v2.dsp | declare name " Pulsee ";
declare author " Scott E. Petersen " ;
declare copyright " (c) SEP 2023 ";
declare version " 0.02a ";
declare license " BSD ";
// Import the standard library so we can use preexisting objects
import("stdfaust.lib");
/* -- OSCILLATOR SECTION -- comment/uncomment to choose your source. For this... | https://raw.githubusercontent.com/scottericpetersen/OMI-Faust-Workshop/28d952b574cd8f08c82416b6fdbfbc8fa9f9de74/examples/omi/pulsee_v2.dsp | faust | Import the standard library so we can use preexisting objects
-- OSCILLATOR SECTION -- comment/uncomment to choose your source. For this workshop, use os.lf_imptrain and keep lfn line uncommented
src = no.noise*0.1;
src = os.pulsetrain(2 + lfn, 0.5)*0.2;
src = os.square(1 + lfn)*0.25;
-- GUI SECTION --
knob fo... | declare name " Pulsee ";
declare author " Scott E. Petersen " ;
declare copyright " (c) SEP 2023 ";
declare version " 0.02a ";
declare license " BSD ";
import("stdfaust.lib");
lfn = no.lfnoiseN(3, 48000/100) : abs * drift;
src = os.lf_imptrain(pfreq + lfn)*amp;
amp = oscGroup(hslider("[1]amp[style:knob]",0.1,0.0,0... |
630ca4cc6ff0e0bb72dfc52e1586af49494217ab52db66eac1ef360140887655 | Msc-program/Jacklink | compressordsp.dsp | declare name "compressor";
declare version "0.0";
declare author "Julius Smith";
declare license "MIT Style STK-4.2";
declare description "Compressor demo application, adapted from the Faust Library's dm.compressor_demo in demos.lib";
declare documentation "https://faustlibraries.grame.fr/libs/compressors/#cocompressor... | https://raw.githubusercontent.com/Msc-program/Jacklink/70b8634173e66d89884bb77b70b7b3ed01f71f79/faust-src/compressordsp.dsp | faust | ----------------------------`(dm.)compressor_mono_demo`-------------------------
Mono Compressor
#### Usage
```
_ : compressor_mono_demo : _;
```
------------------------------------------------------------
faustlibraries.grame.fr/libs/compressors/
en.wikipedia.org/wiki/Dynamic_range_compression]", x); | declare name "compressor";
declare version "0.0";
declare author "Julius Smith";
declare license "MIT Style STK-4.2";
declare description "Compressor demo application, adapted from the Faust Library's dm.compressor_demo in demos.lib";
declare documentation "https://faustlibraries.grame.fr/libs/compressors/#cocompressor... |
56ebe845c833711f01291b01c8c8ceb3cada5e7a1916a90771b864cb0e1d7b6a | afalaize/faust | bandFilter.dsp | // WARNING: This a "legacy example based on a deprecated library". Check filters.lib
// for more accurate examples of filter functions
declare name "bandFilter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
//-----------------... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/filtering/bandFilter.dsp | faust | WARNING: This a "legacy example based on a deprecated library". Check filters.lib
for more accurate examples of filter functions
---------------------second order filter--------------------------
filter(Q,F,G)
Q : quality factor [1..100]
F : frequency (Hz)
G : gain [0..1]
-------------------------------... |
declare name "bandFilter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
filter(Q,F,G) = fi.TF2( (1 + K/Q + K*K) / D,
2 * (K*K - 1) / D,
(1 - K/Q + K*K) / D,
2 * (K*K - 1) / D,
(1 - V*K/Q + K*... |
3b1511349ca72fe851c435384f68cfce7062b43b06823e864ca8d826988cbaa3 | rottingsounds/bitDSP-faust | DSMSine.dsp | declare name "DSMSine";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib dsm2-example.dsp
// ./DSMSine -n 10
// compile
// CXXFLAGS="-I ../../../inc... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/_sc/DSMSine.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib dsm2-example.dsp
./DSMSine -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -double -I ../lib dsm2-example.dsp
open ./DSMSine
SuperCollider
export SUPERCOLLIDER_HEADERS=/localvol/sound/src/supercollider/include/
faust2supercollider -I ../faus... | declare name "DSMSine";
declare author "Till Bovermann, Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
freq = hslider("freq",100,0,20000,0);
sine(f) = sin(os.phasor(2 * ma.PI, f));
onebitstream = bit.dsm2(sine(freq));
process = onebitstream;... |
16c79a8e4eda52d08a5cd68ba11f6ceae98b347cdfbf9ae0d24f4793f819ecee | PierreKy-org/plugins_server_webaudiomodules | 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/PierreKy-org/plugins_server_webaudiomodules/a8162fbb0a9341ad67d3cbb78714e7a2f7c56b0b/plugins/granulator/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(d... |
8905bc904a74557d73b02f8816041bf8e8864bb53a3288811b12d0c7429d90e8 | jameslnrd/mi_introduction_workshop_2020 | hammerOsc.dsp | declare name "Hammered Oscillator";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
An oscillator struck by a hammer (a second "loose" oscillator placed above it)
- inputs: force impulse onto the hammer mass
- outputs: oscillator and hammer positions.
... | https://raw.githubusercontent.com/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/03_HammerTime/hammerOsc.dsp | faust | ========= DESCRITPION =============
An oscillator struck by a hammer (a second "loose" oscillator placed above it)
- inputs: force impulse onto the hammer mass
- outputs: oscillator and hammer positions.
- controls: none.
Note: The "clicking" sound is because we are listening to the hammer mass position ... | declare name "Hammered Oscillator";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = button("Frc Input 1"): ba.impulsify * -0.1;
OutGain = 1;
model = (
mi.oscil(1., 0.1, 0.0003, 0, 0., 0.),
mi.mass(0.3, 0, 1., 1.),
mi.ground(1.),
par(i, nbFrcIn,_):
RoutingMassToL... |
0978644648aa9dedcb11df2c29460aadee4adf8027f460af5f1a221dbbe2b52a | osam-cologne/faustsimplesynth | faustsimplesynth.dsp | // faustsimplesynth - a simple sawtooth wave synthesizer implemented in Faust
// Copyright (C) 2018 Daniel Appelt
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the Lice... | https://raw.githubusercontent.com/osam-cologne/faustsimplesynth/a283944a816dd41fd4986a7dede5a14399c04200/src/faustsimplesynth.dsp | faust | faustsimplesynth - a simple sawtooth wave synthesizer implemented in Faust
Copyright (C) 2018 Daniel Appelt
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(a... |
declare name "faustsimplesynth";
declare version "0.1.0";
declare author "Daniel Appelt";
declare license "GPL3";
declare copyright "Copyright (C) 2018 Daniel Appelt";
declare nvoices "1";
import("stdfaust.lib");
midigate = button("gate [hidden]");
midifreq = hslider("freq [unit:Hz][hidden]", 440, 20, 20000, 1);
... |
36b6b1dd77bd663d212dbeafb31db7681720615685bb55f3838babfa5e5881a7 | clearly-broken-software/Uprising | test.dsp | import("stdfaust.lib");
declare author "Bart Brouns";
declare license "GPLv3";
xVal = hslider("xVal", 0, 0, maxSamples, 1)/defaultSR*ma.SR;
yVal = hslider("yVal", 0, 0, 1, 0.001);
slope = hslider("slope", 0, -1, 1, 0.001);
goBtn = button("resetBtn");//:ba.impulsify;
maxSeconds = 5;
maxSamples = maxSeconds*defaultSR;
... | https://raw.githubusercontent.com/clearly-broken-software/Uprising/89f5b49d90cd47611da7e7dc2009061768716b4c/plugins/uprising/dsp/faust/test.dsp | faust | :ba.impulsify;
ramp from 0 to 1 in n samples.
when reset == 1, go back to 0.
the commented out stuff is WIP for changing the curve of the ramp
position = ramp(xVal_target(reset),reset):hbargraph("pos", 0, 1):pow(power):max(0):min(1);
power = select2(slope<0,slope*px+1,1+slope*mx):hbargraph("power", 0, 10);
px = h... | import("stdfaust.lib");
declare author "Bart Brouns";
declare license "GPLv3";
xVal = hslider("xVal", 0, 0, maxSamples, 1)/defaultSR*ma.SR;
yVal = hslider("yVal", 0, 0, 1, 0.001);
slope = hslider("slope", 0, -1, 1, 0.001);
maxSeconds = 5;
maxSamples = maxSeconds*defaultSR;
defaultSR = 48000;
process =
envelope;
r... |
8377f08e3c150ae8f9d741e065315617a020231da2661c1e31773149ec264821 | sonejostudios/DeLooper | DeLooper.dsp | declare name "DeLooper";
declare version "1.0";
declare author "Vincent Rateau";
declare license "GPL v3";
declare reference "www.sonejo.net";
declare description "Sample-accurate Looper/Delay with free mode and midi-clock sync mode";
import("stdfaust.lib");
// variables at compilation time
loo... | https://raw.githubusercontent.com/sonejostudios/DeLooper/0ff9ac414d6c7daa3ef494d43524b9e1c9e3f7f5/DeLooper.dsp | faust | variables at compilation time
max loop time (sec)
bypass signal if looptime == 0
fdelay better because sdelay makes a dobble signal bug in free mode
Compute the loop time in free mode and sync mode and switch between them
//////////////////////////////////
: looplength2 ;
sync mode with more-or-less function
GUI
... | declare name "DeLooper";
declare version "1.0";
declare author "Vincent Rateau";
declare license "GPL v3";
declare reference "www.sonejo.net";
declare description "Sample-accurate Looper/Delay with free mode and midi-clock sync mode";
import("stdfaust.lib");
process = masterloop ;
masterloo... |
51bd5286935b6bfb490f5088cca10b48317ff6aefe952728cab067dbb2a2f112 | afalaize/faust | DNN.dsp | // Forward Deep Neural Net (DNN), any number of layers of any size each
declare name "DNN";
declare author "JOS";
declare license "STK-4.3";
import("stdfaust.lib");
layerSizes = (8,5,8); // autoencoder with 8 in & out, 5-state hidden layer
w(m,n,k) = m*100+n*10+k; // placeholder weights: m=layer, n=fromNode, k=d... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/filtering/DNN.dsp | faust | Forward Deep Neural Net (DNN), any number of layers of any size each
autoencoder with 8 in & out, 5-state hidden layer
placeholder weights: m=layer, n=fromNode, k=destNode
Nodes per layer
look at weights:
process = par(m,M,par(n,N(m),par(k,N(m),w(m,n,k))))
ReLU |
declare name "DNN";
declare author "JOS";
declare license "STK-4.3";
import("stdfaust.lib");
M = ba.count(layerSizes);
process = seq(m, M-1, layer(m))
with {
layer(m) = weights(m) :> nonlinearities(m);
nonlinearities(m) = bus(N(m)*N(m+1)) :> par(n,N(m+1),nl(n));
weights(m) = bus(N(m)) <: par(n,N(m),(bus(... |
27814aa5531e4dbc4ee7eadca0578d3290aa4bb09e9a3dcc9086e538b236f38f | CICM-research-composition/livepatching | help.dsp | process = vgroup("SAtonalSoftHarp",environment{declare name "Atonal Soft Harp";
declare author "ER"; //Adapted from NLFeks by Julius Smith and Romain Michon;
/* =============== DESCRIPTION ======================== :
- Soft Atonal Harp
- Swing = Plucking all the strings one by one
- Left = Slow rhythm /Low frequencie... | https://raw.githubusercontent.com/CICM-research-composition/livepatching/da47667b3f5236b4b81cb05593f35d408caaca9e/source/help.dsp | faust | Adapted from NLFeks by Julius Smith and Romain Michon;
=============== DESCRIPTION ======================== :
- Soft Atonal Harp
- Swing = Plucking all the strings one by one
- Left = Slow rhythm /Low frequencies/ Silence
- Right = Fast rhythm/ High frequencies
- Back = Short and dry notes
- Front = Long and bright ... | process = vgroup("SAtonalSoftHarp",environment{declare name "Atonal Soft Harp";
import("stdfaust.lib");
process = par(i, N, NFLeks(i)):>_;
NFLeks(n) = filtered_excitation(n,P(freq(n)),freq(n)) : stringloop(freq(n));
N = 20;
with{
bps = hslider("h:[1]/Speed[style:knob][acc:0 1 -10 0 10]", 480, 180, 720, 1):si.smoo... |
63fcd9dc923f0deee8318cba9745e5f89733158d01372a4ab1e2bfebbb845fa3 | friskgit/snares | snare_multi.dsp | // -*- compile-command: "cd .. && make sc && cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
//---------------`Snare drum synth` --------------------------
// A take at a snare d... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/snare_multi.dsp | faust | -*- compile-command: "cd .. && make sc && cd -"; -*-
---------------`Snare drum synth` --------------------------
A take at a snare drum synth
Each hit is output to a channel <= channels as controlled by the lfo
in rndctrl. Due to the ma.fabs, there is a greater chance that signal
is sent to lower outputs than hi... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
channels = 14;
integ(x) = x - ma.frac(x);
imp = ba.pulse(hslider("tempo", 1000, 500, 10000, 1));
env = en.ar(attack, rel, imp) * amp
with {... |
3075f484cc33c701fce57660447e394e40776ef34ff3efd01b6de8477aee6964 | friskgit/snares | i_snare_phase_disp.dsp | // -*- compile-command: "cd .. && make sc src=i_snare_phase_disp.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
impo... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/i_snare_phase_disp.dsp | faust | -*- compile-command: "cd .. && make sc src=i_snare_phase_disp.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. Each impulse is delayed by 25%
and sent to... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
p = hslider("pulse[scale:exp]", 1, 1, 2000, 0.1) : si.smooth(0.5);
per = ma.SR / p : int : *(4);
imp = ba.pulse(per);
impsp = ba.pulse(per /... |
fc45fb557c5528aa7c201bec3f2c45de3ccac7234f7ff08249625869ac344d48 | afalaize/faust | karplus32.dsp | declare name "karplus32";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-----------------------------------------------
// karplus-strong
// with 32 resonators in parallel
//-----------------------------------------------
import("stdfaust.lib");... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/physicalModeling/old/karplus32.dsp | faust | -----------------------------------------------
karplus-strong
with 32 resonators in parallel
-----------------------------------------------
Excitator
-----------
Resonator
-----------
Polyphony
----------- | declare name "karplus32";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
upfront(x) = (x-x') > 0.0;
decay(n,x) = x - (x>0)/n;
release(n) = + ~ decay(n);
trigger(n) = upfront : release(n) : >(0.0) : +(leak);
leak = 1.0/6553... |
5797d29298865cb574def425fecc17a7a7880d2bb85c3707d1c4adb72a9b4f7d | afalaize/faust | tester.dsp | declare name "tester";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-----------------------------------------------
// Tester : tests louspeakers
// Send a test signal( sine, noise, pink) to one
// of 8 loudspeakers
//-------------------------------... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/misc/tester.dsp | faust | -----------------------------------------------
Tester : tests louspeakers
Send a test signal( sine, noise, pink) to one
of 8 loudspeakers
-----------------------------------------------
TODO: this should be rewritten with the pink noise function of noises.lib
User interface
---------------- | declare name "tester";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
pink = f : (+ ~ g) with {
f(x) = 0.04957526213389*x - 0.06305581334498*x' + 0.01483220320740*x'';
g(x) = 1.80116083982126*x - 0.80257737639225*x';
};
vol ... |
cd2c4a4b7cb0e9c8ba9317175b2d4b1651357ad173f84ff64028d494cb3a0ad2 | sekisushai/ambitools | hoa_mirroring.dsp | declare name "HOA scene mirroring";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2015";
// Description: This tool mirros an HOA scene: Axes left-right, front-back, up-down can be reversed by changing a the sign of particular ... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_mirroring.dsp | faust | Description: This tool mirros an HOA scene: Axes left-right, front-back, up-down can be reversed by changing a the sign of particular spherical harmonics [1,p.46-47]
References:
[1] Kronlachner, M. (2014). Spatial Transformations for the Alteration of Ambisonic Recordings. Graz University Of Technology, Austria.
I... | declare name "HOA scene mirroring";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2015";
import("stdfaust.lib");
ud=checkbox("up-down");
lr=checkbox("left-right");
fb=checkbox("front-back");
M = 10;
updown = par(m,M+1,pa... |
20670b6d9a323c7c096899e859420c369ec031a9ae0936c78c97ca7c410d550a | sekisushai/ambitools | hoa_mic_encoder_eigenmike32.dsp | declare name "eigenmike32 HOA Encoder";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2015";
// Description: This tool does the Discrete Spherical Fourier Transform (DSFT) [1] of signal from a rigid spherical microphone with P... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_mic_encoder_eigenmike32.dsp | faust | Description: This tool does the Discrete Spherical Fourier Transform (DSFT) [1] of signal from a rigid spherical microphone with Pentakis dodecahedron geometry (mh acoustics eigenmike32 [1]).
CAUTION: This tool does only the DSFT, to obtain the Ambisonics components you should filter the signals with corresponding ra... | declare name "eigenmike32 HOA Encoder";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2015";
import("stdfaust.lib");
import("eigenmike32.lib");
import("ymn.lib");
import("gui.lib");
M = 4;
ins = 32;
outs = (M+1)^2;
vol ... |
9dff396c75de403d77397f5ab50145529afed191877d3b39170ebacdddf9b9ea | sekisushai/ambitools | hoa_converter_acn_n3d_to_fuma.dsp | declare name "HOA Converter : ACN N3D to FuMa";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
//Description : this tool converts HOA signals defined with a convention 1 to HOA signals d... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_converter_acn_n3d_to_fuma.dsp | faust | Description : this tool converts HOA signals defined with a convention 1 to HOA signals defined with convention 2. Proposed conventions are ACN N3D, ACN SN3D, FuMa. For ACN to FuMa, the ordering change is as in [1]
[1] https://en.wikipedia.org/wiki/Ambisonic_data_exchange_formats
Input ACN: 0 1 2 3 4 5... | declare name "HOA Converter : ACN N3D to FuMa";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
M = 3;
ins = (M+1)^2;
outs = ins;
ACNFuMa(0) = _*(1/sqrt(2));
ACN... |
d9bd8ffe5f963d03aff26d6d3c03f601bd7d3ca5437a2a7253a11225d76ea474 | tonal-glyph/faustus | dbmeter.dsp | declare name "dbmeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-------------------------------------------------
// A dB Vumeter
//-------------------------------------------------
import("stdfaust.lib");
vmeter(x) = attach(x, envelop(x) : ... | https://raw.githubusercontent.com/tonal-glyph/faustus/cc887b115aceaee202edbdb37ee0e4087bfb5a33/examples/analysis/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("stdfaust.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... |
66a7ae4236b0b8f6fd8024b9bde45921b902b71253baad1cd8165866a9ea1c9f | LucaSpanedda/Musical_Plugins | Granulator2HEADS.dsp | declare name "Timestretching Overlap Add to One";
declare version "xxx";
declare author "Luca Spanedda";
declare license "GNU-GPL-v3";
declare copyright "(c)Luca Spanedda 2022";
declare description "Overlap Add to One Timestretcher";
// FAUST standard library
import("stdfaust.lib");
// Phasor Function
Letr... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Plugins/d17556035378ac5c6a0a2033de7f0a93390e94e1/Granulator%202%20Heads/Granulator2HEADS.dsp | faust | FAUST standard library
Phasor Function
Sample and Hold Circuit: Sig --> circuit(control signal for trigger)
read section
stretchFactor - 0 Normal / 1 Extreme stretch (Freeze)
Jitter Amount in the position for the reads
position in the Buffer for the Reads
Timestretcher - sum of the 2 Head Reads
Bufpos... | declare name "Timestretching Overlap Add to One";
declare version "xxx";
declare author "Luca Spanedda";
declare license "GNU-GPL-v3";
declare copyright "(c)Luca Spanedda 2022";
declare description "Overlap Add to One Timestretcher";
import("stdfaust.lib");
LetrecPhasor(f) = Xn
letrec{
'Xn = (X... |
efac903b3af6aa55762cd96c2e7d46d3940a020474f7dc5823d175f1d0d50d30 | rottingsounds/bitDSP-faust | bitRot.dsp | declare name "bitRot";
declare description "bitRot - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -I ../lib bitRot.dsp
// ./bitRot -n 10
// compile
// CXXFLAGS="-I ../../... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/bitRot.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -I ../lib bitRot.dsp
./bitRot -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -I ../lib bitRot.dsp
./bitRot
///////////////////////// UI ////////////////////////////////
///////////////////////// Input /////////////////////////////
noise needs to be unimodal
p... | declare name "bitRot";
declare description "bitRot - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
chance = hslider("chance", 0, 0, 1, 0.0001);
type = hslider("type" , 1, 1, 3, 1);
amp = hslider("amp" , 0, 0, 1,... |
91c96e1008ba5b4d8eeadf7292d79d9a4e6a1941d5ef0163a110dca368d34a10 | grame-cncm/GameLAN | Sequenceur.dsp | declare name "Sequenceur";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
import ("stdfaust.lib");
process = sequenceur * onOff <:_,_;
N = 4;
onOff = checkbox("[1]ON/OFF");
sequenceur = par(i, N, play(sample(i), file_index, i) * (sample_pick == i)) :>_ ;
seq_select = ba.beat... | https://raw.githubusercontent.com/grame-cncm/GameLAN/8d1dc26d709d721d27ec1156fbb66b03478f2529/sequenceur/Sequenceur.dsp | faust | bpm * 4, semiquaver (16th)
------------------------------------ Samples -------------------------------------
------------------------------------ Player --------------------------------------
trig impulse to launch stream of 1
increment loop with reinit to 0 through reversed impulse (trig : upfront) | declare name "Sequenceur";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
import ("stdfaust.lib");
process = sequenceur * onOff <:_,_;
N = 4;
onOff = checkbox("[1]ON/OFF");
sequenceur = par(i, N, play(sample(i), file_index, i) * (sample_pick == i)) :>_ ;
seq_select = ba.beat... |
a0d0bf6adf5b9d830938bb6cdd6241c56852e6e79aa46a6e4a5f431fa03c89b9 | grame-cncm/GameLAN | AttacKey.dsp | declare name "Attackey";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa, Romain Constant et Stéphane Letz.";
import("stdfaust.lib");
declare nvoices "12";
// Specific syntax for faust2android, [style:keyboard] doesn't exist in iOS
process = vgroup("Attackey [style:keyboard]", instru);
freq ... | https://raw.githubusercontent.com/grame-cncm/GameLAN/8d1dc26d709d721d27ec1156fbb66b03478f2529/attacKey/AttacKey.dsp | faust | Specific syntax for faust2android, [style:keyboard] doesn't exist in iOS
-------------------- Interpolation Players ------------------- //
reference pitch = F * 2 (midi keyboard plays one octave higher)
Reset when button is pressed (0 when trig is on, 1 when trig is off)
Ramp with a given step, reset when trig ... | declare name "Attackey";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa, Romain Constant et Stéphane Letz.";
import("stdfaust.lib");
declare nvoices "12";
process = vgroup("Attackey [style:keyboard]", instru);
freq = hslider("freq", 349.23, 261.63, 783.99, 0.001);
gain = hslider("gain",0.5,... |
10379a1260eb4638f19eb9f00fecb72f3a36b189f341ee5812e8fbc2d8a218c6 | publicsamples/Xolotls-Weird-Delay | granul.dsp | process = vgroup("Granulator", environment {
declare name "Granulator";
declare author "Adapted from sfIter by Christophe Lebreton";
/* =========== DESCRIPTION =============
- The granulator takes very small parts of a sound, called GRAINS, and plays them at a varying speed
- Front = Medium size g... | https://raw.githubusercontent.com/publicsamples/Xolotls-Weird-Delay/dc304161575f8abca9ae4a878efde701126b18be/DspNetworks/CodeLibrary/faust/granul.dsp | faust | =========== DESCRIPTION =============
- The granulator takes very small parts of a sound, called GRAINS, and plays them at a varying speed
- Front = Medium size grains
- Back = short grains
- Left Slow rhythm
- Right = Fast rhythm
- Bottom = Regular occurrences
- Head = Irregular occurrenc... | process = vgroup("Granulator", environment {
declare name "Granulator";
declare author "Adapted from sfIter by Christophe Lebreton";
import("stdfaust.lib");
process = hgroup("Granulator", *(excitation : ampf)), hgroup("Granulator", *(excitation : ampf));
excitation = noiseburst(gate,P) * (gain);... |
333cfe84799a6488297243aefdbd80810b7a7629192cfd7401c7ca6c54538e1a | RuolunWeng/ruolunweng.github.io | Loop.dsp | declare name "Loop";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
/* =========== DESCRITPION ===========
- Record and Loop up to 20s of sound
- Activate the Loop Mode : 1 = ON, 0 = OFF
- When Loop Mode is active :
==> Head = Not recording/ Looping th... | https://raw.githubusercontent.com/RuolunWeng/ruolunweng.github.io/035564bb7e36eb4e810ca80077ffa8a9d3e5130b/faustplayground/faust-modules/effects/Loop.dsp | faust | =========== DESCRITPION ===========
- Record and Loop up to 20s of sound
- Activate the Loop Mode : 1 = ON, 0 = OFF
- When Loop Mode is active :
==> Head = Not recording/ Looping the recorded sound
==> Bottom = Recording sound
==> Swift movements around Head = scratched record effect
Capture sound while pressed
... | declare name "Loop";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
capture = *(B) : (+ : de.delay(1048576, D-1)) ~ *(1.0-B) ;
level = hslider("Volume [unit:dB]", 0, -96, 4, 0.1) : ba.db2linear : si.smooth(0.999);
captONOFF =... |
36ef2b4afe5eca544d94b8d06e14896b6949fa4f00b9a54d552f1d6b9580d5f9 | afalaize/faust | tester2.dsp | declare name "tester2";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2014";
//-----------------------------------------------
// Stereo Audio Tester : send a test signal (sine,
// noise, pink) on a stereo channel
//-------------------------------------------... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/misc/tester2.dsp | faust | -----------------------------------------------
Stereo Audio Tester : send a test signal (sine,
noise, pink) on a stereo channel
-----------------------------------------------
User interface
---------------- | declare name "tester2";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2014";
import("stdfaust.lib");
pink = f : (+ ~ g) with {
f(x) = 0.04957526213389*x - 0.06305581334498*x' + 0.01483220320740*x'';
g(x) = 1.80116083982126*x - 0.80257737639225*x';
};
tran... |
bdfdfb0bef7e7c9338628302818b0532acb91b48886423172cb6b18b8d9272d6 | afalaize/faust | lfBoost.dsp | // WARNING: This a "legacy example based on a deprecated library". Check filters.lib
// for more accurate examples of filter functions
declare name "lfboost";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//---------------------------------------------... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/filtering/lfBoost.dsp | faust | WARNING: This a "legacy example based on a deprecated library". Check filters.lib
for more accurate examples of filter functions
------------------------------------------------------------------
DAFX, Digital Audio Effects (Wiley ed.)
chapter 2 : filters
section 2.3 : Equalizers
page 53 : second order shelving... |
declare name "lfboost";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
lfboost(F,G) = fi.TF2((1 + sqrt(2*V)*K + V*K*K) / denom,
2 * (V*K*K - 1) / denom,
(1 - sqrt(2*V)*K + V*K*K) / denom,
2 * (K*K - 1) / deno... |
ed172e7478a9401e3b77f5e9cea6b0977cb901158d321ee4884ffb316f8039db | olegkapitonov/Kapitonov-Plugins-Pack | kpp_fuzz.dsp | /*
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | https://raw.githubusercontent.com/olegkapitonov/Kapitonov-Plugins-Pack/ed4541172d53ecf04bad43cd583365f278ccf176/LADSPA/kpp_fuzz/kpp_fuzz.dsp | faust |
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is ... |
declare name "kpp_fuzz";
declare author "Oleg Kapitonov";
declare license "GPLv3";
declare version "1.1";
import("stdfaust.lib");
process = output with {
fuzz = vslider("fuzz",0,0,100,0.01);
tone = vslider("tone",0,-15,0,0.1);
volume = vslider("volume",0.5,0,1,0.001);
clamp = min(2.... |
b30888878d498c59dfdd37a4d351363645c60f27919498b016b025078198a15d | madskjeldgaard/mkfaustplugins | TwoMassChain.dsp | declare name "TwoMassChain";
declare author "James Leonard";
declare date "April 2020";
/* ========= DESCRITPION =============
A logical step from a simple oscillator: a chain of two masses connected by spring-dampers,
fixed at one end to a fixed point !
- inputs: force impulse on the last mass of the chai... | https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/fd7cf250788174b5efa6ae3294997609830875d1/plugins/TwoMassChain/TwoMassChain.dsp | faust | ========= DESCRITPION =============
A logical step from a simple oscillator: a chain of two masses connected by spring-dampers,
fixed at one end to a fixed point !
- inputs: force impulse on the last mass of the chain.
- outputs: position of the last mass of the chain.
- controls: none
routed positions ... | declare name "TwoMassChain";
declare author "James Leonard";
declare date "April 2020";
import("stdfaust.lib");
in1 = _;
OutGain = 0.1;
p1 = hslider("k1",0.1,0.00001,1.0,0.001);
p2 = hslider("k2",0.1,0.00001,1.0,0.001);
p3 = hslider("z1",0.003,0.00001,1.0,0.001);
p4 = hslider("z2",0.003,0.00001,1.0,0.001);
... |
a13e58df787b5ea6746f8fac84437f12d17662b27d19120765e897338abffb46 | jameslnrd/mi_introduction_workshop_2020 | 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/jameslnrd/mi_introduction_workshop_2020/2f487dbc5b8e7cd83cbd962254e737bdb82948f6/07_NonLinearOscillator/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, 0., 0.1, 0.0001);
model = (
mi.mass(1., 0, 0., 0.),
mi.ground(0.),
mi... |
228ad962cc828a65929e1ec38c4accd8d47b83375f86198d63896a2b13020a0d | magnetophon/DigiDrie | korg35lpf_test.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:... | https://raw.githubusercontent.com/magnetophon/DigiDrie/a9f79d502e1f8d522e5f47e0c460ae99e80f9441/faust/benchmark/korg35lfp/korg35lpf_test.dsp | faust | freq = 2*(10^(3*normFreq+1));
target.
target.
target.
target.
target.
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:... |
b788d980a683521f0b3dc1287707e0d16055b7c6418bf3a12827e50504bb84e9 | johannphilippe/paw2022 | seq_poly_detect.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");
mpulse(smps_dur, trig) = pulsation
with {
count = ba.countdown(smps_dur, trig > 0 );... | https://raw.githubusercontent.com/johannphilippe/paw2022/d9b921a44e72bab11e457a13a1b43a4eabca53df/examples/seq_poly_detect.dsp | faust | count = -(1)~_, smps_dur : select2(trig);
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... |
declare name "polyphonic_detection";
declare version "1.0";
declare author "Johann Philippe";
declare license "MIT";
declare copyright "(c) Johann Philippe 2022";
import("stdfaust.lib");
mpulse(smps_dur, trig) = pulsation
with {
count = ba.countdown(smps_dur, trig > 0 );... |
0d7f50cf193eb0021c13d0137d6df1ca066277b1fb11758e4c0893a5329406b4 | afalaize/faust | FFT.dsp | // Radix 2 FFT, decimation in time, real and imag parts interleaved
declare name "FFT";
declare author "JOS";
declare license "STK-4.3";
import("stdfaust.lib");
N=32; // FFT size (power of 2)
// Number of frequency bins (including dc and SR/2) is N/2+1
No2 = N>>1;
signal = amp * cosine with {
cosine = select2(k==... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/analysis/FFT.dsp | faust | Radix 2 FFT, decimation in time, real and imag parts interleaved
FFT size (power of 2)
Number of frequency bins (including dc and SR/2) is N/2+1
2x since negative-frequencies not displayed
Alternating sequence: 1, -1, 1, -1
make sure phase is zero (freq jumps around)
only test FFT bin frequencies |
declare name "FFT";
declare author "JOS";
declare license "STK-4.3";
import("stdfaust.lib");
No2 = N>>1;
signal = amp * cosine with {
cosine = select2(k==0,
select2(k==No2,
),
k = hslider("[2] FFT Bin Number",N/4,0,No2,0.001) : int <: _,dpy : attach;
dpy = hbargraph("[3] Measured FFT Bin Number",0,No2);... |
0992bafc69a7a5ddadd4c77862f632dd79a0d2e88703a2fe5a0717ed1d29e13d | rottingsounds/bitDSP-faust | bitstreamAdder.dsp | // This is a simple example that tests an adder for 1-bit streams.
// In this example, in particular, we will add together a stream
// of 1s and a stream of 0s. Summing two opposite values results
// in a zero-ed output, which consists of alternating 0s and 1s
// in the delta-sigma-modulated domain.
declare name "Bits... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/bitstreamAdder.dsp | faust | This is a simple example that tests an adder for 1-bit streams.
In this example, in particular, we will add together a stream
of 1s and a stream of 0s. Summing two opposite values results
in a zero-ed output, which consists of alternating 0s and 1s
in the delta-sigma-modulated domain.
plot
CXXFLAGS="-I ../includ... |
declare name "Bitstream adder";
declare author "Dario Sanfilippo";
declare reference "O'leary, P., & Maloberti, F. (1990). Bit stream adder
for oversampling coded data. Electronics Letters, 26(20), 1708-1709.";
import("stdfaust.lib");
bit = library("bitDSP.lib");
process = bit.bitstream_adder(0, 1);
|
6f13e9d4f4d8083cf7821cd2af21e87137c2b0c90ab3b50ee58d1408732b61be | olegkapitonov/KPP-VST3 | kpp_fuzz.dsp | /*
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | https://raw.githubusercontent.com/olegkapitonov/KPP-VST3/91af48938c94d5a72009e01ef139bc3de8cf8dcd/kpp_fuzz/include/kpp_fuzz.dsp | faust |
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is ... |
declare name "kpp_fuzz";
declare author "Oleg Kapitonov";
declare license "GPLv3";
declare version "1.2";
import("stdfaust.lib");
process = output with {
bypass = checkbox("99_bypass");
fuzz = vslider("fuzz",50,0,100,0.01);
tone = vslider("tone",-7.5,-15,0,0.1);
volume = vslider("volume",0.5,0,1,0... |
bcfd494d965d9550486fbce23ccd4c1a68d8d6c0d9f8452ec0c1215220efdd1e | SpotlightKid/faustfilters | oberheim.dsp | declare name "Oberheim";
declare description "Oberheim multi-mode, state-variable filter";
declare author "Christopher Arndt";
declare license "MIT-style STK-4.3 license";
import("stdfaust.lib");
//==================================Oberheim Filters======================================
// The following filter (4 type... | https://raw.githubusercontent.com/SpotlightKid/faustfilters/8dfb35de7b83935806abe950187e056623b6c01a/faust/oberheim.dsp | faust | ==================================Oberheim Filters======================================
The following filter (4 types) is an implementation of the virtual analog
model described in Section 7.2 of the Will Pirkle book, "Designing Software
Synthesizer Plug-ins in C++. It is based on the block diagram in Figure 7.5.
... | declare name "Oberheim";
declare description "Oberheim multi-mode, state-variable filter";
declare author "Christopher Arndt";
declare license "MIT-style STK-4.3 license";
import("stdfaust.lib");
declare oberheim author "Eric Tarr";
declare oberheim license "MIT-style STK-4.3 license";
oberheim(freq, Q) = _<:(s1,s2,... |
00a243daaac4fc94394d8d8e8e3d08a32bbd23e93bc8c9ee519aba3dbe7852da | mwicat/faustfx | fig8verb.dsp | /*
* Synthetic reverberator simulator
*
* Washy and synthetic reverb, sounds gorgeous when modulated.
* The core architecture is two channels of allpass filter series
* terminated by delays with their feedbacks crossed as described by Keith Barr at Spin Semiconductor
* (http://www.spinsemi.com/knowledge_bas... | https://raw.githubusercontent.com/mwicat/faustfx/3fded3fd42b221eccbeec4ef79a28c0faa0bb6e9/docs/fig8verb/fig8verb.dsp | faust |
* Synthetic reverberator simulator
*
* Washy and synthetic reverb, sounds gorgeous when modulated.
* The core architecture is two channels of allpass filter series
* terminated by delays with their feedbacks crossed as described by Keith Barr at Spin Semiconductor
* (http://www.spinsemi.com/knowledge_base/... |
declare name "fig8verb";
declare author "Marek Wiewiorski";
declare version "0.4";
declare license "MIT";
import("stdfaust.lib");
size_scale(0) = 0.506392;
size_scale(1) = 0.803821;
size_scale(2) = 1;
size_scale(3) = 1.49834;
fig8verb(
max_dtime,
size,
diffusion,
feedback_gain,
lfo_freq,... |
83a829947c6fd75b30bc809219885a68ae9f76c85dea8c44ab79943d1b596781 | rottingsounds/bitDSP-faust | dsm2.dsp | declare name "DSM2";
declare description "Second-order delta-sigma modulator example";
Second-order delta-sigma modulator - example
declare author "Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -d... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/dsm2.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib dsm2.dsp
./dsm2 -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -double -I ../lib dsm2.dsp
./dsm2
High-precision sinewave
Bipolar multi-bit signal to bipolar one-bit signal
Standard test with a 1 kHz tone
Bipolar one-bit signal to bipolar m... | declare name "DSM2";
declare description "Second-order delta-sigma modulator example";
Second-order delta-sigma modulator - example
declare author "Dario Sanfilippo";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
sine(f) = sin(os.phasor(2 * ma.PI, f));
onebitstr... |
278366ea7c5aec4d3aac5e18769fcd2cdf18b0d05dd2e6a26eeb445f5aadbe39 | rottingsounds/bitDSP-faust | dsm1.dsp | declare name "dsm1";
declare description "First-order delta-sigma modulator - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
// plot
// CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib dsm1-example.dsp
// ./dsm1-exa... | https://raw.githubusercontent.com/rottingsounds/bitDSP-faust/21cf36105c55b6e18969a867a319530a0ef1ea63/examples/dsm1.dsp | faust | plot
CXXFLAGS="-I ../include" faust2csvplot -double -I ../lib dsm1-example.dsp
./dsm1-example -n 10
compile
CXXFLAGS="-I ../../../include" faust2caqt -double -I ../lib dsm1-example.dsp
./dsm1-example
High-precision sinewave
Bipolar multi-bit signal to bipolar one-bit signal
Standard test with a 1 kHz tone
Bip... | declare name "dsm1";
declare description "First-order delta-sigma modulator - example";
declare author "Till Bovermann";
declare reference "http://rottingsounds.org";
import("stdfaust.lib");
bit = library("bitDSP.lib");
sine(f) = sin(os.phasor(2 * ma.PI, f));
onebitstream = bit.dsm1(sine(1000));
multibitstream = ... |
810bc31712f1527a9c3a184bcb1e223bc8ed227365e422881226ff90630bd6d5 | friskgit/snares | plain_snare.dsp | // -*- compile-command: "cd .. && make jack src=src/snare.dsp && cd -"; -*-
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
//---------------`Snare drum synth` --------------------------
//... | https://raw.githubusercontent.com/friskgit/snares/bb43ea5e706a0ead6d65dd176a5c492b2f5d8f74/faust/snare/src/extras/plain_snare.dsp | faust | -*- compile-command: "cd .. && make jack src=src/snare.dsp && cd -"; -*-
---------------`Snare drum synth` --------------------------
A take at a snare drum synth
A single hit snare drum synth controllable with midi. Each hit is distribute over `channels` speakers.
It has its own trigger
Where:
* midi note 67-8... |
declare version " 0.1 ";
declare author " Henrik Frisk " ;
declare author " henrikfr ";
declare license " BSD ";
declare copyright "(c) dinergy 2018 ";
import("stdfaust.lib");
channels = 16;
imp = button("gate");
posgroup(x) = vgroup("position", x);
snaregroup(x) = vgroup("snare", x);
env = en.ar(attack, rel, im... |
1bcee603cd2dbd5bc39963e1ea475e1538a582efab9a151f7130523accd1f01e | RuolunWeng/ruolunweng.github.io | SNoiseS.dsp | declare name "Noises";
declare author "ER";
declare version "1.0";
import("stdfaust.lib");
/* ============ DESCRIPTION =============:
- White Noise and Pink Noise generator.
- Head = silence.
- Fishing rod = Volume variation.
- Right = silence.
- Face = pink no.noise.
- Left = white no.noise.
- Rocking to switch fro... | https://raw.githubusercontent.com/RuolunWeng/ruolunweng.github.io/035564bb7e36eb4e810ca80077ffa8a9d3e5130b/faustplayground/faust-modules/generators/SNoiseS.dsp | faust | ============ DESCRIPTION =============:
- White Noise and Pink Noise generator.
- Head = silence.
- Fishing rod = Volume variation.
- Right = silence.
- Face = pink no.noise.
- Left = white no.noise.
- Rocking to switch from one no.noise to another.
pink no.noise filter (-3dB per octave), see musicdsp.org
white no... | declare name "Noises";
declare author "ER";
declare version "1.0";
import("stdfaust.lib");
p = f : (+ ~ g) with {
f(x) = 0.04957526213389*x - 0.06305581334498*x' +
0.01483220320740*x'';
g(x) = 1.80116083982126*x - 0.80257737639225*x';
};
rand = +(12345)~*(1103515245);
w = rand/2147483647.0;
White = w * ... |
1f2d2286106107416e2fa49fbb101ccc6a0ad929762a54871fa516bf5792f13c | sonejostudios/SuperCutSequencer | SuperCutSequencer.dsp | declare name "SuperCutSequencer";
declare version "1.2";
declare author "Vincent Rateau";
declare license "GPL v3";
declare reference "www.sonejo.net";
declare description "Cut 'On/Off' Sequencer 8 steps with smooth) synced to Midi-Clock Beats and Midi-Clock Start/Stop";
//import("signals.lib");... | https://raw.githubusercontent.com/sonejostudios/SuperCutSequencer/f5f4cdca3542c01dabde1306add6dad7ca8f940c/SuperCutSequencer.dsp | faust | import("signals.lib");
Cut "On/Off" Sequencer 8 steps with smooth) synced to Midi-Clock Beats and Midi-Clock Start/Stop.
GLOBAL VARIABLES
/////////////////////////////////////
midi ctrl out numbers to start iterations
steppush and stepled are used to on/off the steps (and light back the state of each step )
seqled sh... | declare name "SuperCutSequencer";
declare version "1.2";
declare author "Vincent Rateau";
declare license "GPL v3";
declare reference "www.sonejo.net";
declare description "Cut 'On/Off' Sequencer 8 steps with smooth) synced to Midi-Clock Beats and Midi-Clock Start/Stop";
import("stdfaust.lib");
... |
374c07be6c433463d548ebef5417cb74e909e79a128e2576c23e0b627c939cf2 | sekisushai/ambitools | hoa_converter_fuma_to_acn_n3d.dsp | declare name "HOA Converter : FuMa to ACN N3D";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
//Description : this tool converts HOA signals defined with a convention 1 to HOA signals d... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_converter_fuma_to_acn_n3d.dsp | faust | Description : this tool converts HOA signals defined with a convention 1 to HOA signals defined with convention 2. Proposed conventions are ACN N3D, ACN SN3D, FuMa. For ACN to FuMa, the ordering change is as in [1]
[1] https://en.wikipedia.org/wiki/Ambisonic_data_exchange_formats
Input ACN: 0 1 2 3 4 5... | declare name "HOA Converter : FuMa to ACN N3D";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
M = 3;
ins = (M+1)^2;
outs = ins;
FuMaACN(0) = _*sqrt(2);
FuMaACN... |
001de413be5bd03810701f5c5a9cd5ec19619b2971c489d7d17d408ccfec23af | sekisushai/ambitools | hoa_converter_acn_sn3d_to_fuma.dsp | declare name "HOA Converter : ACN SN3D to FuMa";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
//Description : this tool converts HOA signals defined with a convention 1 to HOA signals ... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_converter_acn_sn3d_to_fuma.dsp | faust | Description : this tool converts HOA signals defined with a convention 1 to HOA signals defined with convention 2. Proposed conventions are ACN N3D, ACN SN3D, FuMa. For ACN to FuMa, the ordering change is as in [1]
[1] https://en.wikipedia.org/wiki/Ambisonic_data_exchange_formats
Input ACN: 0 1 2 3 4 5... | declare name "HOA Converter : ACN SN3D to FuMa";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
M = 3;
ins = (M+1)^2;
outs = ins;
ACNFuMa(0) = _*(1/sqrt(2));
AC... |
9eb0df1e7c25af00842582cb6d32dfcfeb4926690ee9e9ef3c58bcbc28a93da6 | sekisushai/ambitools | hoa_beamforming_hypercardioid_to_mono.dsp | declare name "HOA-Beamformer to Mono";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2015";
// Description: This tool helps to extract a monophonic signal from the HOA scene with a beampatern. The Ambisonics components inputs ... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_beamforming_hypercardioid_to_mono.dsp | faust | Description: This tool helps to extract a monophonic signal from the HOA scene with a beampatern. The Ambisonics components inputs are combined to produce a monophonic output as if the capture was done with a directionnal microphone. The beampatern provided are regular hypercardioid up to order 5 [1].
References:
[... | declare name "HOA-Beamformer to Mono";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2015";
import("stdfaust.lib");
import("ymn.lib");
import("gui.lib");
M = 3;
vol = vslider("[2]Output Gain", 0, -10, 10, 0.1) : ba.db2lin... |
75221fef392a77baa88ab586da44b6c498044f697fa88ba6318ebeab392d957a | ljwall/er-301-units | Andromeda.dsp | import("stdfaust.lib");
declare andromeda author "Liam Wall";
declare andromeda license "MIT-style STK-4.3 license";
andromeda(decay, low_pass, high_pass) = _,_ : + : *(0.5) : diffusion_network : (+~chain) <: chain_l, chain_r with {
// allpass using delay with fixed size
allpass_f(t, a) = (+ <: @(t),*(a)) ~ *(-a... | https://raw.githubusercontent.com/ljwall/er-301-units/4f59543a76e84c823d770b2101c1d6f9b3d1eb74/faustian/dsp/Andromeda.dsp | faust | allpass using delay with fixed size | import("stdfaust.lib");
declare andromeda author "Liam Wall";
declare andromeda license "MIT-style STK-4.3 license";
andromeda(decay, low_pass, high_pass) = _,_ : + : *(0.5) : diffusion_network : (+~chain) <: chain_l, chain_r with {
allpass_f(t, a) = (+ <: @(t),*(a)) ~ *(-a) : mem,_ : +;
i_diff1 = 0.75;
i_diff... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.