_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 |
|---|---|---|---|---|---|---|---|
5110796b44ce7dd1120f28f0505c5167d52ad472e571b58e938fe21f1e243bb7 | LucaSpanedda/RITI-Room-Is-The-Instrument | RITIsinemapNetwork.dsp | // Faust standard libraries
import("stdfaust.lib");
// SYSTEM VARIABLES ----------------------------------------
Voices = 4;
BPFilterOrder = 1;
SystemSpaceVar = 1 * ma.SR;
NetworkGlobalFBGain = hslider("NetworkGlobalFBGain",1,0,10,.001) : si.smoo;
ExternalSigGain = hslider("ExternalSigGain",0,0,10,.001) : si.smoo;
Fre... | https://raw.githubusercontent.com/LucaSpanedda/RITI-Room-Is-The-Instrument/8c49f5b5ea699577e5c0b50a92b680b0173aaea9/Code_Drafts/RITIsinemapNetwork.dsp | faust | Faust standard libraries
SYSTEM VARIABLES ----------------------------------------
FILTERS -------------------------------------------------
TPT version of the One Pole and SVF Filter by Vadim Zavalishin
reference : (by Will Pirkle)
http://www.willpirkle.com/Downloads/AN-4VirtualAnalogFilters.2.0.pdf
OnePoleTPT ... | import("stdfaust.lib");
Voices = 4;
BPFilterOrder = 1;
SystemSpaceVar = 1 * ma.SR;
NetworkGlobalFBGain = hslider("NetworkGlobalFBGain",1,0,10,.001) : si.smoo;
ExternalSigGain = hslider("ExternalSigGain",0,0,10,.001) : si.smoo;
FreqShift = hslider("FreqShift",1,0.001,2,.001) : si.smoo;
Bandwidth = hslider("Bandwidth",1... |
7f395d17943c8f07c7d057fbadaf3a429f1f8ad55cfef8043940dc6793cfd08a | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.11_Onepolefilter.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// ONEPOLE FILTER (IIR di IΒ° Ordine)
// ----------------------------------------
/*
+~ Γ¨ il sommatore, e la retroazione
degli argomenti dentro parentesi ()
_ Γ¨ il segnale in ingresso, (_ rappre... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/5b0d8fdd01d355676ef017cd351e0e89f22d7387/0.11_Onepolefilter.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
ONEPOLE FILTER (IIR di IΒ° Ordine)
----------------------------------------
+~ Γ¨ il sommatore, e la retroazione
degli argomenti dentro parentesi ()
_ Γ¨ il segnale in ingresso, (_ rappresentazione segnale)
in ritardo di un ... | import("stdfaust.lib");
OPF(CF,x) = OPFFBcircuit ~ _
with{
g(x) = x / (1.0 + x);
G = tan(CF * ma.PI / ma.SR):g;
OPFFBcircuit(y) = x*G+(y*(1-G));
};
process = OPF(20000) <: _,_;
|
d06df8a9adf118704ca99550ec9201eed1fd2a8825183044649fc399af0de8c0 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.21_Feedback_Comb_Filter.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// FEEDBACK COMB FILTER (IIR di NΒ° Ordine)
// ----------------------------------------
/*
NO DIRECT SIGNAL FB-COMB
*/
/*
+~ Γ¨ il sommatore, e la retroazione
degli argomenti dentro parentesi ()
... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/5b0d8fdd01d355676ef017cd351e0e89f22d7387/0.21_Feedback_Comb_Filter.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
FEEDBACK COMB FILTER (IIR di NΒ° Ordine)
----------------------------------------
NO DIRECT SIGNAL FB-COMB
+~ Γ¨ il sommatore, e la retroazione
degli argomenti dentro parentesi ()
_ Γ¨ il segnale in ingresso, (_ rappresentazi... | import("stdfaust.lib");
FBCF(Del,G,x) = x:(+ @(Del-1)~ *(G)):mem;
process = FBCF(4481,0.9);
|
f6a2ad05ab399a33c0f18528cc2ebb2b4da2522df9213a07bb0732241072c51a | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.01_Riverbero_Allpass_di_Hal_Chamberlin.dsp | //-----------------------------------------
// CHAMBERLIN REVERB
// ----------------------------------------
// High-quality stereo reverberator:
// Musical Applications of Microprocessor
// ----------------------------------------
// Standard Library FAUST
import("stdfaust.lib");
// MS TO SAMPLES
// (t) = give time ... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/161bf5eef371336c08341df3a22d58aea01b5805/1.01_Riverbero_Allpass_di_Hal_Chamberlin.dsp | faust | -----------------------------------------
CHAMBERLIN REVERB
----------------------------------------
High-quality stereo reverberator:
Musical Applications of Microprocessor
----------------------------------------
Standard Library FAUST
MS TO SAMPLES
(t) = give time in milliseconds we want to know in samples
... |
import("stdfaust.lib");
msasamps(t) = (ma.SR/1000.)*t;
apfch(t,g) = (+: _<: @(min(max(t-1,0),ma.SR)), *(-g))~ *(g) : mem, _ : + : _;
ap3ch = apfch(msasamps(49.6),0.75) :
apfch(msasamps(34.75),0.72) : apfch(msasamps(24.18),0.691);
apout1ch = apfch(msasamps(17.85),0.649) : apfch(msasamps(10.98),0.662);
apout2ch = ap... |
274c9f5a8db5bf9ba5ff522741c863f11f2c5991b3ff0ea0b47938c56f179713 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.06_Decadimento_T60.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// DECADIMENTO DELAY IN TEMPO T60
// ----------------------------------------
/*
Inserisci all'interno degli argomenti della funzione:
- il valore in campioni del filtro
che stai usando per il ritardo... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/28c95cf5d82679b9100bd3ab59d7f310029b80e7/0.06_Decadimento_T60.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
DECADIMENTO DELAY IN TEMPO T60
----------------------------------------
Inserisci all'interno degli argomenti della funzione:
- il valore in campioni del filtro
che stai usando per il ritardo.
- il valore di decadimento in ... | import("stdfaust.lib");
dect60(samps,seconds) = 1/(10^((3*(((1000 / ma.SR)*samps)/1000))/seconds));
process = _;
|
9bc57ee5b2c124f7fd4d0c05d531e82ef3c2dc3696357eccc24f0b720a7b0a86 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.25_Lowpass_Feedback_Comb_Filter.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// FEEDBACK COMB LOWPASS FILTER (IIR di NΒ° Ordine)
// ----------------------------------------
/*
NO DIRECT SIGNAL LPFB-COMB
*/
/*
come filtro comb, ma all'interno della retroazione,
a seguito del... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/5b0d8fdd01d355676ef017cd351e0e89f22d7387/0.25_Lowpass_Feedback_Comb_Filter.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
FEEDBACK COMB LOWPASS FILTER (IIR di NΒ° Ordine)
----------------------------------------
NO DIRECT SIGNAL LPFB-COMB
come filtro comb, ma all'interno della retroazione,
a seguito del feedback entra il segnale : nel onepole.
... | import("stdfaust.lib");
LPFBC(Del,CFG,FCut) = lfbcf
with{
G(x) = x / (1.0 + x);
CF(x) = tan(x * ma.PI / ma.SR):G;
lfbcf(x) = x:(+ :@(Del-1) :_*(FCut:CF): +~(_ :*(1-(FCut:CF))))~ *(CFG):mem;
};
process = LPFBC(2000, 0.99999, 10000);
|
a77e3de5bbc5238e8ae3a85a6693fb23883fe8e03cb5258702bedb577e87ae80 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.10_Onezerofilter.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// ONEZERO FILTER (FIR di IΒ° Ordine)
// ----------------------------------------
/*
Controlli del filtro:
filtergain = gain della sezione in ritardo
outgain = gain generale all'uscita del filtro
*/
/*
... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/5b0d8fdd01d355676ef017cd351e0e89f22d7387/0.10_Onezerofilter.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
ONEZERO FILTER (FIR di IΒ° Ordine)
----------------------------------------
Controlli del filtro:
filtergain = gain della sezione in ritardo
outgain = gain generale all'uscita del filtro
_ Γ¨ il segnale in ingresso, (_ rappresentazi... | import("stdfaust.lib");
OZF(G,x) = (x:mem*G), x :> +;
process = OZF(0.1);
|
e57c2e95702c67efbb5ecf6bfd358fc625e58cf521ca569c46370e29e5849acb | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.40_Variable_Delay.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
// GUI AND CONVERSIONS
// Delay in samples & Delay in milliseconds
GUIdelsamps = hslider("Delay[unit:samples][style:knob]",0,0,196000,1);
GUIdelms = hslider("Delay[unit:milliseconds][style:knob]", 0, 0, 1000, 0.1)... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/c317ce80d81667953f95f85f02ba18493c720ee3/0.40_Variable_Delay.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
GUI AND CONVERSIONS
Delay in samples & Delay in milliseconds
Interpolation in samples & in milliseconds
Feedback 0 to 1.
VARIABLE DELAY LINE with FEEDBACK
vardelay in samples: buffer, delay time, interpolation, feedback | import("stdfaust.lib");
GUIdelsamps = hslider("Delay[unit:samples][style:knob]",0,0,196000,1);
GUIdelms = hslider("Delay[unit:milliseconds][style:knob]", 0, 0, 1000, 0.1)*ma.SR/1000.0;
GUIintersamps = hslider("interpolation[unit:samples][style:knob]",
1,1,19600,1);
GUIinterms = hslider("interpolation[unit:millisecond... |
ff312a7db2aa4b7e2b1fa39b2daf577b250f13efee6e5c2eceacec1328b45cda | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.01_Introduzione_Delay.dsp | // LINEE DI RITARDO IN FAUST
/*
Le linee di ritardo in Faust
si suddividono nelle seguenti categorie:
mem - indica un solo campione di ritardo
@ - indica un numero (ex. 44100) di campioni di ritardo variabile
x'- x indica un qualsiasi ingresso e: ' un campione di ritardo, ''(2), ecc.
rdtable - indica una tabell... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/48b7304b541a812dd1292a3867da0aaf3395b074/0.01_Introduzione_Delay.dsp | faust | LINEE DI RITARDO IN FAUST
Le linee di ritardo in Faust
si suddividono nelle seguenti categorie:
mem - indica un solo campione di ritardo
@ - indica un numero (ex. 44100) di campioni di ritardo variabile
x'- x indica un qualsiasi ingresso e: ' un campione di ritardo, ''(2), ecc.
rdtable - indica una tabella di... |
import("stdfaust.lib");
dirac = 1-1';
process = dirac, dirac;
|
20fee96903c4cd14363a03799beb870bb722a5d1b4f0c345809411a18a9ebb8b | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.30_Allpass_Filter.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// ALLPASS FILTER (FIR + IIR COMB FILTER)
// ----------------------------------------
/*
NO DIRECT SIGNAL APF
*/
/*
dalla somma (+ si passa : ad un cavo _ ed uno split <:
poi
@... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/5b0d8fdd01d355676ef017cd351e0e89f22d7387/0.30_Allpass_Filter.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
ALLPASS FILTER (FIR + IIR COMB FILTER)
----------------------------------------
NO DIRECT SIGNAL APF
dalla somma (+ si passa : ad un cavo _ ed uno split <:
poi
@ritardo e gain, in retroazione ~ alla somma inizia... | import("stdfaust.lib");
APF(Del,G,x) = x:(+: _<: @(Del-1), *(G))~ *(-G):mem, _ : + : _;
process = APF(420, 0.9);
|
4a1dd6b39a0825e66c0144f7278d7a89c93fe9379f4b43f6dfec2d3e5286c67a | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.02_Riverbero_di_Chamberlin_DecayMOD.dsp | // ----------------------------------------
// CHAMBERLIN REVERB
// with T60 Decay
// ----------------------------------------
// FAUST standard library
import("stdfaust.lib");
// MS TO SAMPLES
// (t) = give time in milliseconds we want to know in samples
msasamps(t) = (ma.SR/1000)*t;
// ALLPASS CHAMBERLIN
// (t,g) ... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/1777d784bae5508e833dccf6706d9986838ab4b2/1.02_Riverbero_di_Chamberlin_DecayMOD.dsp | faust | ----------------------------------------
CHAMBERLIN REVERB
with T60 Decay
----------------------------------------
FAUST standard library
MS TO SAMPLES
(t) = give time in milliseconds we want to know in samples
ALLPASS CHAMBERLIN
(t,g) = give: delay in samples, feedback gain 0-1
T60 DECAY TIME from MILLISECON... |
import("stdfaust.lib");
msasamps(t) = (ma.SR/1000)*t;
apffp(t,g) = (+: _<: @(min(max(t-1,0),ma.SR)), *(-g))~ *(g) : mem, _ : + : _;
dect60(ms,seconds) = 1/(10^((3*(ms/1000))/seconds));
chamberlindecay(seconds) = ap3ch <: apout1ch, apout2ch
with{
ap3ch = apffp(msasamps(49.6),dect60(49.6,seconds)) :
apffp(msasamps(... |
45f1eab1ee693f9538f2b701ade77e072892bfcbc34ae188497edda378e1affd | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.00_Early_Reflections.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// EARLY REFLECTIONS (PRIME RIFLESSIONI)
// ----------------------------------------
/*
Simulazione delle prime riflessioni in una stanza con
il punto sorgente che coincide col punto di ascolto:
*/
... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/73b0b497131a09138aec088e3e82762202138ac9/1.00_Early_Reflections.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
EARLY REFLECTIONS (PRIME RIFLESSIONI)
----------------------------------------
Simulazione delle prime riflessioni in una stanza con
il punto sorgente che coincide col punto di ascolto:
col router definisco gli input che mi devo ... | import("stdfaust.lib");
in_router(a,b,c,d,e,f,g) = a, b, c, d, e, f, g;
input = _ <: in_router;
multitap_delay(frnt,bck,sx,dx,up,dwn,direct) =
frnt@(4481),bck@(2713),sx@(3719),dx@(3739),up@(1877),dwn@(659),direct;
out_router(a,b,c,d,e,f,g) = a+b+c+d+e+f+g;
early_reflections = input : multitap_de... |
107e06fd5d6d4fd2e2a82d7fdab9a100cba7957e427fd1fe1641d9c086661021 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.20_Feedforward_Comb_Filter.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// FEEDFORWARD COMB FILTER (FIR of NΒ° Order)
// ----------------------------------------
/*
Controlli del filtro:
delaysamples = campioni di ritardo nel fastforward
feedback = gain della retroazione col ritardo
... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/d021716c3bf373adf4d1b79fffc49e3ca8d62280/0.20_Feedforward_Comb_Filter.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
FEEDFORWARD COMB FILTER (FIR of NΒ° Order)
----------------------------------------
Controlli del filtro:
delaysamples = campioni di ritardo nel fastforward
feedback = gain della retroazione col ritardo
outgain = gain generale all'uscita d... | import("stdfaust.lib");
ffcf(t,g) = _ <: ( _@(t-1) *g), _ :> _;
process = no.noise : ffcf(100, 0.9) <: _,_;
|
c113dfb07d9594bb40fb356a6d59a180aefa21814f313915f6e02fda48f98f3f | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.07_Routing_di_un_segnale.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// IL ROUTING DI UN SEGNALE
// ----------------------------------------
/*
in FAUST di base, non Γ¨ un processo scontato gestire il routing
di un segnale che superi le due entrate o uscite di collegamento
in c... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/0a121ccb7a2a8f828c482b77781e2fa39a24b69c/0.07_Routing_di_un_segnale.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
IL ROUTING DI UN SEGNALE
----------------------------------------
in FAUST di base, non Γ¨ un processo scontato gestire il routing
di un segnale che superi le due entrate o uscite di collegamento
in catena.
Con la tecnica della funzione r... | import("stdfaust.lib");
router(a,b,c,d,e,f,g) = a, b, c, d, e, f, g;
out_router(a,b,c,d,e,f,g) = a+b+c+d+e+f+g;
process = _ <: router :> out_router;
|
cd13abfee177242eb2a597253b6f19c15083d1435c6a8c6847b59c2186e09954 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 2.0_Xavier_Godart_owlgazer_dirty.dsp | declare name "Owlgazer Dirty Reverb";
declare version "1.0.0";
declare author "Xavier Godart";
declare copyright "(c) Empirical Noises 2017";
import("stdfaust.lib");
owlgazer(mix,decay,hicut,gain) =
_,_ <:
(
_,_ <:
(si.bus(N*2) :> networkline)~(feedbackline)
:> distorsion,distors... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/af19b40c9b0289cf2f759b957a63c48ac3c17ae5/2.0_Xavier_Godart_owlgazer_dirty.dsp | faust | declare name "Owlgazer Dirty Reverb";
declare version "1.0.0";
declare author "Xavier Godart";
declare copyright "(c) Empirical Noises 2017";
import("stdfaust.lib");
owlgazer(mix,decay,hicut,gain) =
_,_ <:
(
_,_ <:
(si.bus(N*2) :> networkline)~(feedbackline)
:> distorsion,distors... | |
5b51e9e6e2bd1258fd87d068b0933426f291b1e50a20cb96ebb42fbc7d2ef9f9 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 2.0_Xavier_Godart_owlgazer_shimmer.dsp | declare name "Owlgazer Shimmer Reverb";
declare version "1.0.0";
declare author "Xavier Godart";
declare copyright "(c) Empirical Noises 2017";
import("stdfaust.lib");
owlgazer(mix,decay,hicut,pitchmix) =
_,_ <:
(
_,_ <:
(si.bus(N*2) :> networkline)~(feedbackline)
:> *(mix),*(mix... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/af19b40c9b0289cf2f759b957a63c48ac3c17ae5/2.0_Xavier_Godart_owlgazer_shimmer.dsp | faust | declare name "Owlgazer Shimmer Reverb";
declare version "1.0.0";
declare author "Xavier Godart";
declare copyright "(c) Empirical Noises 2017";
import("stdfaust.lib");
owlgazer(mix,decay,hicut,pitchmix) =
_,_ <:
(
_,_ <:
(si.bus(N*2) :> networkline)~(feedbackline)
:> *(mix),*(mix... | |
463dd498dd7d474f44169688240bb17837e28aec0ad0733aaf92d18c44dda1c0 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.03_Conversione_Millisecondi_In_Campioni.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// CONVERSIONE MILLISECONDI IN CAMPIONI
// ----------------------------------------
/*
Funzione Conversione Campioni in ms. :
inserisco il tempo in Millisecondi,
e la funzione mi tira fuori il valore... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/aee95412f2f648cef4a6dd06a2a7ab73f848ddc0/0.03_Conversione_Millisecondi_In_Campioni.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
CONVERSIONE MILLISECONDI IN CAMPIONI
----------------------------------------
Funzione Conversione Campioni in ms. :
inserisco il tempo in Millisecondi,
e la funzione mi tira fuori il valore in Campioni.
Ad esempio, se ho una fr... | import("stdfaust.lib");
msasamps(t) = (ma.SR / 1000.) * t;
process = _;
|
27b72871d0ec5c0174b2c9d9c3fcd4535eabd772e7b7f60f0627ca2f438a28bc | LucaSpanedda/Luca_Spanedda_St_Cecilia_Conservatory_Thesis | CSGA.dsp | // import faust standard library
import("stdfaust.lib");
// FFT analysis - List
Cello1_D2_frequencies = (
368.0, 221.0, 147.0, 515.0, 736.0, 74.0, 589.0, 810.0, 883.0, 295.0, 442.0, 662.0, 1693.0, 956.0, 1030.0, 2282.0, 1914.0, 1546.0, 1104.0, 1472.0, 2356.0, 2503.0, 2135.0, 1251.0, 1398.0, 1325.0, 1178.0, 2061.0... | https://raw.githubusercontent.com/LucaSpanedda/Luca_Spanedda_St_Cecilia_Conservatory_Thesis/b73b60d9e0b45e09bbf72b1477c21202b895f1bb/ITA/codes/CSGA.dsp | faust | import faust standard library
FFT analysis - List
Take FFT Lists
linear interpolation
bilinear interpolation
lists interpolations
optimized BP from the TPT version of the SVF Filter by Vadim Zavalishin
Spectre BP Filter Banks
Hyperbolic Tangent Saturator Parameter
Hyperbolic Tangent Saturator Functio... | import("stdfaust.lib");
Cello1_D2_frequencies = (
368.0, 221.0, 147.0, 515.0, 736.0, 74.0, 589.0, 810.0, 883.0, 295.0, 442.0, 662.0, 1693.0, 956.0, 1030.0, 2282.0, 1914.0, 1546.0, 1104.0, 1472.0, 2356.0, 2503.0, 2135.0, 1251.0, 1398.0, 1325.0, 1178.0, 2061.0, 2429.0, 2209.0, 1619.0, 2572.0, 1840.0, 2655.0, 1766.0, ... |
967047006b74197a63f3a994b2b17f0f93bbcc416595a790f221a0d2c22a3fe6 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.20_Riverbero_Feedback_Delay_Network.dsp | // ----------------------------------------
// fdn2combs di Luca Spanedda.
// Implementazione basata su:
// FDN di Stautner e Puckette
// ----------------------------------------
// Importo libreria standard di FAUST
import("stdfaust.lib");
/*
Nel 1982 Stautner e Puckette presentano nella
loro pubblicazione βDesi... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/7fba5d0c0c1d47fb0da6b9a491de13142eb1afcc/1.20_Riverbero_Feedback_Delay_Network.dsp | faust | ----------------------------------------
fdn2combs di Luca Spanedda.
Implementazione basata su:
FDN di Stautner e Puckette
----------------------------------------
Importo libreria standard di FAUST
Nel 1982 Stautner e Puckette presentano nella
loro pubblicazione βDesigning multichannel reverberatorsβ
un algo... |
import("stdfaust.lib");
fbcf(t,g) = _ : (+ @(t-1)~ *(g)) : mem;
fdn2combs(del1,del2,g12,g21,g11,g22) = fdnout
with{
two_combs = fbcf(del1,g11), fbcf(del2,g22);
routerin(a,b) = _+a, _+b;
matrixout(a, b) = b*g12, a*g21;
fdnout = _<:(routerin : two_combs : matrixout)~ si.bus(2);
};
process =... |
9a5cbb68a636e4e342a38648a35571eed2893a8854937a6860477b12be5a48f0 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.03_Riverbero_Schroeder-Chowning.dsp | // ----------------------------------------
// SCHROEDER-CHOWNING SATREV REVERBERATOR
// ----------------------------------------
// Importo libreria standard di FAUST
import("stdfaust.lib");
/*
Simulazione di Riverbero secondo il modello di John Chowning.
Modello SATREV, basato sul modello riverberante di Schroed... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/a3ad65cb2ecfd24562e8928b29e3c10584f4c078/1.03_Riverbero_Schroeder-Chowning.dsp | faust | ----------------------------------------
SCHROEDER-CHOWNING SATREV REVERBERATOR
----------------------------------------
Importo libreria standard di FAUST
Simulazione di Riverbero secondo il modello di John Chowning.
Modello SATREV, basato sul modello riverberante di Schroeder.
4 Comb IIR Paralleli e 3 Allpass i... |
import("stdfaust.lib");
fbcf(t,g) = _ : (+ @(t-1)~ *(g)) : mem;
apffp(t,g) = (+: _<: @(min(max(t-1,0),ma.SR)), *(-g))~ *(g) : mem, _ : + : _;
schroeder4comb = combsection
with {
in_router(a,b,c,d)= a, b, c, d;
input = _ <: in_router;
combs=fbcf(901,0.805),fbcf(778,0.827),fbcf(1011,0.783... |
8191db46bc6230169964cec2ca3c9a4090505076c92cdafa7d9bc8272d0f7482 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.04_Conversione_Campioni_In_Millisecondi.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// CONVERSIONE CAMPIONI IN MILLISECONDI
// ----------------------------------------
/*
Funzione Conversione ms. in Campioni :
inserisco un totale di campioni,
di cui mi serve di sapere la durata comp... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/aee95412f2f648cef4a6dd06a2a7ab73f848ddc0/0.04_Conversione_Campioni_In_Millisecondi.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
CONVERSIONE CAMPIONI IN MILLISECONDI
----------------------------------------
Funzione Conversione ms. in Campioni :
inserisco un totale di campioni,
di cui mi serve di sapere la durata complessiva
in millisecondi basandomi sulla ... | import("stdfaust.lib");
sampsams(samps) = ((1000 / ma.SR) * samps);
process = _;
|
62e95c31a123dfbbbb8396db141d9ae1ad882cca10eb33801777f9bddda3b2e1 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.04_Riverbero_Schroeder-Samsonbox.dsp | // ----------------------------------------
// SCHROEDER SAMSON BOX REVERBERATOR
// ----------------------------------------
// Importo libreria standard di FAUST
import("stdfaust.lib");
/*
Simulazione di Riverbero secondo il modello della
Samson Box - 1977 CCRMA.
Modello SATREV, basato sul modello riverberante ... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/e0f0b215ddf9a5ec659d9032f377a4fcdee828f1/1.04_Riverbero_Schroeder-Samsonbox.dsp | faust | ----------------------------------------
SCHROEDER SAMSON BOX REVERBERATOR
----------------------------------------
Importo libreria standard di FAUST
Simulazione di Riverbero secondo il modello della
Samson Box - 1977 CCRMA.
Modello SATREV, basato sul modello riverberante di Schroeder.
3 Allpass in serie e 4 Co... |
import("stdfaust.lib");
fbcf(t,g) = _ : (+ @(t-1)~ *(g)) : mem;
apffp(t,g) = (+: _<: @(min(max(t-1,0),ma.SR)), *(-g))~ *(g) : mem, _ : + : _;
schroederallp = apffp(1051,0.7):apffp(337,0.7):apffp(113,0.7);
schroeder4comb = combsection
with {
in_router(a,b,c,d)= a, b, c, d;
input = _ <: in_... |
efeff9c024da216fd611877a0cc342a8c660577927b4c75d2984159c993921de | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.02_Introduzione_Metodi_RicorsivitΓ .dsp | // ----------------------------------------
// ALCUNI METODI PER LA REALIZZAZIONE DI
// CIRCUITI RICORSIVI (FEEDBACK) IN FAUST
// ----------------------------------------
/*
-------------------------------------------
Referenze:
https://www.dariosanfilippo.com/blog/2020/faust_recursive_circuits/
---------------------... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/0a121ccb7a2a8f828c482b77781e2fa39a24b69c/0.02_Introduzione_Metodi_Ricorsivit%C3%A0.dsp | faust | ----------------------------------------
ALCUNI METODI PER LA REALIZZAZIONE DI
CIRCUITI RICORSIVI (FEEDBACK) IN FAUST
----------------------------------------
-------------------------------------------
Referenze:
https://www.dariosanfilippo.com/blog/2020/faust_recursive_circuits/
--------------------------------... |
import("stdfaust.lib");
lowpass(cf, x) = y
letrec {
'y = b0 * x - a1 * y;
}
with {
b0 = 1 + a1;
a1 = exp(-w(cf)) * -1;
w(f) = 2 * ma.PI * f / ma.SR;
};
process = lowpass;
|
d082dca8286b3734fbf818fbfb5a027118e9af2f43a77b93511d30cbab7ef8c4 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.10_Riverbero_di_Moorer.dsp | // ----------------------------------------
// RIVERBERO DI MOORER
// ----------------------------------------
// Importo libreria standard di FAUST
import("stdfaust.lib");
/*
Simulazione di Riverbero secondo il modello di James A. Moorer
il punto sorgente che coincide col punto di ascolto
------------------------... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/2624820dcf1e3ce28a970e0c754f8553a8639575/1.10_Riverbero_di_Moorer.dsp | faust | ----------------------------------------
RIVERBERO DI MOORER
----------------------------------------
Importo libreria standard di FAUST
Simulazione di Riverbero secondo il modello di James A. Moorer
il punto sorgente che coincide col punto di ascolto
-------------------------------------------
Nel 1979 nella sua... |
import("stdfaust.lib");
lfbcf(delsamps, g, lowcut) =
(+ : @(delsamps-1) : _*lowcut : +~(_ : *(1- lowcut)))~ *(g) : mem;
apf(delaysamples, g) =
(+ : _ <: @(delaysamples-1), *(g)) ~
*(-g) : mem, _ : + : _;
early_reflections = reflections
with {
in_router(a,b,... |
66ee14d8816c43a775391a8370c4701e60f7856e8beffe5f02f0b2a5854f9eb4 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.11_ Riverbero_Freeverb.dsp | // ----------------------------------------
// FREEVERB di Jezar at Dreampoint
// ----------------------------------------
// Importo libreria standard di FAUST
import("stdfaust.lib");
/*
Simulazione di Riverbero di Schroeder/Moorer secondo il
modello di Jezar at Dreampoint. Utilizza 4 Allpass di Schroeder in ser... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/86532cf30f20d704ad4d83f97452c3a556ce888c/1.11_%20Riverbero_Freeverb.dsp | faust | ----------------------------------------
FREEVERB di Jezar at Dreampoint
----------------------------------------
Importo libreria standard di FAUST
Simulazione di Riverbero di Schroeder/Moorer secondo il
modello di Jezar at Dreampoint. Utilizza 4 Allpass di Schroeder in serie,
ed 8 Schroeder-Moorer Filtered-fe... |
import("stdfaust.lib");
lfbcf(delsamps, g, lowcut) =
(+ : @(delsamps-1) : _*lowcut : +~(_ : *(1- lowcut)))~ *(g) : mem;
apf(delaysamples, g) =
(+ : _ <: @(delaysamples-1), *(g)) ~
*(-g) : mem, _ : + : _;
early_reflections = reflections
with {
in_router(a,b,c... |
4f08985adcc36caead8bc0ca9e0679cab019f2c5d90a256ab4a6d76b9dcf44f8 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 0.05_Messa_in_Fase_Retroazione.dsp | // Importo libreria standard di FAUST
import("stdfaust.lib");
// ----------------------------------------
// Messa in Fase della Retroazione
// ----------------------------------------
// Per ottenere il giusto tempo di ritardo
// desiderato nel circuito di retroazione
// ----------------------------------------
/*... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/48b7304b541a812dd1292a3867da0aaf3395b074/0.05_Messa_in_Fase_Retroazione.dsp | faust | Importo libreria standard di FAUST
----------------------------------------
Messa in Fase della Retroazione
----------------------------------------
Per ottenere il giusto tempo di ritardo
desiderato nel circuito di retroazione
----------------------------------------
nel dominio digitale la retroazione di una... | import("stdfaust.lib");
campioni_ritardo = ma.SR;
process = _ :
+~ @(campioni_ritardo -1) *(0.8)
: mem; |
73653ff153fa3dd8fb923e1f9faab214464f5a1a704fd4da24c5739ddd9bdd28 | LucaSpanedda/Musical_Plugins | Time_Splicing.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
/*
TIME SPLICING:
WRITING AND READING WITH SCATTERING
ON A FIXED TABLE OF 1 SECOND (TAPE)
*/
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67,... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Plugins/d17556035378ac5c6a0a2033de7f0a93390e94e1/Time%20Splicing/Time_Splicing.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
TIME SPLICING:
WRITING AND READING WITH SCATTERING
ON A FIXED TABLE OF 1 SECOND (TAPE)
Prime Numbers List
index of the primes numbers
TAPE-SPLICER max. lenght 1 second for every sample rate
| import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
257, 263, 269, 271, 277, 281, 28... |
2ae900e87ebb4e67201a84c69d8d0d68d9e656cad16d3c6e4ad6b667b1b478ea | LucaSpanedda/Musical_Studies_of_Chaotic_Systems | Noise.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, ... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Studies_of_Chaotic_Systems/d8b78c011cc0b2b75f74643eba78306d6a3f92df/Noise-plots/Noise.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
Prime Numbers List
index of the primes numbers
noise generated with prime numbers and index | import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
257, 263, 269, 271, 277, 281, 283, 293, 307,... |
6f42c84ce4d2716e15abc90cec0a21ff4bdb55b442fe34325838ca631606d98c | LucaSpanedda/Musical_Studies_of_Chaotic_Systems | 0.01_Random.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, ... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Studies_of_Chaotic_Systems/d8b78c011cc0b2b75f74643eba78306d6a3f92df/0.01_Random.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
Prime Numbers List
index of the primes numbers
noise generated with prime numbers and index | import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
257, 263, 269, 271, 277, 281, 283, 293, 307,... |
d502041372e05d48b3ec7ce96d4e48d5118aaa7fc79cdb716c7faf58c4ce7c3f | LucaSpanedda/Luca_Spanedda_St_Cecilia_Conservatory_Thesis | Audible_Ecosystemics_2.dsp | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "1.0";
declare description "2023 version Realised on the 2017 composer's instructions";
// import faust standard library
import("stdfaust.lib");
// import audible ecosystemic... | https://raw.githubusercontent.com/LucaSpanedda/Luca_Spanedda_St_Cecilia_Conservatory_Thesis/b73b60d9e0b45e09bbf72b1477c21202b895f1bb/ITA/codes/Audible_Ecosystemics_2.dsp | faust | import faust standard library
import audible ecosystemics objects library
------- ------------- ----- -----------
-- AE2 -----------------------------------------------------------------------
------- --------
MAIN SYSTEM FUNCTION
choose here the signals in output
LIMIT - max - min
LIMIT - max - min
LIMIT - max ... | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "1.0";
declare description "2023 version Realised on the 2017 composer's instructions";
import("stdfaust.lib");
import("aelibrary.lib");
outputrouting(grainOut1, grainOut... |
ccffce7cd12cf16af7a30535e485818e7dc78502fa98b7ae1e4bc553d571289f | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 1.12_Freevrev_di_Spanedda.dsp | // ----------------------------------------
// FREEVREV di Luca Spanedda.
// Implementazione basata su:
// FREEVERB di Jezar at Dreampoint
// ----------------------------------------
// Importo libreria standard di FAUST
import("stdfaust.lib");
/*
Simulazione di Riverbero Schroeder/Moorer
basandosi sul modello "F... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/af31377ad550a94ad90674bc187ec75c10a2c745/1.12_Freevrev_di_Spanedda.dsp | faust | ----------------------------------------
FREEVREV di Luca Spanedda.
Implementazione basata su:
FREEVERB di Jezar at Dreampoint
----------------------------------------
Importo libreria standard di FAUST
Simulazione di Riverbero Schroeder/Moorer
basandosi sul modello "Freeverb" di Jezar at Dreampoint.
Utilizza ... |
import("stdfaust.lib");
gaincontrol = vslider("gain[style:knob]",1,0,1,0.001)
: si.smoo;
lowcutcontrol = vslider("lowcut[style:knob]",1,0,1,0.001)
: si.smoo;
t60control = vslider("decay-seconds[style:knob]",1,0,100,1)
: si.smoo;
dect60(samps,seconds) =
1/(10^((3*(((1000 / ma.SR)*samps)/1000))/seconds));
... |
598960b169ecfb84a6d0f45a8a867444ea91c95d6526de0a0e1acf2500e22132 | LucaSpanedda/Musical_Studies_of_Chaotic_Systems | 0.03_Random_Walk.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 17... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Studies_of_Chaotic_Systems/d8b78c011cc0b2b75f74643eba78306d6a3f92df/0.03_Random_Walk.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
Prime Numbers List
index of the primes numbers
RANDOM WALK - function
NOISE GENERATION - function
SAMPLE AND HOLD - function
PHASOR
reset to 0 when int
phasor with frequency
PHASOR to 0 and 1
phasor : -0.5 to +0.5
phaso... | import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
257, 263, 269, 271, 277, 281, 283, 293... |
3d7e639fd5d3b6a17c6268e00ceacd3e39c75455a6da2157e81fd773053ea26a | LucaSpanedda/Musical_Plugins | DARK.dsp | declare name "DARK - Multitap Delay";
declare version "xxx";
declare author "Luca Spanedda";
declare copyright "(c)Luca Spanedda 2022";
// import standard Faust library
import("stdfaust.lib");
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Plugins/d17556035378ac5c6a0a2033de7f0a93390e94e1/DARK%20-%20Multitap%20Delay/DARK.dsp | faust | import standard Faust library
Prime Numbers List
index of the primes numbers
20 Seconds | declare name "DARK - Multitap Delay";
declare version "xxx";
declare author "Luca Spanedda";
declare copyright "(c)Luca Spanedda 2022";
import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151... |
8acb9cca3bc83a4bd6515df50f52835dbed693aeb222cb259259432307265ea6 | LucaSpanedda/Musical_Plugins | Glitch Reader.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
/*
GLITCHER READER:
WRITING AND READING WITH AN ENVELOPE
ON A FIXED TABLE OF 1 SECOND (TAPE)
*/
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Plugins/d17556035378ac5c6a0a2033de7f0a93390e94e1/Glitch%20Reader/Glitch%20Reader.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
GLITCHER READER:
WRITING AND READING WITH AN ENVELOPE
ON A FIXED TABLE OF 1 SECOND (TAPE)
Prime Numbers List
index of the primes numbers
noise with prime numbers
SAH with internal trigger | import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
257, 263, 269, 271, 277, 281, 283, 293, 3... |
82a8cea1740bfd08ff637eeefa31ea2a807226505b29da62a6421575eabcaa87 | LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust | 1.03_Time_Splicing.dsp | // import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
/*
TIME SPLICING:
WRITING AND READING WITH SCATTERING
ON A FIXED TABLE OF 1 SECOND (TAPE)
*/
// Prime Numbers List
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67,... | https://raw.githubusercontent.com/LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust/10a753583b4a029b68e2f2cf44b585c9abe7e89b/0_work-in-progress/1.03_Time_Splicing.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
TIME SPLICING:
WRITING AND READING WITH SCATTERING
ON A FIXED TABLE OF 1 SECOND (TAPE)
Prime Numbers List
index of the primes numbers
TAPE-SPLICER max. lenght 1 second for every sample rate
| import("stdfaust.lib");
primes =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73,
79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163,
167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251,
257, 263, 269, 271, 277, 281, 28... |
22a59cae749bd0030c5fa5a4b657e0109679695e899fdc18d275c8f536e8a924 | LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust | 0.0_Prime_Noises.dsp | // FAUST standard library
import("stdfaust.lib");
primesnumbers(index) = ba.take(index , list)
with{
list =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211... | https://raw.githubusercontent.com/LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust/7d4c6c3367dc301074e826213e82dc345b9ed84f/0.0_Prime_Noises.dsp | faust | FAUST standard library | import("stdfaust.lib");
primesnumbers(index) = ba.take(index , list)
with{
list =
(2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239,... |
c1146729503221962388062f2237e647e2a9f92788b09ed87a5ec95227e1e734 | LucaSpanedda/Audible-Ecosystemics-2 | Audible_Ecosystemics_2.dsp | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
// import faust standard library
import("st... | https://raw.githubusercontent.com/LucaSpanedda/Audible-Ecosystemics-2/c4be0f10b765b5466fe87fbe42afaab5cfd37793/Compiled_19-1-2023_Audible_Ecosystemics_2/Audible_Ecosystemics_2.dsp | faust | import faust standard library
import audible ecosystemics objects library
PERFORMANCE SYSTEM VARIABLES
------- ------------- ----- -----------
-- AE2 -----------------------------------------------------------------------
------- --------
MAIN SYSTEM FUNCTION
choose here the signals in output
LIMIT - max - min
L... | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
import("stdfaust.lib");
import("aelibrary.l... |
3fa9bdd9a07b687be74484bb8e4f83d242dec32304e1d4f23ff16b4ea4e2b66f | LucaSpanedda/Audible-Ecosystemics-2 | Audible_Ecosystemics_2.dsp | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
// import faust standard library
import("st... | https://raw.githubusercontent.com/LucaSpanedda/Audible-Ecosystemics-2/c4be0f10b765b5466fe87fbe42afaab5cfd37793/Compiled_17-2-2023_Audible_Ecosystemics_2/Audible_Ecosystemics_2.dsp | faust | import faust standard library
import audible ecosystemics objects library
------- ------------- ----- -----------
-- AE2 -----------------------------------------------------------------------
------- --------
MAIN SYSTEM FUNCTION
choose here the signals in output
LIMIT - max - min
LIMIT - max - min
LIMIT - max ... | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
import("stdfaust.lib");
import("aelibrary.l... |
c8fcfc1ac06e43bd67bb567ec6cb05aba54126710408f26bb672f45eb4bd5858 | LucaSpanedda/Audible-Ecosystemics-2 | Audible_Ecosystemics_2.dsp | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
// import faust standard library
import("st... | https://raw.githubusercontent.com/LucaSpanedda/Audible-Ecosystemics-2/c4be0f10b765b5466fe87fbe42afaab5cfd37793/Compiled_22-1-2023_Audible_Ecosystemics_2/Audible_Ecosystemics_2.dsp | faust | import faust standard library
import audible ecosystemics objects library
PERFORMANCE SYSTEM VARIABLES
------- ------------- ----- -----------
-- AE2 -----------------------------------------------------------------------
------- --------
MAIN SYSTEM FUNCTION
choose here the signals in output
LIMIT - max - min
L... | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
import("stdfaust.lib");
import("aelibrary.l... |
28213471f2c93f1302d260ebc796260919b2cabdabaf64e9b8543b926e66b4a0 | LucaSpanedda/Audible-Ecosystemics-2 | IR_Tests.dsp | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
// import faust standard library
import("s... | https://raw.githubusercontent.com/LucaSpanedda/Audible-Ecosystemics-2/c4be0f10b765b5466fe87fbe42afaab5cfd37793/IR_Tests/IR_Tests.dsp | faust | import faust standard library
PERFORMANCE SYSTEM VARIABLES
------- ------------- ----- -----------
-- TEST IR -------------------------------------------------------------------
------- --------
------------------------------------------------------------------------
TEST risposte :
per tutti gli esempi: 44.1 kHz,... | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
import("stdfaust.lib");
SampleRate = 44100... |
beb740695150f34705e3af8b0557abb5bdec9bcdbdab46ec41958ba598bfe27a | LucaSpanedda/Audible-Ecosystemics-2 | Audible_Ecosystemics_2.dsp | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
// import faust standard library
import("st... | https://raw.githubusercontent.com/LucaSpanedda/Audible-Ecosystemics-2/c4be0f10b765b5466fe87fbe42afaab5cfd37793/Compiled_15-2-2023_Audible_Ecosystemics_2/Audible_Ecosystemics_2.dsp | faust | import faust standard library
import audible ecosystemics objects library
PERFORMANCE SYSTEM VARIABLES
------- ------------- ----- -----------
-- AE2 -----------------------------------------------------------------------
------- --------
MAIN SYSTEM FUNCTION
choose here the signals in output
LIMIT - max - min
L... | declare name "Agostino Di Scipio - AUDIBLE ECOSYSTEMICS n.2";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare version "alpha";
declare description " 2022 version - Realised on composer's instructions
of the year 2017 edited in LβAquila, Italy";
import("stdfaust.lib");
import("aelibrary.l... |
195d3f63c9497d010e55374ab421b9445f340abf0761cb48d0bffd25a1bf8536 | LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust | Granulator_nonDecorrelated_PAR.dsp | declare name "Granulator with Parallel Instances";
declare version "xxx";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare description "Granulator with Parallel Instances";
// FAUST standard library
import("stdfaust.lib");
primeNumbers(index) = ba.take(index , list)
with{
list =
(2, 3,... | https://raw.githubusercontent.com/LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust/6bad45f99a5d1137968123b6c7ab628b0aa6eeae/Granulator_nonDecorrelated_PAR.dsp | faust | FAUST standard library
position
position jitter
duration
duration jitter
density
buffersize (in seconds)
density
target grain duration in seconds
target grain position in the buffer
make sure to have decorrelated noises
buffer size
hann window
a phasor that read new params only when: y_1 < y_2
two output... | declare name "Granulator with Parallel Instances";
declare version "xxx";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare description "Granulator with Parallel Instances";
import("stdfaust.lib");
primeNumbers(index) = ba.take(index , list)
with{
list =
(2, 3, 5, 7, 11, 13, 17, 19, 23,... |
a4f4dce5598c29edbc2422416894e2b21039d14cec7d963c5274c818d83c48b1 | LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust | AE2_granular_sampling.dsp | declare name "granular_sampling for AUDIBLE ECOSYSTEMICS n.2";
declare version "xxx";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare description "Realised on composer's instructions of the year 2017 edited in LβAquila, Italy";
// FAUST standard library
import("stdfaust.lib");
primeNumbers(... | https://raw.githubusercontent.com/LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust/290292529f49f5288dfcbe102f37ddc5515b33f8/AE2_granular_sampling.dsp | faust | FAUST standard library
timeIndex1 - a signal between -1 and -0.5
memWriteDel1 - a signal between 0 and 1
cntrlLev: a signal between 0 and 1 (1 max, 0 no grains)
var1 distance (in meters) between the two farthest removed loudspeakers
density
target grain duration in seconds
target grain position in the buffer
m... | declare name "granular_sampling for AUDIBLE ECOSYSTEMICS n.2";
declare version "xxx";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare description "Realised on composer's instructions of the year 2017 edited in LβAquila, Italy";
import("stdfaust.lib");
primeNumbers(index) = ba.take(index , l... |
899615878bef1865113c2769f8ff64b94262571816ded69364a39de7fde1bb39 | LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust | Granulator_PAR.dsp | declare name "Granulator with Parallel Instances";
declare version "xxx";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare description "Granulator with Parallel Instances";
// FAUST standard library
import("stdfaust.lib");
primeNumbers(index) = ba.take(index , list)
with{
list =
(2, 3, ... | https://raw.githubusercontent.com/LucaSpanedda/Sound_reading_and_writing_techniques_in_Faust/290292529f49f5288dfcbe102f37ddc5515b33f8/Granulator_PAR.dsp | faust | FAUST standard library
position
position jitter
duration
duration jitter
density
buffersize (in seconds)
density
target grain duration in seconds
target grain position in the buffer
make sure to have decorrelated noises
buffer size
hann window
a phasor that read new params only when: y_1 < y_2
two output... | declare name "Granulator with Parallel Instances";
declare version "xxx";
declare author "Luca Spanedda";
declare author "Dario Sanfilippo";
declare description "Granulator with Parallel Instances";
import("stdfaust.lib");
primeNumbers(index) = ba.take(index , list)
with{
list =
(2, 3, 5, 7, 11, 13, 17, 19, 23, ... |
31310e0f851dbbf80d2864b998e73bd4fdf84b0f455023e7b816f9c6b09e2591 | LucaSpanedda/Riverberazione_Digitale_in_FAUST | 2.0_Luca_Spanedda_KBVerb.dsp | declare name "Luca Spanedda's KBVerb";
declare version "1.0.0";
declare author "Luca Spanedda";
declare copyright "Copyright(c) 2022 Luca Spanedda";
// import Standard Faust library
// https://github.com/grame-cncm/faustlibraries/
import("stdfaust.lib");
// Reverb Model based on: Keith Barr Allpass Loop Reverb
... | https://raw.githubusercontent.com/LucaSpanedda/Riverberazione_Digitale_in_FAUST/87cbf7cc52291b3d49335834d401b453ef5b62e9/2.0_Luca_Spanedda_KBVerb.dsp | faust | import Standard Faust library
https://github.com/grame-cncm/faustlibraries/
Reverb Model based on: Keith Barr Allpass Loop Reverb
------- ------------- ----- -----------
-- Luca Spanedda's KBVerb ----------------------------------------------------
------- --------
------- ------------- ----- -----------
-- LIBRARY ... | declare name "Luca Spanedda's KBVerb";
declare version "1.0.0";
declare author "Luca Spanedda";
declare copyright "Copyright(c) 2022 Luca Spanedda";
import("stdfaust.lib");
KBReverb(decay, del_A1, del_A2, del_B1, del_B2, del_C1, del_C2, del_D1, del_D2, X, Y, Z, W) =
X <: _ ,
(
( loop... |
1e6b48578c7e589f05d6df7ea866c252cc2c5be53bcb5fe485607a7002570085 | ArcAudio/ScrewDriver_MadeOfJelly | karplunk.dsp | import("stdfaust.lib");
declare options "[midi:on][nvoices:12]";
string = hgroup("String[0]",+~(de.fdelay4(maxDelLength,delLength-1) : filter : * (damping) ) )*gate*gain
with
{
freq = hslider("[0]freq",440,50,5000,1);
damping = hslider("[1]damping", 0.99,0,1,0.01);
gain = hslider("[2]gain",1,0,1,0.01);
gate = but... | https://raw.githubusercontent.com/ArcAudio/ScrewDriver_MadeOfJelly/4f8f9a99f5b02af9d66eb4a02e622cd9ea3ff8f6/karplunk.dsp | faust | import("stdfaust.lib");
declare options "[midi:on][nvoices:12]";
string = hgroup("String[0]",+~(de.fdelay4(maxDelLength,delLength-1) : filter : * (damping) ) )*gate*gain
with
{
freq = hslider("[0]freq",440,50,5000,1);
damping = hslider("[1]damping", 0.99,0,1,0.01);
gain = hslider("[2]gain",1,0,1,0.01);
gate = but... | |
a39007f47861fa5414125506cb9e004d76f87730767cab61e0a72afdb64e9ade | ArcAudio/Resonator | mplucker.dsp | import("stdfaust.lib");
// IIR hilbert transform Emmanuel Favreau (via Miller Puckette)
// fastest
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02... | https://raw.githubusercontent.com/ArcAudio/Resonator/e67a48999bea931547198ccecd38cd2c8130406b/mplucker.dsp | faust | IIR hilbert transform Emmanuel Favreau (via Miller Puckette)
fastest
only take one sideband
l = hslider("freq",200,20,1000,0.01) : pm.f2l : si.smoo;
l2 = hslider("freq2",400,100,1000,0.01) : pm.f2l : si.smoo;
l = 1.0;
gate, freq (pitch), gain parameters
Filter Parameters
Parameters for the harmonic oscillator
UI... | import("stdfaust.lib");
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1)
: biquad(1.8685, -0.870686, ... |
9d630c00b49bc975f201a60eb390fec7f2e14d43edccf533abc7601f347895bd | ArcAudio/faust-web-test | osc.dsp | import("stdfaust.lib");
//---------------------------`bubble`--------------------------
// bubble(f0, trig) : produces a water drop bubble sound
//
// #### Usage
//
// ```
// bubble(f0, trig) : _
// ```
//
// Where:
//
// * ` f0 `: base frequency of bubble sound
// * `trig`: trigs the bubble sound on the rising front... | https://raw.githubusercontent.com/ArcAudio/faust-web-test/a7c9a2813390eeed259416ba0163102a71732266/osc.dsp | faust | ---------------------------`bubble`--------------------------
bubble(f0, trig) : produces a water drop bubble sound
#### Usage
```
bubble(f0, trig) : _
```
Where:
* ` f0 `: base frequency of bubble sound
* `trig`: trigs the bubble sound on the rising front
#### Example
```
button("drop") : bubble(600) ... | import("stdfaust.lib");
hilbertef(x) = real(x), imag(x)
with {
biquad(a1,a2,b0,b1,b2) = + ~ conv2(a1,a2) : conv3(b0,b1,b2)
with {
conv3(k0,k1,k2,x) = k0*x + k1*x' + k2*x'';
conv2(k0,k1,x) = k0*x + k1*x';
};
real = biquad(-0.02569, 0.260502, -0.260502, 0.02569, 1)
: biquad(1.8685, -0.870686, ... |
ca9d4631ca0cc1da65a7a527999642d877b37d3bf0b21bae982b3cab378a8e3e | ArcAudio/synthtest | synth.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// A very simple subtractive synthesizer with 1 VCO 1 VCF.
// The VCO Waveform is variable between Saw and Square
// The frequency is modulated by an LFO
// The envelope control volum and filt... | https://raw.githubusercontent.com/ArcAudio/synthtest/850d16dc49e962f4c8ffb56426dab2cb24c06ac6/synth.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
A very simple subtractive synthesizer with 1 VCO 1 VCF.
The VCO Waveform is variable between Saw and Square
The frequency is modulated by an LFO
The envelope control volum and filter frequency
///////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
pitchwheel = hslider("bend [midi:pitchwheel]",1,0.001,10,0.01);
wfFade = hslider("waveform[BELA: ANALOG_0]",0.5,0,1,0.001):si.smoo;
res = hslider("resonnance[BELA: ANALOG_2]",0.5,0,1,0.001):si.smoo;
fr = hslide... |
ffc71b224f7c18fa725c58e13b0d126103d7c57411ff9d196224144919228818 | prithviKantanAAU/sliderSoniFinal | sliderSoniFinal.dsp | // // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
import("stdfaust.lib");
// Panner
NUM_PANPOS = 7;
// Dotted Delay
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
// FM Synth
... | https://raw.githubusercontent.com/prithviKantanAAU/sliderSoniFinal/571109d221f5eadc4d6cc410c1220e5fa387b47e/sliderSoniFinal.dsp | faust | // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Panner
Dotted Delay
FM Synth
Piano Single Note
Full Chord Synth
MUSIC Trackwise SYNTH //
1, 2, 3, 8 are sample-bas... | import("stdfaust.lib");
NUM_PANPOS = 7;
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
FM_DISTMIX = 0.05;
PIANO_WAVEWIDTH1 = 33; PIANO_WAVEWIDTH2 = 10; PIANO_WAVEWIDTH3 = 66;
CS_DEL_N1 = 0.015; CS_DEL_N2 = 0.030; CS_DEL_N3 = 0.045;
PANPOS_NOTES = 3,4,5,6;
AT_C = 0.001; RL_C = 1; FV_C = 1;... |
d79e72cefb0c0091dff28137661f6785c7ec0886c6728a430186e8e5e5b09e49 | prithviKantanAAU/SMC2022_AG_Code_Data | RSMC - LATEST FAUST.dsp | // // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
import("stdfaust.lib"); numStyles = 4; numScales = 5; freqOffset_LR = 0.5;
kickNoise = multiNoiseSelector(0); s... | https://raw.githubusercontent.com/prithviKantanAAU/SMC2022_AG_Code_Data/87c2b2e418934c383676993510e45fcb6df23202/Source/RSMC%20-%20LATEST%20FAUST.dsp | faust | // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Order = Major Minor Maj7 Min7 Dominant Maj9 Min9 Power
// // // // // // // // // // // // // // // // // // // // // // // // //... | import("stdfaust.lib"); numStyles = 4; numScales = 5; freqOffset_LR = 0.5;
kickNoise = multiNoiseSelector(0); snareNoise = multiNoiseSelector(1); hhNoise = multiNoiseSelector(2); melodyNoise = multiNoiseSelector(3); crashNoise = multiNoiseSelector(4);
major_scale = waveform{-1,0,2,4,5,7,9,11,12,14,16... |
d705e20e31b0492afbe53fb5de98a2e2096956afe3656ed0e176a668ae762f52 | prithviKantanAAU/mbfFrameworkV4 | GaitSoni.dsp | // // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
import("stdfaust.lib");
// Panner
NUM_PANPOS = 7;
// Dotted Delay
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
// FM Synth
FM_DIS... | https://raw.githubusercontent.com/prithviKantanAAU/mbfFrameworkV4/e368a9eab07f6d8c25d1ddf1051338cbcebde121/FAUST%20Code/GaitSoni.dsp | faust | // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Panner
Dotted Delay
FM Synth
Piano Single Note
Full Chord Synth
MUSIC Trackwise SYNTH //
1, 2, 3, 8 are sample-based
4 -... | import("stdfaust.lib");
NUM_PANPOS = 7;
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
FM_DISTMIX = 0.05;
PIANO_WAVEWIDTH1 = 33; PIANO_WAVEWIDTH2 = 10; PIANO_WAVEWIDTH3 = 66;
CS_DEL_N1 = 0.015; CS_DEL_N2 = 0.030; CS_DEL_N3 = 0.045;
PANPOS_NOTES = 3,4,5,6;
AT_C = 0.001; RL_C = 1; FV_C = 1;
MALLET_... |
bde5a542c766ded5d1a5adaebf27e69a6ae124659dcac882f862f94fcca8e683 | prithviKantanAAU/sliderSoniFinal | SliderSoniFinal.dsp | // // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
import("stdfaust.lib");
// Panner
NUM_PANPOS = 7;
// Dotted Delay
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
// FM Synth
FM_DIS... | https://raw.githubusercontent.com/prithviKantanAAU/sliderSoniFinal/571109d221f5eadc4d6cc410c1220e5fa387b47e/SliderSoniFinal.dsp | faust | // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Panner
Dotted Delay
FM Synth
Piano Single Note
Full Chord Synth
MUSIC Trackwise SYNTH //
1, 2, 3, 8 are sample-based
4 -... | import("stdfaust.lib");
NUM_PANPOS = 7;
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
FM_DISTMIX = 0.05;
PIANO_WAVEWIDTH1 = 33; PIANO_WAVEWIDTH2 = 10; PIANO_WAVEWIDTH3 = 66;
CS_DEL_N1 = 0.015; CS_DEL_N2 = 0.030; CS_DEL_N3 = 0.045;
PANPOS_NOTES = 3,4,5,6;
AT_C = 0.001; RL_C = 1; FV_C = 1;
MALLET_... |
91b036f1448b033d510612d435faa2deab64f49b35939254d7885a738039d4f7 | prithviKantanAAU/GaitSoni-PostThesis | GaitSoni.dsp | // // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
import("stdfaust.lib");
// Panner
NUM_PANPOS = 7;
// Dotted Delay
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
// FM Synth
... | https://raw.githubusercontent.com/prithviKantanAAU/GaitSoni-PostThesis/7f24bcb98b690473e2528e7aeaa855ea11fb4a29/DSP/GaitSoni.dsp | faust | // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
Panner
Dotted Delay
FM Synth
Piano Single Note
Full Chord Synth
MUSIC Trackwise SYNTH //
1, 2, 3, 8 are sample-bas... | import("stdfaust.lib");
NUM_PANPOS = 7;
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
FM_DISTMIX = 0.05;
PIANO_WAVEWIDTH1 = 33; PIANO_WAVEWIDTH2 = 10; PIANO_WAVEWIDTH3 = 66;
CS_DEL_N1 = 0.015; CS_DEL_N2 = 0.030; CS_DEL_N3 = 0.045;
PANPOS_NOTES = 3,4,5,6;
AT_C = 0.001; RL_C = 1; FV_C = 1;... |
921db8c41d05c06672afe902b18c920fcccce0d6b1b81772a58a0d9c12648f6a | prithviKantanAAU/GaitSoni-PostThesis | GaitSoni - 2020-08-06T151306.895.dsp | // // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
import("stdfaust.lib");
// FX Params //
// Panner
NUM_PANPOS = 7;
// Dotted Delay
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
//... | https://raw.githubusercontent.com/prithviKantanAAU/GaitSoni-PostThesis/7f24bcb98b690473e2528e7aeaa855ea11fb4a29/DSP/GaitSoni%20-%202020-08-06T151306.895.dsp | faust | // // // // // // // // // // // // // // // // // // // // // // // // // // // D E F I N I T I O N S // // // // // // // // // // // // // // // // // // // // // // // // // // // //
FX Params //
Panner
Dotted Delay
FM Synth
Piano Single Note
Full Chord Synth
MUSIC Trackwise SYNTH //
4
MALLET FM
TRUM... | import("stdfaust.lib");
NUM_PANPOS = 7;
DOTDEL_FC_HP = 800; DOTDEL_FC_LP = 2000;
FM_DISTMIX = 0.05;
PIANO_WAVEWIDTH1 = 33; PIANO_WAVEWIDTH2 = 10; PIANO_WAVEWIDTH3 = 66;
CS_DEL_N1 = 0.015; CS_DEL_N2 = 0.030; CS_DEL_N3 = 0.045;
PANPOS_NOTES = 3,4,5,6;
AT_C = 0.001; RL_C = 1; FV_C = 1;
MALL... |
7a48498c6020da715205c46078791033aa6720d5e36bbb56fcd62ccd2b1ce8f8 | chevremaudite/zosimos | addictiveUI.dsp | //-----------------ADDICTIVE----------------//
// Additive synthesis engine.
//--------------PARAMETERS:
// 1 - Pitch : Main pitch
// 2 - Fundamental Gain : Fundamental frequency's level
// 3 - Harmonics : Number of partials
// 4 - Interval : Partial interval from main pitch and to each other
// 5 - Offset : Nth p... | https://raw.githubusercontent.com/chevremaudite/zosimos/55a532489c278fa47ffd37a84322c9a27800f588/SOFTWARE/FAUST/ui/addictiveUI.dsp | faust | -----------------ADDICTIVE----------------//
Additive synthesis engine.
--------------PARAMETERS:
1 - Pitch : Main pitch
2 - Fundamental Gain : Fundamental frequency's level
3 - Harmonics : Number of partials
4 - Interval : Partial interval from main pitch and to each other
5 - Offset : Nth partial offset fr... |
import("stdfaust.lib");
import("addictive.lib");
process = hgroup("Addictive", add(pitch, fGain,
harms, interval, offset,
oddness, highGain, harmDecay,
trigger)) <: (_,_)
with {
trigger = button("T"):ba.impulsify;
... |
bcc407ea1fd707375d309967f6329030afe64e002152d2730d5ad050bff17a59 | chevremaudite/zosimos | modaldrumsUI.dsp | //-----------------MODAL DRUMS----------------//
//Physical modeling engine consisting of a modal drum, a waveguide transient and a blower exciter
//--------------PARAMETERS:
// 1 - Pitch : Drum and transient main pitch
// 2 - Brightness : Drum modes frequency offset
// 3 - Transient Level : Transient volume
// 4 -... | https://raw.githubusercontent.com/chevremaudite/zosimos/0da322fb7df2f7a86f568cdc3dfe416a69be8b5b/SOFTWARE/FAUST/ui/modaldrumsUI.dsp | faust | -----------------MODAL DRUMS----------------//
Physical modeling engine consisting of a modal drum, a waveguide transient and a blower exciter
--------------PARAMETERS:
1 - Pitch : Drum and transient main pitch
2 - Brightness : Drum modes frequency offset
3 - Transient Level : Transient volume
4 - Transient Pos... | import("stdfaust.lib");
import("modaldrums.lib");
import("volenvUI.dsp");
import("utilities.lib");
process = hgroup("Modal Drums", md(pitch, brightness,
transientAmt, transientPos,
noiseAmt, noiseDecay,
strength, trigger))<... |
2f90a63e2eace961a99095c26fa3167ea861d2d32575805ddc778c95b4d4a896 | chevremaudite/zosimos | noisyUI.dsp | //-----------------NOISY----------------//
//Filtered noise engine for hats, snares, lasers and bitcrushed percs
//--------------PARAMETERS:
// 1 - Pitch : Noise bandpass cutoff
// 2 - Pitch Amount : Bandpassed noise mix
// 3 - Pitch Tone : Noise bandpass resonance
// 4 - Pitch Mod Depth : Noise bandpass cutoff mod... | https://raw.githubusercontent.com/chevremaudite/zosimos/0da322fb7df2f7a86f568cdc3dfe416a69be8b5b/SOFTWARE/FAUST/ui/noisyUI.dsp | faust | -----------------NOISY----------------//
Filtered noise engine for hats, snares, lasers and bitcrushed percs
--------------PARAMETERS:
1 - Pitch : Noise bandpass cutoff
2 - Pitch Amount : Bandpassed noise mix
3 - Pitch Tone : Noise bandpass resonance
4 - Pitch Mod Depth : Noise bandpass cutoff modulation amount... |
import("volenvUI.dsp");
import("stdfaust.lib");
import("utilities.lib");
import("noisy.lib");
process = hgroup("Noisy", noisy(pitch, pitchAmt, pitchTone,
pitchDepth, pitchDecay, resolution, trigger))<:_,_
with{
trigger = button("T"):ba.impulsify;
pitch = exp(vslider("[1]Pitch [style:kn... |
74953a622de7e0d94920c77cb86398b37b60cc0cd97a216d0e4476435485a705 | chevremaudite/zosimos | fmmetalUI.dsp | //-----------------FM METAL----------------//
//FM engine tailored to produce metallic percussions such as bells, hats or distorted snares
//--------------PARAMETERS:
// 1 - Pitch : Carrier's pitch
// 2 - Mod Amount : Carrier's modulation amount
// 3 - Ratio 1 : First modulator's frequency to carrier's frequency rat... | https://raw.githubusercontent.com/chevremaudite/zosimos/ab0de59442ab762c5cc0b77136a609f723f7bc04/SOFTWARE/FAUST/ui/fmmetalUI.dsp | faust | -----------------FM METAL----------------//
FM engine tailored to produce metallic percussions such as bells, hats or distorted snares
--------------PARAMETERS:
1 - Pitch : Carrier's pitch
2 - Mod Amount : Carrier's modulation amount
3 - Ratio 1 : First modulator's frequency to carrier's frequency ratio
4 - Rat... |
import("volenvUI.dsp");
import("stdfaust.lib");
import("utilities.lib");
import("fmmetal.lib");
process = hgroup("FM Metal", fmmetal(pitch, modAmt, r1, r2, r3, fb,
modAtk, modDec,
trigger)) <: (_,_)
with{
trigg... |
2da8fd6fb6a76fd430d003206b66612b0876cd8dcb8cf2085612abe7516637b2 | chevremaudite/zosimos | 93bangbangUI.dsp | //-----------------93 BANG BANG----------------//
//Classic Virtual analog kick and tom generator
//--------------PARAMETERS:
// 1 - Pitch : Main osc pitch
// 2 - Pitch Mod Depth : Main osc pitch modulation amount
// 3 - Pitch Decay : Main osc pitch modulation envelope decay in seconds
// 4 - Noise Amount : Noise t... | https://raw.githubusercontent.com/chevremaudite/zosimos/55a532489c278fa47ffd37a84322c9a27800f588/SOFTWARE/FAUST/ui/93bangbangUI.dsp | faust | -----------------93 BANG BANG----------------//
Classic Virtual analog kick and tom generator
--------------PARAMETERS:
1 - Pitch : Main osc pitch
2 - Pitch Mod Depth : Main osc pitch modulation amount
3 - Pitch Decay : Main osc pitch modulation envelope decay in seconds
4 - Noise Amount : Noise transient volum... |
import("stdfaust.lib");
import("93bangbang.lib");
process = hgroup("93 Bang Bang", bb93(pitch, pitchDepth, pitchDecay,
noiseAmt, noisePitch, noiseDecay,
waveS, trigger)
<: (_,_))
with {
trigger = button("T"... |
a120f2247fc81867d1b711955bae6f40f7164683d21d8156668dce8bd5ea7800 | chevremaudite/zosimos | drummachine.dsp | /*
REFACTOR : Change all the imports styles from import("xx.lib") to xx = library("xx.lib") to avoid conflits
REFACTOR : Make every engine a lib and create separate instanciation .dsp files
REFACTOR : Wrap all the engines in a engine environment
REFACTOR : create a dryWet function to use for all the mix knobs
*/
de... | https://raw.githubusercontent.com/chevremaudite/zosimos/0d3dee614458cf0a7e4a18e233af4da32081770b/SOFTWARE/FAUST/libs/drummachine.dsp | faust |
REFACTOR : Change all the imports styles from import("xx.lib") to xx = library("xx.lib") to avoid conflits
REFACTOR : Make every engine a lib and create separate instanciation .dsp files
REFACTOR : Wrap all the engines in a engine environment
REFACTOR : create a dryWet function to use for all the mix knobs
Global
... |
declare options "[midi:on]";
import ("stdfaust.lib");
import("93bangbang.dsp");
import("noisy.dsp");
import("modal.dsp");
import("add.dsp");
import("fm.dsp");
import("bitwise.dsp");
import("input.dsp");
import("dist.dsp");
masterVol=hslider("Master Volume[10]", 0.5, 0,1,0.01):si.smoo;
level(i)=hslider("[9]Level[style:... |
b3741365156a305ef7a1e6654658aa50ffc3da69dde55a9857cde853499586c5 | chevremaudite/zosimos | bitwiseUI.dsp | //-----------------BITWISE----------------//
//Bitwise operations based engine for hard kicks and digital weird percs
//--------------PARAMETERS:
// 1 - Pitch : Main osc pitch
// 2 - Pitch Mod Depth : Main osc pitch modulation amount
// 3 - Pitch Decay : Main osc pitch modulation exponential envelope decay in second... | https://raw.githubusercontent.com/chevremaudite/zosimos/55a532489c278fa47ffd37a84322c9a27800f588/SOFTWARE/FAUST/ui/bitwiseUI.dsp | faust | -----------------BITWISE----------------//
Bitwise operations based engine for hard kicks and digital weird percs
--------------PARAMETERS:
1 - Pitch : Main osc pitch
2 - Pitch Mod Depth : Main osc pitch modulation amount
3 - Pitch Decay : Main osc pitch modulation exponential envelope decay in seconds
4 - Modu... |
import("stdfaust.lib");
import("volenvUI.dsp");
import("utilities.lib");
import("bitwise.lib");
process = hgroup("Bitwise", bitwise(pitch, pitchDepth, pitchDecay,
offset, offsetDepth, offsetDecay,
pwm1, pwm2, trigger)*2) <:_,_
with{
trigger = b... |
00df993fc8ac36a263c92286c428dd2ae2510f2f37816be60c6d7ce452faa51b | sozbtn/physical-modelling-percussion-instrument | perc_inst_faust.dsp |
import("stdfaust.lib");
import("instruments.lib");
//==================== GUI SPECIFICATION ================
freq = nentry("h:Basic_Parameters/freq [1][unit:Hz] [tooltip:Tone frequency]",100,20,20000,1);
gain = nentry("h:Basic_Parameters/gain [1][tooltip:Gain (value between 0 and 1)]",1,0,1,0.01);
gate = button("h... | https://raw.githubusercontent.com/sozbtn/physical-modelling-percussion-instrument/ad971fd6d962c125df70662aaab9ca87230ba805/perc_inst_faust.dsp | faust | ==================== GUI SPECIFICATION ================
preset = 0;
==================== MODAL PARAMETERS ================
number of presets
big tom drum
number of modes in preset 0
modes ratios to fundamental
modes ratios to fundamental
feedback gains
better "log-like" curve
forward gains
mode fader
=========... |
import("stdfaust.lib");
import("instruments.lib");
freq = nentry("h:Basic_Parameters/freq [1][unit:Hz] [tooltip:Tone frequency]",100,20,20000,1);
gain = nentry("h:Basic_Parameters/gain [1][tooltip:Gain (value between 0 and 1)]",1,0,1,0.01);
gate = button("h:Basic_Parameters/gate [1][tooltip:noteOn = 1, noteOff = 0... |
14b5cdd01fa750c13e06a41686d0c8b48c4f8f9b25d84b8ef1e4b0821d1c8258 | DBraun/DawDreamer | polyphonic.dsp | declare name "MyInstrument";
declare options "[nvoices:8]"; // FaustProcessor has a property which will override this.
import("stdfaust.lib");
freq = hslider("freq",200,50,1000,0.01); // note pitch
gain = hslider("gain",0.1,0,1,0.01); // note velocity
gate = button("gate"); // note on/off
myFil... | https://raw.githubusercontent.com/DBraun/DawDreamer/5dc7a2abb1912841bb1f5eb834de2659c8ca3777/tests/faust_dsp/polyphonic.dsp | faust | FaustProcessor has a property which will override this.
note pitch
note velocity
note on/off
polyphonic DSP code must declare a stereo effect, even it is simply
effect = _, _; | declare name "MyInstrument";
import("stdfaust.lib");
myFilter = fi.lowpass(10, hslider("cutoff", 20000., 30., 20000., 0.1));
decay = hslider("decay", .1, 0.001, 10., 0.001);
envFilter = en.adsr(.002, decay, 0.0, .05, gate);
envVol = 0.5*en.adsr(.002, 0.1, 0.9, .1, gate);
process = os.sawtooth(freq)*gain*envVol : f... |
c4aaebacb83afb49bc5069602bb8a350a00eeb7f1ed66709932db835738c70a4 | DBraun/DawDreamer | soundfile.dsp | declare name "MyInstrument";
declare options "[nvoices:8]"; // FaustProcessor has a property which will override this.
import("stdfaust.lib");
// variation of hs_phasor that doesn't loop. It's like a one-shot trigger.
my_phasor(inc,c) = inc*on_memory : + ~ (_*(1-start_pulse))
with {
is_on = c>0;
start_pu... | https://raw.githubusercontent.com/DBraun/DawDreamer/042913a1e373fcb0fa539cb713ce41d74b077ff2/tests/faust_dsp/soundfile.dsp | faust | FaustProcessor has a property which will override this.
variation of hs_phasor that doesn't loop. It's like a one-shot trigger.
note velocity
note on/off
polyphonic DSP code must declare a stereo effect | declare name "MyInstrument";
import("stdfaust.lib");
my_phasor(inc,c) = inc*on_memory : + ~ (_*(1-start_pulse))
with {
is_on = c>0;
start_pulse = is_on & (1-is_on');
on_memory = is_on : max ~ (_*(1-start_pulse));
};
key = hslider("freq", 60, 1, 127, 1) : ba.hz2midikey;
soundChoice = nentry("soundCho... |
0167cd431e1a5f069100412fa3d3db65052a4bc434e358b20cf9a217947ac3c3 | DBraun/DawDreamer | soundfile_piano.dsp | declare name "MyInstrument";
declare options "[nvoices:8]"; // FaustProcessor has a property which will override this.
import("stdfaust.lib");
// variation of hs_phasor that doesn't loop. It's like a one-shot trigger.
my_phasor(inc,c) = inc*on_memory : + ~ (_*(1-start_pulse))
with {
is_on = c>0;
start_pu... | https://raw.githubusercontent.com/DBraun/DawDreamer/cddfd141dc5141913813cce0961501d037aeb7e1/tests/faust_dsp/soundfile_piano.dsp | faust | FaustProcessor has a property which will override this.
variation of hs_phasor that doesn't loop. It's like a one-shot trigger.
note velocity
note on/off
note that A0 is midi note 21, so we subtract 21 to get to 0 (the first file is named 0.wav)
note release in seconds
polyphonic DSP code must declare a stereo e... | declare name "MyInstrument";
import("stdfaust.lib");
my_phasor(inc,c) = inc*on_memory : + ~ (_*(1-start_pulse))
with {
is_on = c>0;
start_pulse = is_on & (1-is_on');
on_memory = is_on : max ~ (_*(1-start_pulse));
};
key = hslider("freq", 60, 1, 127, 1) : ba.hz2midikey : _ , -21 : +;
envVol = en.adsr... |
26d38ad63b9cc26df7438f30aaccd81c9379df7b1e0424fed80e153ff4bae81b | DBraun/DawDreamer | sidechain.dsp | // https://github.com/grame-cncm/faustlibraries/blob/master/demos.lib
// Author: Julius Smith
// License: MIT
// Revised by David Braun
declare description "Compressor demo application";
import("stdfaust.lib");
compressor_demo(main_L, main_R, aux_L, aux_R) = result
with{
comp_group(x) = hgroup("COMPRESSOR [tooltip:... | https://raw.githubusercontent.com/DBraun/DawDreamer/a2a174719b596a2f9cc9b81a11a269625144f175/tests/faust_dsp/sidechain.dsp | faust | ERROR: type should be string, got " https://github.com/grame-cncm/faustlibraries/blob/master/demos.lib\n Author: Julius Smith\n License: MIT\n Revised by David Braun\nen.wikipedia.org/wiki/Dynamic_range_compression]\", x);" |
declare description "Compressor demo application";
import("stdfaust.lib");
compressor_demo(main_L, main_R, aux_L, aux_R) = result
with{
comp_group(x) = hgroup("COMPRESSOR [tooltip: Reference:
settings_group(x) = comp_group(hgroup("[0] Settings", x));
meter_group(x) = comp_group(hgroup("[1] Meters", x));
ga... |
c87d9b9a14402b30dcb1718299da644d8281cfa57bf4de0de25cee8a65b15a7c | DBraun/DawDreamer | polyphonic_sampler.dsp | declare name "MyInstrument";
declare options "[nvoices:8]"; // FaustProcessor has a property which will override this.
import("stdfaust.lib");
// This example demonstrates a "sampler" in Faust, and it happens to use
// Lagrange interpolation. The interpolation probably only matters
// when the sampler is played at a ... | https://raw.githubusercontent.com/DBraun/DawDreamer/a67f66107ae02afc8334052dd9d806dbf93b4550/tests/faust_dsp/polyphonic_sampler.dsp | faust | FaustProcessor has a property which will override this.
This example demonstrates a "sampler" in Faust, and it happens to use
Lagrange interpolation. The interpolation probably only matters
when the sampler is played at a MIDI note other than the "center_note".
The following variable is excluded from this file bec... | declare name "MyInstrument";
import("stdfaust.lib");
my_phasor(tablesize,freq,c) = inc*on_memory : + ~ (_*(1-start_pulse)) : min(1.) *(tablesize)
with {
is_on = c>0;
start_pulse = is_on & (1-is_on');
on_memory = is_on : max ~ (_*(1-start_pulse));
inc = freq/float(ma.SR);
};
key = hslider(... |
c6e6132dfc49b56d20c5346857029b9d0ee70c996e5e4876f98eac37a9bb9ba0 | goofy2k/ESP32_faust2api | yourSynth.dsp | //polyphony example from https://ccrma.stanford.edu/~rmichon/faust2api/#customizing-the-api
import("stdfaust.lib");
freq = nentry("freq",200,40,2000,0.01) : si.polySmooth(gate,0.999,2);
gain = nentry("gain",1,0,1,0.01) : si.polySmooth(gate,0.999,2);
gate = button("gate") : si.smoo;
cutoff = nentry("cutoff",500,40,2000,... | https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/yourSynth/yourSynth.dsp | faust | polyphony example from https://ccrma.stanford.edu/~rmichon/faust2api/#customizing-the-api | import("stdfaust.lib");
freq = nentry("freq",200,40,2000,0.01) : si.polySmooth(gate,0.999,2);
gain = nentry("gain",1,0,1,0.01) : si.polySmooth(gate,0.999,2);
gate = button("gate") : si.smoo;
cutoff = nentry("cutoff",500,40,2000,0.01) : si.polySmooth(gate,0.999,2);
process = vgroup("synth",os.sawtooth(freq)*gain*gate : ... |
9d4e8beff4ff26d1cb42814dca518ac3a8bc152395cd47c1800d1f788e62fe5b | goofy2k/ESP32_faust2api | simpleSynth_Analog.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// A very simple subtractive synthesizer with 1 VCO 1 VCF.
// The VCO Waveform is variable between Saw and Square
// The frequency is modulated by an LFO
// The envelope control volum and filt... | https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/all_engines/simpleSynth_Analog.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
A very simple subtractive synthesizer with 1 VCO 1 VCF.
The VCO Waveform is variable between Saw and Square
The frequency is modulated by an LFO
The envelope control volum and filter frequency
///////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
wfFade = hslider("waveform[BELA: ANALOG_0]",0.5,0,1,0.001):si.smoo;
res = hslider("resonnance[BELA: ANALOG_2]",0.5,0,1,0.001):si.smoo;
fr = h... |
80b435649aa199741c961517586fd7eb304dab46bf0c9a5ceae0aede073d869e | goofy2k/ESP32_faust2api | WaveSynth_FX.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
// It's possible to add more tables step.
//
/////////////////////////////////////////////////////////... | https://raw.githubusercontent.com/goofy2k/ESP32_faust2api/1e12506b66da095296a1f11dd1dbea4ed6bc35b0/sound_engines/faust2api/all_engines/WaveSynth_FX.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
It's possible to add more tables step.
////////////////////////////////////////////////////////////////////////////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = nentry("gain", 0.5, 0, 1, 0.01);
waveTravel = hslider("waveTravel [midi:ctrl ]",0,0,1,0.01);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
gFreq = midifreq * bend;
lfoDepth = ... |
45d8219f7d529b0e681927923a8f5757b13d8a505cd2d1bb71efa3e5d71dffcf | johannphilippe/paw2022 | beat_looper.dsp | import("stdfaust.lib");
amp = hslider("amp", 0.2, 0, 1, 0.01);
speed = hslider("speed", 0.2, 0.1, 2, 0.01) : si.smoo;
noise_amt = hslider("noise_amount", 1, 1, 4, 0.1) : si.smoo;
naive_impl(fq) = (_, ma.SR/fq : fmod) ~+(1.0) : <=(1.0);
accent(modulo, beat) = _~+( is ) : %(modulo) : ==(0) : &(is)
with {
is = beat >... | https://raw.githubusercontent.com/johannphilippe/paw2022/d9b921a44e72bab11e457a13a1b43a4eabca53df/examples/beat_looper.dsp | faust | import("stdfaust.lib");
amp = hslider("amp", 0.2, 0, 1, 0.01);
speed = hslider("speed", 0.2, 0.1, 2, 0.01) : si.smoo;
noise_amt = hslider("noise_amount", 1, 1, 4, 0.1) : si.smoo;
naive_impl(fq) = (_, ma.SR/fq : fmod) ~+(1.0) : <=(1.0);
accent(modulo, beat) = _~+( is ) : %(modulo) : ==(0) : &(is)
with {
is = beat >... | |
ea77d6c75e5338c8460e582d0da71bdca423c52e844f942752d5d621c6105448 | johannphilippe/grame_cnsmd_2023 | feedback_integrator_network.dsp | import("stdfaust.lib");
// Faust matrix
N_VOICES = 8;
// (x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
feedback_integrator_network(nvoice) = _ : snd :> _,_
//~+(_<:si.bus(nvoice)) : (snd)) :> _,_
with {
noise_mult = 1000;
nz = no.multinoise(nvoice*nvoice);
trig = ba.beat(60);
noise(x... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/81d22fea093c46d2436874513d74a43d42212ce9/feedback_integrator_network__ne_fonctionne_pas_encore/feedback_integrator_network.dsp | faust | Faust matrix
(x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
~+(_<:si.bus(nvoice)) : (snd)) :> _,_
snd = par(x, nvoice, _ : fi.pole(0.99) : *(sum(y, nvoice, noise(x,y))) : fi.dcblocker : aa.clip(-1, 1)) ; | import("stdfaust.lib");
N_VOICES = 8;
feedback_integrator_network(nvoice) = _ : snd :> _,_
with {
noise_mult = 1000;
nz = no.multinoise(nvoice*nvoice);
trig = ba.beat(60);
noise(x, y) = no.noises(nvoice*nvoice, y + (x*nvoice)) : ba.sAndH(trig+os.impulse) : *(noise_mult);
voice(x, sig) =( sig+_ : ... |
6b8fb520b175954a646d2ffe465fc562baf9b21f934d464995b731ae0bcd281f | johannphilippe/grame_cnsmd_2023 | feedback_integrator_network2.dsp | import("stdfaust.lib");
// Faust matrix
// (x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
feedback_integrator_network(nvoice) = par(x, nvoice, sum(y, nvoice, leaky_integrator : *(noise(x, y))) : post_processing) ~(si.bus(nvoice)) :> _,_
with {
noise_mult = 1000;
noise(x, y) = no.noises(nvoice ... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/81d22fea093c46d2436874513d74a43d42212ce9/feedback_integrator_network__ne_fonctionne_pas_encore/feedback_integrator_network2.dsp | faust | Faust matrix
(x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
chaque sortie est le rΓ©sultat d'une somme des entrΓ©es * leurs volumes
feedback_integrator_network(nvoice) = par(x, nvoice, _ : fi.pole(0.99) : *(sum(y, nvoice, noise(x, y))) : fi.dcblocker : aa.clip(-1, 1)) :> _,_
with {
noise_mult = 100... | import("stdfaust.lib");
feedback_integrator_network(nvoice) = par(x, nvoice, sum(y, nvoice, leaky_integrator : *(noise(x, y))) : post_processing) ~(si.bus(nvoice)) :> _,_
with {
noise_mult = 1000;
noise(x, y) = no.noises(nvoice * nvoice, y + (x * nvoice)) : ba.sAndH(os.impulse) : *(noise_mult);
leaky_int... |
9d5969376a4764adec9121f3bd1971fed27771e47f2d66d045015b90032fadbe | johannphilippe/grame_cnsmd_2023 | feedback_integrator_network3.dsp | import("stdfaust.lib");
// Faust matrix
// (x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
feedback_integrator_network(nvoice) = par(x, nvoice, sum(y, nvoice, leaky_integrator : *(noise(x, y))) : post_processing) ~(si.bus(nvoice))
with {
noise_mult = 1000;
noise(x, y) = no.noises(nvoice * nvoic... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/81d22fea093c46d2436874513d74a43d42212ce9/feedback_integrator_network__ne_fonctionne_pas_encore/feedback_integrator_network3.dsp | faust | Faust matrix
(x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
chaque sortie est le rΓ©sultat d'une somme des entrΓ©es * leurs volumes
feedback_integrator_network(nvoice) = par(x, nvoice, _ : fi.pole(0.99) : *(sum(y, nvoice, noise(x, y))) : fi.dcblocker : aa.clip(-1, 1)) :> _,_
with {
noise_mult = 100... | import("stdfaust.lib");
feedback_integrator_network(nvoice) = par(x, nvoice, sum(y, nvoice, leaky_integrator : *(noise(x, y))) : post_processing) ~(si.bus(nvoice))
with {
noise_mult = 1000;
noise(x, y) = no.noises(nvoice * nvoice, y + (x * nvoice)) : ba.sAndH(os.impulse) : *(noise_mult);
leaky_integrato... |
a182bb44223c8174dba10d78369fc0fd7a8464b2acaf1acddd485d7d63fea15c | johannphilippe/grame_cnsmd_2023 | ixa_ext_mod.dsp | import("stdfaust.lib");
round(sig) = floor(sig), ceil(sig) : select2( (sig -floor(sig)) > 0.5 );
wavefolder(sig) = 4 * (abs(0.25 * sig + 0.25 - round(0.25 * sig + 0.25))-0.25);
pulse(x, t) = 0, 1 :select2( t >= (x*0.5) & t < x );
weird_wave(t) = (2 * pulse(0.5, t) - 1)*sin( 2*ma.PI * fmod(t, 0.5))
... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/cf7a34a36c456eef87963c584384296c8c441a27/ixa/ixa_ext_mod.dsp | faust |
ixa( 0, ratio,os.phasor(1, freq)) * amp; | import("stdfaust.lib");
round(sig) = floor(sig), ceil(sig) : select2( (sig -floor(sig)) > 0.5 );
wavefolder(sig) = 4 * (abs(0.25 * sig + 0.25 - round(0.25 * sig + 0.25))-0.25);
pulse(x, t) = 0, 1 :select2( t >= (x*0.5) & t < x );
weird_wave(t) = (2 * pulse(0.5, t) - 1)*sin( 2*ma.PI * fmod(t, 0.5))
... |
40b01455e92efa010e0dbe683b97b0399bd69dcbcbcf0c29cff68da6d47723ba | johannphilippe/grame_cnsmd_2023 | fm_am.dsp | import("stdfaust.lib");
wave_oscil(freq, index) = vgroup("Modulator", mix)
with {
saw_amt = hslider("saw_amount_%index", 0, 0, 1, 0.01) : si.smoo;
saw = os.sawtooth(freq) * saw_amt;
sine_amt = hslider("sine_amount_%index", 1, 0, 1, 0.01) : si.smoo;
sine = os.sawtooth(freq) * sine_amt;
square_amt = ... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/ccfd6e9a5c1537097546520317c8c5beea06006f/fm/fm_am.dsp | faust | import("stdfaust.lib");
wave_oscil(freq, index) = vgroup("Modulator", mix)
with {
saw_amt = hslider("saw_amount_%index", 0, 0, 1, 0.01) : si.smoo;
saw = os.sawtooth(freq) * saw_amt;
sine_amt = hslider("sine_amount_%index", 1, 0, 1, 0.01) : si.smoo;
sine = os.sawtooth(freq) * sine_amt;
square_amt = ... | |
0d1d64a8205f14e5b735fd9bacda65c461816a58c2661dc71755e7339430e433 | johannphilippe/grame_cnsmd_2023 | wah.dsp | import("stdfaust.lib");
range(vmin, vmax, sig) = res
with {
low = vmin, sig : select2(sig >= vmin) ;
res = vmax, low : select2(low <= vmax);
};
/*
Returns 0 if below th.
*/
threshold(th, sig) = sig, 0 : select2(sig <= ... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/cf7a34a36c456eef87963c584384296c8c441a27/complex_stuff/wah.dsp | faust |
Returns 0 if below th.
Capture movement on a signal - outputs signal between 0 and 1
: ba.sAndH(is_moving); | import("stdfaust.lib");
range(vmin, vmax, sig) = res
with {
low = vmin, sig : select2(sig >= vmin) ;
res = vmax, low : select2(low <= vmax);
};
threshold(th, sig) = sig, 0 : select2(sig <= th);
capture_mov(th, release_time, si... |
47a477f82abb77f64294f9ded9ee277959fe3b609a1ed29d6a7fb067ca32aca9 | johannphilippe/hypercurve | prototype2.dsp | import("stdfaust.lib");
// MVCE
diocles_curve(A, x) = process_diocles(x) * COMPENSATION
with
{
process_diocles(x) = sqrt( (x*x*x) / (2 * A - x) );
COMPENSATION = 1.0 / process_diocles(1.0);
};
cubic_curve(x) = process_cubic(x) * COMPENSATION
with
{
process_cubic(x) = x*x*x;
COMPENSATION = 1.0 / pro... | https://raw.githubusercontent.com/johannphilippe/hypercurve/79e9ad752e99a884fdd3c230c6ec818a7873f081/faust_lib/prototype_pure_faust/prototype2.dsp | faust | MVCE
fractional_list(indx) = seg_count, gen_frac, indx : rdtable;
additional_frac_list(indx) = seg_count, gen_additional, indx : rdtable;
gen_frac(size) = ba.take(ba.time, seg_list).frac;
gen_additional(size) = sum(n, ba.time, fractional_list);
cur_frac = fractional_list : ba.selectn(seg_cou... | import("stdfaust.lib");
diocles_curve(A, x) = process_diocles(x) * COMPENSATION
with
{
process_diocles(x) = sqrt( (x*x*x) / (2 * A - x) );
COMPENSATION = 1.0 / process_diocles(1.0);
};
cubic_curve(x) = process_cubic(x) * COMPENSATION
with
{
process_cubic(x) = x*x*x;
COMPENSATION = 1.0 / process_cubi... |
c57e6c86f4dc3fe9844fc0a5e6b83fcc492303513b550ce9d1f9c0547b88f98c | johannphilippe/grame_cnsmd_2023 | lib.dsp | /*
Quelques fonctions utiles que j'ai fabriquΓ©es
*/
import("stdfaust.lib");
round(sig) = floor(sig), ceil(sig) : select2( (sig -floor(sig)) > 0.5 );
/*
Impulsion with a specified duration. Can be retriggered.
*/
mpulse(smps_dur, trig) = pulsation
with {
count = ba.countdown(smps_dur, trig);
//count = -(1... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/cf7a34a36c456eef87963c584384296c8c441a27/lib.dsp | faust |
Quelques fonctions utiles que j'ai fabriquΓ©es
Impulsion with a specified duration. Can be retriggered.
count = -(1)~_, smps_dur : select2(trig);
Euclidian function. Generates an euclidian rythm with 0;1 triggers
Wavefolder.
Limit to range
Returns 0 if below th.
Capture movement on a signal - outp... | import("stdfaust.lib");
round(sig) = floor(sig), ceil(sig) : select2( (sig -floor(sig)) > 0.5 );
mpulse(smps_dur, trig) = pulsation
with {
count = ba.countdown(smps_dur, trig);
pulsation = 0, 1 : select2(count > 0);
};
mpulse_dur(duration, trig) = mpulse(ba.sec2samp(duration), trig);
euclidian(onset, div, p... |
cd8b5907710335f1b2f29b833dab7f361ea636fe305f0ea8b8d427318e03cabb | johannphilippe/grame_cnsmd_2023 | feedback_integrator_network4.dsp | import("stdfaust.lib");
// Faust matrix
// (x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
// Matrix
// (x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
matrix(nvoice) = par(in, nvoice, _) : (mix_with_recursion <: par(out, nvoice, mixer(nvoice, out)))~(si.bus(nvoice))
with {
noise_mult ... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/81d22fea093c46d2436874513d74a43d42212ce9/feedback_integrator_network__ne_fonctionne_pas_encore/feedback_integrator_network4.dsp | faust | Faust matrix
(x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
Matrix
(x - _) * G + _) ~ (_ <: si.bus(4)) : ! , _ // output path
Fader(in) = ba.db2linear(vslider("Input %in", -10, -96, 4, 0.1));
Mixer(N,out) = hgroup("Output %out", par(in, N, *(Fader(in)) ) :> _ );
Matrix(N,M) = tgroup("Matrix %N ... | import("stdfaust.lib");
matrix(nvoice) = par(in, nvoice, _) : (mix_with_recursion <: par(out, nvoice, mixer(nvoice, out)))~(si.bus(nvoice))
with {
noise_mult = 1000;
noise(x) = no.noises(nvoice * nvoice, x) : ba.sAndH(os.impulse|trig) : *(noise_mult);
mixer(N, out) = par(in, N, _ : fi.pole(0.99) : *(nois... |
6ecafb8224c7b54f14aaed99910026a0764edbe63ad9dac07cbeb19962d21694 | johannphilippe/grame_cnsmd_2023 | additive_test.dsp | import("stdfaust.lib");
base_freq = hslider("base_freq", 100, 50, 1000, 0.1);
partiels_distance = hslider("distance", 1, 1, 10, 1);
N_PARTIELS = 10;
oscil(freq, amp) = os.osc(freq) * amp;
overall_amp = hslider("amp", 0.1, 0, 1, 0.001) : si.smoo;
simple_additive = sum(n, N_PARTIELS, oscil(base_freq*(n+1)*partiels_di... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/add61da4420da3947bc2bfbf42ade68f6369b1fe/additive/additive_test.dsp | faust | Better implementation
in seconds
count = -(1)~_, smps_dur : select2(trig); | import("stdfaust.lib");
base_freq = hslider("base_freq", 100, 50, 1000, 0.1);
partiels_distance = hslider("distance", 1, 1, 10, 1);
N_PARTIELS = 10;
oscil(freq, amp) = os.osc(freq) * amp;
overall_amp = hslider("amp", 0.1, 0, 1, 0.001) : si.smoo;
simple_additive = sum(n, N_PARTIELS, oscil(base_freq*(n+1)*partiels_di... |
7e5c45eccf0a35ebfdcfb1121268d674b51352787fbecef152b88967128702ac | johannphilippe/grame_cnsmd_2023 | noisy_impulse_superstar2.dsp | import("stdfaust.lib");
freq = hslider("freq[acc: 2 1 -10 0 10]", 20, 20, 1000, 1) : si.smoo;
//freq = hslider("freq[acc: 2 1 -10 0 10]", 0, 0, 1, 0.001) : *(1000) : +(20) : si.smoo;
amp = hslider("amp", 0.5, 0, 1, 0.01) : si.smoo;
speed = hslider("metrospeed[acc: 1 0 -10 0 10]", 2.0, 2.0, 20.0, 0.1) : si.smoo;
//drunk... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/cf7a34a36c456eef87963c584384296c8c441a27/complex_stuff/noisy_impulse_superstar2.dsp | faust | freq = hslider("freq[acc: 2 1 -10 0 10]", 0, 0, 1, 0.001) : *(1000) : +(20) : si.smoo;
drunk = hslider("drunk[acc:2 0 -10 0 10]", 4, 0, 6, 0.1);
Can be mixed with dry signal
Accentuation of one on several beats (simple counter and modulo)
del = int(abs(os.osc(0.01) * 5000 + 2000));
Returns 0 if below th.
... | import("stdfaust.lib");
freq = hslider("freq[acc: 2 1 -10 0 10]", 20, 20, 1000, 1) : si.smoo;
amp = hslider("amp", 0.5, 0, 1, 0.01) : si.smoo;
speed = hslider("metrospeed[acc: 1 0 -10 0 10]", 2.0, 2.0, 20.0, 0.1) : si.smoo;
drunk = speed/2.25;
diocles(a, x) = sqrt(pow(x, 3.0)/(2*a-x));
phaser(r,d) = _<: _,de.fdelay((... |
0401dd468ae89d5d8eafd5ec365b362eb0f541fb2b407ddb7b83f258137507b9 | johannphilippe/grame_cnsmd_2023 | pulsar_complex.dsp | import("stdfaust.lib");
metro(fq) = metro_impl(fq, 0);
metro_swing(fq, swing) = metro_impl(fq,0) | metro_impl(fq, swing);
// Better implementation
metro_impl(fq, phase) = incr<=1.0
with {
offset = (1.0-phase) * smps;
incr = _~+(1.0) : +(offset) : _,... | https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/add61da4420da3947bc2bfbf42ade68f6369b1fe/pulsar/pulsar_complex.dsp | faust | Better implementation
Pulsar synthesis from https://nathan.ho.name/posts/pulsar-synthesis/
From supercollider LFNoise
Generates quadratically interpolated random values at a rate given by the nearest integer division of the sample rate by the freq argument.
in seconds
freq = hslider("frequency", 100, 50, 500, 0.1)... | import("stdfaust.lib");
metro(fq) = metro_impl(fq, 0);
metro_swing(fq, swing) = metro_impl(fq,0) | metro_impl(fq, swing);
metro_impl(fq, phase) = incr<=1.0
with {
offset = (1.0-phase) * smps;
incr = _~+(1.0) : +(offset) : _,smps : fmod;
smps = m... |
5dc53a50c11eaed688bb4bf75d500e30074ee80f97aa5e6fe6be19ff50d94171 | johannphilippe/faust_jo | lib.dsp | declare name "faust_jo";
declare version "1.0";
declare author "Johann Philippe";
declare license "MIT";
declare copyright "(c) Johann Philippe 2022";
import("stdfaust.lib");
/*
Impulsion with a specified duration. Can be retriggered.
*/
mpulse(smps_dur, trig) = pulsation
wi... | https://raw.githubusercontent.com/johannphilippe/faust_jo/635f0a967093edcec8e38de731939d6fa453ca09/lib.dsp | faust |
Impulsion with a specified duration. Can be retriggered.
count = -(1)~_, smps_dur : select2(trig);
Euclidian function. Generates an euclidian rythm with 0;1 triggers
Wavefolder.
Waveshaper with wavefolder.
Limit to range
Returns 0 if below th.
Capture movement on a signal - outputs signal between ... | declare name "faust_jo";
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);
pulsation = 0... |
3389b5b3cca96ff4f78a42981cdbe9a8d15c6d1a1df460ce6c5df25193b2d86e | mzuther/ProtoFaust | gui.dsp | /* ----------------------------------------------------------------------------
ProtoFaust
==========
DSP prototyping in Faust for VCV Rack
Copyright (c) 2019-2020 Martin Zuther (http://www.mzuther.de/) and
contributors
This program is free software: you can redistribute it and/or modify
it unde... | https://raw.githubusercontent.com/mzuther/ProtoFaust/1e494160cd7ba38cde27e238776a0803bef35d36/src/faust/gui.dsp | faust | ----------------------------------------------------------------------------
ProtoFaust
==========
DSP prototyping in Faust for VCV Rack
Copyright (c) 2019-2020 Martin Zuther (http://www.mzuther.de/) and
contributors
This program is free software: you can redistribute it and/or modify
it under ... |
import("stdfaust.lib");
main_group(x) = vgroup("ProtoFaust", x);
button_group(x) = main_group(hgroup("[2] Buttons", x));
button_1 = button_group(vslider("1 [style:knob]" , 0.5 , 0 , 1 , 1e-3));
button_2 = button_group(vslider("2 [style:knob]" , 0.5 , 0 , 1 , 1e-3));
button_3 = button_group(vslider("3 [style:knob]"... |
6f8b9b4ecc1e3d0bc1a8f4f0dbfee61ccd36ca064a289689b63ce1352f00b3fe | mzuther/ProtoFaust | main.dsp | /* ----------------------------------------------------------------------------
ProtoFaust
==========
DSP prototyping in Faust for VCV Rack
Copyright (c) 2019-2020 Martin Zuther (http://www.mzuther.de/) and
contributors
This program is free software: you can redistribute it and/or modify
it unde... | https://raw.githubusercontent.com/mzuther/ProtoFaust/1e494160cd7ba38cde27e238776a0803bef35d36/src/faust/main.dsp | faust | ----------------------------------------------------------------------------
ProtoFaust
==========
DSP prototyping in Faust for VCV Rack
Copyright (c) 2019-2020 Martin Zuther (http://www.mzuther.de/) and
contributors
This program is free software: you can redistribute it and/or modify
it under ... |
import("stdfaust.lib");
import("gui.dsp");
rack = component("rack.dsp");
vca(i_cv , in) = internal_vca
with
{
gain = max(0 , i_cv);
internal_vca = gain * in;
};
vco(i_cv_pitch , btn) = internal_vco
with
{
freq = i_cv_pitch :
rack.i_cv_pitch2freq;
internal_vco = freq <:
os.saw2... |
801f409da521454eca5339ac0bff1db0baa2c4390a7c3977f547d4dc1597bdba | yamitarek/silk | silk.dsp | import("stdfaust.lib");
// OSCILLATOR SYNTHESIS
// Set of wave generators
oscSynth = vgroup("[0]Oscillator synthesis",waveGenerator1+waveGenerator2+waveGenerator3);
// Wave generators
freq = hslider("[2]freq",440,50,2000,0.01);
waveGenerator(wSel,wGain) = wave*wGain
with{
wave = sineTimbre,triangleT... | https://raw.githubusercontent.com/yamitarek/silk/51f7f6c0ccd89e0045da47a43b192340cb377432/silk.dsp | faust | OSCILLATOR SYNTHESIS
Set of wave generators
Wave generators
AM MODULATION
ENVELOPE
TODO: scale
SUBTRACTIVE FILTER
vcf
PROCESS
EFFECT
| import("stdfaust.lib");
oscSynth = vgroup("[0]Oscillator synthesis",waveGenerator1+waveGenerator2+waveGenerator3);
freq = hslider("[2]freq",440,50,2000,0.01);
waveGenerator(wSel,wGain) = wave*wGain
with{
wave = sineTimbre,triangleTimbre,squareTimbre,sawTimbre : ba.selectn(4,wSel);
sineTimbre = os.... |
0f2b3dca978694d4a77d79f55e37b24582d338cc23c2bec7bb61346d7f611b12 | jlp6k/faust-things | Granola.dsp | import("stdfaust.lib");
declare name "Granola";
declare author "Jean-Louis Paquelin";
declare copyright "Copyright (C) 2022 Jean-Louis Paquelin <jlp@studionex.com>";
declare version "2022.3.2"; // The version number is YYYY.M.n
declare license "GNU General Public License v3 or later";
// In order to test this progra... | https://raw.githubusercontent.com/jlp6k/faust-things/1f48711661adda919ec7661721eb195fb75154c3/Granola.dsp | faust | The version number is YYYY.M.n
In order to test this program, please uncomment the following line by removing the initial //
process = Granola(5, 15).demo;
It will create a Granola with a 5 seconds buffer and 15 grains at most.
Feel free to test other parameter values (w/r to your computer's power).
A short docume... | import("stdfaust.lib");
declare name "Granola";
declare author "Jean-Louis Paquelin";
declare copyright "Copyright (C) 2022 Jean-Louis Paquelin <jlp@studionex.com>";
declare license "GNU General Public License v3 or later";
Granola(BUFFER_DURATION, CONCURRENT_GRAINS) =
environment {
_tablesize = ceil(BUFFER_D... |
a4382f017eac96a2f932bc64b786942215fc4e2bcacf696cb490680f04ebb882 | daniel-kelley/gac | seq_ui.dsp | import("stdfaust.lib");
gac = library("gac.lib");
// controls
// sequencer controls and programming
freq_c = hslider("clock",1,0.1,200,0.1);
len = hslider("len",4,1,gac.N,1);
widx = hslider("idx",0,0,gac.N-1,1);
fval = hslider("fval",20,20,2000,1);
sval = hslider("sval",0,0,1,0.01);
pgmf = button("pgmf");
pgms = but... | https://raw.githubusercontent.com/daniel-kelley/gac/cdc00a3d467abb9c3f212ba9b60efe3df07e0385/test/seq_ui.dsp | faust | controls
sequencer controls and programming
signal
final output
data
fixed
dummy for write
"half sine wave" for size-1 entries.
blocks
*** sequencer
*** signal | import("stdfaust.lib");
gac = library("gac.lib");
freq_c = hslider("clock",1,0.1,200,0.1);
len = hslider("len",4,1,gac.N,1);
widx = hslider("idx",0,0,gac.N-1,1);
fval = hslider("fval",20,20,2000,1);
sval = hslider("sval",0,0,1,0.01);
pgmf = button("pgmf");
pgms = button("pgms");
attack = hslider("attack",0.05,0,1,0... |
6bcbd358aa592872559141f6c4cb74ee7b27be5a7224395b6d45eddc67c5eaf7 | daniel-kelley/gac | seq_panel.dsp | //
// Handwritten GAC panel prototype
//
//import("stdfaust.lib");
gac = library("gac.lib");
// Control constants and converters
CONTROL_MIN = 0.0;
CONTROL_MAX = 1.0;
CONTROL_STEP = 0.01;
CONTROL_DEFAULT = CONTROL_MIN;
control2control(n) = n;
FREQ_MIN = 0.0;
FREQ_MAX = 20000.0;
FREQ_STEP = 0.01;
FREQ_DEFAULT = FREQ... | https://raw.githubusercontent.com/daniel-kelley/gac/cdc00a3d467abb9c3f212ba9b60efe3df07e0385/test/seq_panel.dsp | faust |
Handwritten GAC panel prototype
import("stdfaust.lib");
Control constants and converters
Embed description and osc/midi controls
---
desc:
outputs: 1
blocks:
- lookup
- lookup: freq
- index
- osc
- clock
- ar
- osh
- amp
osc:
midi:
...
////////////////////////////... |
gac = library("gac.lib");
CONTROL_MIN = 0.0;
CONTROL_MAX = 1.0;
CONTROL_STEP = 0.01;
CONTROL_DEFAULT = CONTROL_MIN;
control2control(n) = n;
FREQ_MIN = 0.0;
FREQ_MAX = 20000.0;
FREQ_STEP = 0.01;
FREQ_DEFAULT = FREQ_MIN;
freq2control(n) = n/FREQ_MAX;
control2freq(n) = n*FREQ_MAX;
PERIOD_MIN = 0.0;
PERIOD_MAX = 1000.... |
c9151a23f43fa93b6ff017855c1307a58852ef35f99def8c5c3789c27b94e49d | Rhoumi/myfaustplugins | fuzzii.dsp | import("stdfaust.lib");
fuzziiDepth = hslider("fuzziiDepth", 0.75, 0.75, 30, 0.01) : si.smoo;
fuzziiParam = hslider("fuzziiParam", 0.4, 0.03, 0.7, 0.01) : si.smoo;
fuzziitone = vslider("fuzziiTone",-7.5,-15,0,0.1);
filter = fi.high_shelf(fuzziitone + 12.5, 720.0);
pre_filter = fi.dcblocker : fi.lowpass(1, 2000.0);... | https://raw.githubusercontent.com/Rhoumi/myfaustplugins/0d9fee23fcfd727d62973a0aad558c1e34c9af82/faust/fuzzii.dsp | faust | import("stdfaust.lib");
fuzziiDepth = hslider("fuzziiDepth", 0.75, 0.75, 30, 0.01) : si.smoo;
fuzziiParam = hslider("fuzziiParam", 0.4, 0.03, 0.7, 0.01) : si.smoo;
fuzziitone = vslider("fuzziiTone",-7.5,-15,0,0.1);
filter = fi.high_shelf(fuzziitone + 12.5, 720.0);
pre_filter = fi.dcblocker : fi.lowpass(1, 2000.0);... | |
835e7ad7718438c09a03fb7708dbbeff08419eb35fbc925900c3b7c3cecff2e4 | Rhoumi/myfaustplugins | gliitchi.dsp | import("stdfaust.lib");
declare name "gliitchi";
declare author "RΓ©mi GEORGES";
//
//
// βββββ βββ βββ ββββββββββββ ββββββ βββ ββ βββ
// βββ βββββββ βββββββββ βββ ββββββ ββ ββββ βββββββ
// ββββββββββββ βββββββββ ββββ βββββ β ββββββββββββ
// βββ βββββββ βββββββββ ββββ β ββββ βββββββ β... | https://raw.githubusercontent.com/Rhoumi/myfaustplugins/0d9fee23fcfd727d62973a0aad558c1e34c9af82/faust/gliitchi.dsp | faust |
βββββ βββ βββ ββββββββββββ ββββββ βββ ββ βββ
βββ βββββββ βββββββββ βββ ββββββ ββ ββββ βββββββ
ββββββββββββ βββββββββ ββββ βββββ β ββββββββββββ
βββ βββββββ βββββββββ ββββ β ββββ βββββββ βββ ββββ
ββββββββββββββββββββββββ ββββ β β βββββ βββββββββββββ
ββ β β βββ βββ ββ β ββ β ... | import("stdfaust.lib");
declare name "gliitchi";
declare author "RΓ©mi GEORGES";
with{
};
variablerandom(seed) = vnoiseout*-1
with{
partdecimale(x)= x-int(x);
vnoiseout = ((1457932343)*(1103515245)) * coefal / (2147483647.0) : partdecimale;
};
echo = _* (dry_wetrvbecho) *... |
a9b1f64576c1012a310a29f12a40b0ddc7bf0b2aa3b9dc860133c15d484f728b | Rhoumi/ORG-RCHBRN | Carillon.dsp |
import("stdfaust.lib");
import ("music.lib");
import("filter.lib");
import("effect.lib");
////////////////////////////////////////////////////////////////////////////////////////////////
//SHIMMER
//Constrols
//PS controls
sm_envelope = hslider("v:[1]EFFECTS/h:SHIMMER/envelope[style:knob]", 1, 0.1,3, 0.05);//parame... | https://raw.githubusercontent.com/Rhoumi/ORG-RCHBRN/4dcd52b79978372139534a43e4bbea58f2451b6d/Carillon/Carillon.dsp | faust | //////////////////////////////////////////////////////////////////////////////////////////////
SHIMMER
Constrols
PS controls
parametric_controller(control, envelope, speed, depth)*shift
*2 needed to conform with parametric controller output
Reverb controls
Global
Can be add to .lib
Parametric controller, combinate sig... |
import("stdfaust.lib");
import ("music.lib");
import("filter.lib");
import("effect.lib");
sm_speed = hslider("v:[1]EFFECTS/h:SHIMMER/speed[style:knob]", 0.1, 0.1, 10, 0.05);
sm_depth = hslider("v:[1]EFFECTS/h:SHIMMER/depth[style:knob]", 0, 0, 1, 0.05);
sm_contrl = hslider("v:[1]EFFECTS/h:SHIMMER/contrl[style:knob]"... |
d6c1cb33ee278aa6ee37d5bab3aae7068b4001c15dfc55487a13a7d2399d8904 | Rhoumi/rhoumi.github.io | GLIITCHI.dsp | import("stdfaust.lib");
declare name "Gliitchi";
declare author "RΓ©mi GEORGES";
//
//
// βββββ βββ βββ ββββββββββββ ββββββ βββ ββ βββ
// βββ βββββββ βββββββββ βββ ββββββ ββ ββββ βββββββ
// ββββββββββββ βββββββββ ββββ βββββ β ββββββββββββ
// βββ βββββββ βββββββββ ββββ β ββββ β... | https://raw.githubusercontent.com/Rhoumi/rhoumi.github.io/66265b40236fea30ab8ca6b116372a449900e091/gliitchi/GLIITCHI.dsp | faust |
βββββ βββ βββ ββββββββββββ ββββββ βββ ββ βββ
βββ βββββββ βββββββββ βββ ββββββ ββ ββββ βββββββ
ββββββββββββ βββββββββ ββββ βββββ β ββββββββββββ
βββ βββββββ βββββββββ ββββ β ββββ βββββββ βββ ββββ
ββββββββββββββββββββββββ ββββ β β βββββ βββββββββββββ
ββ β β βββ βββ ββ β ... | import("stdfaust.lib");
declare name "Gliitchi";
declare author "RΓ©mi GEORGES";
with{
};
variablerandom(seed) = vnoiseout*-1
with{
partdecimale(x)= x-int(x);
vnoiseout = ((1457932343)*(1103515245)) * coefal / (2147483647.0) : partdecimale;
};
... |
c3ea3f420b65fa0d6a0295a4decfda3e8c57863e8664b36561db9001fb116590 | Rhoumi/rhoumi.github.io | Gliitchi.dsp | import("stdfaust.lib");
declare name "Gliitchi";
declare author "RΓ©mi GEORGES";
//
//
// βββββ βββ βββ ββββββββββββ ββββββ βββ ββ βββ
// βββ βββββββ βββββββββ βββ ββββββ ββ ββββ βββββββ
// ββββββββββββ βββββββββ ββββ βββββ β ββββββββββββ
// βββ βββββββ βββββββββ ββββ β ββββ βββββββ β... | https://raw.githubusercontent.com/Rhoumi/rhoumi.github.io/9d3f334f1232ca5b2519749129574a5f2f0605c0/images/Gliitchi.dsp | faust |
βββββ βββ βββ ββββββββββββ ββββββ βββ ββ βββ
βββ βββββββ βββββββββ βββ ββββββ ββ ββββ βββββββ
ββββββββββββ βββββββββ ββββ βββββ β ββββββββββββ
βββ βββββββ βββββββββ ββββ β ββββ βββββββ βββ ββββ
ββββββββββββββββββββββββ ββββ β β βββββ βββββββββββββ
ββ β β βββ βββ ββ β ββ β ... | import("stdfaust.lib");
declare name "Gliitchi";
declare author "RΓ©mi GEORGES";
with{
};
variablerandom(seed) = vnoiseout*-1
with{
partdecimale(x)= x-int(x);
vnoiseout = ((1457932343)*(1103515245)) * coefal / (2147483647.0) : partdecimale;
};
echo = _* (dry_wetrvbecho) *... |
31e840668bfb65b50c71a19cee1db87b23aa7c2ef7857d5b1ec391e5245e9aa4 | sfztools/sfizz | filters_modulable.dsp | // -*- mode: faust; -*-
declare author "Jean Pierre Cimalando";
declare license "BSD-2-Clause";
import("stdfaust.lib");
rbj = library("rbj_filters.dsp");
//-------------------------------------------------------------------------
// Biquad filter from normalized coefficients
// b0,b1,b2,a1,a2 : normalized coeffi... | https://raw.githubusercontent.com/sfztools/sfizz/acd866fd3d247d2fc659593cac96e88e801c29e2/src/sfizz/dsp/filters/filters_modulable.dsp | faust | -*- mode: faust; -*-
-------------------------------------------------------------------------
Biquad filter from normalized coefficients
b0,b1,b2,a1,a2 : normalized coefficients
-------------------------------------------------------------------------
------------------------------------------------------------... |
declare author "Jean Pierre Cimalando";
declare license "BSD-2-Clause";
import("stdfaust.lib");
rbj = library("rbj_filters.dsp");
biquad(b0,b1,b2,a1,a2) = fi.iir((b0,b1,b2),(a1,a2));
biquadTf2(b0,b1,b2,a1,a2) = fi.tf22t(b0,b1,b2,a1,a2);
smoothBiquad(s,b0,b1,b2,a1,a2) = biquad(b0:s,b1:s,b2:s,a1:s,a2:s);
smoothBiquad... |
b68cecabca94e67b189706104757d61447eb13fac738e02588fc50bae19e054c | sfztools/sfizz | sallenkey_modulable.dsp | /**
Note(jpc): this is a personal edit of the Sallen-Key state-variable filter
from `vaeffects.lib`. This changes:
- the frequency control, now in Hz instead of 0-1
- the smooth parameter, allowing for slower parameter transitions
while keeping some expensive comp... | https://raw.githubusercontent.com/sfztools/sfizz/acd866fd3d247d2fc659593cac96e88e801c29e2/src/sfizz/dsp/filters/sallenkey_modulable.dsp | faust | *
Note(jpc): this is a personal edit of the Sallen-Key state-variable filter
from `vaeffects.lib`. This changes:
- the frequency control, now in Hz instead of 0-1
- the smooth parameter, allowing for slower parameter transitions
while keeping some expensive comput... |
import("stdfaust.lib");
declare author "Eric Tarr";
declare license "MIT-style STK-4.3 license";
sallenKey2ndOrder(smooth,freq,Q) = _<:(s1,s2,ylpf,ybpf,yhpf) : !,!,_,_,_
letrec{
's1 = -(s2):-(s1*FBs1):*(alpha0):*(g*2):+(s1);
's2 = -(s2):-(s1*FBs1):*(alpha0):*(g):+(s1):*(g*2):+(s2);
'ylpf = -(s2):-(s1*FBs1):*(... |
60f59093a0ede346389c7e4dd5a9626ca47b487318474865d8af4e91cc2a6f88 | sfztools/sfizz | sfz_filters.dsp | // -*- mode: faust; -*-
declare author "Jean Pierre Cimalando";
declare license "BSD-2-Clause";
import("stdfaust.lib");
fm = library("filters_modulable.dsp");
sk = library("sallenkey_modulable.dsp");
//==============================================================================
// Generators
// the SFZ *noise gen... | https://raw.githubusercontent.com/sfztools/sfizz/0bc63e33c84ba57a266ab5f0027deb7856f4dc0e/src/sfizz/dsp/filters/sfz_filters.dsp | faust | -*- mode: faust; -*-
==============================================================================
Generators
the SFZ *noise generator
==============================================================================
Filters
To generate a specific filter from this file, use:
faust2jack -double -pn sfzPeq src/s... |
declare author "Jean Pierre Cimalando";
declare license "BSD-2-Clause";
import("stdfaust.lib");
fm = library("filters_modulable.dsp");
sk = library("sallenkey_modulable.dsp");
sfzNoise = no.noise : *(0.25);
sfzLpf1p = fm.lp1Smooth(smoothCoefs,cutoff);
sfzLpf2p = fm.rbjLpfSmooth(smoothCoefs,cutoff,0.,Q);
sfzLpf4... |
be4f6f819ac24271cf27203f5c14f7c15438f601acb4d9a29e31ca34428c5789 | sfztools/sfizz | fverb.dsp | //
// RΓ©fΓ©rence:
// Dattorro, Jon. "Effect design, part 1: Reverberator and other filters."
// Journal of the Audio Engineering Society 45.9 (1997): 660-684.
//
// Note(jpc): faust 2.27.1 lets us take advantage of -uim;
// however, avoid use special chars in control names (eg. '-').
declare name "... | https://raw.githubusercontent.com/sfztools/sfizz/acd866fd3d247d2fc659593cac96e88e801c29e2/src/sfizz/effects/dsp/fverb.dsp | faust |
RΓ©fΓ©rence:
Dattorro, Jon. "Effect design, part 1: Reverberator and other filters."
Journal of the Audio Engineering Society 45.9 (1997): 660-684.
Note(jpc): faust 2.27.1 lets us take advantage of -uim;
however, avoid use special chars in control names (eg. '-').
(cf. table 1 Reverberation pa... |
declare name "fverb";
declare author "Jean Pierre Cimalando";
declare version "0.5";
declare license "BSD-2-Clause";
import("stdfaust.lib");
ptMax = 300e-3;
pt = hslider("[01] Predelay [symbol:predelay] [unit:ms]", 0., 0., ptMax*1e3, 1.) : *(1e-3) : si.smoo;
ing = hslider("[02] Input amount [symbol:input] [unit:%]"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.