_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
30382d928ee98dff18198121dde5790a28d90e4de0006b122074f6bcf5f3a3cf
webaudiomodules/wam-examples
StonePhaserStereo.dsp
declare name "Stone Phaser"; declare author "Jean Pierre Cimalando"; declare version "1.2.2"; declare license "CC0-1.0"; // Référence : // Kiiski, R., Esqueda, F., & Välimäki, V. (2016). // Time-variant gray-box modeling of a phaser pedal. // In 19th International Conference on Digital Audio Effects (DAFx-...
https://raw.githubusercontent.com/webaudiomodules/wam-examples/ebf5ed23d7543411901b24f12c48164fac9e78bf/packages/StonePhaserStereo/StonePhaserStereo.dsp
faust
Référence : Kiiski, R., Esqueda, F., & Välimäki, V. (2016). Time-variant gray-box modeling of a phaser pedal. In 19th International Conference on Digital Audio Effects (DAFx-16). /////////// Control // /////////// //////////////////////// All-pass filter unit // //////////////////////// //////////////...
declare name "Stone Phaser"; declare author "Jean Pierre Cimalando"; declare version "1.2.2"; declare license "CC0-1.0"; import("stdfaust.lib"); bypass = checkbox("[0] Bypass [symbol:bypass]"); color = checkbox("[1] Color [symbol:color]"); lf = hslider("[2] LFO [symbol:lfo_frequency] [unit:Hz] [scale:log] [style:kn...
45dc2b7d7b801f310cdca1bda2fd6d3e808cf0bb46174cdc4d3534082b09589c
inria-emeraude/syfala
karplus.dsp
import("stdfaust.lib"); // Karplus Strong (1/2) process = ba.pulse(10000) : + ~ transformation; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.98, -0.98, 0.98, 0.01)); moyenne(x) = (x+x')/2;
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/karplus.dsp
faust
Karplus Strong (1/2)
import("stdfaust.lib"); process = ba.pulse(10000) : + ~ transformation; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.98, -0.98, 0.98, 0.01)); moyenne(x) = (x+x')/2;
a5b21c7eaffce9511c212682d32ffbd68c1bb02c1b24b326f04f9ecf3c7789f1
inria-emeraude/syfala
karplusTrig.dsp
import("stdfaust.lib"); // Karplus Strong (1/2) process = (button("gate")'==0)&(button("gate")==1) : + ~ transformation; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.98, -0.98, 0.98, 0.01)); moyenne(x) = (x+x')/2;
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/karplusTrig.dsp
faust
Karplus Strong (1/2)
import("stdfaust.lib"); process = (button("gate")'==0)&(button("gate")==1) : + ~ transformation; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.98, -0.98, 0.98, 0.01)); moyenne(x) = (x+x')/2;
82f06fc14f00f9137fb05d79d291d22dff89a9efc955a2f3881b938e9af97e72
inria-emeraude/syfala
sinewave-biquad-inlined.dsp
import("stdfaust.lib"); freq = hslider("freq",440,50,1000,0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_) : (*(s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 2*ma.PI*f/ma.SR; c = cos(th); s = sin(th); cross = _,_ <: !,_,_,!; }; impulse = 1-1'; process = impulse : nlf2(freq,1) : !,_ <: _,_; ...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/sinewave-biquad-inlined.dsp
faust
import("stdfaust.lib"); freq = hslider("freq",440,50,1000,0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_) : (*(s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 2*ma.PI*f/ma.SR; c = cos(th); s = sin(th); cross = _,_ <: !,_,_,!; }; impulse = 1-1'; process = impulse : nlf2(freq,1) : !,_ <: _,_; ...
f5e6e3b6131c4c9a0d49677dacbab7968af5d27defa6d1c20b45f2d54934268d
inria-emeraude/syfala
sinewave-biquad-inlined.dsp
import("stdfaust.lib"); freq = hslider("freq [knob:1]",440,50,1000,0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_) : (*(s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 2*ma.PI*f/ma.SR; c = cos(th); s = sin(th); cross = _,_ <: !,_,_,!; }; impulse = 1-1'; process = impulse : ...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/doc/syfala-getting-started-src/fig/sinewave-biquad-inlined.dsp
faust
import("stdfaust.lib"); freq = hslider("freq [knob:1]",440,50,1000,0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_) : (*(s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 2*ma.PI*f/ma.SR; c = cos(th); s = sin(th); cross = _,_ <: !,_,_,!; }; impulse = 1-1'; process = impulse : ...
560b7e5ce9b9afa53e8c67d5542de4c486bcf3209204d7d465bd029734d94510
inria-emeraude/syfala
sinewave-biquad-inlined-trigger.dsp
import("stdfaust.lib"); freq = hslider("freq",440,50,1000,0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_) : (*(s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 2*ma.PI*f/ma.SR; c = cos(th); s = sin(th); cross = _,_ <: !,_,_,!; }; impulse = (button("gate")'==0)&(button("gate")==1); process = im...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/sinewave-biquad-inlined-trigger.dsp
faust
import("stdfaust.lib"); freq = hslider("freq",440,50,1000,0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_) : (*(s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 2*ma.PI*f/ma.SR; c = cos(th); s = sin(th); cross = _,_ <: !,_,_,!; }; impulse = (button("gate")'==0)&(button("gate")==1); process = im...
e1b116687173b7bd6895e3f289643d0dc9ce3687567b7702f7bd29c025fe13ba
inria-emeraude/syfala
multichannel_test.dsp
import("stdfaust.lib"); NChannels = 10; vol = hslider("volume [unit:dB]", -20, -96, 0, 0.1) : ba.db2linear ; t = checkbox("on"); speed = hslider("speed",48000,1,48000,1); process = _~(+(1)%speed) : _==0 : +~%(NChannels) <: _,(+(60) : ba.pianokey2hz : os.oscrs*vol) <: par(i,NChannels,select2(i==_,0,_));
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/multichannel_test.dsp
faust
import("stdfaust.lib"); NChannels = 10; vol = hslider("volume [unit:dB]", -20, -96, 0, 0.1) : ba.db2linear ; t = checkbox("on"); speed = hslider("speed",48000,1,48000,1); process = _~(+(1)%speed) : _==0 : +~%(NChannels) <: _,(+(60) : ba.pianokey2hz : os.oscrs*vol) <: par(i,NChannels,select2(i==_,0,_));
45b1fc39277fed81ffb175fe722d1eeadf70b53100f76c3d683bc10168d1510b
inria-emeraude/syfala
bypass_sine.dsp
import("stdfaust.lib"); in_out = 32; freqs = par(i,in_out,hgroup("%i",os.osc(hslider("Frequency",10*(i+1),5,3000,100))*hslider("Volume",1,0,10,1))); process = par(i,in_out,_),freqs:ro.interleave(in_out,2):par(i,in_out,(_,_):>_);
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/bypass_sine.dsp
faust
import("stdfaust.lib"); in_out = 32; freqs = par(i,in_out,hgroup("%i",os.osc(hslider("Frequency",10*(i+1),5,3000,100))*hslider("Volume",1,0,10,1))); process = par(i,in_out,_),freqs:ro.interleave(in_out,2):par(i,in_out,(_,_):>_);
36d177ec8c0cc16af9011ed915e7652e6492c674e2704c8e4cbe6069c7b330a6
inria-emeraude/syfala
karplusManySlider.dsp
import("stdfaust.lib"); // Karplus Strong (1/2) process = (button("gate")'==0)&(button("gate")==1) : + ~ transformation; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.98, -0.98, 0.98, 0.01)):@(hslider("delay2", 128, 0, 200, 1)):@(hslider("delay3", 128, 0, 200, ...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/old/karplusManySlider.dsp
faust
Karplus Strong (1/2)
import("stdfaust.lib"); process = (button("gate")'==0)&(button("gate")==1) : + ~ transformation; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.98, -0.98, 0.98, 0.01)):@(hslider("delay2", 128, 0, 200, 1)):@(hslider("delay3", 128, 0, 200, 1)):@(hslider("delay4", ...
f7afa4b49b16d36f5efa074a052de515d55eeec84fbb9943abea1b78b0f22256
inria-emeraude/syfala
oscsincos.dsp
//----------------------------------------------- // Sin/cos Oscillator //----------------------------------------------- import("stdfaust.lib"); vol = hslider("volume [unit:dB]", 0, -96, 0, 0.1) : si.smoo : ba.db2linear ; freq = hslider("freq [unit:Hz]", 1000, 20, 24000, 1); select = nentry("Selector",0,0,1,1) : ...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/oscsincos.dsp
faust
----------------------------------------------- Sin/cos Oscillator -----------------------------------------------
import("stdfaust.lib"); vol = hslider("volume [unit:dB]", 0, -96, 0, 0.1) : si.smoo : ba.db2linear ; freq = hslider("freq [unit:Hz]", 1000, 20, 24000, 1); select = nentry("Selector",0,0,1,1) : int; process = (os.oscrs(freq) * vol),(os.oscrc(freq) * vol): select2(select)<:_,_ ;
e0ad244a45a48c0a3b6148d87d13df95e71d1fed8201571907b4493501acaaba
inria-emeraude/syfala
circle.dsp
import("stdfaust.lib"); vol = hslider("volume [unit:dB]", -20, -96, 0, 0.1) : ba.db2linear ; t = checkbox("on"); speed = hslider("speed",48000,1,48000,1); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); process = (_~(+(1)%speed) : _==0 : +~%(32) <: _,(+(50) : ba.pianokey2hz : osc*vol...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/wfs/circle.dsp
faust
import("stdfaust.lib"); vol = hslider("volume [unit:dB]", -20, -96, 0, 0.1) : ba.db2linear ; t = checkbox("on"); speed = hslider("speed",48000,1,48000,1); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); process = (_~(+(1)%speed) : _==0 : +~%(32) <: _,(+(50) : ba.pianokey2hz : osc*vol...
873623a37eedfb1e89148e4d19ce96db4439d4d88f2620a3b1629f3b74c59eac
inria-emeraude/syfala
fm.dsp
import("stdfaust.lib"); osc(amp,freq) = cos(phasor(freq)*2*ma.PI)*amp with{ phasor(f) = (+(delta) ~ ma.frac)' with{ delta = f/ma.SR; }; }; fm(a,fc,fm0,fm1,z0,z1) = car with{ mod0 = fm1 + osc(z0*fm0,fm0); mod1 = fc + osc(z1*mod0,mod0); car = osc(a,mod1); }; process = fm(1,440,440,440,3...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/fm.dsp
faust
import("stdfaust.lib"); osc(amp,freq) = cos(phasor(freq)*2*ma.PI)*amp with{ phasor(f) = (+(delta) ~ ma.frac)' with{ delta = f/ma.SR; }; }; fm(a,fc,fm0,fm1,z0,z1) = car with{ mod0 = fm1 + osc(z0*fm0,fm0); mod1 = fc + osc(z1*mod0,mod0); car = osc(a,mod1); }; process = fm(1,440,440,440,3...
5bb06a829bfafc30982ae0501f5135e958299cd7d3722c5b2d59a327ce9fc22e
inria-emeraude/syfala
fast-demo.dsp
import("stdfaust.lib"); process = trigger : + ~ transformation: _ * vol * (modulation+1) <:_,_; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.999, -0.98, 0.999, 0.01)); modulation=os.oscrs(freq)*rate/100; moyenne(x) = (x+x')/2; vol = hslider("volume [unit:dB]", 0, -96...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/fast-demo.dsp
faust
import("stdfaust.lib"); process = trigger : + ~ transformation: _ * vol * (modulation+1) <:_,_; transformation = @(hslider("delay", 128, 0, 200, 1)) : moyenne : *(hslider("gain", 0.999, -0.98, 0.999, 0.01)); modulation=os.oscrs(freq)*rate/100; moyenne(x) = (x+x')/2; vol = hslider("volume [unit:dB]", 0, -96...
918351ad5ac84fcd6a26132befa980d340ebdf4ff3b83bff72becea0ddfdd001
inria-emeraude/syfala
sinewave-biquad-inlined-440-v5.1.dsp
import("stdfaust.lib"); freq = 440; gate=button("gate"); delay=hslider("delay", 128, 0, 200, 1); gain=hslider("gain", 0.98, -0.98, 0.98, 0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_+(cond2*delay*gain)) : (*(cond*s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { cond = (gate==1)|(gate==0);//|(delay==128) ...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/sinewave-biquad-inlined-440-v5.1.dsp
faust
|(delay==128) | (gain = 0.98); |(delay==128) | (gain = 0.98); th = 2*ma.PI*f/ma.SR; with ma.SR=48000 c = cos(th); s = sin(th);
import("stdfaust.lib"); freq = 440; gate=button("gate"); delay=hslider("delay", 128, 0, 200, 1); gain=hslider("gain", 0.98, -0.98, 0.98, 0.01); nlf2(f,r,x) = ((_<:_,_),(_<:_,_+(cond2*delay*gain)) : (*(cond*s),*(c),*(c),*(0-s)) :> (*(r),+(x))) ~ cross with { th = 5.75958653158129e-02 * cond; c = 9.9834...
9309e5d171ad2cd016f311ef0e5cca530e57b02f35da1e1eab663a94be135dd7
inria-emeraude/syfala
pinknoise-channel-tester-stereo-reduct.dsp
import("stdfaust.lib"); // number of output channels nchannels = 8; length = 500; // max-like gate // note: if n == 0, gate is closed (which is not the case with ba.selectoutn) */ gate(o,n,s) = par(i,o, s*((n!=0)&(n==i+1))); counter(t) = (t > mem(t)) : (+ : *(1)) ~ _; ms2samples(ms) = ms/1000*ma.SR; pn = no.pink_nois...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/pinknoise-channel-tester-stereo-reduct.dsp
faust
number of output channels max-like gate note: if n == 0, gate is closed (which is not the case with ba.selectoutn) */ we count from 0 to 2nsamples if <= nsamples, signal passes otherwise we output 0 we increment channel index whenever sample counter reaches nsamples-1 we wrap it around nchannels and add the off...
import("stdfaust.lib"); nchannels = 8; length = 500; gate(o,n,s) = par(i,o, s*((n!=0)&(n==i+1))); counter(t) = (t > mem(t)) : (+ : *(1)) ~ _; ms2samples(ms) = ms/1000*ma.SR; pn = no.pink_noise * 0.25; nsamples = ms2samples(length); phase = ba.sweep(1, nsamples*2); burst = phase <= nsamples; index = counter(burst) %...
33858dcf405de05f5bad4b10b86f66813e0ccda1aba02e2f1c8cca538bc3b7dd
inria-emeraude/syfala
quadVirtualAnalog.dsp
import("stdfaust.lib"); // sliders oscFreq = hslider("oscFreq [knob:1]",80,50,500,0.01); lfoFreq = hslider("lfoFreq [knob:2]",1,0.01,8,0.01); lfoRange = hslider("lfoRange [knob:3]",1000,10,5000,0.01) : si.smoo; noiseGain = hslider("noiseGain [slider:7]",0,0,1,0.01) <: _*_; masterVol = hslider("masterVol [slider:8]",0.8...
https://raw.githubusercontent.com/inria-emeraude/syfala/691da3ad1be01661eea9267bb6ec56e8dcfcbd51/examples/quadVirtualAnalog.dsp
faust
sliders buttons
import("stdfaust.lib"); oscFreq = hslider("oscFreq [knob:1]",80,50,500,0.01); lfoFreq = hslider("lfoFreq [knob:2]",1,0.01,8,0.01); lfoRange = hslider("lfoRange [knob:3]",1000,10,5000,0.01) : si.smoo; noiseGain = hslider("noiseGain [slider:7]",0,0,1,0.01) <: _*_; masterVol = hslider("masterVol [slider:8]",0.8,0,1,0.01) ...
06994a4a662680d2cbb680031e0804cb5fc4378978f038b6189f716e8edcbf94
inria-emeraude/syfala
sixOutKarplus.dsp
import("stdfaust.lib"); // Karplus Strong (1/2) freq=192000; delay=10000; time=ba.time%(delay*4); f1=freq/hslider("Freq1 [knob:1]", 440, 100, 1000, 1); f2=freq/hslider("Freq2 [knob:2]", 440, 100, 1000, 1); f3=freq/hslider("Freq3 [knob:3]", 440, 100, 1000, 1); f4=freq/hslider("Freq4 [knob:4]", 440, 100, 1000, 1); karp...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/sixOutKarplus.dsp
faust
Karplus Strong (1/2)
import("stdfaust.lib"); freq=192000; delay=10000; time=ba.time%(delay*4); f1=freq/hslider("Freq1 [knob:1]", 440, 100, 1000, 1); f2=freq/hslider("Freq2 [knob:2]", 440, 100, 1000, 1); f3=freq/hslider("Freq3 [knob:3]", 440, 100, 1000, 1); f4=freq/hslider("Freq4 [knob:4]", 440, 100, 1000, 1); karplusString = ba.pulse(del...
e5fde64f284a8f94e77743bf5d3dc5cf8524416929566c65ed12d3678332152d
inria-emeraude/syfala
vanalog32.dsp
import("stdfaust.lib"); // sliders oscFreq = hslider("oscFreq [knob:1]",80,50,500,0.01); lfoFreq = hslider("lfoFreq [knob:2]",1,0.01,8,0.01); lfoRange = hslider("lfoRange [knob:3]",1000,10,5000,0.01) : si.smoo; noiseGain = hslider("noiseGain [slider:7]",0,0,1,0.01) <: _*_; masterVol = hslider("masterVol [slider:8]",0.8...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/wfs/vanalog32.dsp
faust
sliders buttons
import("stdfaust.lib"); oscFreq = hslider("oscFreq [knob:1]",80,50,500,0.01); lfoFreq = hslider("lfoFreq [knob:2]",1,0.01,8,0.01); lfoRange = hslider("lfoRange [knob:3]",1000,10,5000,0.01) : si.smoo; noiseGain = hslider("noiseGain [slider:7]",0,0,1,0.01) <: _*_; masterVol = hslider("masterVol [slider:8]",0.8,0,1,0.01) ...
42beae944ad8e7f413b9382295cb3faeb7bb4dc55694931a7f07783e8c3206bb
inria-emeraude/syfala
clarinet.dsp
import("stdfaust.lib"); maxLength = 2; notesPerMin = hslider("notesPerMin",1,0.1,2,0.01); openTube(maxLength,length) = pm.waveguideUd(nMax,n) with{ nMax = maxLength : pm.l2s; n = length : pm.l2s/2; }; clarinetModel(tubeLength,pressure,reedStiffness,bellOpening) = pm.endChain(modelChain) with{ maxTubeLength...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/clarinet.dsp
faust
import("stdfaust.lib"); maxLength = 2; notesPerMin = hslider("notesPerMin",1,0.1,2,0.01); openTube(maxLength,length) = pm.waveguideUd(nMax,n) with{ nMax = maxLength : pm.l2s; n = length : pm.l2s/2; }; clarinetModel(tubeLength,pressure,reedStiffness,bellOpening) = pm.endChain(modelChain) with{ maxTubeLength...
f909604899da24f92e4d9c47a2b4e141471b6c5c95414775c6a182be87f8f910
inria-emeraude/syfala
osc-li-int.dsp
// osc-li-int.dsp // AUTHORS: Julien Sourice and Romain Michon // DESCRIPTION: Linear interpolation sine wave oscillator at 1k. // Work carried out by Julien Sourice as part of an internship at Maynooth U. // DATE: Sept. 30, 2022 import("stdfaust.lib"); varSR = 5000000; // Defined table size (default 65536) tableSi...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/osc-li-int.dsp
faust
osc-li-int.dsp AUTHORS: Julien Sourice and Romain Michon DESCRIPTION: Linear interpolation sine wave oscillator at 1k. Work carried out by Julien Sourice as part of an internship at Maynooth U. DATE: Sept. 30, 2022 Defined table size (default 65536) Built the Lookup base with 65536 cases of float values --------...
import("stdfaust.lib"); varSR = 5000000; tableSize = (1 << 12); sineWave(tableSize) = ba.time*(2.0*ma.PI)/tableSize : cos; osc(freq) = newWaveS(freq) with{ newWaveS(fr) = newWave1 + ((newWave2-newWave1)*resfrac) with{ phasorDec = ((+(fr/varSR) : ma.frac) ~ _)'; resfrac = int(phasorDec*float...
04db78d5fe287432903dc86baf782ef1a7b8ec350c59307e919e399a6f4012f2
inria-emeraude/syfala
osc-spline-int.dsp
// osc-spline-int.dsp // AUTHORS: Julien Sourice and Romain Michon // DESCRIPTION: Spline interpolation sine wave oscillator at 1k. // Work carried out by Julien Sourice as part of an internship at Maynooth U. // DATE: Sept. 30, 2022 import("stdfaust.lib"); varSR = ma.SR; // Sampling rate in Hz // Defined table si...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/osc-spline-int.dsp
faust
osc-spline-int.dsp AUTHORS: Julien Sourice and Romain Michon DESCRIPTION: Spline interpolation sine wave oscillator at 1k. Work carried out by Julien Sourice as part of an internship at Maynooth U. DATE: Sept. 30, 2022 Sampling rate in Hz Defined table size (default 65536) Built the Lookup base with 65536 cases...
import("stdfaust.lib"); tableSize = (1 << 16); sineWave(tableSize) = int(ba.time)*(2.0*ma.PI)/(tableSize) : cos; osc(freq) = newWaveS(freq) with{ newWaveS(fr) = ( newWaveP1 * ( (resfrac^(3))/6 ) ) + ( newWave00 * ( (1+resfrac)^(3) - 4*resfrac^(3) )/6 ) + ( newWaveM1 * ...
f40de1760d51643f4f0b48f15dc5be74cf252028cf6c1fcb96dfa6dbc73c0374
inria-emeraude/syfala
wfs.dsp
/* * Currently implements a primitive WFS system with 32 speakers, and 2 audio * inputs corresponding to 2 different sound sources to be spatialized. The * X/Y position of each source can be controlled using UI elements. */ import("stdfaust.lib"); celerity = 343; // Creates a speaker array for one source speaker...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/wfs/wfs.dsp
faust
* Currently implements a primitive WFS system with 32 speakers, and 2 audio * inputs corresponding to 2 different sound sources to be spatialized. The * X/Y position of each source can be controlled using UI elements. Creates a speaker array for one source For future versions... In the current version the posi...
import("stdfaust.lib"); celerity = 343; speakerArray(NC,SD,x,y) = _ <: par(i,NC,de.fdelay(intSpeakMaxDel,smallDel(i))/d(i)) with{ maxDistanceDel = mD*ma.SR/celerity; intSpeakMaxDel = NC*SD*ma.SR/celerity; d(j) = (x-(SD*j))^2 + y^2 : sqrt; largeDel = y*ma.SR/celerity; smallDel(j) = (d(j)-y)*ma...
025e1f0e0f4512afde2936d2e406413bca7bdcb895810b1ccce7cf72d204a742
inria-emeraude/syfala
multiVirtualAnalog.dsp
import("stdfaust.lib"); // sliders oscFreq = hslider("oscFreq [knob:1]",80,50,500,0.01); lfoFreq = hslider("lfoFreq [knob:2]",1,0.01,8,0.01); lfoRange = hslider("lfoRange [knob:3]",1000,10,5000,0.01) : si.smoo; noiseGain = hslider("noiseGain [slider:7]",0,0,1,0.01) <: _*_; // buttons activateNoise = button("activateNoi...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/multiVirtualAnalog.dsp
faust
sliders buttons multi volume
import("stdfaust.lib"); oscFreq = hslider("oscFreq [knob:1]",80,50,500,0.01); lfoFreq = hslider("lfoFreq [knob:2]",1,0.01,8,0.01); lfoRange = hslider("lfoRange [knob:3]",1000,10,5000,0.01) : si.smoo; noiseGain = hslider("noiseGain [slider:7]",0,0,1,0.01) <: _*_; activateNoise = button("activateNoise [switch:6]"); killS...
fec52f6364972b50abf513cf3960258018c9b2bbcdefee3fd077efc9b175272c
inria-emeraude/syfala
wfs-fixed-sources.dsp
/* * Currently implements a primitive WFS system with 32 speakers, 6 virtual sources, * and 2 audio inputs. Each output can be routed to one of the virtual sources using * UI elements. */ import("stdfaust.lib"); celerity = 343; // Creates a speaker array for one source //speakerArray(NC,SD,x,y) = de.delay(maxDis...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/wfs/wfs-fixed-sources.dsp
faust
* Currently implements a primitive WFS system with 32 speakers, 6 virtual sources, * and 2 audio inputs. Each output can be routed to one of the virtual sources using * UI elements. Creates a speaker array for one source speakerArray(NC,SD,x,y) = de.delay(maxDistanceDel-intSpeakMaxDel,largeDel) <: par(i,NC,...
import("stdfaust.lib"); celerity = 343; speakerArray(NC,SD,x,y) = _ <: par(i,NC,de.delay(intSpeakMaxDel,smallDel(i))) with{ maxDistanceDel = mD*ma.SR/celerity; intSpeakMaxDel = NC*SD*ma.SR/celerity; d(j) = (x-(SD*j))^2 + y^2 : sqrt; largeDel = y*ma.SR/celerity; smallDel(j) = (d(j)-y)*ma.SR/c...
85df8f9f3d703206d6ccb79f31a8aae1bdd83b9d5acde42694c7249f069294cd
inria-emeraude/syfala
wfs-fixed-sources-ks.dsp
/* * Currently implements a primitive WFS system with 32 speakers, 6 virtual sources, * and 2 audio inputs. Each output can be routed to one of the virtual sources using * UI elements. */ import("stdfaust.lib"); celerity = 343; // Creates a speaker array for one source //speakerArray(NC,SD,x,y) = de.delay(maxDis...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/wfs/wfs-fixed-sources-ks.dsp
faust
* Currently implements a primitive WFS system with 32 speakers, 6 virtual sources, * and 2 audio inputs. Each output can be routed to one of the virtual sources using * UI elements. Creates a speaker array for one source speakerArray(NC,SD,x,y) = de.delay(maxDistanceDel-intSpeakMaxDel,largeDel) <: par(i,NC,...
import("stdfaust.lib"); celerity = 343; speakerArray(NC,SD,x,y) = _ <: par(i,NC,de.delay(intSpeakMaxDel,smallDel(i))) with{ maxDistanceDel = mD*ma.SR/celerity; intSpeakMaxDel = NC*SD*ma.SR/celerity; d(j) = (x-(SD*j))^2 + y^2 : sqrt; largeDel = y*ma.SR/celerity; smallDel(j) = (d(j)-y)*ma.SR/c...
9d9e7ba17b1dfa4331e79883a170a30c98449adcb1e145b0a1e332c3cdd08ecc
inria-emeraude/syfala
sh_fxlms.dsp
declare name "Spherical harmonics FxLMS algorithm"; declare version "1.0"; declare author "Pierre Lecomte"; declare author "Loic Alexandre"; declare license "CC-BY-NC-SA-4.0"; import("stdfaust.lib"); import("radial.lib"); import("ylm.lib"); // Tetramic encoder (Pierre Lecomte) -----------------------------------...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/sh_fxlms.dsp
faust
Tetramic encoder (Pierre Lecomte) ------------------------------------------------------ Number of inputs Number of outputs Ambisonic order all nodes have the same weight ------------------------------------------------------------------------------------------ SH-FxLMS Algorithm ---------------------------------...
declare name "Spherical harmonics FxLMS algorithm"; declare version "1.0"; declare author "Pierre Lecomte"; declare author "Loic Alexandre"; declare license "CC-BY-NC-SA-4.0"; import("stdfaust.lib"); import("radial.lib"); import("ylm.lib"); tetra(i,x) = case { (0) => ba.take(1, node(i)) * ma.PI...
a5b58ad6f68a41c18a6d5f95686cef4cf367da2842978d014cae1f3fe151b0e1
inria-emeraude/syfala
mp_fxlms.dsp
declare name "MultiPoint FxLMS algorithm"; declare version "1.0"; declare author "Pierre Lecomte"; declare author "Loic Alexandre"; declare license "CC-BY-NC-SA-4.0"; import("stdfaust.lib"); N = 8; coeffs = si.bus(N); in = 4; out = 4; in_out = si.bus(in*out); freq_band = fi.bandpass(4,hslider("s:[0]Signal/s:[2]...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/mp_fxlms.dsp
faust
Reference signal Input signal Convergence coefficients Adapted filters To obtain x_n the reference signal at time n 4 inputs / 6 outputs INPUTS : 4 microphones OUTPUTS : 4 Loudspeaker signals, 1 reference signal, 1 rms error signal
declare name "MultiPoint FxLMS algorithm"; declare version "1.0"; declare author "Pierre Lecomte"; declare author "Loic Alexandre"; declare license "CC-BY-NC-SA-4.0"; import("stdfaust.lib"); N = 8; coeffs = si.bus(N); in = 4; out = 4; in_out = si.bus(in*out); freq_band = fi.bandpass(4,hslider("s:[0]Signal/s:[2]...
e8113bbc86f5636dc0bd0dd66aee9211db5eb91c39008459522f80a422318d39
inria-emeraude/syfala
minimoog.dsp
import("stdfaust.lib"); // These are now in separate upstairs directories: // echo = echog(component("echo.dsp")); // ../echo/echo.dsp // flanger = flg(component("flanger.dsp")); // ../flanger/flanger.dsp // chorus = chg(component("chorus.dsp")); // ../chorus/chorus.dsp // reverb = rg(component("freeverb.dsp"));...
https://raw.githubusercontent.com/inria-emeraude/syfala/422fa12cbf9475de17ad7ddafd5c04cc47d6f0d3/examples/minimoog.dsp
faust
These are now in separate upstairs directories: echo = echog(component("echo.dsp")); // ../echo/echo.dsp flanger = flg(component("flanger.dsp")); // ../flanger/flanger.dsp chorus = chg(component("chorus.dsp")); // ../chorus/chorus.dsp reverb = rg(component("freeverb.dsp")); // ../freeverb/freeverb.dsp Now ...
import("stdfaust.lib"); main = (signal + attach(extInput,amp) : filters : *(ampScaling)) ~ _; signal = oscs + noise * noiseOff * namp; oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _; detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001)); waveSelect(1) = osc1(v...
50d11a81e940ace4a144ada5d0270b3733368bf27a35622be3702006b9701330
inria-emeraude/syfala
minimoog-novation.dsp
import("stdfaust.lib"); declare options "[midi:on]"; // These are now in separate upstairs directories: // echo = echog(component("echo.dsp")); // ../echo/echo.dsp // flanger = flg(component("flanger.dsp")); // ../flanger/flanger.dsp // chorus = chg(component("chorus.dsp")); // ../chorus/chorus.dsp // reverb = r...
https://raw.githubusercontent.com/inria-emeraude/syfala/7bbb09ecb912c9a66bcb85ebe35590e2b46e51d5/examples/minimoog-novation.dsp
faust
These are now in separate upstairs directories: echo = echog(component("echo.dsp")); // ../echo/echo.dsp flanger = flg(component("flanger.dsp")); // ../flanger/flanger.dsp chorus = chg(component("chorus.dsp")); // ../chorus/chorus.dsp reverb = rg(component("freeverb.dsp")); // ../freeverb/freeverb.dsp bott...
import("stdfaust.lib"); declare options "[midi:on]"; note_base = 47; note_0 = 1 * hslider("note_1[midi:key 73]", 0, 0, 1, 1); note_1 = 2 * hslider("note_2[midi:key 74]", 0, 0, 1, 1); note_2 = 3 * hslider("note_3[midi:key 75]", 0, 0, 1, 1); note_3 = 4 * hslider("note_4[midi:key 76]", 0, 0, 1, 1); note_4 = 5 * hslider...
190b4d0b295c5379531e53ce38b06af5118512e43a087c32f72f2e3ccac84a06
inria-emeraude/syfala
sinewaveLFO.dsp
import("stdfaust.lib"); sinewave = waveform { 0, 0.00306795677, 0.00613588467, 0.00920375437, 0.0122715384, 0.0153392069, 0.0184067301, 0.021474082, 0.024541229, 0.027608145, 0.030674804, 0.0337411761, 0.0368072242, 0.0398729295, 0.0429382585, 0.0460031815, 0.0490676761, 0.0521317087, 0.0551952459, 0.0582582653, 0.061...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/old/sinewaveLFO.dsp
faust
import("stdfaust.lib"); sinewave = waveform { 0, 0.00306795677, 0.00613588467, 0.00920375437, 0.0122715384, 0.0153392069, 0.0184067301, 0.021474082, 0.024541229, 0.027608145, 0.030674804, 0.0337411761, 0.0368072242, 0.0398729295, 0.0429382585, 0.0460031815, 0.0490676761, 0.0521317087, 0.0551952459, 0.0582582653, 0.061...
53189fc7aa8406bb954e5e5f6acde5f8bd446d633b96ded6985ba9773afe20d5
inria-emeraude/syfala
sinewaveLFO-400.dsp
import("stdfaust.lib"); sinewave = waveform { 0, 0.00306795677, 0.00613588467, 0.00920375437, 0.0122715384, 0.0153392069, 0.0184067301, 0.021474082, 0.024541229, 0.027608145, 0.030674804, 0.0337411761, 0.0368072242, 0.0398729295, 0.0429382585, 0.0460031815, 0.0490676761, 0.0521317087, 0.0551952459, 0.0582582653, 0.061...
https://raw.githubusercontent.com/inria-emeraude/syfala/95ed6765d73520362f6a1ad35e4a3b2a5e16fbc9/examples/old/sinewaveLFO-400.dsp
faust
import("stdfaust.lib"); sinewave = waveform { 0, 0.00306795677, 0.00613588467, 0.00920375437, 0.0122715384, 0.0153392069, 0.0184067301, 0.021474082, 0.024541229, 0.027608145, 0.030674804, 0.0337411761, 0.0368072242, 0.0398729295, 0.0429382585, 0.0460031815, 0.0490676761, 0.0521317087, 0.0551952459, 0.0582582653, 0.061...
391e4bd0441903fcabc774283ffefa3e9ce64d80a4abd58a430b71e1f2830a30
trummerschlunk/master_me_legcy
master_me_gui.dsp
/* automatic mastering processor for live streaming events.*/ /* originally developed for the ccrma 'Quarantine Sessions'*/ /* * Copyright (C) 2021 Klaus Scheuermann, klaus@4ohm.de * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
https://raw.githubusercontent.com/trummerschlunk/master_me_legcy/174515b7e272e4294bdca1705d11603bc1ee922a/master_me_gui.dsp
faust
automatic mastering processor for live streaming events. originally developed for the ccrma 'Quarantine Sessions' * Copyright (C) 2021 Klaus Scheuermann, klaus@4ohm.de * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
declare name "master_me_gui"; declare author "Klaus Scheuermann"; declare version "2.0"; declare copyright "(C) 2021 Klaus Scheuermann"; import("stdfaust.lib"); init_noisegate_threshold = -70; init_leveler_target = -18; init_leveler_maxboost = 3; init_leveler_maxcut = 3; init_leveler_gatethreshold = -45; ...
85b783d6e331f36083f6f897d94f2ffe3951d3199210fc6265f56e929c93e463
trummerschlunk/master_me_legcy
master_me_jacktrip.dsp
// double precision -double needed! import("stdfaust.lib"); // init values Nch = 2; //number of channels init_noisegate_threshold = -70; init_leveler_target = -16; init_leveler_maxboost = 6; init_leveler_maxcut = 6; init_leveler_gatethreshold = -45; init_leveler_speed = .03; init_mbmscomp_thresh = -10; // not use...
https://raw.githubusercontent.com/trummerschlunk/master_me_legcy/524781f69c6ffa91c22d5ed48fe77cd203f34198/master_me_jacktrip.dsp
faust
double precision -double needed! init values number of channels not used in voc version main ba.bypass2(checkbox("bypass all"), hgroup("MASTER_ME", hgroup("[0]INPUT",peak_meter(Nch))) : hgroup("MASTER_ME", hgroup("[0]INPUT",lufs_any(Nch))) : hgroup("MASTER_ME", hgroup("[1]STEREO CORRECT",correlate_meter)) : hgroup...
import("stdfaust.lib"); init_noisegate_threshold = -70; init_leveler_target = -16; init_leveler_maxboost = 6; init_leveler_maxcut = 6; init_leveler_gatethreshold = -45; init_leveler_speed = .03; init_comp_thresh = -22; init_comp_thresh_tilt = -4; init_comp_makeup = 0; init_limiter_lad_ceil = -5; init_limiter_p...
c94d52f5cce31bda057a08b93ceeef55950925ba7e6f22f091cee7e2c0f65fbe
trummerschlunk/master_me_legcy
soundsgood09.dsp
// double precision -double needed! import("stdfaust.lib"); // init values Nch = 2; //number of channels init_noisegate_threshold = -70; // not used in voc version init_leveler_target = -18; init_leveler_maxboost = 40; init_leveler_maxcut = 40; init_leveler_gatethreshold = -45; init_leveler_speed = .03; init_mbms...
https://raw.githubusercontent.com/trummerschlunk/master_me_legcy/da31e049aef0de7a8909c906b58009cce6675938/soundsgood09.dsp
faust
double precision -double needed! init values number of channels not used in voc version not used in voc version main ba.bypass2(checkbox("bypass all"), hgroup("MASTER_ME", hgroup("[0]INPUT",peak_meter(Nch))) : hgroup("MASTER_ME", hgroup("[0]INPUT",lufs_any(Nch))) : hgroup("MASTER_ME", hgroup("[1]STEREO CORRECT",c...
import("stdfaust.lib"); init_leveler_target = -18; init_leveler_maxboost = 40; init_leveler_maxcut = 40; init_leveler_gatethreshold = -45; init_leveler_speed = .03; init_comp_thresh = -22; init_comp_thresh_tilt = -4; init_comp_makeup = 0; init_limiter_lad_ceil = -5; init_limiter_postgain = 0; init_brickwall_c...
ce2947a8c7f3bcf0801a331a0541853a06b911526c96ba37ac8083a3e7cd132d
trummerschlunk/master_me_legcy
master_me_voc.dsp
/* automatic mastering processor for live streaming events.*/ /* originally developed for the ccrma 'Quarantine Sessions'*/ /* * Copyright (C) 2021 Klaus Scheuermann, klaus@4ohm.de * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as publ...
https://raw.githubusercontent.com/trummerschlunk/master_me_legcy/928261035a002734d523718592481fcf4f4bd4d5/master_me_voc.dsp
faust
automatic mastering processor for live streaming events. originally developed for the ccrma 'Quarantine Sessions' * Copyright (C) 2021 Klaus Scheuermann, klaus@4ohm.de * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
declare name "master_me_gui"; declare author "Klaus Scheuermann"; declare version "2.0"; declare copyright "(C) 2021 Klaus Scheuermann"; import("stdfaust.lib"); init_leveler_target = -18; init_leveler_maxboost = 55; init_leveler_maxcut = 55; init_leveler_gatethreshold = -50; init_leveler_speed = .095; ...
3235213193bcbd76a3706957e4ce10e8afd786e891307176d79973c490db3b40
trummerschlunk/master_me
master_me.dsp
// -*-Faust-*- declare name "master_me"; declare version "1.0"; declare author "Klaus Scheuermann"; declare license "GPLv3"; // double precision -double needed! ebu = library("lib/ebur128.dsp"); ex = library("expanders.lib"); import("stdfaust.lib"); // init values Nch = 2; //number of channels Nba = 8; //number of...
https://raw.githubusercontent.com/trummerschlunk/master_me/40f6032f13955cd829a42af26508ef364f3cecf3/master_me.dsp
faust
-*-Faust-*- double precision -double needed! init values number of channels number of bands of the multiband compressor not used in voc version main : correlate_meter stereo bypass with si.smoo fading DC FILTER phase switches Mono Switch input gain stereo to m/s encoder m/s to stereo decoder peak meters G...
declare name "master_me"; declare version "1.0"; declare author "Klaus Scheuermann"; declare license "GPLv3"; ebu = library("lib/ebur128.dsp"); ex = library("expanders.lib"); import("stdfaust.lib"); init_leveler_target = -18; init_leveler_maxboost = 20; init_leveler_maxcut = 20; init_leveler_brake_threshold = -1...
9b37f13c48a8639aa1f9ad5faed99479796f9512d0df87dc9090db993a7ec126
s-e-a-m/faust-libraries
dcblocker.dsp
import("stdfaust.lib"); process = no.noise : fi.dcblocker;
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/dcblocker.dsp
faust
import("stdfaust.lib"); process = no.noise : fi.dcblocker;
d87ff7fd74b6d845f71569772ca4b00692ac4d77a399b8bb8c053982ad8fbcf4
s-e-a-m/faust-libraries
csound-tone.dsp
import("stdfaust.lib"); tone(cf) = _*c1 : (+~_ *(c2)) with{ b = 2 - (cos(2*ma.PI*(cf/ma.SR))); c1 = 1-c2; c2 = b - sqrt((b*b)-1.0); }; process = no.noise : tone(1000);
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/csound-tone.dsp
faust
import("stdfaust.lib"); tone(cf) = _*c1 : (+~_ *(c2)) with{ b = 2 - (cos(2*ma.PI*(cf/ma.SR))); c1 = 1-c2; c2 = b - sqrt((b*b)-1.0); }; process = no.noise : tone(1000);
c4bd3ad477cd0f306a96c94b2285420f9fbd6b31700ad7165d0c1c639b88498c
s-e-a-m/faust-libraries
balance.dsp
import("stdfaust.lib"); p = hslider("balance", 0.5,0,1,0.01); psweep = ba.sweep(1001,1)/1000; linbal(p) = _*(1-p),_*(p); quadbal(p) = _*sqrt(1-p),_*sqrt(p); normbal(p) = _*(min(1,2*(1-p))),_*(min(1,2*(p))); norqbal(p) = _*(min(1,2*sqrt(1-p))),_*(min(1,2*sqrt(p))); //process = 2*(1-p) : min(1); process = 1<:linbal(ps...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/balance.dsp
faust
process = 2*(1-p) : min(1);
import("stdfaust.lib"); p = hslider("balance", 0.5,0,1,0.01); psweep = ba.sweep(1001,1)/1000; linbal(p) = _*(1-p),_*(p); quadbal(p) = _*sqrt(1-p),_*sqrt(p); normbal(p) = _*(min(1,2*(1-p))),_*(min(1,2*(p))); norqbal(p) = _*(min(1,2*sqrt(1-p))),_*(min(1,2*sqrt(p))); process = 1<:linbal(psweep),quadbal(psweep),normbal(...
b8a7d907907741ca6cdbeabc18bda39bb74954c68c61ec211b2399277176d5a1
s-e-a-m/faust-libraries
ChopperRM.dsp
import("stdfaust.lib"); //process = os.osc(100)*(0.1), os.osc(1000) : ba.peakholder(150),_; // t = threshold (peakholder) overdrive(x,t) = x <: ma.tanh((_*t))+(1-t)*_; // c = carrier // m = modulator // t = envelope follower time sec choppeRM(t,c,m) = c * overdrive(m,ba.peakholder(ba.sec2samp(t))); process = os.osc...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/631badbcb942c9ecec9a8628f7b66f0cb181b4e2/examples/ChopperRM.dsp
faust
process = os.osc(100)*(0.1), os.osc(1000) : ba.peakholder(150),_; t = threshold (peakholder) c = carrier m = modulator t = envelope follower time sec
import("stdfaust.lib"); overdrive(x,t) = x <: ma.tanh((_*t))+(1-t)*_; choppeRM(t,c,m) = c * overdrive(m,ba.peakholder(ba.sec2samp(t))); process = os.osc(500), os.osc(0.01) : choppeRM(0.45);
6d075d4bc0ff133970fffdb35337feefb04ef6730f7b6a2dddd82224a846e832
s-e-a-m/faust-libraries
iid.dsp
import("stdfaust.lib"); iid(f,rad) = 1.0+pow((f/1000),0.8)*sin(rad); deg2rad = *(ma.PI/180); f = hslider("freq", 1000,1,22000,1); rad = hslider("deg", 0,-45,45,1) : deg2rad; iidlin = iid(f,rad) : ba.log2LinGain; process = no.noise:fi.lowpass(4,f):fi.highpass(4,f)<:_*(ba.db2linear(-iid(f,rad))),_*(ba.db2linear(iid(...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/iid.dsp
faust
import("stdfaust.lib"); iid(f,rad) = 1.0+pow((f/1000),0.8)*sin(rad); deg2rad = *(ma.PI/180); f = hslider("freq", 1000,1,22000,1); rad = hslider("deg", 0,-45,45,1) : deg2rad; iidlin = iid(f,rad) : ba.log2LinGain; process = no.noise:fi.lowpass(4,f):fi.highpass(4,f)<:_*(ba.db2linear(-iid(f,rad))),_*(ba.db2linear(iid(...
b49afef86174ebde707f538219ca285408964cb6d825c1e1692ad0e74e3e7505
s-e-a-m/faust-libraries
analogosc.dsp
import("stdfaust.lib"); //import("../../seam.lib"); f = 1000; a = 21000; analsaw(f,a) = saw(f,a) with{ p(f) = os.lf_sawpos(f); t(f) = abs(p(f) *(2) - (1)) -(0.5); q(x) = x*x; d(x) = x-x'; saw(f,a) = q(t(f)) <: q-_ : d : /(f/2) : *(a); }; analtri(f,a) = tri(f,a) with{ p(f) = os.lf_sawpos(f); ...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/analogosc.dsp
faust
import("../../seam.lib");
import("stdfaust.lib"); f = 1000; a = 21000; analsaw(f,a) = saw(f,a) with{ p(f) = os.lf_sawpos(f); t(f) = abs(p(f) *(2) - (1)) -(0.5); q(x) = x*x; d(x) = x-x'; saw(f,a) = q(t(f)) <: q-_ : d : /(f/2) : *(a); }; analtri(f,a) = tri(f,a) with{ p(f) = os.lf_sawpos(f); t(f) = abs(p(f) *(2) - (1...
73111d911b15383d014293da2af68e936bcf20f9ce01b9906c8a9b2050ff889a
s-e-a-m/faust-libraries
oscillators.dsp
import("stdfaust.lib"); //import("../../seam.lib"); f = 10000; vcs3osc1(f,s,sl,pl) = shaped, saw with{ phasor = os.lf_sawpos(f); sine = sin(phasor*2*ma.PI) : *(0.5*sin(s*(ma.PI))); wsine = sin(phasor*(-1)*ma.PI) : +(0.5) : *(cos(s*(ma.PI))); shaped = (sine+wsine)*sl; saw = (phasor-(0.5))*pl; }; ...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/oscillators.dsp
faust
import("../../seam.lib");
import("stdfaust.lib"); f = 10000; vcs3osc1(f,s,sl,pl) = shaped, saw with{ phasor = os.lf_sawpos(f); sine = sin(phasor*2*ma.PI) : *(0.5*sin(s*(ma.PI))); wsine = sin(phasor*(-1)*ma.PI) : +(0.5) : *(cos(s*(ma.PI))); shaped = (sine+wsine)*sl; saw = (phasor-(0.5))*pl; }; process = os.osc(f),os.osci...
d6f3407322af51cbf608d9a6b462b3fb386a1316f2b6841f758aba311567b900
s-e-a-m/faust-libraries
crossover.dsp
import("stdfaust.lib"); crossover(freq) = _ <: low,high with{ freqtorad = freq*2*ma.PI/ma.SR; fcoeff1 = (sin(freqtorad)-1)/(cos(freqtorad)); fcoeff2 = (fcoeff1+1)/2; block1(x) = loop~_: *(fcoeff1),_: + with{ loop = _ <: *(fcoeff1),_: x-_,_; }; block2(x) = loop~_: !,_ with{ ...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/crossover.dsp
faust
import("stdfaust.lib"); crossover(freq) = _ <: low,high with{ freqtorad = freq*2*ma.PI/ma.SR; fcoeff1 = (sin(freqtorad)-1)/(cos(freqtorad)); fcoeff2 = (fcoeff1+1)/2; block1(x) = loop~_: *(fcoeff1),_: + with{ loop = _ <: *(fcoeff1),_: x-_,_; }; block2(x) = loop~_: !,_ with{ ...
f24d8556de408c424e23b29dd812b09d47a0d5df3694259118070ed33d7abfc6
s-e-a-m/faust-libraries
phaser.dsp
import("stdfaust.lib"); import("../../seam.lib"); p_g(x) = hgroup("PHASER",x); freq = p_g(vslider("[01]LFO[scale:exp][style:knob]", 0.001, 0, 30, 0.001)) : si.smoo; fb = p_g(vslider("[02]FBACK[style:knob]", 0.0, 0, 1, 0.01) : si.smoo); alseq(D,g) = seq(i,4,ap(D,g)) with{ ap(D,g) = (+ <: de.fdelay((ma.SR/2),D),*(-g)...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/nono/phaser.dsp
faust
import("stdfaust.lib"); import("../../seam.lib"); p_g(x) = hgroup("PHASER",x); freq = p_g(vslider("[01]LFO[scale:exp][style:knob]", 0.001, 0, 30, 0.001)) : si.smoo; fb = p_g(vslider("[02]FBACK[style:knob]", 0.0, 0, 1, 0.01) : si.smoo); alseq(D,g) = seq(i,4,ap(D,g)) with{ ap(D,g) = (+ <: de.fdelay((ma.SR/2),D),*(-g)...
7d010ca1797e9bb8a8eece5b4ae2766e95d748472a8114a10ff35f6c900c77ba
s-e-a-m/faust-libraries
upt.dsp
import("stdfaust.lib"); // Universal Pitch Tracker // From faust documentation a = hslider("n cycles", 1, 1, 100, 1); upt(a,x) = a*ma.SR / max(M,1) - a * ma.SR * (M == 0) with{ // positive zero crossing xcr = (x' < 0) & (x >= 0); // counts of crossing xcnt = +(xcr)~ %(int(a)); // windows of counts wnd = xc...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/max-objects/upt.dsp
faust
Universal Pitch Tracker From faust documentation positive zero crossing counts of crossing windows of counts counting samples inside windows sample and hold the number of cycles
import("stdfaust.lib"); a = hslider("n cycles", 1, 1, 100, 1); upt(a,x) = a*ma.SR / max(M,1) - a * ma.SR * (M == 0) with{ xcr = (x' < 0) & (x >= 0); xcnt = +(xcr)~ %(int(a)); wnd = xcr & (xcnt == a); N = (+(1) : *(1 - wnd)) ~ _; M = ba.sAndH(N == 0, N' + 1); }; ptrack(x,a) = x : fi.dcblockerat(80) : (fi.low...
edd8b5519455619040d2dadb6beffdce9db85655a385eed548f68054905def85
s-e-a-m/faust-libraries
hrtf.dsp
import("stdfaust.lib"); f = hslider("Band Pass & IID Frequency", 1000,1,22000,1) : si.smoo; r = hslider("Angle", 0,-90,90,1) : deg2rad : si.smoo; deg2rad = *(ma.PI/180); iid(f,r) = (pow((f/1000),0.8)*sin(r)); // manca il +1 itd(r) = 0.09*(r+sin(r))/344 : ba.sec2samp; //itdpan(r) = _ <: de.fdelayltv(16,256,max(itd(r)...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/hrtf.dsp
faust
manca il +1 itdpan(r) = _ <: de.fdelayltv(16,256,max(itd(r),0)), de.fdelayltv(16,256,(max(-itd(r),0)));
import("stdfaust.lib"); f = hslider("Band Pass & IID Frequency", 1000,1,22000,1) : si.smoo; r = hslider("Angle", 0,-90,90,1) : deg2rad : si.smoo; deg2rad = *(ma.PI/180); itd(r) = 0.09*(r+sin(r))/344 : ba.sec2samp; itdpan(r) = _ <: de.delay(256,int(max(itd(r),0))), de.delay(256,int((max(-itd(r),0)))); iidpan(f,r) =...
949fe76fe38796f6963e6052fd636b5e762d004e891ed5c02587f124af3187ef
s-e-a-m/faust-libraries
phasersinth.dsp
import("stdfaust.lib"); p_g(x) = hgroup("PHASER",x); lff = p_g(vslider("[01]LFO[style:knob]", 0.358, 0, 42, 0.001)) : si.smoo; fbk = p_g(vslider("[02]FBACK[style:knob]", -0.689, -0.999, 0.999, 0.001) : si.smoo); del = p_g(nentry("[03]DELAY[style:knob]", 1, 0, 100, 1)); phaser(N,x,d,g,fb) = x <: _,(+:alseq(N,d,g))~*(f...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/nono/phasersinth.dsp
faust
import("stdfaust.lib"); p_g(x) = hgroup("PHASER",x); lff = p_g(vslider("[01]LFO[style:knob]", 0.358, 0, 42, 0.001)) : si.smoo; fbk = p_g(vslider("[02]FBACK[style:knob]", -0.689, -0.999, 0.999, 0.001) : si.smoo); del = p_g(nentry("[03]DELAY[style:knob]", 1, 0, 100, 1)); phaser(N,x,d,g,fb) = x <: _,(+:alseq(N,d,g))~*(f...
26ee82c62397653902aa58626d9316d79fb5ae00c1cc27f1640fe08acba278ab
s-e-a-m/faust-libraries
aweight.dsp
import("stdfaust.lib"); // %Sampling Rate // Fs = 48000; // // %Analog A-weighting filter according to IEC/CD 1672. f1 = 20.598997; f2 = 107.65265; f3 = 737.86223; f4 = 12194.217; A1000 = 1.9997; // pi = 3.14159265358979; // NUM = [ (2*pi*f4)^2*(10^(A1000/20)) 0 0 0 0 ]; // DEN = conv([1 +4*pi*f4 (2*pi*f4)^2],[1 +4*pi*...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/aweight.dsp
faust
%Sampling Rate Fs = 48000; %Analog A-weighting filter according to IEC/CD 1672. pi = 3.14159265358979; NUM = [ (2*pi*f4)^2*(10^(A1000/20)) 0 0 0 0 ]; DEN = conv([1 +4*pi*f4 (2*pi*f4)^2],[1 +4*pi*f1 (2*pi*f1)^2]); DEN = conv(conv(DEN,[1 2*pi*f3]),[1 2*pi*f2]); %Bilinear transformation of analog design to get t...
import("stdfaust.lib"); f1 = 20.598997; f2 = 107.65265; f3 = 737.86223; f4 = 12194.217; A1000 = 1.9997; b0 = pow(2*ma.PI*f4,2)*pow(10,(A1000/20)); b1 = 0; b2 = 0; w1 = ma.PI*ma.SR/2; process = fi.tf2s(b2,b1,b0,a1,a0,w1);
077ccab40141609f5a060cff550241d6d1a8b69efb79afb9ef36244e6c70e645
s-e-a-m/faust-libraries
filtri.dsp
import("stdfaust.lib"); tone(freq) = _*c1 : (+~*(c2)) with{ b = 2 - (cos(2*ma.PI*(freq/ma.SR))); c1 = 1-c2; c2 = b - sqrt((b*b)-1.0); }; g = 0.9; freq = hslider("freq", 100,1,2000,1); a(fc) = cos((2*ma.PI*fc)/ma.SR)-1+sqrt((0.5*(1+cos(2*((2*ma.PI*fc)/ma.SR))))-4*cos((2*ma.PI*fc)/ma.SR)+3); onesample = (_<:mem...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/filtri.dsp
faust
import("stdfaust.lib"); tone(freq) = _*c1 : (+~*(c2)) with{ b = 2 - (cos(2*ma.PI*(freq/ma.SR))); c1 = 1-c2; c2 = b - sqrt((b*b)-1.0); }; g = 0.9; freq = hslider("freq", 100,1,2000,1); a(fc) = cos((2*ma.PI*fc)/ma.SR)-1+sqrt((0.5*(1+cos(2*((2*ma.PI*fc)/ma.SR))))-4*cos((2*ma.PI*fc)/ma.SR)+3); onesample = (_<:mem...
d687a63629479d458fb188bc1839c709910e23956e7df660f3596a7b7b0731a3
s-e-a-m/1987-nono-risonanze-erranti
1987nlre-main.dsp
import("stdfaust.lib"); import("../faust-libraries/seam.lib"); // ----------------------------------------------------------------- INSTRUMENTS contr = vgroup("[01] CONTRALTO", chstrip);// <: hgroup("[90] CONTRALTO", (*(fader) : vmeter), sends)); flaut = vgroup("[02] FLAUTI", chstrip);// <: hgroup("[90] FLAUTI", (*(fa...
https://raw.githubusercontent.com/s-e-a-m/1987-nono-risonanze-erranti/ed20c3e3e67c65d778339a0883ab9aa7e78a418f/src/1987nlre-main.dsp
faust
----------------------------------------------------------------- INSTRUMENTS <: hgroup("[90] CONTRALTO", (*(fader) : vmeter), sends)); <: hgroup("[90] FLAUTI", (*(fader) : vmeter), sends)); <: hgroup("[90] TUBA", (*(fader) : vmeter), sends)); <: hgroup("[90] CAMPANE SARDE", (*(fader) : vmeter), sends)); <: hgrou...
import("stdfaust.lib"); import("../faust-libraries/seam.lib"); adel = checkbox("[01] DELAY") : si.smoo; are4 = checkbox("[02] REVERB 4 SEC") : si.smoo; ar80 = checkbox("[03] REVERB 10~80 SEC") : si.smoo; ahar = checkbox("[04] HARMONIZER") : si.smoo; aha1 = checkbox("[05] HALAPHON 1") : si.smoo; aha2 = checkbox("[06]...
da78ed2f57846eee5dddd1e4dae14a35ebb3a3c68a201dea1f3048abf4ba5ed9
s-e-a-m/faust-libraries
apcoeffcalc.dsp
import("stdfaust.lib"); // REFERENCES: // https://www.dsprelated.com/showcode/182.php // The following Matlab function generates allpass coefficients for an IIR filter. // In this design, the magnitude response is unchanged but the phase response is very different. // This code only supports 1st order or 2nd order var...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/apcoeffcalc.dsp
faust
REFERENCES: https://www.dsprelated.com/showcode/182.php The following Matlab function generates allpass coefficients for an IIR filter. In this design, the magnitude response is unchanged but the phase response is very different. This code only supports 1st order or 2nd order variants. 1st order allpass filters s...
import("stdfaust.lib"); process = (ap1coeff(freq,qq) : ap1inspec), (ap2coeff(freq,qq) : ap2inspec) :> _ *(0.00001); ap2coeff(fc,q) = g(fc), b0(fc,q), b1(fc,q), b2, a1(fc,q), a2(fc,q) with{ g(fc) = tan(ma.PI*(fc/ma.SR)); d(q) = 1/q; k(fc,q) = 1/(1 + (d(q)*g(fc)) + (g(fc)*g(fc))); b0(fc,q) = (1 - (g(fc)*...
2e650a4560d7eae1807f59c8973f54166944716a9e17d997a0fa218e75e8876e
s-e-a-m/faust-libraries
BrickWall_FIR.dsp
import("stdfaust.lib"); process = no.noise*(1/sqrt(2)) <: fi.conv(fcoeff128), fi.conv(fcoeff512); // 128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB fcoeff128 = (-9.468533418842961e-8, -9.685596554535031e-7, -0.000004208841192266951, -0.000012392180684628816, -0.000027937654411978685, -0.00005064289903990197, -0.000...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/fir/BrickWall_FIR.dsp
faust
128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB 512 tap 0~18000 -0.04dB // 20000~96000 -135.52dB
import("stdfaust.lib"); process = no.noise*(1/sqrt(2)) <: fi.conv(fcoeff128), fi.conv(fcoeff512); fcoeff128 = (-9.468533418842961e-8, -9.685596554535031e-7, -0.000004208841192266951, -0.000012392180684628816, -0.000027937654411978685, -0.00005064289903990197, -0.0000747362056755014, -0.00008774188407583004, -0.000073...
e62cd08c0c963756d533b0059305a9f53c9f537da305bfb31871c43ee6d75793
s-e-a-m/faust-libraries
irconv_live.dsp
import("stdfaust.lib"); process = fi.conv(fcoeff); // 128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB fcoeff = (0.200000003, 0.288000017, 0.332159996, -0.449740797, -0.283178478, -0.16342932, 0.240353137, -0.41975674, 0.155493334, 0.0965716988, -0.174218506, 0.239860371, -0.00281400839, 0.0510703847, 0.168975979, 0....
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/fir/irconv_live.dsp
faust
128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB
import("stdfaust.lib"); process = fi.conv(fcoeff); fcoeff = (0.200000003, 0.288000017, 0.332159996, -0.449740797, -0.283178478, -0.16342932, 0.240353137, -0.41975674, 0.155493334, 0.0965716988, -0.174218506, 0.239860371, -0.00281400839, 0.0510703847, 0.168975979, 0.0204230584, 0.130352408, 0.0969458893, 0.0651003644,...
ef675745cf94c83d3994483a5d585ab0bdf9c32fb5a92e1a100fc713b9e0ce4c
s-e-a-m/faust-libraries
irconv.dsp
import("stdfaust.lib"); process = ba.pulsen(1, ma.SR) : fi.conv(fcoeff); // 128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB fcoeff = (0.200000003, 0.288000017, 0.332159996, -0.449740797, -0.283178478, -0.16342932, 0.240353137, -0.41975674, 0.155493334, 0.0965716988, -0.174218506, 0.239860371, -0.00281400839, 0.05107...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/fir/irconv.dsp
faust
128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB
import("stdfaust.lib"); process = ba.pulsen(1, ma.SR) : fi.conv(fcoeff); fcoeff = (0.200000003, 0.288000017, 0.332159996, -0.449740797, -0.283178478, -0.16342932, 0.240353137, -0.41975674, 0.155493334, 0.0965716988, -0.174218506, 0.239860371, -0.00281400839, 0.0510703847, 0.168975979, 0.0204230584, 0.130352408, 0.096...
e1388e60c7da8fa9d88f9534faa2b1987964cab84eea7cb7e5fa4aef471be20d
s-e-a-m/faust-libraries
schroeder-aprev.dsp
import("stdfaust.lib"); // It truly counts from 0 // process = sba.gsweep(max+1,trigger) gsweep(m,t) = m : %(int(*(t):max(1)))~+(1'); //----------------------------------------------- LINEAR SWEEP UP TO NYQUIST --- lsweep(sec,t) = (ma.SR/2) : %(int(*(t):max(1)))~+((1/sec)'); //-----------------------------------------...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/schroeder-aprev.dsp
faust
It truly counts from 0 process = sba.gsweep(max+1,trigger) ----------------------------------------------- LINEAR SWEEP UP TO NYQUIST --- ------------------------------------------------------ ZERO PADDING SWEEP --- delay feedback in loop process = dfl(1,0.5); correzione di un campione process = os.osc(lsweep(1,1)...
import("stdfaust.lib"); gsweep(m,t) = m : %(int(*(t):max(1)))~+(1'); lsweep(sec,t) = (ma.SR/2) : %(int(*(t):max(1)))~+((1/sec)'); zsweep(m) = (gsweep((m*2+1),1)<(m)) : gsweep(m); dfl(t,g) = (+ : de.delay(ma.SR/2,int(t)))~*(min(0.999,g)); dflc(t,g) = (+ : de.delay(ma.SR/2,int(t-1)))~*(min(0.999,g)):mem; apf(t,g) = _...
bee21dfe087a3c99e897229e3addfa77970aadd957cfe33e8064d3770647ec37
s-e-a-m/faust-libraries
irconv2.dsp
import("stdfaust.lib"); process = ba.pulsen(1, ma.SR) : fi.conv(fcoeff); // 128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB fcoeff = ( -8.031702041625977e-02, -6.119704246520996e-02, 6.487882137298584e-02, 1.519786119461060e-01, 1.391460895538330e-01, 6.688344478607178e-02, 3.468430042266846e-02, ...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/fir/irconv2.dsp
faust
128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB
import("stdfaust.lib"); process = ba.pulsen(1, ma.SR) : fi.conv(fcoeff); fcoeff = ( -8.031702041625977e-02, -6.119704246520996e-02, 6.487882137298584e-02, 1.519786119461060e-01, 1.391460895538330e-01, 6.688344478607178e-02, 3.468430042266846e-02, 4.473912715911865e-02, 2.957773208618164e-02, ...
a63f1cb81a175261b027e04177e04acdbe1acdc3abdf7185243157fabdf5f15a
s-e-a-m/faust-libraries
irconv3.dsp
import("stdfaust.lib"); process = fi.conv(fcoeff); // 128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB fcoeff = ( -8.031702041625977e-02, -6.119704246520996e-02, 6.487882137298584e-02, 1.519786119461060e-01, 1.391460895538330e-01, 6.688344478607178e-02, 3.468430042266846e-02, 4.473912715911865e-0...
https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/fir/irconv3.dsp
faust
128 tap 0~20000 -0.01dB // 30000~96000 -151.58dB
import("stdfaust.lib"); process = fi.conv(fcoeff); fcoeff = ( -8.031702041625977e-02, -6.119704246520996e-02, 6.487882137298584e-02, 1.519786119461060e-01, 1.391460895538330e-01, 6.688344478607178e-02, 3.468430042266846e-02, 4.473912715911865e-02, 2.957773208618164e-02, 3.152477741241455e-0...
7c6d715d6e25f57b45c933636ea8100a164cb81f46897d50874a5ecfc038d1d2
SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing
Subtractive_Synthesis.dsp
import("stdfaust.lib"); waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave)) with{ wave = nentry("[0]Waveform",3,0,3,1); freq = hslider("[1]freq",440,50,2000,0.01); }; subtractive = waveGenerator : hgroup("[1]Filter",fi.resonlp(resFreq,q,1)) :...
https://raw.githubusercontent.com/SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing/ca24b8d650b6d77435d8128b0aa8e4d8b6022c30/Subtractive_Synthesis.dsp
faust
effect = dm.zita_light; process = subtractive;
import("stdfaust.lib"); waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave)) with{ wave = nentry("[0]Waveform",3,0,3,1); freq = hslider("[1]freq",440,50,2000,0.01); }; subtractive = waveGenerator : hgroup("[1]Filter",fi.resonlp(resFreq,q,1)) :...
7b6a9970adfe6a2cd39f6872caccbf36fb44d23e3db0dd1102a14ebf32a9b311
SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing
PeakFilter.dsp
import("stdfaust.lib"); waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave)) with{ wave = nentry("[0]Waveform",3,0,3,1); freq = hslider("[1]freq",440,50,2000,0.01); }; peakfilters(n) = seq(i,n,Filters(i)) with{ Filters(j) = vgroup("Bank %j...
https://raw.githubusercontent.com/SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing/ca24b8d650b6d77435d8128b0aa8e4d8b6022c30/PeakFilter.dsp
faust
freq = hslider("[1]freq",440,50,2000,0.01); ResFreq = os.osc(lfoFreq)*lfoDepth + ctFreq : max(30); B = Fx/hslider("[1]Q[style:knob]",5,1,30,0.1); effect = dm.zita_light; process = subtractive;
import("stdfaust.lib"); waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave)) with{ wave = nentry("[0]Waveform",3,0,3,1); freq = hslider("[1]freq",440,50,2000,0.01); }; peakfilters(n) = seq(i,n,Filters(i)) with{ Filters(j) = vgroup("Bank %j...
d1a7cd64fc98ca8d2a646ad5a7cf15052b9f4de6a689314208bec956c0c29bd9
SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing
dx7.dsp
import("stdfaust.lib"); freq = hslider("freq", 440, 100, 1000, 0.01); gain = hslider("gain", 0.5, 0, 1, 0.01); gate = button("gate") ; //en.adsr(0.01, 0.01, 0.9, 0.1); //timbre(f) = os.sawtooth(f)*0.5 + os.sawtooth(f*2)*0.25 + os.sawtooth(f*4)*0.125; dxOsc(ctfreq, a, d, s, r) = os.osc(ctfreq)*envelope*0.5 with{ ...
https://raw.githubusercontent.com/SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing/ca24b8d650b6d77435d8128b0aa8e4d8b6022c30/dx7.dsp
faust
en.adsr(0.01, 0.01, 0.9, 0.1); timbre(f) = os.sawtooth(f)*0.5 + os.sawtooth(f*2)*0.25 + os.sawtooth(f*4)*0.125; freq = hslider("[0]Center Frequency[style:knob]",440,50,1000,0.1); mod = hslider("[1]Modulating Frequency[style:knob]",5,0.1,20,0.01); index = hslider("[2]Index", 2, 1, 10, 0.01); t = button("Gate"); fre...
import("stdfaust.lib"); freq = hslider("freq", 440, 100, 1000, 0.01); gain = hslider("gain", 0.5, 0, 1, 0.01); dxOsc(ctfreq, a, d, s, r) = os.osc(ctfreq)*envelope*0.5 with{ envelope = hgroup("Envelope", en.adsr(a,d,s,r)) with{ a = hslider("[0]Attack [style:knob]", 0.01, 0.01, 1, 0.01) : si.smoo; d = hsli...
8b3a05c8e63bb11de0432d6aca0f9ee08af987a0222591f16e8895e7adde4788
brummer10/guitarix
phaser.dsp
declare id "phaser"; declare name "Phaser"; declare category "Modulation"; //phaser taken from effect.lib // by Julius O. Smith III import("stdfaust.lib"); import("stdfaust.lib"); vibrato_mono(sections,phase01,fb,width,frqmin,fratio,frqmax,speed) = (+ : seq(i,sections,ap2p(R,th(i)))) ~ *(fb) with { // seco...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/phaser.dsp
faust
phaser taken from effect.lib by Julius O. Smith III second-order resonant digital allpass given fi.pole radius and angle: in [0,1] depth=0 => direct-signal only depth=1 => phaser mode (equal sum of direct and allpass-pm.chain) depth=2 => vibrato mode (allpass-pm.chain signal only) inversion negates the allpass-...
declare id "phaser"; declare name "Phaser"; declare category "Modulation"; import("stdfaust.lib"); import("stdfaust.lib"); vibrato_mono(sections,phase01,fb,width,frqmin,fratio,frqmax,speed) = (+ : seq(i,sections,ap2p(R,th(i)))) ~ *(fb) with { ap2p(R,th) = fi.tf2(a2,a1,1,a1,a2) with { a2 = R^2; ...
456e2ba534bc028d00ee4a7d8fe4cab6795385d2c3f35a0411bd6f547fa4e5a0
brummer10/guitarix
noisegate.dsp
import("stdfaust.lib"); ngate = fvariable(float ngate, <math.h>); process = *(ngate);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/noisegate.dsp
faust
import("stdfaust.lib"); ngate = fvariable(float ngate, <math.h>); process = *(ngate);
9fd1fe3eaee4fdc754cdee8c4451e37917228e86609893a8a344d8115e7a0d99
brummer10/guitarix
balance1.dsp
import("stdfaust.lib"); import("guitarix.lib"); process = _ <: balance(balance_ctrl.bal);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/balance1.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); process = _ <: balance(balance_ctrl.bal);
ffa53597cb0a90eaf4f41ec6bd0d9973af8ef263af061b11da2895abc5e602ee
brummer10/guitarix
balance.dsp
import("stdfaust.lib"); import("guitarix.lib"); process = balance(balance_ctrl.bal);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/balance.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); process = balance(balance_ctrl.bal);
8701c2c33ad66c989ab58018035fb267f50a14c1ba870f1e1c7241cd139fe0a6
brummer10/guitarix
tubevibrato.dsp
declare id "tube"; import("stdfaust.lib"); import("guitarix.lib"); vibrato = vslider("vibrato", 0, 0, 2, 0.02); process = + ~ *(vibrato/2) : sym_clip(0.7);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/tubevibrato.dsp
faust
declare id "tube"; import("stdfaust.lib"); import("guitarix.lib"); vibrato = vslider("vibrato", 0, 0, 2, 0.02); process = + ~ *(vibrato/2) : sym_clip(0.7);
b26a107601cdcc4a342e8c49f4c85d254ac1ede4b39bae38cc7c432ab592f431
brummer10/guitarix
vibe_mono_lfo_sine.dsp
import("guitarix.lib"); import("stdfaust.lib"); process = os.oscs(vibe_mono_lfo_ctrl.freq) : scale with { scale = (1 + _) / 2; };
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/vibe_mono_lfo_sine.dsp
faust
import("guitarix.lib"); import("stdfaust.lib"); process = os.oscs(vibe_mono_lfo_ctrl.freq) : scale with { scale = (1 + _) / 2; };
01e5609258387a099f1755d37b9bffcba2e33804e5a75dbe86653e2a47e4d450
brummer10/guitarix
drive.dsp
import("stdfaust.lib"); import("guitarix.lib"); fuzzy = vslider("value[name:drive]", 1, 1, 10, 1); process = fuzzy_tube(a,b,c,fuzzy) with { a = 4; b = 4; c = 0.125; };
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/drive.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); fuzzy = vslider("value[name:drive]", 1, 1, 10, 1); process = fuzzy_tube(a,b,c,fuzzy) with { a = 4; b = 4; c = 0.125; };
d9d75f6bf4a06bc1963d1b796aa750f302c732baa91c308a41352e0f8226e333
brummer10/guitarix
tube.dsp
import("stdfaust.lib"); import("guitarix.lib"); fuzzy = vslider("fuzzy[name:ba.count]", 1, -3, 10, 1); process = fuzzy_tube(a,b,c,fuzzy) with { a = 2; b = 1; c = 0.5; };
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/tube.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); fuzzy = vslider("fuzzy[name:ba.count]", 1, -3, 10, 1); process = fuzzy_tube(a,b,c,fuzzy) with { a = 2; b = 1; c = 0.5; };
cf39c2c1a073127159550324af2a0554a60d47f92366a368d16c47fb3946c749
brummer10/guitarix
AntiAlias.dsp
import("stdfaust.lib"); import("guitarix.lib"); faas1 = vgroup("anti_aliase", vslider("feedback[name:Feedback]", 0.3, 0.3, 0.9, 0.01)); process = add_dc : +~_''*faas1;
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/AntiAlias.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); faas1 = vgroup("anti_aliase", vslider("feedback[name:Feedback]", 0.3, 0.3, 0.9, 0.01)); process = add_dc : +~_''*faas1;
5f62c43a62e64a4ccaba066381ec62eacfeef489274de0343c5251755a05b2b1
brummer10/guitarix
presence_level.dsp
declare id "con"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider("Level[alias]", 1, 0.5, 5, 0.5); process = *(gain * pow(10, -0.1 * gain)); // FIXME
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/presence_level.dsp
faust
FIXME
declare id "con"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider("Level[alias]", 1, 0.5, 5, 0.5);
5545125c0b86a9fbd003be6421fea2dcecdb21773ca316db8f694a6516588ab3
brummer10/guitarix
gx_outputlevel.dsp
import("stdfaust.lib"); import("guitarix.lib"); gain = vslider(".amp.out_master[name:Level]", 0, -50, 4, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain), *(gain);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/gx_outputlevel.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); gain = vslider(".amp.out_master[name:Level]", 0, -50, 4, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain), *(gain);
4a1046b13cd1cb3df3630ff606af93d629c751fd64e977f81a0b7f9207aaf519
brummer10/guitarix
gxnoamp.dsp
declare id "noamp"; // in amp tube ba.selector declare name "---"; import("stdfaust.lib"); import("guitarix.lib"); process = *(gain1) with { gain1 = ampctrl.gain1; };
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/gxnoamp.dsp
faust
in amp tube ba.selector
declare name "---"; import("stdfaust.lib"); import("guitarix.lib"); process = *(gain1) with { gain1 = ampctrl.gain1; };
1e9aa60303d5921d76f2393bfd69431b5a5f99a67c9320338bc806fbe75bb545
brummer10/guitarix
outputgain.dsp
declare name "amp"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider("out_master[name:out / master]", 0, -40, 40, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/outputgain.dsp
faust
declare name "amp"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider("out_master[name:out / master]", 0, -40, 40, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain);
c921ef148e3899589af3d947bbc4345199c7a7a6e1229dd4f709a417d22636cd
brummer10/guitarix
inputgain.dsp
declare name "amp"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider("in_level[name:in / level]", 0, -40, 40, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/inputgain.dsp
faust
declare name "amp"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider("in_level[name:in / level]", 0, -40, 40, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain);
adaa30baa30aa744864689ab782eaf51e5912560ad314b1cff0fe6e8313adfb9
brummer10/guitarix
gx_outputlevel.dsp
import("stdfaust.lib"); import("guitarix.lib"); gain = vslider(".amp.out_master[name:Level][tooltip:Overall Rack output Volume]", 0, -50, 4, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain), *(gain);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/gx_outputlevel.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); gain = vslider(".amp.out_master[name:Level][tooltip:Overall Rack output Volume]", 0, -50, 4, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain), *(gain);
9db285badde55b42289b9ea71255b5bf2643f8e3b39f62e0e7a0cc5c9d74c36e
brummer10/guitarix
gx_ampout.dsp
declare id "amp"; declare name "Amplifier"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider(".amp.out_amp[name:Level]", 0, -20, 4, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/gx_ampout.dsp
faust
declare id "amp"; declare name "Amplifier"; import("stdfaust.lib"); import("guitarix.lib"); gain = vslider(".amp.out_amp[name:Level]", 0, -20, 4, 0.1) : ba.db2linear : smoothi(0.999); process = *(gain);
2f694f3555ba08d3846eff6006d9b54c4df0f48712752f8b050c39beb8ea4c09
brummer10/guitarix
gxnoamp.dsp
declare id "noamp"; // in amp tube ba.selector declare name "---"; import("stdfaust.lib"); import("guitarix.lib"); process = *(preamp) : *(gain1) with { gain1 = ampctrl.gain1; preamp = ampctrl.preamp; };
https://raw.githubusercontent.com/brummer10/guitarix/b3ebbb628b61a72cd8cbd5c4a753c35723e262a0/trunk/src/LV2/faust/gxnoamp.dsp
faust
in amp tube ba.selector
declare name "---"; import("stdfaust.lib"); import("guitarix.lib"); process = *(preamp) : *(gain1) with { gain1 = ampctrl.gain1; preamp = ampctrl.preamp; };
5fef2c6ce96dd9d99cfd1ad4908975660e1bd7a9201466845113df46a585c005
brummer10/guitarix
vibe_mono_lfo_triangle.dsp
import("guitarix.lib"); import("stdfaust.lib"); trianglewave(periodsamps) = rawsaw(periodsamps) : triangleshaper with { triangleshaper = 2 * _ / periodsamps <: select2(_ > 1, _, 2 - _); }; process = trianglewave(periodsamps) with { periodsamps = ma.SR/vibe_mono_lfo_ctrl.freq; };
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/vibe_mono_lfo_triangle.dsp
faust
import("guitarix.lib"); import("stdfaust.lib"); trianglewave(periodsamps) = rawsaw(periodsamps) : triangleshaper with { triangleshaper = 2 * _ / periodsamps <: select2(_ > 1, _, 2 - _); }; process = trianglewave(periodsamps) with { periodsamps = ma.SR/vibe_mono_lfo_ctrl.freq; };
2bc6425f81922627157545c0d87b659260abad55fe6de451d2b96d4c7652523e
brummer10/guitarix
vibe_lfo_sine.dsp
import("guitarix.lib"); import("stdfaust.lib"); process = os.oscrq(vibe_lfo_ctrl.freq) : phase_shift(vibe_lfo_ctrl.phase) <: scale, scale with { phase_shift(p, x, y) = x, x * cos(p) + y * sin(p); scale = (1 + _) / 2; };
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/vibe_lfo_sine.dsp
faust
import("guitarix.lib"); import("stdfaust.lib"); process = os.oscrq(vibe_lfo_ctrl.freq) : phase_shift(vibe_lfo_ctrl.phase) <: scale, scale with { phase_shift(p, x, y) = x, x * cos(p) + y * sin(p); scale = (1 + _) / 2; };
4b12e04e06f43c3fcad75e2e7ed433c2181b3c04dccec87f40ecb66463d65670
brummer10/guitarix
lowpass_up.dsp
import("stdfaust.lib"); import("guitarix.lib"); ssclip(x) = a : sym_clip(0.9) with { th = 0.33; a = ba.if(abs(x)<th, 2*x, copysign(x,(3-(2-x*3)^2)/3)); }; process = fi.lowpass(1,5631): fi.highpass(1,80):ssclip ;
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/lowpass_up.dsp
faust
import("stdfaust.lib"); import("guitarix.lib"); ssclip(x) = a : sym_clip(0.9) with { th = 0.33; a = ba.if(abs(x)<th, 2*x, copysign(x,(3-(2-x*3)^2)/3)); }; process = fi.lowpass(1,5631): fi.highpass(1,80):ssclip ;
c5e91eeb64732eeb6f7f15a2385f57a74186e1edad1daf2f8934961662c31854
brummer10/guitarix
highbooster.dsp
declare name "Treble boost"; declare category "Tone Control"; import("stdfaust.lib"); level = vslider("Level", 0.5, 0.0, 20, 0.5) ; hfboost(level,fx,x) = x + (ba.db2linear(level)-1)*fi.highpass(1,fx,x); process = hfboost(level, 1500);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/highbooster.dsp
faust
declare name "Treble boost"; declare category "Tone Control"; import("stdfaust.lib"); level = vslider("Level", 0.5, 0.0, 20, 0.5) ; hfboost(level,fx,x) = x + (ba.db2linear(level)-1)*fi.highpass(1,fx,x); process = hfboost(level, 1500);
2674844876469e0ee1906877cae03138da135d848e82693f83a328902716021d
brummer10/guitarix
noiser.dsp
declare id "withe_noise"; // declare name "withe no.noise"; import("stdfaust.lib"); import("guitarix.lib"); /**************************************************************** ** no.noise to avoid denormals */ randomr = +(12345)~*(1103515245); noiser = (randomr/2147483647.0) * 0.00000000001; process = + ( no...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/noiser.dsp
faust
*************************************************************** ** no.noise to avoid denormals
declare name "withe no.noise"; import("stdfaust.lib"); import("guitarix.lib"); randomr = +(12345)~*(1103515245); noiser = (randomr/2147483647.0) * 0.00000000001; process = + ( noiser);
429c866ee8ed6f726f67ad8419400bd7043bb36141533f1c6ab96517136a5cd1
brummer10/guitarix
gxnoamp_stereo.dsp
declare id "noampstereo"; // in amp tube ba.selector declare name "---"; import("stdfaust.lib"); import("guitarix.lib"); amp = *(preamp) : *(gain1) with { gain1 = ampctrl.gain1; preamp = ampctrl.preamp; }; process = amp, amp;
https://raw.githubusercontent.com/brummer10/guitarix/b3ebbb628b61a72cd8cbd5c4a753c35723e262a0/trunk/src/LV2/faust/gxnoamp_stereo.dsp
faust
in amp tube ba.selector
declare name "---"; import("stdfaust.lib"); import("guitarix.lib"); amp = *(preamp) : *(gain1) with { gain1 = ampctrl.gain1; preamp = ampctrl.preamp; }; process = amp, amp;
1d0f9d2425a910383924b9b4e840c3313eb92a2430adcd0629d00c884c989e69
brummer10/guitarix
fizz_remover.dsp
declare id "antyfizz"; declare name "Fizz Remover"; //declare category "Tone Control"; declare license "BSD"; import("stdfaust.lib"); process = fi.peak_eq_cq(-8.5,5556,8.5), fi.peak_eq_cq(-8.5,5556,8.5);
https://raw.githubusercontent.com/brummer10/guitarix/750a6af1cb7ef9781b750c84a651076fba03d9d3/trunk/src/faust/fizz_remover.dsp
faust
declare category "Tone Control";
declare id "antyfizz"; declare name "Fizz Remover"; declare license "BSD"; import("stdfaust.lib"); process = fi.peak_eq_cq(-8.5,5556,8.5), fi.peak_eq_cq(-8.5,5556,8.5);
0bbf7203b0e321c35c749dca6b26f71b0a7a89ca14ecdf74ec2a6dd50fb0e518
brummer10/guitarix
low_high_cut.dsp
declare id "low_highcut"; declare name "low high cut"; declare shortname "L/H/Filter"; declare category "Tone Control"; import("stdfaust.lib"); import("guitarix.lib"); process = +(anti_denormal_ac) : ef.speakerbp(23.,999.);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/low_high_cut.dsp
faust
declare id "low_highcut"; declare name "low high cut"; declare shortname "L/H/Filter"; declare category "Tone Control"; import("stdfaust.lib"); import("guitarix.lib"); process = +(anti_denormal_ac) : ef.speakerbp(23.,999.);
4a71be7aed0d08578417a9f46df012a06422f2be32dd6942479e0425dc662109
brummer10/guitarix
softclip.dsp
declare id "amp.clip"; import("stdfaust.lib"); import("guitarix.lib"); b = hslider(".amp.fuzz", 0.0, 0.0, 1.99, 0.01); a = 2-b; //cut(x) = (ma.fabs (x-a) -ma.fabs (x+a))*0.5; r(x) = x-sym_clip(a*0.88); process(x) = x:sym_clip(a*0.88) <:+(r(x)*0.33);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/softclip.dsp
faust
cut(x) = (ma.fabs (x-a) -ma.fabs (x+a))*0.5;
declare id "amp.clip"; import("stdfaust.lib"); import("guitarix.lib"); b = hslider(".amp.fuzz", 0.0, 0.0, 1.99, 0.01); a = 2-b; r(x) = x-sym_clip(a*0.88); process(x) = x:sym_clip(a*0.88) <:+(r(x)*0.33);
88eeaeccca35e51afa0af529a4f99f368d0b6abd1603046b909ce0106b0f2868
brummer10/guitarix
stereo_noiser.dsp
declare id "withe_noise_stereo"; // declare name "withe noise_stereo"; import("stdfaust.lib"); import("guitarix.lib"); /**************************************************************** ** no.noise to avoid denormals */ randomr = +(12345)~*(1103515245); noiser = (randomr/2147483647.0) * 0.00000000001; proce...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/stereo_noiser.dsp
faust
*************************************************************** ** no.noise to avoid denormals
declare name "withe noise_stereo"; import("stdfaust.lib"); import("guitarix.lib"); randomr = +(12345)~*(1103515245); noiser = (randomr/2147483647.0) * 0.00000000001; process = + ( noiser), + ( noiser);
780fb3903005d34a715067b4e7474c98b9f5ad825bd91f0ef5dbd1b445086a6a
brummer10/guitarix
tranyclipper.dsp
declare id "tranclip"; declare name "Clip"; declare category "Fuzz"; declare samplerate "96000"; import("stdfaust.lib"); import("trany.lib"); process = tranystage(TB_7199P_68k,86.0,2700.0,3.571981) : tranystage(TB_7199P_68k,86.0,2700.0,3.571981) ;
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/tranyclipper.dsp
faust
declare id "tranclip"; declare name "Clip"; declare category "Fuzz"; declare samplerate "96000"; import("stdfaust.lib"); import("trany.lib"); process = tranystage(TB_7199P_68k,86.0,2700.0,3.571981) : tranystage(TB_7199P_68k,86.0,2700.0,3.571981) ;
e95d2154721b722b327a54ae399b26227b9de196f80b0a6b772087a89d9f09ce
brummer10/guitarix
tranyclipper3.dsp
declare id "tranclip"; declare name "Clip"; declare category "Fuzz"; declare samplerate "96000"; import("stdfaust.lib"); import("trany.lib"); process = tranystage(TB_KT88_68k,86.0,2700.0,5.562895) : tranystage(TB_KT88_68k,86.0,2700.0,5.562895) ;
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/tranyclipper3.dsp
faust
declare id "tranclip"; declare name "Clip"; declare category "Fuzz"; declare samplerate "96000"; import("stdfaust.lib"); import("trany.lib"); process = tranystage(TB_KT88_68k,86.0,2700.0,5.562895) : tranystage(TB_KT88_68k,86.0,2700.0,5.562895) ;
c90402819b5ede6cfe899252e6b0a9b3b73ed739518f3f052a980db0e0a90bb9
brummer10/guitarix
highbooster.dsp
declare id "highbooster"; declare name "Treble Boost"; declare category "Tone Control"; import("stdfaust.lib"); level = vslider("Level[name:Level]", 0.5, 0., 20., 0.5) ; hfboost(level,fx,x) = x + (ba.db2linear(level)-1)*fi.highpass(1,fx,x); process = hfboost(level, 1500);
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/highbooster.dsp
faust
declare id "highbooster"; declare name "Treble Boost"; declare category "Tone Control"; import("stdfaust.lib"); level = vslider("Level[name:Level]", 0.5, 0., 20., 0.5) ; hfboost(level,fx,x) = x + (ba.db2linear(level)-1)*fi.highpass(1,fx,x); process = hfboost(level, 1500);
d621fcb0daa5f453118589d4a3eb59fc43a01e100e418b7006c3ce416021d8ff
brummer10/guitarix
delay.dsp
declare name "Delay"; declare category "Echo / Delay"; import("stdfaust.lib"); import("guitarix.lib"); msec = ma.SR/1000.0; gain = vslider("gain", 0, -20, 20, 0.1) : ba.db2linear : smoothi(0.999); d = vslider("de.delay", 0, 0, 5000, 10)*msec; process = _ <: _ + gain * de.fdelay5s(d) :> _;
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/delay.dsp
faust
declare name "Delay"; declare category "Echo / Delay"; import("stdfaust.lib"); import("guitarix.lib"); msec = ma.SR/1000.0; gain = vslider("gain", 0, -20, 20, 0.1) : ba.db2linear : smoothi(0.999); d = vslider("de.delay", 0, 0, 5000, 10)*msec; process = _ <: _ + gain * de.fdelay5s(d) :> _;
02f0973184f6627c4e7aee4b25446a76e9b9436e7c16e6414f1732188bad0cf6
brummer10/guitarix
gx_feedback.dsp
declare id "feedback"; declare name "Feedback"; declare category "Tone Control"; import("stdfaust.lib"); import("guitarix.lib"); feedback = hslider("feedback", 0, -1, 1, 0.01); fbackw = (- : ma.neg ) ~ (feedback * _''''); wet = vslider("wet_dry", 100, 0, 100, 1) : /(100); dry = 1 - wet; process = _<:*(dry),(*...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/gx_feedback.dsp
faust
declare id "feedback"; declare name "Feedback"; declare category "Tone Control"; import("stdfaust.lib"); import("guitarix.lib"); feedback = hslider("feedback", 0, -1, 1, 0.01); fbackw = (- : ma.neg ) ~ (feedback * _''''); wet = vslider("wet_dry", 100, 0, 100, 1) : /(100); dry = 1 - wet; process = _<:*(dry),(*...
a093078094220897ab7c18799f55d59cbf9d40763f4c702d66a20ee073e7b3c3
brummer10/guitarix
lowpass_down.dsp
import("stdfaust.lib"); import("reducemaps.lib"); import("guitarix.lib"); vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[unit:dB]", -70, +5)); envelop = abs : max ~ (1.0/ma.SR) : mean(4096) ; // : max(ba.db2linear(-70)) : ba.linear2db; process = fi.lowpass(1,5631): fi.highpass(1,80): vmete...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/lowpass_down.dsp
faust
: max(ba.db2linear(-70)) : ba.linear2db;
import("stdfaust.lib"); import("reducemaps.lib"); import("guitarix.lib"); vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[unit:dB]", -70, +5)); process = fi.lowpass(1,5631): fi.highpass(1,80): vmeter1 ;
f1243ec9d428b091a4b8186135a23a4c9ffe3bebf12d527a8f1e0e15e4ada1c5
brummer10/guitarix
stage3.dsp
import("stdfaust.lib"); import("guitarix.lib"); /**************************************************************** ** Tube Preamp Emulation stage 3 */ process = hgroup("stage3", BP(stage3)) with { stage3 = lowpass1(6531.0) : component("amp2.dsp").tubestage(TB_12AX7_250k,194.0,820.0,0.840703) : *(gain3) wit...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/stage3.dsp
faust
*************************************************************** ** Tube Preamp Emulation stage 3
import("stdfaust.lib"); import("guitarix.lib"); process = hgroup("stage3", BP(stage3)) with { stage3 = lowpass1(6531.0) : component("amp2.dsp").tubestage(TB_12AX7_250k,194.0,820.0,0.840703) : *(gain3) with { gain3 = vslider("gain3", 6, -10.0, 20.0, 0.1) : ba.db2linear : smoothi(0.999); }; };...
8a07433d00b78c8f924aa7bcd8855b62d9aa5d45d185b853a506d1dc974ae4b0
brummer10/guitarix
moog.dsp
declare id "moog"; declare name "Moog Filter"; declare category "Tone Control"; declare license "BSD"; import("stdfaust.lib"); import("guitarix.lib"); Q = hslider("Q", 1, 0, 4, 0.1); fr = hslider("fr", 3000, 440, 6000, 10): smoothi(0.999); process = ( +(anti_denormal_ac): moogvcfN(Q,fr)), (+(anti_denorma...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/moog.dsp
faust
declare id "moog"; declare name "Moog Filter"; declare category "Tone Control"; declare license "BSD"; import("stdfaust.lib"); import("guitarix.lib"); Q = hslider("Q", 1, 0, 4, 0.1); fr = hslider("fr", 3000, 440, 6000, 10): smoothi(0.999); process = ( +(anti_denormal_ac): moogvcfN(Q,fr)), (+(anti_denorma...
ca4b1beeb92396031ce9bdbfdb0411211d2f5b07fe168ff2fde760d680936a67
brummer10/guitarix
gx_feedback.dsp
declare id "feedback"; declare name "Feedback"; declare category "Tone Control"; import("stdfaust.lib"); import("guitarix.lib"); feedback = hslider("feedback[name:Feedback]", 0, -1, 1, 0.01); fbackw = (- : ma.neg ) ~ (feedback * _''''); wet = vslider("wet_dry[name:Dry/Wet]", 100, 0, 100, 1) : /(100); dry = 1 - we...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/gx_feedback.dsp
faust
declare id "feedback"; declare name "Feedback"; declare category "Tone Control"; import("stdfaust.lib"); import("guitarix.lib"); feedback = hslider("feedback[name:Feedback]", 0, -1, 1, 0.01); fbackw = (- : ma.neg ) ~ (feedback * _''''); wet = vslider("wet_dry[name:Dry/Wet]", 100, 0, 100, 1) : /(100); dry = 1 - we...
fb355abc0288b282a5f06b144dc24406ff8d591f4c3151f048657fa564b64371
brummer10/guitarix
tube3.dsp
// dsp algorithm from swh ladspa valve plugin (Steve Harrison) import("stdfaust.lib"); import("guitarix.lib"); g = vslider("g", 1, 0.2, 2, 0.1); vt = valve.vt(dist, q) : *(g) : ma.neg : valve.vt(dist, q) : ma.neg with { q_p = vslider("q", 0.4, 0.4, 1, 0.001); dist_p = vslider("dist", 0, 0, 1.7, 0.01)...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/tube3.dsp
faust
dsp algorithm from swh ladspa valve plugin (Steve Harrison)
import("stdfaust.lib"); import("guitarix.lib"); g = vslider("g", 1, 0.2, 2, 0.1); vt = valve.vt(dist, q) : *(g) : ma.neg : valve.vt(dist, q) : ma.neg with { q_p = vslider("q", 0.4, 0.4, 1, 0.001); dist_p = vslider("dist", 0, 0, 1.7, 0.01); q = -q_p*-q_p*-q_p; dist = pow(10,dist_p); };...
64491676c7b2cfd08f7fd081a22f3926eb4d9ca590b82f5f8c310ea57eaeff0b
brummer10/guitarix
gx_outputlevel_ladspa.dsp
// Alternate gx_outputlevel definion for ladspa stereo plugin declare groups ".amp"; import("stdfaust.lib"); import("guitarix.lib"); gain = (slider1 + slider2) : ba.db2linear : smoothi(0.999) with { slider1 = vslider(".amp.out_master[name:Level]", 0, -50, 4, 0.1); slider2 = vslider(".amp.out_master_ladspa[na...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/gx_outputlevel_ladspa.dsp
faust
Alternate gx_outputlevel definion for ladspa stereo plugin
declare groups ".amp"; import("stdfaust.lib"); import("guitarix.lib"); gain = (slider1 + slider2) : ba.db2linear : smoothi(0.999) with { slider1 = vslider(".amp.out_master[name:Level]", 0, -50, 4, 0.1); slider2 = vslider(".amp.out_master_ladspa[name:Ladspa Level]", 0, -20, 20, 0.1); }; process = *(gain), *(...
5efd1bc8a2d6fea3d3462866f085565736f859200cd26b96793aef5b37d84416
brummer10/guitarix
gx_outputlevel_ladspa.dsp
// Alternate gx_outputlevel definion for ladspa stereo plugin declare groups ".amp[Default]"; import("stdfaust.lib"); import("guitarix.lib"); gain = (slider1 + slider2) : ba.db2linear : smoothi(0.999) with { slider1 = vslider(".amp.out_master[name:Level]", 0, -50, 4, 0.1); slider2 = vslider(".amp.out_master_...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/gx_outputlevel_ladspa.dsp
faust
Alternate gx_outputlevel definion for ladspa stereo plugin
declare groups ".amp[Default]"; import("stdfaust.lib"); import("guitarix.lib"); gain = (slider1 + slider2) : ba.db2linear : smoothi(0.999) with { slider1 = vslider(".amp.out_master[name:Level]", 0, -50, 4, 0.1); slider2 = vslider(".amp.out_master_ladspa[name:Ladspa Level]", 0, -20, 20, 0.1); }; process = *(...