_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
b23d504e48c8971f7eeb75e75cbf9919b48ca6d425c6b83d14abed86848781b8
amstramgrame/amstramgrame
exfaust0.dsp
import("stdfaust.lib"); process = os.osc(440);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/hello-world/exfaust0/exfaust0.dsp
faust
import("stdfaust.lib"); process = os.osc(440);
2d0faf189f6117a8ad01a402c142f2549aea795f5b445969c1423e1237f61653
amstramgrame/amstramgrame
exfaust0.dsp
import("stdfaust.lib"); freq = 440; process = os.sawtooth(freq);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/gramophone/programming/exfaust0/exfaust0.dsp
faust
import("stdfaust.lib"); freq = 440; process = os.sawtooth(freq);
a04e8100ef970dfee778808b888b9b2e9689e33c04977d4f0a0965c3d136187d
amstramgrame/amstramgrame
exfaust1.dsp
import("stdfaust.lib"); process = os.osc(440)*button("on-off");
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/hello-world/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); process = os.osc(440)*button("on-off");
a2211a952fcca9dfc909c638d069bd6bd88c4ad6447d66dee172efc1d652f667
amstramgrame/amstramgrame
exfaust2.dsp
import("stdfaust.lib"); on = button("on-off"); process = os.osc(440)*on;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/hello-world/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); on = button("on-off"); process = os.osc(440)*on;
cfc0ef5c8a476781cb2f4fd3c622e574fede2f30f5b8ff64d48d2562dda29bfb
amstramgrame/amstramgrame
exfaust1.dsp
import("stdfaust.lib"); freq = hslider("frequence",440,20,3000,1); process = os.osc(freq);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/hello-world-gramo/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); freq = hslider("frequence",440,20,3000,1); process = os.osc(freq);
5409073f7034410b50c19d50d56053aa6248f0413f65566fb1227a1a190f25ce
amstramgrame/amstramgrame
exfaust3.dsp
import("stdfaust.lib"); on = button("on-off"); process = os.osc(hslider("frequence",440,20,3000,1))*on;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/hello-world/exfaust3/exfaust3.dsp
faust
import("stdfaust.lib"); on = button("on-off"); process = os.osc(hslider("frequence",440,20,3000,1))*on;
5876c860d6f7d65007f9c1e9673682c45815a78680f77cca19d658788c447950
amstramgrame/amstramgrame
exfaust4.dsp
import("stdfaust.lib"); on = button("on-off"); freq = hslider("frequence",440,20,3000,1); process = os.osc(freq)*on;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/hello-world/exfaust4/exfaust4.dsp
faust
import("stdfaust.lib"); on = button("on-off"); freq = hslider("frequence",440,20,3000,1); process = os.osc(freq)*on;
f937d59ed83561c528186baf3acd180f3080b60982f744ddaa13f1428fa94cb6
amstramgrame/amstramgrame
exfaust1.dsp
import("stdfaust.lib"); impFreq = hslider("impFreq",11,2,20,0.01) : si.smoo; process = os.lf_imptrain(impFreq);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/examples/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); impFreq = hslider("impFreq",11,2,20,0.01) : si.smoo; process = os.lf_imptrain(impFreq);
deca68442c5046366d5280f482b1335871fd6aec8b049914a822ad4e8f2552fe
amstramgrame/amstramgrame
exfaust3.dsp
import("stdfaust.lib"); on = button("on-off[switch:1]"); freq = hslider("frequence[knob:3]",440,20,3000,1); process = os.osc(freq)*on;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/hello-world-gramo/exfaust3/exfaust3.dsp
faust
import("stdfaust.lib"); on = button("on-off[switch:1]"); freq = hslider("frequence[knob:3]",440,20,3000,1); process = os.osc(freq)*on;
1d993a600c6fa69566e16d3e4ae4d3d686b442b8e0cdf6290334b2287499b206
amstramgrame/amstramgrame
exfaust2.dsp
import("stdfaust.lib"); on = button("on-off[switch:1]"); freq = hslider("frequence[knob:2]",440,20,3000,1); process = os.osc(freq)*on;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/hello-world-gramo/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); on = button("on-off[switch:1]"); freq = hslider("frequence[knob:2]",440,20,3000,1); process = os.osc(freq)*on;
afa1b7adf28a37ef564966a0e94542d21ef2d609984eb619803650a06f7a05f5
amstramgrame/amstramgrame
exfaust17.dsp
import("stdfaust.lib"); // parameters freq = hslider("freq[knob:3]",300,100,4000,0.01) : si.smoo; gate = button("gate[switch:1]") : si.smoo; // DSP process = os.osc(freq)*gate;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/web/mkdocs/docs/gramophone/programs/exfaust17/exfaust17.dsp
faust
parameters DSP
import("stdfaust.lib"); freq = hslider("freq[knob:3]",300,100,4000,0.01) : si.smoo; gate = button("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
a7bde250789a3984ba51f5f7a6f128fa340f10dfe3010ffa9df30c72b11584ff
amstramgrame/amstramgrame
exfaust0.dsp
import("stdfaust.lib"); freq = hslider("freq[acc: 0 0 -10 0 10]",1050,100,2000,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/gesture/exfaust0/exfaust0.dsp
faust
import("stdfaust.lib"); freq = hslider("freq[acc: 0 0 -10 0 10]",1050,100,2000,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
b8b3b98d1d78453971a67facc925bcf1509b54b018f78f4dad8a181a2616ddc5
amstramgrame/amstramgrame
exfaust2.dsp
import("stdfaust.lib"); freq = hslider("freq[acc: 0 1 -10 0 10]",200,100,2000,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/gesture/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); freq = hslider("freq[acc: 0 1 -10 0 10]",200,100,2000,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
41895899cde63cd3f374c2ae3f32ac8850ebcf7df6d393c9a673c371209eb9de
amstramgrame/amstramgrame
exfaust1.dsp
import("stdfaust.lib"); freq = hslider("freq[acc: 0 1 -10 0 10]",1050,100,2000,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/gesture/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); freq = hslider("freq[acc: 0 1 -10 0 10]",1050,100,2000,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gate;
e438cf5099ce425096f93ba24b06d5e819d57cedf7d857152dbd88fe453f131e
amstramgrame/amstramgrame
exfaust3.dsp
import("stdfaust.lib"); freq = hslider("freq[acc: 0 0 -10 0 10]",200,100,2000,0.01) : si.smoo; gain = hslider("gain[acc: 1 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gain*gate;
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/gesture/exfaust3/exfaust3.dsp
faust
import("stdfaust.lib"); freq = hslider("freq[acc: 0 0 -10 0 10]",200,100,2000,0.01) : si.smoo; gain = hslider("gain[acc: 1 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; gate = checkbox("gate[switch:1]") : si.smoo; process = os.osc(freq)*gain*gate;
11149682001b8240eb32117f7da2d5afcd3cdfb4854576d637013308da75bbe3
amstramgrame/amstramgrame
exfaust19.dsp
import("stdfaust.lib"); // parameters gate = button("gate[switch:1]"); gain = hslider("gain[acc: 0 1 -10 0 10]",0.5,0,1,0.01)^2; del = hslider("del[acc: 1 0 -10 0 10]",525,50,1000,1) : si.smoo; fb = hslider("fb[knob:2]",0.7,0.5,1,0.001); process = no.noise*gate*gain : fi.fb_fcomb(1024,del,1,fb);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust19/exfaust19.dsp
faust
parameters
import("stdfaust.lib"); gate = button("gate[switch:1]"); gain = hslider("gain[acc: 0 1 -10 0 10]",0.5,0,1,0.01)^2; del = hslider("del[acc: 1 0 -10 0 10]",525,50,1000,1) : si.smoo; fb = hslider("fb[knob:2]",0.7,0.5,1,0.001); process = no.noise*gate*gain : fi.fb_fcomb(1024,del,1,fb);
f87e65e3654358851bbb2c94913b2e036661d5f38710107268c1dad8d86913d3
amstramgrame/amstramgrame
exfaust2.dsp
import("stdfaust.lib"); impFreq = hslider("impFreq",11,2,20,0.01) : si.smoo; resFreq = hslider("resFreq",1650,300,3000,0.01) : si.smoo; q = hslider("q[knob:3]",30,10,50,0.01) : si.smoo; process = os.lf_imptrain(impFreq) : fi.resonlp(resFreq,q,1);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/examples/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); impFreq = hslider("impFreq",11,2,20,0.01) : si.smoo; resFreq = hslider("resFreq",1650,300,3000,0.01) : si.smoo; q = hslider("q[knob:3]",30,10,50,0.01) : si.smoo; process = os.lf_imptrain(impFreq) : fi.resonlp(resFreq,q,1);
ce9ed66bfadbc240b0a70eee564e0ff5333d3a04c8b046dc0bc0231470e6f0a1
amstramgrame/amstramgrame
exfaust3.dsp
import("stdfaust.lib"); gate = button("gate[switch:1]") : si.smoo; freqOsc = hslider("freqOsc[knob:2]",196,98,784,0.01) : si.smoo; posPied = hslider("posPied[acc: 0 0 -10 0 10 ]",0.5,0,1,0.01) : si.smoo; process = os.lf_saw(freqOsc) * gate : ve.crybaby(posPied);
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/allier20/exfaust3/exfaust3.dsp
faust
import("stdfaust.lib"); gate = button("gate[switch:1]") : si.smoo; freqOsc = hslider("freqOsc[knob:2]",196,98,784,0.01) : si.smoo; posPied = hslider("posPied[acc: 0 0 -10 0 10 ]",0.5,0,1,0.01) : si.smoo; process = os.lf_saw(freqOsc) * gate : ve.crybaby(posPied);
2ca6b5785a25562058805c72af4419cd70d1ceb0bc682a825e367a9458f8f5a0
amstramgrame/amstramgrame
exfaust0.dsp
import("stdfaust.lib"); gain = hslider ("[2]volume", 0.5, 0.0, 1.0, 0.001); wah = hslider ("[1]wah[acc: 0 2 -10 0 10]", 0.5, 0, 1, 0.01); gate = button("gate[switch:1]"); freq = ba.midikey2hz (hslider ("[0]freq[knob:2]", 23, 23, 26, 1)); timbre(freq) = (os.osc (freq) + 0.5 *os.square(2*freq) + 0.25*os.triangle (3*fr...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/paysage-sonore/exfaust0/exfaust0.dsp
faust
import("stdfaust.lib"); gain = hslider ("[2]volume", 0.5, 0.0, 1.0, 0.001); wah = hslider ("[1]wah[acc: 0 2 -10 0 10]", 0.5, 0, 1, 0.01); gate = button("gate[switch:1]"); freq = ba.midikey2hz (hslider ("[0]freq[knob:2]", 23, 23, 26, 1)); timbre(freq) = (os.osc (freq) + 0.5 *os.square(2*freq) + 0.25*os.triangle (3*fr...
d1df7b86639b01a3cdb9df16f7780951a59d34074a5b7deda4f1d13d5eb73b6a
amstramgrame/amstramgrame
clarinet.dsp
import("stdfaust.lib"); // parameters gate = button("gate[switch:1]"); p = hslider("p[acc: 0 1 -10 0 10]",0.5,0,1,0.01); reed = hslider("reed[knob:3]",0.5,0,1,0.01) : si.smoo; bell = hslider("bell[acc: 2 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; tube = hslider("note[knob:2]",60,40,70,3) : ba.midikey2hz : pm.f2l; // addit...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/examples/clarinet.dsp
faust
parameters additional mappings
import("stdfaust.lib"); gate = button("gate[switch:1]"); p = hslider("p[acc: 0 1 -10 0 10]",0.5,0,1,0.01); reed = hslider("reed[knob:3]",0.5,0,1,0.01) : si.smoo; bell = hslider("bell[acc: 2 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; tube = hslider("note[knob:2]",60,40,70,3) : ba.midikey2hz : pm.f2l; pres = gate*p; proces...
ca9cd6fe1925f89e01f7f2380a995b6bd0fb9ec89aed7a48f3cdf6c6d0c2398c
amstramgrame/amstramgrame
exfaust22.dsp
import("stdfaust.lib"); // parameters gate = checkbox("gate[switch:1]"); stringLength = hslider("stringLength[knob:2]",1.5,0.5,3,0.01); bowVelocity = hslider("p[acc: 0 1 -10 0 10]",0.1,0,1,0.01)*gate; bowPressure = hslider("lips[gyr: 0 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; bowPosition = hslider("dist[acc: 1 0 -10 0 1...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust22/exfaust22.dsp
faust
parameters
import("stdfaust.lib"); gate = checkbox("gate[switch:1]"); stringLength = hslider("stringLength[knob:2]",1.5,0.5,3,0.01); bowVelocity = hslider("p[acc: 0 1 -10 0 10]",0.1,0,1,0.01)*gate; bowPressure = hslider("lips[gyr: 0 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; bowPosition = hslider("dist[acc: 1 0 -10 0 10]",0.5,0,1,0....
c455a4752d8be6c92d4b301ea4cd6b5edf0772f35455c1a2b18f42966b20bb31
amstramgrame/amstramgrame
exfaust0.dsp
import("stdfaust.lib"); gate = button("gate[switch:1]"); freqm = hslider("freqm[acc: 1 0 -10 0 10]",500,100,2000,1); modem = hslider("modem[knob:2]",1,0,4,1); tempo = 480; envtrig = ba.beat(tempo) * gate; del = hslider("del[acc: 0 1 -10 0 10]",0,0,0.1,0.01) : si.smoo; //fb = hslider("fb[knob:3]",0.5,0,0.8,0.01) : si.s...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust0/exfaust0.dsp
faust
fb = hslider("fb[knob:3]",0.5,0,0.8,0.01) : si.smoo;
import("stdfaust.lib"); gate = button("gate[switch:1]"); freqm = hslider("freqm[acc: 1 0 -10 0 10]",500,100,2000,1); modem = hslider("modem[knob:2]",1,0,4,1); tempo = 480; envtrig = ba.beat(tempo) * gate; del = hslider("del[acc: 0 1 -10 0 10]",0,0,0.1,0.01) : si.smoo; process = pm.strike(1,0.8,1,envtrig) : pm.marimba...
b4701401ddbc2607f67676f145af1d9788a14f56047d99ec039ef4d560b8d207
amstramgrame/amstramgrame
exfaust7.dsp
import("stdfaust.lib"); gate = button("gate[switch:1]") : si.smoo; longueur_Debut = hslider("longueur_Debut[knob:2]",2,0,5,0.01) : si.smoo; longueur_Fin = hslider("longueur_Fin[knob:2]",2,0,5,0.01) : si.smoo; freqFilt = hslider("freqFilt[acc: 0 0 -10 0 10 ]",300,100,1000,0.1) : si.smoo; process = no.noise * en.ar...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust7/exfaust7.dsp
faust
import("stdfaust.lib"); gate = button("gate[switch:1]") : si.smoo; longueur_Debut = hslider("longueur_Debut[knob:2]",2,0,5,0.01) : si.smoo; longueur_Fin = hslider("longueur_Fin[knob:2]",2,0,5,0.01) : si.smoo; freqFilt = hslider("freqFilt[acc: 0 0 -10 0 10 ]",300,100,1000,0.1) : si.smoo; process = no.noise * en.ar...
7d10e46327cbd766cdd5cf186b87366e6be36f437cfd731a528e16ae77902d41
amstramgrame/amstramgrame
exfaust21.dsp
import("stdfaust.lib"); // parameters gate = checkbox("gate[switch:1]"); p = hslider("p[acc: 0 1 -10 0 10]",0.5,0,1,0.01) : si.smoo; lips = hslider("lips[acc: 2 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; tube = hslider("note[acc: 1 0 -10 0 10]",60,40,70,3) : ba.midikey2hz : pm.f2l; dist = hslider("dist[knob:2]",0,0,1,0.01...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust21/exfaust21.dsp
faust
parameters mappings
import("stdfaust.lib"); gate = checkbox("gate[switch:1]"); p = hslider("p[acc: 0 1 -10 0 10]",0.5,0,1,0.01) : si.smoo; lips = hslider("lips[acc: 2 0 -10 0 10]",0.5,0,1,0.01) : si.smoo; tube = hslider("note[acc: 1 0 -10 0 10]",60,40,70,3) : ba.midikey2hz : pm.f2l; dist = hslider("dist[knob:2]",0,0,1,0.01) : si.smoo; ...
5b0e60e1180a8e7cc1bafca9f58d13f1f6dbf2c0245aa832201378933ac9b2ed
amstramgrame/amstramgrame
exfaust1.dsp
import("stdfaust.lib"); process = bong,bang :> _; bong = os.square(boEnv*150+no.noise*100*boEnv)*boEnv:fi.lowpass3e(100+800*boEnv); boEnv = button("bong[switch:1]"):ba.impulsify:en.ar(0.01,0.4); bang = no.noise:fi.bandpass(2,1000,3000)*baEnv:ef.echo(0.2,0.2,0.2)*2; baEnv = (hslider("bang[acc:1 0 -10 0 10]",4,0,10,1...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); process = bong,bang :> _; bong = os.square(boEnv*150+no.noise*100*boEnv)*boEnv:fi.lowpass3e(100+800*boEnv); boEnv = button("bong[switch:1]"):ba.impulsify:en.ar(0.01,0.4); bang = no.noise:fi.bandpass(2,1000,3000)*baEnv:ef.echo(0.2,0.2,0.2)*2; baEnv = (hslider("bang[acc:1 0 -10 0 10]",4,0,10,1...
c3f453df283e36737d53c0168d93a3e84f15605a4dd1bc641e521d1f520d7450
amstramgrame/amstramgrame
exfaust1.dsp
import("stdfaust.lib"); gate = checkbox ("[2]ON / OFF"); gain = vslider("Volume", 0.8, 0, 1, 0.001) : si.smoo; freq = ba.midikey2hz (vslider ("[1]Freq_Note (LA, SIb, SI, DO)", 23, 23, 26, 1)); wah = vslider ("Wah[acc: 0 3 -10 0 10]", 0.5, 0, 1, 0.001) : si.smoo; timbre(freq) = (os.osc (freq) + 0.5 *os.osc (2*freq) + ...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/paysage-sonore/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); gate = checkbox ("[2]ON / OFF"); gain = vslider("Volume", 0.8, 0, 1, 0.001) : si.smoo; freq = ba.midikey2hz (vslider ("[1]Freq_Note (LA, SIb, SI, DO)", 23, 23, 26, 1)); wah = vslider ("Wah[acc: 0 3 -10 0 10]", 0.5, 0, 1, 0.001) : si.smoo; timbre(freq) = (os.osc (freq) + 0.5 *os.osc (2*freq) + ...
7b0427a047f4fe2a843bdf766ef2d585435965e29684770886cf2e53e1e363f7
amstramgrame/amstramgrame
exfaust18.dsp
import("stdfaust.lib"); // parameters gate = button("gate[switch:1]"); pressure = hslider("pressure[acc: 0 1 -10 0 10]",0.5,0,1,0.01); reed = hslider("reed[knob:3]",0.5,0,1,0.01) : si.smooth(0.99); bell = hslider("bell[acc: 2 0 -10 0 10]",0.5,0,1,0.01) : si.smooth(0.99); tube = hslider("note[knob:2]",60,40,70,3) : ba...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/web/mkdocs/docs/gramophone/programs/exfaust18/exfaust18.dsp
faust
parameters additional mappings
import("stdfaust.lib"); gate = button("gate[switch:1]"); pressure = hslider("pressure[acc: 0 1 -10 0 10]",0.5,0,1,0.01); reed = hslider("reed[knob:3]",0.5,0,1,0.01) : si.smooth(0.99); bell = hslider("bell[acc: 2 0 -10 0 10]",0.5,0,1,0.01) : si.smooth(0.99); tube = hslider("note[knob:2]",60,40,70,3) : ba.midikey2hz : ...
fafee5e68b977c062ee13f3c5a0da0e15ef6d40185f89b01b0e4b59d68debdf0
amstramgrame/amstramgrame
exfaust6.dsp
import("stdfaust.lib"); random (n,m) = (1 + no.noise)/2 * (m-n) + n : int; gain = hslider ("v:crépitements/volume", 1, 0.1, 1, 0.01); gate = checkbox ("gate[switch:1]"); echo = +~ (@(delLenght-1) : *(feedback)) with { duration = 400 * 0.001; feedback = 0.15; delLenght = ma.SR * duration; }; crepit = ba...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/paysage-sonore/exfaust6/exfaust6.dsp
faust
import("stdfaust.lib"); random (n,m) = (1 + no.noise)/2 * (m-n) + n : int; gain = hslider ("v:crépitements/volume", 1, 0.1, 1, 0.01); gate = checkbox ("gate[switch:1]"); echo = +~ (@(delLenght-1) : *(feedback)) with { duration = 400 * 0.001; feedback = 0.15; delLenght = ma.SR * duration; }; crepit = ba...
0d79fe7ea3f408250a90919518d9eec1156049c29501e75d07c2d6bdb2da8c9f
amstramgrame/amstramgrame
exfaust2.dsp
import("stdfaust.lib"); subSynth (ctFreq) = no.pink_noise : fi.lowpass(1, ctfreq1); ctfreq1 = hslider("cutoff_freq vagues[knob:2]",5500,30,15000,0.01) : si.smoo; gain = hslider("volume[knob:1]",1,0,1,0.01); shake_x = hslider("X rotation[acc: 0 1 -10 0 10]", 0, -100, 100, 0.01); declenche = _ : abs > 75; gate = shake_x...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/paysage-sonore/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); subSynth (ctFreq) = no.pink_noise : fi.lowpass(1, ctfreq1); ctfreq1 = hslider("cutoff_freq vagues[knob:2]",5500,30,15000,0.01) : si.smoo; gain = hslider("volume[knob:1]",1,0,1,0.01); shake_x = hslider("X rotation[acc: 0 1 -10 0 10]", 0, -100, 100, 0.01); declenche = _ : abs > 75; gate = shake_x...
58f4a74fce6342e6773aecff244119ffc13ebf80d4b07bda99cd15e1210af06e
amstramgrame/amstramgrame
exfaust6.dsp
import("stdfaust.lib"); process = sy.fm(frqs(note1:gamme),indices)*lfo,sy.fm(frqs(note2:gamme),indices)*(1-lfo) :> _*onOff; frqs(f) = (f,3*f,5*f); indices = (120,500); note1 = hslider("freq1[acc:0 0 -10 0 10]",150,100,200,1); note2 = hslider("freq2[acc:1 0 -10 0 10]",200,150,300,1); onOff = button("on-off[switch:1...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust6/exfaust6.dsp
faust
import("stdfaust.lib"); process = sy.fm(frqs(note1:gamme),indices)*lfo,sy.fm(frqs(note2:gamme),indices)*(1-lfo) :> _*onOff; frqs(f) = (f,3*f,5*f); indices = (120,500); note1 = hslider("freq1[acc:0 0 -10 0 10]",150,100,200,1); note2 = hslider("freq2[acc:1 0 -10 0 10]",200,150,300,1); onOff = button("on-off[switch:1...
47e341e171bbeba4288ec5043ce6baf0f155a65702ea1c6aaf4f102eb7b3705e
amstramgrame/amstramgrame
exfaust20.dsp
import("stdfaust.lib"); // parameters gate = checkbox("gate[switch:1]") : si.smoo; freq0 = hslider("freq0[knob:2]",200,50,500,0.01) : si.smoo; ratio1 = hslider("ratio1[acc: 0 1 -10 0 10]",1.5,1,2,0.01) : si.smoo; ratio2 = hslider("ratio2[acc: 1 0 -10 0 10]",1.5,1,2,0.01) : si.smoo; index1 = hslider("index1[acc: 1 1 -...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust20/exfaust20.dsp
faust
parameters mappings
import("stdfaust.lib"); gate = checkbox("gate[switch:1]") : si.smoo; freq0 = hslider("freq0[knob:2]",200,50,500,0.01) : si.smoo; ratio1 = hslider("ratio1[acc: 0 1 -10 0 10]",1.5,1,2,0.01) : si.smoo; ratio2 = hslider("ratio2[acc: 1 0 -10 0 10]",1.5,1,2,0.01) : si.smoo; index1 = hslider("index1[acc: 1 1 -10 0 10]",500,...
fe6c442489e6a14d6cfb60b4f043a535ec10e20f5d09b7abdacc54efa8ab7304
amstramgrame/amstramgrame
exfaust5.dsp
import("stdfaust.lib"); process = os.sawtooth(freq:gamme:si.smooth(0.999)) : fi.lowpass3e(1000*env+10)*env:ef.echo(0.2,0.2,fdbk); gamme = _ : ba.hz2midikey : int <: // cette fonction sert à jouer les notes de la gamme int(_/12)*12,(_%12<:_+(_==0)+(_==3)+(_==5)-(_==10)) : + : ba.midikey2hz; freq = hslider("freq[ac...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/allier20/exfaust5/exfaust5.dsp
faust
cette fonction sert à jouer les notes de la gamme le smooth supprime les 'pop' quand on appuie sur le boutton.
import("stdfaust.lib"); process = os.sawtooth(freq:gamme:si.smooth(0.999)) : fi.lowpass3e(1000*env+10)*env:ef.echo(0.2,0.2,fdbk); int(_/12)*12,(_%12<:_+(_==0)+(_==3)+(_==5)-(_==10)) : + : ba.midikey2hz; freq = hslider("freq[acc:0 0 -10 0 10]",400,200,800,1); fdbk = hslider("feedback[knob:2]",0,0,0.9,0.01); env = b...
50b86fec51d583b4da4e221612ca856abaf8b2ac19605a4594d621416dc5344d
amstramgrame/amstramgrame
exfaust4.dsp
import ("stdfaust.lib"); gain = hslider ("Volume", 0.8, 0, 1, 0.001) : si.smoo; gate = checkbox ("On / Off[switch:1]"); basse = ba.beat (bpm_basse) : pm.djembe(75, 0.2, 0.3, 1); tone = ba.beat (bpm_tone) : pm.djembe(300, 0.7, 0.3, 0.7); slap = ba.beat (bpm_slap) : pm.djembe(550, 0.9, 0.3, 0.4); s = hslider ("Sel[knob:...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/paysage-sonore/exfaust4/exfaust4.dsp
faust
import ("stdfaust.lib"); gain = hslider ("Volume", 0.8, 0, 1, 0.001) : si.smoo; gate = checkbox ("On / Off[switch:1]"); basse = ba.beat (bpm_basse) : pm.djembe(75, 0.2, 0.3, 1); tone = ba.beat (bpm_tone) : pm.djembe(300, 0.7, 0.3, 0.7); slap = ba.beat (bpm_slap) : pm.djembe(550, 0.9, 0.3, 0.4); s = hslider ("Sel[knob:...
cf1b406792a60be80e662ae6e3cbe5891d9fc2691e6df9b0869e214a7985e7dc
amstramgrame/amstramgrame
exfaust7.dsp
import("stdfaust.lib"); random (n,m) = (1 + no.noise)/2 * (m-n) + n : int; gain = hslider ("v:Crépitements/volume", 0.9, 0.1, 1, 0.01); gate = checkbox ("ON / OFF"); echo = +~ (@(delLenght-1) : *(feedback)) with { duration = 400 * 0.001; feedback = 0.15; delLenght = ma.SR * duration; }; crepit = ba.bea...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/paysage-sonore/exfaust7/exfaust7.dsp
faust
import("stdfaust.lib"); random (n,m) = (1 + no.noise)/2 * (m-n) + n : int; gain = hslider ("v:Crépitements/volume", 0.9, 0.1, 1, 0.01); gate = checkbox ("ON / OFF"); echo = +~ (@(delLenght-1) : *(feedback)) with { duration = 400 * 0.001; feedback = 0.15; delLenght = ma.SR * duration; }; crepit = ba.bea...
22d318a1aa4ce273bbb75bf5e9c86bf351a7b17c37f449d9404eba066396ba74
amstramgrame/amstramgrame
exfaust11.dsp
import("stdfaust.lib"); // enveloppe env = button("gate[switch:1]"):en.adsr(1,0.1,0.6,1):si.smooth(0.9); // Synth freq_synth = hslider("freq_synth[acc: 0 0 -10 0 10]",360,60,1200,1); synth = os.osc(freq_synth) : ef.echo(0.2,0.2,0.3); // Reverb roomsize = hslider("Room Size[knob:2]", 0.5, 0, 1, 0.05); reverb = _<:...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust11/exfaust11.dsp
faust
enveloppe Synth Reverb DSP
import("stdfaust.lib"); env = button("gate[switch:1]"):en.adsr(1,0.1,0.6,1):si.smooth(0.9); freq_synth = hslider("freq_synth[acc: 0 0 -10 0 10]",360,60,1200,1); synth = os.osc(freq_synth) : ef.echo(0.2,0.2,0.3); roomsize = hslider("Room Size[knob:2]", 0.5, 0, 1, 0.05); reverb = _<: (*(g)*fixedgain : re.mono_freev...
4fa9381bae4324a19aec002b0ef1191bf80ebd53c34884d2fafb5a46e2830409
amstramgrame/amstramgrame
exfaust2.dsp
import("stdfaust.lib"); process = par(i,4,os.osc(noteSelector(selAccord,i))+os.osc(noteSelector(selAccord,i)*2 : si.smooth(0.999))) :> _/5 : _*0.1 : effet*onOff; noteSelector(accord,note) = 54,57,61,68, 52,54,59,62, 52,55,62,64 : ba.selectn(12,int(accord*4)+int(note)):ba.midikey2hz; selAccord = hslid...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); process = par(i,4,os.osc(noteSelector(selAccord,i))+os.osc(noteSelector(selAccord,i)*2 : si.smooth(0.999))) :> _/5 : _*0.1 : effet*onOff; noteSelector(accord,note) = 54,57,61,68, 52,54,59,62, 52,55,62,64 : ba.selectn(12,int(accord*4)+int(note)):ba.midikey2hz; selAccord = hslid...
c59727941261cbf61f52a1e3fbef3763561c937f77214b29077b9848ad5b5e32
amstramgrame/amstramgrame
exfaust16.dsp
import("stdfaust.lib"); // parameters impFreq = hslider("impFreq[acc: 1 0 -10 0 10]",11,2,20,0.01) : si.smoo; resFreq = hslider("resFreq[acc: 0 1 -10 0 10]",1650,300,3000,0.01) : si.smoo; distDrive = hslider("distDrive[knob:2]",0,0,1,0.01) : si.smoo; q = hslider("q[knob:3]",30,10,50,0.01) : si.smoo; del = hslider("de...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust16/exfaust16.dsp
faust
parameters DSP
import("stdfaust.lib"); impFreq = hslider("impFreq[acc: 1 0 -10 0 10]",11,2,20,0.01) : si.smoo; resFreq = hslider("resFreq[acc: 0 1 -10 0 10]",1650,300,3000,0.01) : si.smoo; distDrive = hslider("distDrive[knob:2]",0,0,1,0.01) : si.smoo; q = hslider("q[knob:3]",30,10,50,0.01) : si.smoo; del = hslider("del[acc: 0 1 -10...
f39079d430e58af1e9d377dea5cdb06d3c893136dbc1d10b1a724f9adfb5c4c6
amstramgrame/amstramgrame
exfaust13.dsp
import("stdfaust.lib"); // Bouton On/Off gate = button("drop[switch:1]"); // Freq Bulle freq_bulle = hslider("freq_bulle[acc: 0 0 -10 0 10]",600,150,3000,1); // Feedback Echo fdb_echo = hslider("fdb_echo[knob:2]",0.5,0,0.9,0.01) : si.smoo; // Longueur Delay del_echo = hslider("del_echo[acc: 1 0 -10 0 10]",0.25,0.1...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust13/exfaust13.dsp
faust
Bouton On/Off Freq Bulle Feedback Echo Longueur Delay Bulle DSP
import("stdfaust.lib"); gate = button("drop[switch:1]"); freq_bulle = hslider("freq_bulle[acc: 0 0 -10 0 10]",600,150,3000,1); fdb_echo = hslider("fdb_echo[knob:2]",0.5,0,0.9,0.01) : si.smoo; del_echo = hslider("del_echo[acc: 1 0 -10 0 10]",0.25,0.1,0.4,0.01) : si.smoo; bubble(f0,trig) = os.osc(f) * (exp(-damp*ti...
3a84fc4df8c5e4a8c6c95f94ef995ce4a8dd19086f22cf8639fb906cf0a71022
amstramgrame/amstramgrame
tictac.dsp
// Gramophone program "TicTac" import("stdfaust.lib"); // parameters impFreq = hslider("impFreq[acc: 1 0 -10 0 10]",11,2,20,0.01) : si.smoo; resFreq = hslider("resFreq[acc: 0 1 -10 0 10]",1650,300,3000,0.01) : si.smoo; distDrive = hslider("distDrive[knob:2]",0,0,1,0.01) : si.smoo; q = hslider("q[knob:3]",30,10,50,0.0...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/examples/tictac.dsp
faust
Gramophone program "TicTac" parameters DSP
import("stdfaust.lib"); impFreq = hslider("impFreq[acc: 1 0 -10 0 10]",11,2,20,0.01) : si.smoo; resFreq = hslider("resFreq[acc: 0 1 -10 0 10]",1650,300,3000,0.01) : si.smoo; distDrive = hslider("distDrive[knob:2]",0,0,1,0.01) : si.smoo; q = hslider("q[knob:3]",30,10,50,0.01) : si.smoo; del = hslider("del[acc: 0 1 -10...
d3bce01e613a2328865f7aae2ed143e64ed08c3e5398442dfe8cf5ac652c9753
amstramgrame/amstramgrame
exfaust3.dsp
import("stdfaust.lib"); subSynth (ctfreq1) = no.pink_noise : fi.lowpass(1, ctfreq1); gain = hslider("v: [1]VAGUES/[1]volume",1,0,1,0.001) : si.smoo; ctfreq1 = hslider("v: [1]VAGUES/[2]cutoff",2000,100,15000,0.001) : si.smoo; rel = hslider ("v: [1]VAGUES/[3]longueur_vague", 3.5, 2.0, 5.0, 0.001) : si.smoo; envelope =...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/paysage-sonore/exfaust3/exfaust3.dsp
faust
import("stdfaust.lib"); subSynth (ctfreq1) = no.pink_noise : fi.lowpass(1, ctfreq1); gain = hslider("v: [1]VAGUES/[1]volume",1,0,1,0.001) : si.smoo; ctfreq1 = hslider("v: [1]VAGUES/[2]cutoff",2000,100,15000,0.001) : si.smoo; rel = hslider ("v: [1]VAGUES/[3]longueur_vague", 3.5, 2.0, 5.0, 0.001) : si.smoo; envelope =...
081b0a563e32a28372acf724c0b2c5143c0d2ea520aab9d8cb13981e81c1af82
amstramgrame/amstramgrame
exfaust5.dsp
import ("stdfaust.lib"); basse = vgroup ("[0]Basse", ba.beat (bpm_basse) : pm.djembe (75, 0.2, 0.8, gain_basse) * checkbox ("[1]Play_basse")); gain_basse = hslider ("[0]Volume_basse", 0.9, 0.0, 1.0, 0.01); tone = vgroup ("[1]Tone", ba.beat (bpm_tone) : pm.djembe (300, 0.4, 0.45, gain_tone) * checkbox("[1]Play_tone"))...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/web/mkdocs/docs/scenari/paysage-sonore/exfaust5/exfaust5.dsp
faust
import ("stdfaust.lib"); basse = vgroup ("[0]Basse", ba.beat (bpm_basse) : pm.djembe (75, 0.2, 0.8, gain_basse) * checkbox ("[1]Play_basse")); gain_basse = hslider ("[0]Volume_basse", 0.9, 0.0, 1.0, 0.01); tone = vgroup ("[1]Tone", ba.beat (bpm_tone) : pm.djembe (300, 0.4, 0.45, gain_tone) * checkbox("[1]Play_tone"))...
40aca98be02249865eb46a4c5989637a72e98dd0b79d56b4487839500c13ba71
amstramgrame/amstramgrame
exfaust14.dsp
import("stdfaust.lib"); // Bouton On/Off gate = checkbox("gate[switch:1]"); //Synth freq_synth = 60; synth = os.sawtooth(freq_synth+vibrato); //Distortion drive = hslider("drive[acc: 1 3 -10 0 10]",0,0,1,0.01) : si.smoo; distortion = ef.cubicnl(drive,0); //Filtre modulant 1 lfo1 = (os.sawtooth(2)+1)/2; freq_filt1...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/web/mkdocs/docs/gramophone/programs/exfaust14/exfaust14.dsp
faust
Bouton On/Off Synth Distortion Filtre modulant 1 Filtre modulant 2 vitesse du vibrato amplitude du vibrato la fonction vibrato DSP
import("stdfaust.lib"); gate = checkbox("gate[switch:1]"); freq_synth = 60; synth = os.sawtooth(freq_synth+vibrato); drive = hslider("drive[acc: 1 3 -10 0 10]",0,0,1,0.01) : si.smoo; distortion = ef.cubicnl(drive,0); lfo1 = (os.sawtooth(2)+1)/2; freq_filt1 = hslider("freq_filt[knob:2]",500,60,2000,1); filtre1 = f...
360537c00e9c22d25873a72c4cf71b6e718cb7ad9cf53b7eaaa537318c7e352c
amstramgrame/amstramgrame
exfaust15.dsp
import ("stdfaust.lib"); // Bouton On/Off gate = checkbox("gate[switch:1]"); // Impulsion de bruit randomer(rP) = rP:en.ar(0.001,0.001)*no.noise:fi.resonbp(rng+300,7,2); rng = no.noise:ba.latch(rPulse(no.noise)>0)*100+200; rPulse(noi) = ba.pulse((noi:ba.latch(ba.pulse(11025))*15000+30000)*rate); // Densite de la pl...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/web/mkdocs/docs/gramophone/programs/exfaust15/exfaust15.dsp
faust
Bouton On/Off Impulsion de bruit Densite de la pluie Reverbe Controle filtre en peigne DSP
import ("stdfaust.lib"); gate = checkbox("gate[switch:1]"); randomer(rP) = rP:en.ar(0.001,0.001)*no.noise:fi.resonbp(rng+300,7,2); rng = no.noise:ba.latch(rPulse(no.noise)>0)*100+200; rPulse(noi) = ba.pulse((noi:ba.latch(ba.pulse(11025))*15000+30000)*rate); rate = hslider("rate[acc:0 2 -10 0 10]",5,0.1,10,0.01); ...
87cdd15b98815739ef337c4ac70284eda1159ff0d7e710364c2118bfdf19b7f7
amstramgrame/amstramgrame
exfaust12.dsp
import("stdfaust.lib"); process = beat:>ef.cubicnl(0.1,0) : bitReducer(bits) : fi.fb_fcomb(1024,del,1,fb) * 0.8 : phaser(1,depth):reverb; gate = checkbox("gate[switch:1]"); kickVol = 1; env = rPulse * 1:en.ar(0.01,0.15); rPulse = ba.pulse((no.noise:ba.latch(ba.pulse(11025))*15000+30000)*rate); // Densite de la pl...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust12/exfaust12.dsp
faust
Densite de la pluie rate = hslider("rate[acc:0 2 -10 0 10]",10, 2,15,0.01); period = hslider("period[knob:2]",0.4,0.1,1,0.01) : ba.sec2samp; fb = hslider("fb[acc: 0 1 -10 0 10]",0.9,0.8,0.98,0.001); Reverbe
import("stdfaust.lib"); process = beat:>ef.cubicnl(0.1,0) : bitReducer(bits) : fi.fb_fcomb(1024,del,1,fb) * 0.8 : phaser(1,depth):reverb; gate = checkbox("gate[switch:1]"); kickVol = 1; env = rPulse * 1:en.ar(0.01,0.15); rPulse = ba.pulse((no.noise:ba.latch(ba.pulse(11025))*15000+30000)*rate); rate = 1.7 + (3 *ga...
17be14d6c42396ec3836797b8efbbdad1191f38e0046755fab8907f2abb2e547
amstramgrame/amstramgrame
exfaust3.dsp
declare name "Euclidian rain"; declare version "1.0"; declare author "Johann Philippe"; declare license "MIT"; declare copyright "(c) Johann Philippe 2022"; /* Rain with echo sounds based on karplus enveloppe, and triggered with euclidian rhythms. */ import("stdfaust...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/docs/gramophone/programs/exfaust3/exfaust3.dsp
faust
Rain with echo sounds based on karplus enveloppe, and triggered with euclidian rhythms. Controls DSP
declare name "Euclidian rain"; 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); pulsa...
f09d4d293040ca0f3997ee7c336ec5d47a777a6d28e29a67f1b4b71075b5486e
amstramgrame/amstramgrame
exfaust6.dsp
declare name "Particles in space"; declare version "1.0"; declare author "Johann Philippe"; declare license "MIT"; declare copyright "(c) Johann Philippe 2022"; /* Euclidian space particles based on filtered and echoed sawtooth */ import("stdfaust.lib"); mpulse(smps_dur...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/4df99bfbae994fc9dcb4012190335e29255b411e/web/mkdocs/docs/gramophone/programs/exfaust6/exfaust6.dsp
faust
Euclidian space particles based on filtered and echoed sawtooth Controls DSP Le filtre peut être changé pour obtenir des résultats très intéressants aussi. Les filtres suivants sont intérressants : os.sawtooth(rand) : fi.resonlp(f_env * 5000, q, 0.5); os.sawtooth(rand) : ve.diodeLadder(f_env * 0.85, q); os....
declare name "Particles in space"; 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); p...
25a9ca2c6cc12fd3ef11ef60349a2c6f7c9a41ae2614b2b8f543fec355703364
amstramgrame/amstramgrame
SAtonalSoftHarp.dsp
declare name "Atonal Soft Harp"; declare author "ER"; //Adapted from NLFeks by Julius Smith and Romain Michon; /* =============== DESCRIPTION ======================== : - Soft Atonal Harp - Swing = Plucking all the strings one by one - Left = Slow rhythm /Low frequencies/ Silence - Right = Fast rhythm/ High frequenc...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/examples/playground/SAtonalSoftHarp.dsp
faust
Adapted from NLFeks by Julius Smith and Romain Michon; =============== DESCRIPTION ======================== : - Soft Atonal Harp - Swing = Plucking all the strings one by one - Left = Slow rhythm /Low frequencies/ Silence - Right = Fast rhythm/ High frequencies - Back = Short and dry notes - Front = Long and bright ...
declare name "Atonal Soft Harp"; import("stdfaust.lib"); process = par(i, N, NFLeks(i)):>_; NFLeks(n) = filtered_excitation(n,P(freq(n)),freq(n)) : stringloop(freq(n)); N = 15; with{ bps = hslider("h:[1]/Speed[style:knob][acc:0 1 -10 0 10]", 480, 180, 720, 1):si.smooth(0.999) : min(720) : max(180) : int; }; gain ...
69914c7d5a61fafa3e1b8b9bf0ad981a29e7d340958a9486c9f88d2c8f102894
amstramgrame/amstramgrame
exfaust8.dsp
// Créons un petit instrument !! // On importe la bibliothèque de fonctions du language Faust pour // pouvoir programmer !! import("stdfaust.lib"); // Programmons un génèrateur de vagues et de bourrasques de vent pour // agrémenter nos paysages sonores !! // Il nous faut un bouton on/off pour activer le son !! U...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust8/exfaust8.dsp
faust
Créons un petit instrument !! On importe la bibliothèque de fonctions du language Faust pour pouvoir programmer !! Programmons un génèrateur de vagues et de bourrasques de vent pour agrémenter nos paysages sonores !! Il nous faut un bouton on/off pour activer le son !! Utilisons le bouton (qui se presse) assi...
import("stdfaust.lib"); gate = button("gate[switch:1]") : si.smoo; Bruit_Blanc = no.noise; Enveloppe = en.ar(longueur_Debut,longueur_Fin,gate); longueur_Debut = hslider("longueur_Debut[knob:2]",2,0,5,0.01) : si.smoo; longueur_Fin = hslider("longueur_Fin[knob:2]",2,0,5,0.01) : si.smoo; Filtre = fi.resonbp...
d751252ae0958afe28a1ed7b76ef8b7598bdee67bf3b7ce5f337e6caecac95fb
amstramgrame/amstramgrame
exfaust4.dsp
// Créons un petit instrument !! // On importe la bibliothèque de fonctions du language Faust pour pouvoir programmer !! import("stdfaust.lib"); // Commençons par coder un petit synthétiseur !! // Il nous faut un bouton on/off pour activer et arréter le son !! // Utilisons le bouton (qui se presse) assignable du ...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/docs/scenari/allier20/exfaust4/exfaust4.dsp
faust
Créons un petit instrument !! On importe la bibliothèque de fonctions du language Faust pour pouvoir programmer !! Commençons par coder un petit synthétiseur !! Il nous faut un bouton on/off pour activer et arréter le son !! Utilisons le bouton (qui se presse) assignable du gramophone !! Nous avons maintenant be...
import("stdfaust.lib"); gate = button("gate[switch:1]") : si.smoo; Synth = os.lf_saw(freqOsc) * gate; freqOsc = hslider("freqOsc[knob:2]",196,98,784,0.01) : si.smoo; WahWah = ve.crybaby(posPied); posPied = hslider("posPied[acc: 0 0 -10 0 10 ]",0.5,0,1,0.01) : si.smoo; process = Synth : WahWah;
aef5ac3ae7a9afd7364ee1a91996ab6a35a48a7fc441959a0e03b9c403a478ef
amstramgrame/amstramgrame
Kisana.dsp
declare name "Kisana"; declare author "Yann Orlarey"; //Modifications GRAME July 2015 /* ========= DESCRITPION ============= - Kisana : 3-loops string instrument (based on Karplus-Strong) - Head = Silence - Tilt = High frequencies - Front = High + Medium frequencies - Bottom = High + Medium + Low frequencies - L...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/examples/playground/Kisana.dsp
faust
Modifications GRAME July 2015 ========= DESCRITPION ============= - Kisana : 3-loops string instrument (based on Karplus-Strong) - Head = Silence - Tilt = High frequencies - Front = High + Medium frequencies - Bottom = High + Medium + Low frequencies - Left = Minimum brightness - Right = Maximum birghtness - Front =...
declare name "Kisana"; declare author "Yann Orlarey"; import("stdfaust.lib"); process = kisana; kisana = vgroup("Kisana", harpe(C,7,48), harpe(C,7,60), (harpe(C,7,72) : *(1.5), *(1.5)) :>*(checkbox("gate[switch:1]") : si.smoo)) with { C = hslider("[2]Brightness[acc:0 1 -10 0 10]", 0.2, 0, 1, 0.01) :...
50a97d5412c5e82380a7d9137b4884b4ead5384bac0c273bc53f07ea56108e8b
amstramgrame/amstramgrame
SBird.dsp
declare name "bird"; declare author "Pierre Cochard"; //Modifications by Grame July 2014, June 2015; /* =============== DESCRIPTION ================= : - Bird singing generator. - Right = maximum speed of whistles. - Left = minimum speed/Rare birds, nearly silence. */ import("stdfaust.lib"); // PROCESS - - - - - ...
https://raw.githubusercontent.com/amstramgrame/amstramgrame/0a95b84df000a2f478703787e7bec77ad301880e/examples/playground/notWorking/SBird.dsp
faust
Modifications by Grame July 2014, June 2015; =============== DESCRIPTION ================= : - Bird singing generator. - Right = maximum speed of whistles. - Left = minimum speed/Rare birds, nearly silence. PROCESS - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - AUTO TRIGGER BIRD TRIGGER OSCILL...
declare name "bird"; declare author "Pierre Cochard"; import("stdfaust.lib"); process = hgroup("Bird", mainOsc(noteTrig : rdm(72,94) : mtof , noteTrig) * envWrapper(noteTrig, ampEnv, amp_xp(2510)) <: _,_); autoTrig = ba.beat(t) * (abs(no.noise) <= p) : trigger(48) with { t = hslider("[1]Speed (Granulator)[st...
4324cb7d8e7aa67c84a886e5e7b6bdaa744705c8ec6dc103abe24d94e6ebd7cf
moforte/sam-faust
flanger.dsp
// Created from flange.dsp 2015/06/21 import("stdfaust.lib"); import("layout2.dsp"); flanger_mono(dmax,curdel,depth,fb,invert,lfoshape) = _ <: _, (-:de.fdelay(dmax,curdel)) ~ *(fb) : _, *(select2(invert,depth,0-depth)) : + : *(1/(1+depth)); // ideal for dc and reinforced sinusoids (in-phase summed sig...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/flanger/flanger.dsp
faust
Created from flange.dsp 2015/06/21 ideal for dc and reinforced sinusoids (in-phase summed signals) Kill the groups to save vertical space: ~1 ms at 44.1 kHz = min delay
import("stdfaust.lib"); import("layout2.dsp"); flanger_mono(dmax,curdel,depth,fb,invert,lfoshape) = _ <: _, (-:de.fdelay(dmax,curdel)) ~ *(fb) : _, *(select2(invert,depth,0-depth)) process = ba.bypass1(fbp,flanger_mono_gui); meter_group(x) = flsg(x); ctl_group(x) = flkg(x); del_group(x) = flkg(x); ...
24e1d76c03eec336fdce117b2ed7fbeaf6432112ff4ad475ef040ae548fcf0fe
moforte/sam-faust
chorus.dsp
import("stdfaust.lib"); import("layout2.dsp"); voices = 8; // MUST BE EVEN process = bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices)); // to become ba.bypass1to2 in Faust's basics.lib: bypass1to2(bpc,e) = _ <: ((inswitch:e),_,_) : ba.select2stereo(bpc) with {inswitch = select2(bpc,_,0);}; ml = library(...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/chorus/chorus.dsp
faust
MUST BE EVEN to become ba.bypass1to2 in Faust's basics.lib: /l/fdlo/music.lib /l/fdlo/effect.lib /l/fdlo/oscillator.lib Hz use when depth=1 means "multivibrato" effect (no original => all are modulated)
import("stdfaust.lib"); import("layout2.dsp"); process = bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices)); bypass1to2(bpc,e) = _ <: ((inswitch:e),_,_) : ba.select2stereo(bpc) with {inswitch = select2(bpc,_,0);}; fl = library("filter.lib"); wo = library("waveoscs.dsp"); pi = 4.0*atan(1.0); dmax = 8192...
b25722812acbbeb36f69e73c603e440b3cd1c66ec2e61e4d6d387a7a6d8b2fb9
moforte/sam-faust
chorus.dsp
import("stdfaust.lib"); import("layout2.dsp"); voices = 8; // MUST BE EVEN process = bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices)); // to become ba.bypass1to2 in Faust's basics.lib: bypass1to2(bpc,e) = _ <: ((inswitch:e),_,_) : ba.select2stereo(bpc) with {inswitch = select2(bpc,_,0);}; ml = library(...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/effects/chorus.dsp
faust
MUST BE EVEN to become ba.bypass1to2 in Faust's basics.lib: /l/fdlo/music.lib /l/fdlo/effect.lib /l/fdlo/oscillator.lib Hz use when depth=1 means "multivibrato" effect (no original => all are modulated)
import("stdfaust.lib"); import("layout2.dsp"); process = bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices)); bypass1to2(bpc,e) = _ <: ((inswitch:e),_,_) : ba.select2stereo(bpc) with {inswitch = select2(bpc,_,0);}; fl = library("filter.lib"); wo = library("waveoscs.dsp"); pi = 4.0*atan(1.0); dmax = 8192...
f980d77f5d520d1f39a36b9b4c1d0d8eb0b930f7b59a7338f8f34ec3899005ee
moforte/sam-faust
echo.dsp
// imported by echo.dsp and echomt.dsp import("stdfaust.lib"); import("layout2.dsp"); echo_group(x) = x; // Let layout2.dsp lay us out knobs_group(x) = ekg(x); switches_group(x) = esg(x); dmax = 32768; // one and done dmaxs = float(dmax)/44100.0; Nnines = 1.8; // Increase until you get the desired maximum a...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/echo/echo.dsp
faust
imported by echo.dsp and echomt.dsp Let layout2.dsp lay us out one and done Increase until you get the desired maximum amount of smoothing when fbs==1 pole radius of feedback smoother "ground input" switches input to zeros Warp and Scrubber stuff: enableEcho went 0 to 1 enableEcho went 1 to 0 Ramps up only d...
import("stdfaust.lib"); import("layout2.dsp"); knobs_group(x) = ekg(x); switches_group(x) = esg(x); dmaxs = float(dmax)/44100.0; fastpow2 = ffunction(float fastpow2(float), "fast_pow2.h", ""); inputSelect(gi) = _,0 : select2(gi); echo_mono(dmax,curdel,tapdel,fb,fbspr,gi) = inputSelect(gi) : (+:si.smooth(fbsp...
8cadf4af93675fc5fea4b0501744deb9e43462ece695b612cb59abd46049a900
moforte/sam-faust
effectsForBrowser.dsp
// All effects used by minimoog.dsp import("stdfaust.lib"); process = _,_ : + : component_echo : component_flanger : component_chorus : component_freeverb; component_echo = environment { echo_group(x) = x; // Let layout2.dsp lay us out knobs_group(x) = ekg(x); switches_group(x) = esg(x); dmax = 32768; // one ...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/effects/effectsForBrowser.dsp
faust
All effects used by minimoog.dsp Let layout2.dsp lay us out one and done Increase until you get the desired maximum amount of smoothing when fbs==1 fastpow2 = ffunction(float fastpow2(float), "fast_pow2.h", ""); pole radius of feedback smoother "ground input" switches input to zeros Warp and Scrubber stuff: ena...
import("stdfaust.lib"); process = _,_ : + : component_echo : component_flanger : component_chorus : component_freeverb; component_echo = environment { knobs_group(x) = ekg(x); switches_group(x) = esg(x); dmaxs = float(dmax)/44100.0; inputSelect(gi) = _,0 : select2(gi); echo_mono(dmax,curdel,tapdel,fb,fbspr,g...
6b91ab968efd21107022a58471bede9117c796a4779a9669e6b1ddd80131481b
moforte/sam-faust
flangerForBrowser.dsp
// Created from flange.dsp 2015/06/21 import("stdfaust.lib"); flanger_mono(dmax,curdel,depth,fb,invert,lfoshape) = _ <: _, (-:de.fdelay(dmax,curdel)) ~ *(fb) : _, *(select2(invert,depth,0-depth)) : + : *(1/(1+depth)); // ideal for dc and reinforced sinusoids (in-phase summed signals) process = ba.b...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/flanger/flangerForBrowser.dsp
faust
Created from flange.dsp 2015/06/21 ideal for dc and reinforced sinusoids (in-phase summed signals) Kill the groups to save vertical space: ~1 ms at 44.1 kHz = min delay This layout loosely follows the MiniMoog-V Arturia-only features are labeled Original versions also added where different Need vrocker and hroc...
import("stdfaust.lib"); flanger_mono(dmax,curdel,depth,fb,invert,lfoshape) = _ <: _, (-:de.fdelay(dmax,curdel)) ~ *(fb) : _, *(select2(invert,depth,0-depth)) process = ba.bypass1(fbp,flanger_mono_gui); meter_group(x) = flsg(x); ctl_group(x) = flkg(x); del_group(x) = flkg(x); lvl_group(x) = flkf...
74a45f99a95804be1a979fabe5123c419982cad093c6185ffd2254d7e3e5e8e7
moforte/sam-faust
chorusForBrowser.dsp
import("stdfaust.lib"); voices = 8; // MUST BE EVEN process = bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices)); // to become ba.bypass1to2 in Faust's basics.lib: bypass1to2(bpc,e) = _ <: ((inswitch:e),_,_) : ba.select2stereo(bpc) with {inswitch = select2(bpc,_,0);}; ml = library("music.lib"); // /...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/chorus/chorusForBrowser.dsp
faust
MUST BE EVEN to become ba.bypass1to2 in Faust's basics.lib: /l/fdlo/music.lib /l/fdlo/effect.lib /l/fdlo/oscillator.lib Hz use when depth=1 means "multivibrato" effect (no original => all are modulated) osc = oscs; // music.lib This layout loosely follows the MiniMoog-V Arturia-only features are labeled Orig...
import("stdfaust.lib"); process = bypass1to2(cbp,chorus_mono(dmax,curdel,rate,sigma,do2,voices)); bypass1to2(bpc,e) = _ <: ((inswitch:e),_,_) : ba.select2stereo(bpc) with {inswitch = select2(bpc,_,0);}; fl = library("filter.lib"); pi = 4.0*atan(1.0); dmax = 8192; curdel = dmax * ckg(vslider("[0] Delay [midi:ctrl 4...
e87621e61f1134da16250112f9619daa1c53fec1c13631b90f247b78a15a3c90
moforte/sam-faust
echoForBrowser.dsp
// imported by echo.dsp and echomt.dsp import("stdfaust.lib"); echo_group(x) = x; // Let layout2.dsp lay us out knobs_group(x) = ekg(x); switches_group(x) = esg(x); dmax = 32768; // one and done dmaxs = float(dmax)/44100.0; Nnines = 1.8; // Increase until you get the desired maximum amount of smoothing when...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/echo/echoForBrowser.dsp
faust
imported by echo.dsp and echomt.dsp Let layout2.dsp lay us out one and done Increase until you get the desired maximum amount of smoothing when fbs==1 fastpow2 = ffunction(float fastpow2(float), "fast_pow2.h", ""); pole radius of feedback smoother "ground input" switches input to zeros Warp and Scrubber stuff: ...
import("stdfaust.lib"); knobs_group(x) = ekg(x); switches_group(x) = esg(x); dmaxs = float(dmax)/44100.0; inputSelect(gi) = _,0 : select2(gi); echo_mono(dmax,curdel,tapdel,fb,fbspr,gi) = inputSelect(gi) : (+:si.smooth(fbspr) <: de.fdelay(dmax,curdel), de.fdelay(dmax,tapdel)) ~(*(fb...
a8f196cdb8a2828d69446dcaffdc944fc91768d9b4749b052cc79820e642bfb2
moforte/sam-faust
freeverbForBrowser.dsp
import("stdfaust.lib"); declare name "freeverb"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c) GRAME 2006 and MoForte Inc. 2017"; declare reference "https://ccrma.stanford.edu/~jos/pasp/Freeverb.html"; //==========================================...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/freeverb/freeverbForBrowser.dsp
faust
====================================================== Freeverb Faster version using fixed delays (20% gain) ====================================================== Constant Parameters -------------------- value of the gain of fxctrl feedback of the delays used in allpass filters Filter...
import("stdfaust.lib"); declare name "freeverb"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c) GRAME 2006 and MoForte Inc. 2017"; declare reference "https://ccrma.stanford.edu/~jos/pasp/Freeverb.html"; scalewet = 3.0; scaledry = 2.0; scal...
7b954d2e28d5a864c179070392e0cf7e7c8e9784405fdcdad3e7be26dc92e718
moforte/sam-faust
virtualAnalog.dsp
import("stdfaust.lib"); // These are now in a separate file ./effects.dsp // echo = echog(component("echo.dsp")); // ./echo.dsp // flanger = flg(component("flanger.dsp")); // ./flanger.dsp // chorus = chg(component("chorus.dsp")); // ./chorus.dsp // reverb = rg(component("freeverb.dsp")); process = main <: _,_; // N...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/virtualAnalog/virtualAnalog.dsp
faust
These are now in a separate file ./effects.dsp echo = echog(component("echo.dsp")); // ./echo.dsp flanger = flg(component("flanger.dsp")); // ./flanger.dsp chorus = chg(component("chorus.dsp")); // ./chorus.dsp reverb = rg(component("freeverb.dsp")); Now separate: : echo : flanger : chorus : reverb; masterVolume...
import("stdfaust.lib"); main = (signal + extInput : 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(vslider("[3]...
a62bfe3072a638d558460efac992b41f05a8c2ef0dffdb35b414ecbb77c305d9
moforte/sam-faust
virtualAnalogWithEffectsForBrowser.dsp
import("stdfaust.lib"); // These are now in a separate file ./effects.dsp // echo = echog(component("echo.dsp")); // ./echo.dsp // flanger = flg(component("flanger.dsp")); // ./flanger.dsp // chorus = chg(component("chorus.dsp")); // ./chorus.dsp // reverb = rg(component("freeverb.dsp")); process = main <: _,_; // N...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/virtualAnalog/virtualAnalogWithEffectsForBrowser.dsp
faust
These are now in a separate file ./effects.dsp echo = echog(component("echo.dsp")); // ./echo.dsp flanger = flg(component("flanger.dsp")); // ./flanger.dsp chorus = chg(component("chorus.dsp")); // ./chorus.dsp reverb = rg(component("freeverb.dsp")); Now separate: : echo : flanger : chorus : reverb; masterVolume...
import("stdfaust.lib"); main = (signal + attach(extInput,amp) : filters : *(ampScaling)) ~ _; signal = oscs + noise * noiseOff * namp; oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _; detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001)); waveSelect(1) = osc1(...
de08f972fdf424433498b920c6b5283407638e760c42a3e2bc0ecf8bf875b462
moforte/sam-faust
virtualAnalogForBrowser.dsp
import("stdfaust.lib"); // These are now in a separate file ./effects.dsp // echo = echog(component("echo.dsp")); // ./echo.dsp // flanger = flg(component("flanger.dsp")); // ./flanger.dsp // chorus = chg(component("chorus.dsp")); // ./chorus.dsp // reverb = rg(component("freeverb.dsp")); process = main <: _,_; // N...
https://raw.githubusercontent.com/moforte/sam-faust/85be03f262e384c1befa9eaac237e052040b2cc1/faust-examples/virtualAnalog/virtualAnalogForBrowser.dsp
faust
These are now in a separate file ./effects.dsp echo = echog(component("echo.dsp")); // ./echo.dsp flanger = flg(component("flanger.dsp")); // ./flanger.dsp chorus = chg(component("chorus.dsp")); // ./chorus.dsp reverb = rg(component("freeverb.dsp")); Now separate: : echo : flanger : chorus : reverb; masterVolume...
import("stdfaust.lib"); main = (signal + attach(extInput,amp) : filters : *(ampScaling)) ~ _; signal = oscs + noise * noiseOff * namp; oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _; detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001)); waveSelect(1) = osc1(...
e09af7121e7131e2df9996f4439e9cc763a32d3d0788171d8729d75f8f962a3a
danidev/microcosmos
MicrocosmosDsp.dsp
import("stdfaust.lib"); page(num, x) = hgroup("page%num", x); note = hslider("note", 64, 0, 127, 1); gate = button("gate"); duty = page(1, hslider("[0]duty[style:knob]", 0.5, 0, 1, .1) : si.smoo); osc1vol = page(1, hslider("[1]vol_a[style:knob]", 0.5, 0, 1, 0.1) : si.smoo); osc2vol = page(1, hslider("[2]vol_b[style:...
https://raw.githubusercontent.com/danidev/microcosmos/27b8c35df97aba336b546cca7c6dd4ec802eed30/dsp/syxtyofjune/dsp/MicrocosmosDsp.dsp
faust
modulations
import("stdfaust.lib"); page(num, x) = hgroup("page%num", x); note = hslider("note", 64, 0, 127, 1); gate = button("gate"); duty = page(1, hslider("[0]duty[style:knob]", 0.5, 0, 1, .1) : si.smoo); osc1vol = page(1, hslider("[1]vol_a[style:knob]", 0.5, 0, 1, 0.1) : si.smoo); osc2vol = page(1, hslider("[2]vol_b[style:...
18e595bcdd87dfd03c8984b7d29fe2f36a76ce8c3b7f4d5c6676e7028bae110d
danidev/microcosmos
MicrocosmosDsp.dsp
declare name "MicrocosmosDsp"; import("stdfaust.lib"); map(x, in_min, in_max, out_min, out_max) = (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; page(num, x) = hgroup("page%num", x); // LOOPER SECTION sampleRate = 48000; maxTime = 1; maxSamples = sampleRate * maxTime; looperModule(num) = out with ...
https://raw.githubusercontent.com/danidev/microcosmos/27b8c35df97aba336b546cca7c6dd4ec802eed30/dsp/looper/dsp/MicrocosmosDsp.dsp
faust
LOOPER SECTION PARAMETERS loop size is the duration while button is kept pressed rec index is from 0 to maxSamples while button is pressed do not change loop size while recording avoid division by zero / NAN using max clamp to maxSamples read index is from 0 to calculatedLoopLength continously
declare name "MicrocosmosDsp"; import("stdfaust.lib"); map(x, in_min, in_max, out_min, out_max) = (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; page(num, x) = hgroup("page%num", x); sampleRate = 48000; maxTime = 1; maxSamples = sampleRate * maxTime; looperModule(num) = out with { readSpeed = pa...
2b3f9ca0ada119e06dec6b7740f55378684bda4a1e38e388ef299b6a74cb2635
magnetophon/LazyLimiter
LazyLimiter.dsp
/* * Copyright (C) 2014 Bart Brouns * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * b...
https://raw.githubusercontent.com/magnetophon/LazyLimiter/f3bbb2c4c05858e93710272ec42bda19d8f6a608/LazyLimiter.dsp
faust
* Copyright (C) 2014 Bart Brouns * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but...
declare name "LazyLimiter"; declare author "Bart Brouns"; declare version "0.3.2"; declare copyright "(C) 2014 Bart Brouns"; import ("GUI.lib"); import ("LazyLimiter.lib"); process = stereoLimiter;
4653114930368b090ea608459700246fce56d53db478f1e3cf3c2a0dbba868f7
magnetophon/LazyLimiter
HardWorkingLimiterMono.dsp
/* * Copyright (C) 2014 Bart Brouns * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * b...
https://raw.githubusercontent.com/magnetophon/LazyLimiter/f3bbb2c4c05858e93710272ec42bda19d8f6a608/docs/HardWorkingLimiterMono.dsp
faust
* Copyright (C) 2014 Bart Brouns * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This program is distributed in the hope that it will be useful, * but...
declare name "LookAheadLimiterMono"; declare author "Bart Brouns"; declare version "0.1"; declare copyright "(C) 2014 Bart Brouns"; import ("LookaheadLimiter.lib"); maxAttackTime = 1024:min(maxHoldTime); rmsMaxSize = 4096; time_ratio_target = 1.5; time_ratio_target_atk = 8.0; main_group(x) = (hgrou...
5873158ce8af86f81ac08f1e6cff62557bbd7e86ad31a0b0fe58b8e3506c1b0b
chevremaudite/zosimos
modsourceUI.dsp
//Modulation source page. //--------------PARAMETERS: // 1 - Mode : Modulation mode (0-free, 1-sync, 2-reset, 3-envelope) /*BUG : currently only free and reset modes work*/ // 2 - Polarity : The LFO's polarity (0-Unipolar[0-1], 1-Bipolar[-1,1]) // 3 - Shape : Mod carrier's waveform (0-sine, 1-tri, 2-saw, 3-square, ...
https://raw.githubusercontent.com/chevremaudite/zosimos/851055add4bd8a970cde22da9e4e4c822f40e43e/SOFTWARE/FAUST/ui/modsourceUI.dsp
faust
Modulation source page. --------------PARAMETERS: 1 - Mode : Modulation mode (0-free, 1-sync, 2-reset, 3-envelope) BUG : currently only free and reset modes work 2 - Polarity : The LFO's polarity (0-Unipolar[0-1], 1-Bipolar[-1,1]) 3 - Shape : Mod carrier's waveform (0-sine, 1-tri, 2-saw, 3-square, 4-random) 4 ...
import("modsource.lib"); process = hgroup("Modulation source", modsource(rate, depth, shape, mode, pol, destVoice, destParam, trigger)) with{ trigger = button("T"):ba.impulsify; mode = hslider("[0]Mode [style:menu{...
cc634e6736d0a7971869f92e3d23b435d08ef3ab1f76783b0b53853146df1634
chevremaudite/zosimos
mixerchannelUI.dsp
//-----------------MIXER CHANNEL----------------// // A voice's mixer channel. //--------------PARAMETERS: // 1 - Sample Level : the gain of the sample part // 2 - Sample Pan : the panning of the sample part // 1 - Engine Level : the gain of the engine part // 2 - Engine Pan : the panning of the engine part import...
https://raw.githubusercontent.com/chevremaudite/zosimos/b7ee97299aff8bcbcb1b0213dd642a38a29f3af0/SOFTWARE/FAUST/ui/mixerchannelUI.dsp
faust
-----------------MIXER CHANNEL----------------// A voice's mixer channel. --------------PARAMETERS: 1 - Sample Level : the gain of the sample part 2 - Sample Pan : the panning of the sample part 1 - Engine Level : the gain of the engine part 2 - Engine Pan : the panning of the engine part
import("mixerchannel.lib"); mixerUI = hgroup("Mixer", mixer(smpLvl, smpPan, engLvl, engPan)) with{ smpLvl = hslider("[1]Sample Level[style:knob]", 0, 0, 1, 0.001) : si.smoo; smpPan = hslider("[2]Sample Pan[style:knob]", 0, 0, 1, 0.001) : si.smoo; engLvl = hslider("[3]Engine Level[style:knob]", 0, 0, 1, 0....
c7738a26bd6e454e2382d764b28bc8c7937dd32c5ddc79ecd1b21e17f344d762
chevremaudite/zosimos
volenvUI.dsp
//-----------------ENVELOPE----------------// //Simple volume envelope with attack, release and a release curve control. //--------------PARAMETERS: // 1 - Attack : envelope attack time // 2 - Release : envelope release time // 3 - Hold : envelope hold time // 4 - Curve : curve type (linear to exponential) for atta...
https://raw.githubusercontent.com/chevremaudite/zosimos/55a532489c278fa47ffd37a84322c9a27800f588/SOFTWARE/FAUST/ui/volenvUI.dsp
faust
-----------------ENVELOPE----------------// Simple volume envelope with attack, release and a release curve control. --------------PARAMETERS: 1 - Attack : envelope attack time 2 - Release : envelope release time 3 - Hold : envelope hold time 4 - Curve : curve type (linear to exponential) for attack and release
no = library("noises.lib"); env = library("volenv.lib"); volEnv = hgroup("[0]Volume Envelope", _ : env.volenv(volA, volH, volD, curve)) with{ volA = vslider("[0]Attack[style:knob]", 0.2, 0.00, 1, 0.001); volH = vslider("[1]Hold[style:knob]", 0.2, 0.00, 1, 0.001); volD = vslider("[2]Decay[style:knob]", 0.2, 0.0...
d4f1f3863d9ee2fa57580194ffd826a9aa3fb96afdde4522fda57c7df0598e00
chevremaudite/zosimos
testing.dsp
import("93bangbang.lib"); import("addictive.lib"); import("bitwise.lib"); import("dist.lib"); import("filter.lib"); import("fm.dsp"); import("modaldrums.lib"); import("noisy.lib"); import("volenv.lib"); import("utilities.lib");
https://raw.githubusercontent.com/chevremaudite/zosimos/f9e350f6ffc8c5256e48b3e8e7a0389160540b66/SOFTWARE/FAUST/libs/testing.dsp
faust
import("93bangbang.lib"); import("addictive.lib"); import("bitwise.lib"); import("dist.lib"); import("filter.lib"); import("fm.dsp"); import("modaldrums.lib"); import("noisy.lib"); import("volenv.lib"); import("utilities.lib");
ad0e01e89a37bb466040814eb4a12f3bca518eb01519c92e5e0073ce4ee5e111
FineArtMaths/FaustExperiments
TinePiano.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(bu...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/TinePiano.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. dm.phaser2_demo : phaser sounds good but it's a bit of a cheat
import("stdfaust.lib"); gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); gFreq = freq * pitchwheel; generalGroup(x) =...
1be4ab7b87b5dec2e13750dfc3e1a3ee8db817d316e76e58e94d45aaef1b4339
FineArtMaths/FaustExperiments
DelaySelfModulation.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)) * en.adsr(0.0, 0.1, 0.7, 1.0, gate); freq = junkGroup(hslider("freq", 440, 50, ...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/DelaySelfModulation.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. Delay Modulation ///////////// GUI ///////////// ///////////// Algorithm ///////////// Calc the delay time based on current pitch and GUI settings A delay line with feedback; dela...
import("stdfaust.lib"); gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)) * en.adsr(0.0, 0.1, 0.7, 1.0, gate); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01))* pitchwheel; gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); ...
170ed9bbcb41c6dacab981447dfb24285172f8a7f7297f8a44423ebe107c1da2
FineArtMaths/FaustExperiments
PluckedString.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(bu...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/PluckedString.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me.
import("stdfaust.lib"); gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); gFreq = freq * pitchwheel; generalGroup(x) =...
dafec1e8e71597e9fd16a07c265e478605e3f56875b278b2cb37c17f6ec78c52
FineArtMaths/FaustExperiments
BowedString.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(bu...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/BowedString.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me.
import("stdfaust.lib"); gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); gFreq = freq * pitchwheel; generalGroup(x) =...
c4a02e01befba1be4b66d1099f4be3a5f2c681e33f8eb2c7f513e35bbba82521
FineArtMaths/FaustExperiments
feedbackOrgan.dsp
import("stdfaust.lib"); /* This is a playable synth whose oscillators are used as exciters for comb filters. It seems to be able to do organs, glass harmonicas, wood / plastic / metal percussion etc. WARNING: It can still make very loud sounds if the Drive on any oscillator is turned up while the Tuning is close t...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/feedbackOrgan.dsp
faust
This is a playable synth whose oscillators are used as exciters for comb filters. It seems to be able to do organs, glass harmonicas, wood / plastic / metal percussion etc. WARNING: It can still make very loud sounds if the Drive on any oscillator is turned up while the Tuning is close to 1.0 TO DO: * Add a ...
import("stdfaust.lib"); gain = en.adsr(0.0, 0.1, 0.7, 1.0, gate); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); generalGroup(x) = hgroup("General",x); unison = generalGroup(hslider("Unison", 0.0, 0.0, 0.1, 0.001)); unisonOnset = generalGroup(...
2229c261dcadb1eb3920268c9be8d39b3f1ff3b1a10c290b4142ae8fd5e86d52
FineArtMaths/FaustExperiments
Bells.dsp
import("stdfaust.lib"); /** Plays a bell sound that changes timbre depending on the MIDI note **/ junkGroup(x) = tgroup("Junk",x); // This hides controls we don't need. gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/Bells.dsp
faust
* Plays a bell sound that changes timbre depending on the MIDI note * This hides controls we don't need. 220; //sqrt(freq)*100; //vslider("Base Freq", 5000, 20, 20000, 1); The level of the partial The level of the partial The level of the partial FM
import("stdfaust.lib"); gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); a = vslider("Param A", 10, 3, 100, 1); b = floo...
bbd096b1f0b848311ccc3cbc29efaae17d057b8b1856f4b548c471587b6f5321
FineArtMaths/FaustExperiments
BlownTube.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(bu...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/BlownTube.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. dm.phaser2_demo : phaser sounds good but it's a bit of a cheat
import("stdfaust.lib"); gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); gFreq = freq * pitchwheel; generalGroup(x) =...
abc862bf0ca6030702b103ddf590279fbff1a5a1a9499a0a85dade2e36cdeba7
FineArtMaths/FaustExperiments
DelayModulation.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)) * en.adsr(0.0, 0.1, 0.7, 1.0, gate); freq = junkGroup(hslider("freq", 440, 50, ...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/DelayModulation.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. Delay Modulation
import("stdfaust.lib"); gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)) * en.adsr(0.0, 0.1, 0.7, 1.0, gate); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01))* pitchwheel; gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); ...
d7cd5e99196a609ba67106100de4f46d3d3e6c46cf4c10dc2ae55cd601ab27d2
FineArtMaths/FaustExperiments
FMOrgan.dsp
import("stdfaust.lib"); /* This is a playable synth whose oscillators are used as exciters for comb filters. TO DO: * Add a noise oscillator or two * Maybe global noise oscillator on the amplitude just to create a bit of analogue variation * Include a detuning envelope per harmonic * Try to capture pitch whe...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/FMOrgan.dsp
faust
This is a playable synth whose oscillators are used as exciters for comb filters. TO DO: * Add a noise oscillator or two * Maybe global noise oscillator on the amplitude just to create a bit of analogue variation * Include a detuning envelope per harmonic * Try to capture pitch wheel, mod wheel and key rele...
import("stdfaust.lib"); gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)) * en.adsr(0.0, 0.1, 0.7, 1.0, gate); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01))* pitchwheel; gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); ...
2fa3eb7bf71c2267d6b694942f69f708f025270e7078d97cbe4960fedae41e44
FineArtMaths/FaustExperiments
ScheerbartOrgan.dsp
import("stdfaust.lib"); /* Written by Rich Cochrane: https://cochranemusic.com A simple vehicle for exploring Scheerbart tunings. These are 12EDO with one or more notes adjusted up or down to match their nearest 10EDO neighbour. Made available under CC BY-NC: https://creativecommons.org/licenses/by-nc/4.0/ (In s...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/ScheerbartOrgan.dsp
faust
Written by Rich Cochrane: https://cochranemusic.com A simple vehicle for exploring Scheerbart tunings. These are 12EDO with one or more notes adjusted up or down to match their nearest 10EDO neighbour. Made available under CC BY-NC: https://creativecommons.org/licenses/by-nc/4.0/ (In sort, you can do what you l...
import("stdfaust.lib"); gain = junkGroup(nentry("gain", 1, 0, 1, 0.01)) * en.adsr(envA, envD, envS, envR, gate); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); pitchwheel = junkGroup(hslider("bend [midi:pitchwheel]",1,0.9,1.1,0.001)); general...
90e0738b06801a3ba30bbc08b8cfcb08ff1deff84500ad1055b5ec47609239cb
FineArtMaths/FaustExperiments
noisyExperiment.dsp
import("stdfaust.lib"); junkGroup(x) = tgroup("Junk",x); // I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(bu...
https://raw.githubusercontent.com/FineArtMaths/FaustExperiments/5b39401ea9cc16c56a06d0174b26763f8f5653e3/noisyExperiment.dsp
faust
I don't think tab groups are working properly, or I didn't do this right; either way this just hides the junk, which works for me. hslider("feed", 1.0, 0.9, 1.0, 0.0001); pitchwheel Global gain is set to 1 for now effect = dm.phaser2_demo;
import("stdfaust.lib"); gain = junkGroup(hslider("gain", 0.5, 0, 1, 0.01)); freq = junkGroup(hslider("freq", 440, 50, 1000, 0.01)); gate = junkGroup(button("gate") : en.adsr(0.01, 0.01, 0.9, 0.1)); sustain = hslider("sustain", 0.01, 0.0, 0.1, 0.0001); noise = hslider("noise vs tone", 0.5, 0.0, 1.0, 0.0001); noiseDens...
2f814e87c290893b612eae13c11f2f707963e4c95b54100b7fae66a1c26e362b
bjornmossa/echolot
echolot.dsp
declare name "Echolot"; declare author "Bjornmossa"; declare version "1.0"; declare license "GNU GPL 3"; import("filters.lib"); import("delays.lib"); import("math.lib"); feedback = vslider("[4]feedback[style:knob]", 0.01, 0.01, 0.999, 0.01); filter = resonlp(fc,Q,1) with { fc = hslider("[0]freq[style:knob]", 10...
https://raw.githubusercontent.com/bjornmossa/echolot/2e2c18c39f8c3b5def3f1c1e4d3181f29938424e/echolot.dsp
faust
declare name "Echolot"; declare author "Bjornmossa"; declare version "1.0"; declare license "GNU GPL 3"; import("filters.lib"); import("delays.lib"); import("math.lib"); feedback = vslider("[4]feedback[style:knob]", 0.01, 0.01, 0.999, 0.01); filter = resonlp(fc,Q,1) with { fc = hslider("[0]freq[style:knob]", 10...
04a6e61d5188289e33981bce941300b9a71a36f9d82014d78896a901a6429fad
johannphilippe/grame_cnsmd_2023
base.dsp
// Chaque expression finit avec ; process = 0; // Chaque programme a une fonction process : c'est notre fonction audio. // Commentaires : // pour une ligne, /* pour plusieurs lignes */ // Syntaxe traditionnelle process = 1 + 0.5; // Composition séquentielle : l'opérateur + prend deux entrées et a une sort...
https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/cf7a34a36c456eef87963c584384296c8c441a27/syntax/base.dsp
faust
Chaque expression finit avec ; Chaque programme a une fonction process : c'est notre fonction audio. Commentaires : // pour une ligne, pour plusieurs lignes Syntaxe traditionnelle Composition séquentielle : l'opérateur + prend deux entrées et a une sortie 3 Signaux parallèles Idem
process = 0; process = 1 + 0.5; process = 1, 0.5 : +; process = 1, 2, 3; process = par(n, 3, n+1);
e0c256b9f704f46f6c732a0f525dccb8cd176af63c6015e55b079d2cd7016194
johannphilippe/grame_cnsmd_2023
input_output.dsp
// Inputs and outputs -> peuvent être représentées par le underscore. // Ici, le underscore est dans la boucle parallèle, il y a donc 8 entrées // On merge en deux sorties process = par(n, 8, _) :> _,_;
https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/88f460fdbaa76a35825d87614d0b664ad6a30f9c/input_output/input_output.dsp
faust
Inputs and outputs -> peuvent être représentées par le underscore. Ici, le underscore est dans la boucle parallèle, il y a donc 8 entrées On merge en deux sorties
process = par(n, 8, _) :> _,_;
5df68d97ada88a4355fb2d74cbf51b63a287ad4997b7b45ada752e42f3f25e41
johannphilippe/grame_cnsmd_2023
grain.dsp
/////////////////////////////////////////////////////////////////////////////////////////////////// // // Grain Generator. // Another granular synthesis example. // This one is not finished, but ready for more features and improvements... // //////////////////////////////////////////////////...
https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/ccfd6e9a5c1537097546520317c8c5beea06006f/granulator/grain.dsp
faust
///////////////////////////////////////////////////////////////////////////////////////////////// Grain Generator. Another granular synthesis example. This one is not finished, but ready for more features and improvements... //////////////////////////////////////////////////////////////////////////////////////////...
import("all.lib"); speed = hslider("speed[BELA: ANALOG_3]", 1, 0.125, 4, 0.001); feedback = hslider("feedback[BELA: ANALOG_4]",0,0,2,0.001); freq = 1000/taille; tmpTaille = taille*ma.SR/ 1000; detect1(x) = select2 (x < 10, 0, 1); detect2(x) = select2 (x > clocSize*1/3, 0, 1) : select...
4a05873b0fa21f3390b4e93233967d195195b5203b2cac08f9e11c3d5db3c24b
johannphilippe/grame_cnsmd_2023
time.dsp
simple_metro(fq) = (_, ma.SR/fq : fmod) ~+(1.0) : <=(1.0); // Better implementation metro_impl(fq, phase) = incr<=1.0 with { offset = (1.0-phase) * smps; incr = _~+(1.0) : +(offset) : _,smps : fmod; smps = ma.SR/fq; }; metro(fq) = metro_impl(fq, 0); metro_swing(fq, swing) = metro_impl(fq,0) | metro_impl(...
https://raw.githubusercontent.com/johannphilippe/grame_cnsmd_2023/ccfd6e9a5c1537097546520317c8c5beea06006f/time.dsp
faust
Better implementation Same with accent PHASOR EUCLIDIAN RHYTHM LOOPER - Can be used as a beat looper - or as an audio looper SEQUENCERS
simple_metro(fq) = (_, ma.SR/fq : fmod) ~+(1.0) : <=(1.0); metro_impl(fq, phase) = incr<=1.0 with { offset = (1.0-phase) * smps; incr = _~+(1.0) : +(offset) : _,smps : fmod; smps = ma.SR/fq; }; metro(fq) = metro_impl(fq, 0); metro_swing(fq, swing) = metro_impl(fq,0) | metro_impl(fq, swing); drunk_metro(...
148bb827ad4dc9e9ddd210b4398208256a23a014c16692a6b432b028b85f5f36
theyoogle/Faust-DSP
01 Composition Operations.dsp
// Composition Operations // Sequencial (priority 2) process = A : B; // |-----| |-----| // | 1----->1 | // | A | | B | // | 2----->2 | // |-----| |-----| //============================================= // Parallel (priority 3) process = A, B; // _____ // | | // -...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/446a6824cf06e47de7209829002d3019d169f3d4/session%2002/05%20Composition/01%20Composition%20Operations.dsp
faust
Composition Operations Sequencial (priority 2) |-----| |-----| | 1----->1 | | A | | B | | 2----->2 | |-----| |-----| ============================================= Parallel (priority 3) _____ | | ->1 1-> | A | ->2 2-> |_____| _____ ...
process = A : B; process = A, B; process = A <: B; process = A :> B; process = A ~ B; (No) _ ~ + (Yes) + ~ _ (No) 1 ~ _ (Yes) + ~ (_,2:*) (Yes) (1,_:+) ~ (_,2:*) (Yes) + ~ (_,2 <: *,+)
5425a2ffe2351c4ade8d67717213a0d7bf187303074b5092f21e9a12aac45abd
theyoogle/Faust-DSP
02 White Noise Generator.dsp
random = +(12345) ~ *(1103515245); noise = random / 2147483647.0; process = noise * vslider("volume", 0, 0, 1, 0.01) <: _,_;
https://raw.githubusercontent.com/theyoogle/Faust-DSP/446a6824cf06e47de7209829002d3019d169f3d4/session%2002/05%20Composition/02%20White%20Noise%20Generator.dsp
faust
random = +(12345) ~ *(1103515245); noise = random / 2147483647.0; process = noise * vslider("volume", 0, 0, 1, 0.01) <: _,_;
8b1d197c17e86e3818102168981b566052785e5f9a2986310dd121cc3f842138
theyoogle/Faust-DSP
06 Read Write Table.dsp
// Read write table x0,x1,x2,x3,x4 : rwtable : y; // x0(t) -> |---------| // | | // x1(t) -> | | // | | // x2(t) -> | rwtable | -> y(t) // | | // x3(t) -> | | // | | // x4(t) -> |---------| x0(t) - size of table (constant signal) x1(...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/54e3514141a66aff7c6e9304f5a37a6617e42962/session%2002/03%20Delays%20and%20Tables/06%20Read%20Write%20Table.dsp
faust
Read write table x0(t) -> |---------| | | x1(t) -> | | | | x2(t) -> | rwtable | -> y(t) | | x3(t) -> | | | | x4(t) -> |---------|
x0,x1,x2,x3,x4 : rwtable : y; x0(t) - size of table (constant signal) x1(t) - initial content of table x2(t) - write index of table x3(t) - signal to write x4(t) - read index of table
8154f8a807b00c6c410e9d3874cce227168811140e43d9e4ee821d1271afe0a5
theyoogle/Faust-DSP
01 UI Widgets.dsp
// UI Widgets // 0 or 1 // (name) button("gate") checkbox("gate") // (name, init, min, max, step) nentry("level", 0, 0, 1, 0.01) hslider("level", 0, 0, 1, 0.01) vslider("level", 0, 0, 1, 0.01) vslider("level[style:knob]", 0, 0, 1, 0.01) // display instantanious value of incoming signal // clip between min and max va...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/54e3514141a66aff7c6e9304f5a37a6617e42962/session%2002/04%20UI%20Primitives/01%20UI%20Widgets.dsp
faust
UI Widgets 0 or 1 (name) (name, init, min, max, step) display instantanious value of incoming signal clip between min and max values (name, min, max) attach to signal other than incoming signal layout
button("gate") checkbox("gate") nentry("level", 0, 0, 1, 0.01) hslider("level", 0, 0, 1, 0.01) vslider("level", 0, 0, 1, 0.01) vslider("level[style:knob]", 0, 0, 1, 0.01) hbargraph("level", 0, 1) vbargraph("level", 0, 1) attach(x, y) hgroup("name", ...) vgroup("name", ...) tgroup("name", ...)
d628b0ac992d0feec58d1815214f53fde5a6581d2aa17d16c2a255381a6915a8
theyoogle/Faust-DSP
04 Comparison Operators.dsp
// Comparison Operators // Greater than process = >; // x0(t) -> |-----| // | > | -> y(t) // x1(t) -> |-----| // Semantics // y(t) = 1 if x0(t) > x1(t) else 0 //============================================= // Greater or equal process = >=; // x0(t) -> |-----| // | >= | -> y(t) // x1(t) -> |---...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/04%20Comparison%20Operators.dsp
faust
Comparison Operators Greater than x0(t) -> |-----| | > | -> y(t) x1(t) -> |-----| Semantics y(t) = 1 if x0(t) > x1(t) else 0 ============================================= Greater or equal x0(t) -> |-----| | >= | -> y(t) x1(t) -> |-----| Semantics y(t) = 1 if x0(t) >= x1(t) else 0 =====...
process = >; process = >=; process = <; process = <=; process = '=='; process = '!=';
671429f573d8db588f41839db5a2ab46d468b8f9883502c19c03e3aa194a5f50
theyoogle/Faust-DSP
01 Arithmatic Operators.dsp
// Arithmetic Operators // Addition process = +; // x0(t) -> |-----| // | + | -> y(t) // x1(t) -> |-----| // Semantics // y(t) = x0(t) + x1(t) //============================================= // Subtraction process = -; // x0(t) -> |-----| // | - | -> y(t) // x1(t) -> |-----| // Semantics // y...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/01%20Arithmatic%20Operators.dsp
faust
Arithmetic Operators Addition x0(t) -> |-----| | + | -> y(t) x1(t) -> |-----| Semantics y(t) = x0(t) + x1(t) ============================================= Subtraction x0(t) -> |-----| | - | -> y(t) x1(t) -> |-----| Semantics y(t) = x0(t) - x1(t) =======================================...
process = +; process = -; process = *; process = /; process = %; process = ^;
18bfe87b4c518137b5dbd29649d2f03d77552f187dfb098ca759b3dd7560b21f
theyoogle/Faust-DSP
09 Log and Exponential Functions.dsp
// Log and Exponential Functions Base-e Exponential exp y(t) = exp(x(t)) Base-e Logarithm log y(t) = log(x(t)) Base-10 Logarithm log10 y(t) = log10(x(t)) Power pow y(t) = pow(x0(t), x1(t)) Square Root sqrt y(t) = sqrt(x(t))
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/09%20Log%20and%20Exponential%20Functions.dsp
faust
Log and Exponential Functions
Base-e Exponential exp y(t) = exp(x(t)) Base-e Logarithm log y(t) = log(x(t)) Base-10 Logarithm log10 y(t) = log10(x(t)) Power pow y(t) = pow(x0(t), x1(t)) Square Root sqrt y(t) = sqrt(x(t))
5e5fa263de66026b57f292c00b0197075f318423c31b619269dea1bd48e6bef0
theyoogle/Faust-DSP
05 Parallel Composition.dsp
// Parallel Composition Premitive process = _,_; // _____ // | | // x0(t) -> |-----| -> y0(t) // |_____| // _____ // | | // x1(t) -> |-----| -> y1(t) // |_____| // Semantics // y0(t) = x0(t) // y1(t) = x1(t) //========================================...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/01%20Basic%20Primitives/05%20Parallel%20Composition.dsp
faust
Parallel Composition Premitive _____ | | x0(t) -> |-----| -> y0(t) |_____| _____ | | x1(t) -> |-----| -> y1(t) |_____| Semantics y0(t) = x0(t) y1(t) = x1(t) ============================================= Quadraphonic Cable _____ ...
process = _,_; process = _,_,_,_;
c6dae6b0774d5fd04522f33b9fd34fe9c558622cb261068210ccde11b203924a
theyoogle/Faust-DSP
02 Signal.dsp
// signal - a value that changes over time // _ _ _ // _| |_| |_| |_ // // signal - (in faust) a function transforming a time input into a value output (SAMPLE) // |---------------| // | _ _ _ | // time -> | _| |_| |_| |_ | -> value (SAMPLE) // | | // |----...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/01%20Basic%20Primitives/02%20Signal.dsp
faust
signal - a value that changes over time _ _ _ _| |_| |_| |_ signal - (in faust) a function transforming a time input into a value output (SAMPLE) |---------------| | _ _ _ | time -> | _| |_| |_| |_ | -> value (SAMPLE) | | |---------------|
f53e4540d3f9c8ce8b0f47d11f153345a9caaafcd4e63e54a46d815d1f777843
theyoogle/Faust-DSP
03 Notations.dsp
// Notations // core notation // A, B: * => A, B: * process = _, 0.5 : *; // infix notation // A * B => A, B: * process = _ * 0.5; // prefix notation // *(A, B) => A, B: * process = *(_, 0.5); // partial application // *(B) => _, B: * process = *(0.5);
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/03%20Notations.dsp
faust
Notations core notation A, B: * => A, B: * infix notation A * B => A, B: * prefix notation *(A, B) => A, B: * partial application *(B) => _, B: *
process = _, 0.5 : *; process = _ * 0.5; process = *(_, 0.5); process = *(0.5);
12a741d3026b4cbe71fcb810a88c0d10c78b6e557da09f404d64e37ad63fb5ae
theyoogle/Faust-DSP
10 Other Math Functions.dsp
// Other math functions Absolute Value abs y(t) = |x(t)| Minimum Value min y(t) = min(x0(t), x1(t)) Maximum Value max y(t) = max(x0(t), x1(t)) Floating Point Module fmod y(t) = fmod(x0(t), x1(t)) Floating Point Remainder remainder y(t) ...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/10%20Other%20Math%20Functions.dsp
faust
Other math functions
Absolute Value abs y(t) = |x(t)| Minimum Value min y(t) = min(x0(t), x1(t)) Maximum Value max y(t) = max(x0(t), x1(t)) Floating Point Module fmod y(t) = fmod(x0(t), x1(t)) Floating Point Remainder remainder y(t) = remainder(x0(t), x1(t)...
a9bc011c03c10e705678074191a62be03e012f07549995973cc2c9ebb98bec24
theyoogle/Faust-DSP
07 Signal Generators.dsp
// Signal Generators (No inputs) // Numbers process = 1; // |-----| // | 1 | -> y(t) // |-----| // Semantics // y(t) = 1 when (t >= 0) // Sliders process = vslider(name, inital_value, minimum_value, maximum_value, step_value); process = vslider("level", 0.1, 0, 1, 0.01); process = hslider("level", 0.1, 0, 1,...
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/01%20Basic%20Primitives/07%20Signal%20Generators.dsp
faust
Signal Generators (No inputs) Numbers |-----| | 1 | -> y(t) |-----| Semantics y(t) = 1 when (t >= 0) Sliders Buttons Checkboxes
process = 1; process = vslider(name, inital_value, minimum_value, maximum_value, step_value); process = vslider("level", 0.1, 0, 1, 0.01); process = hslider("level", 0.1, 0, 1, 0.01);
14c1e352c13142e43537479ccd42f0d906338b2eb89d9cc5e1ef5c606d83850b
theyoogle/Faust-DSP
12 Selectors.dsp
// Selectors select2 Switch between two signals y(t) = x1(t) if x0(t) == 0 y(t) = x2(t) if x0(t) == 1 select3 Switch between three signals y(t) = x1(t) if x0(t) == 0 y(t) = x2(t) if x0(t) == 1 y(t) = x3(t) if x0(t) == 2
https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/12%20Selectors.dsp
faust
Selectors
select2 Switch between two signals y(t) = x1(t) if x0(t) == 0 y(t) = x2(t) if x0(t) == 1 select3 Switch between three signals y(t) = x1(t) if x0(t) == 0 y(t) = x2(t) if x0(t) == 1 y(t) = x3(t) if x0(t) == 2