_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
8b9eb6c25c9f4f05ccf7ad41605a95cf1cc8b22cb3148e827eab4eac7d144312
brummer10/guitarix
mbc.dsp
declare id "mbc"; declare name "Multi Band Compressor"; declare shortname "MB Compressor"; declare category "Guitar Effects"; declare description "Multi Band Compressor contributed by kokoko3k"; import("stdfaust.lib"); rd = library("reducemaps.lib"); vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[tooltip:no]", -7...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/mbc.dsp
faust
envelop = abs : max ~ (1.0/ma.SR) : mean(4096) ; // : max(ba.db2linear(-70)) : ba.linear2db; Mono threshold-=push ; makeup+=push threshold-=push ; makeup+=push threshold-=push ; makeup+=push threshold-=push ; makeup+=push threshold-=push ; makeup+=push makeup-=safe makeup-=safe makeup-=safe makeu...
declare id "mbc"; declare name "Multi Band Compressor"; declare shortname "MB Compressor"; declare category "Guitar Effects"; declare description "Multi Band Compressor contributed by kokoko3k"; import("stdfaust.lib"); rd = library("reducemaps.lib"); vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[tooltip:no]", -7...
a5cd0bffcbe9718544b39c15e632f12d5b24445439148e3e5fd04d75bf54ab58
brummer10/guitarix
fuzzfacefm.dsp
// generated automatically // DO NOT MODIFY! declare id "fuzzfacefm"; declare name "Fuzz Face Fuller"; declare category "Distortion"; declare shortname "Fuzz Face FM"; declare description "Micke Fuller Fuzz Face simulation"; import("stdfaust.lib"); import("trany.lib"); process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a...
https://raw.githubusercontent.com/brummer10/guitarix/9734478d71ac7190dc8814ce250e28ce174ebaf1/trunk/src/LV2/faust/fuzzfacefm.dsp
faust
generated automatically DO NOT MODIFY!
declare id "fuzzfacefm"; declare name "Fuzz Face Fuller"; declare category "Distortion"; declare shortname "Fuzz Face FM"; declare description "Micke Fuller Fuzz Face simulation"; import("stdfaust.lib"); import("trany.lib"); process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) : clip with { LogPot(a, x...
9753c000bb3a4afcbf96d9c78e50242ce875b434005637002c0fe5f823de4d21
brummer10/guitarix
fuzzfacefm.dsp
// generated automatically // DO NOT MODIFY! declare id "fuzzfacefm"; declare name "Fuzz Face Fuller"; declare category "Fuzz"; declare shortname "FF Fuller"; declare description "Micke Fuller Fuzz Face simulation"; declare insert_p "clipper"; declare volume_p "Level"; import("stdfaust.lib"); import("trany.lib"); pro...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/fuzzfacefm.dsp
faust
generated automatically DO NOT MODIFY! clip = tranystage(TB_KT88_68k,86.0,2700.0,5.562895) : tranystage(TB_KT88_68k,86.0,2700.0,5.562895) ; Level = vslider("Level[name:Level]", 0.5, 0, 1, 0.01) : Inverted(1) : si.smooth(s);
declare id "fuzzfacefm"; declare name "Fuzz Face Fuller"; declare category "Fuzz"; declare shortname "FF Fuller"; declare description "Micke Fuller Fuzz Face simulation"; declare insert_p "clipper"; declare volume_p "Level"; import("stdfaust.lib"); import("trany.lib"); process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/...
13978390847ede7dce72a9c843cf1261e15cf140b931cbc9221fb83064b307d3
brummer10/guitarix
susta.dsp
// generated automatically // DO NOT MODIFY! declare id "susta"; declare name "Sustainer"; declare category "Fuzz"; declare shortname "Sustainer"; declare description "Sustainer"; declare insert_p "tranyclipper"; declare volume_p "Volume"; import("stdfaust.lib"); import("trany.lib"); process = pre : fi.iir((b0/a0,b1/...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/susta.dsp
faust
generated automatically DO NOT MODIFY! Volume = vslider("Volume[name:Volume]", 0.5, 0, 1, 0.01) : Inverted(0) : si.smooth(s);
declare id "susta"; declare name "Sustainer"; declare category "Fuzz"; declare shortname "Sustainer"; declare description "Sustainer"; declare insert_p "tranyclipper"; declare volume_p "Volume"; import("stdfaust.lib"); import("trany.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a...
9f649e46b8f93acf0a3f83c80b3726e83ac4248ce5df8254cc2716f9e58e127a
brummer10/guitarix
fuzzwah.dsp
// generated automatically // DO NOT MODIFY! declare id "fuzzwah"; declare name "Fuzz Wah Face"; declare category "Guitar Effects"; declare shortname "Fuzz Wah"; declare description "Dallas Arbiter Fuzz Wah Face"; import("stdfaust.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b,...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/fuzzwah.dsp
faust
generated automatically DO NOT MODIFY!
declare id "fuzzwah"; declare name "Fuzz Wah Face"; declare category "Guitar Effects"; declare shortname "Fuzz Wah"; declare description "Dallas Arbiter Fuzz Wah Face"; import("stdfaust.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); wet = vslider("...
53f7e4538e5b93b5d41fdd7f092d5d8302b10269c47ebe449fc8a8a73c19e3bb
brummer10/guitarix
susta.dsp
// generated automatically // DO NOT MODIFY! declare id "susta"; declare name "Sustainer"; declare category "Distortion"; declare shortname "Sustainer"; declare description "Sustainer"; import("stdfaust.lib"); import("trany.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/susta.dsp
faust
generated automatically DO NOT MODIFY!
declare id "susta"; declare name "Sustainer"; declare category "Distortion"; declare shortname "Sustainer"; declare description "Sustainer"; import("stdfaust.lib"); import("trany.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) : clip with { LogPot(a, x) = ba.if...
784a94f7a5d264e173c9c9b530a09515aba0a13fc8f5495bfa22983de751d7ec
brummer10/guitarix
tonestack_bm.dsp
//tonestack ba.selector declare id "tonestack_bm"; import("stdfaust.lib"); /**************************************************************** ** Equalisation 3 bandes ** C1 ** IN >---------||--------- ** | | ** | | R4 | | R1 Tre...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/tonestack_bm.dsp
faust
tonestack ba.selector *************************************************************** ** Equalisation 3 bandes ** C1 ** IN >---------||--------- ** | | ** | | R4 | | R1 Treble ** | | | |<------< Out ** ...
declare id "tonestack_bm"; import("stdfaust.lib"); ts = environment { k = *(1e3); M = *(1e6); nF = *(1e-9); pF = *(1e-12); R1 = 250:k; R2 = 1:M; R3 = 25:k; R4 = 56:k; C1 = 250:pF; C2 = 20:nF; C3 = 20:nF; }; R1 = 250:k; ...
e517f61db7a8d36c9e82e3926326195b65e96a53cf01be1f9ca89ff93ff8e155
brummer10/guitarix
tonestack.dsp
//tonestack ba.selector // use double precision, single precision suffers from numerical cancellation. declare id "tonestack_imp"; import("stdfaust.lib"); /**************************************************************** ** Equalisation 3 bandes ** C1 ** IN >---------||------...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/faust/tonestack.dsp
faust
tonestack ba.selector use double precision, single precision suffers from numerical cancellation. *************************************************************** ** Equalisation 3 bandes ** C1 ** IN >---------||--------- ** | | ** | | R4 ...
declare id "tonestack_imp"; import("stdfaust.lib"); ts = environment { k = *(1e3); M = *(1e6); nF = *(1e-9); pF = *(1e-12); R1 = 250:k; R2 = 1:M; R3 = 25:k; R4 = 56:k; C1 = 250:pF; C2 = 20:nF; C3 = 20:nF; }; R1 = 250:k; ...
4a580e383fc1d227e355a8c9021c50ee7dfcd03227dd740d5c8ff67af2332f89
brummer10/guitarix
foxeylady.dsp
// generated automatically // DO NOT MODIFY! declare id "foxeylady"; declare name "Foxey Lady"; declare category "Fuzz"; declare shortname "Foxey Lady"; declare description "Foxey Lady fuzz pedal simulation"; declare insert_p "tranyclipper"; import("stdfaust.lib"); import("trany.lib"); process = fi.iir((b0/a0,b1/a0,...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/foxeylady.dsp
faust
generated automatically DO NOT MODIFY! clip = tranystage(TB_7199P_68k,86.0,2700.0,3.571981) : tranystage(TB_7199P_68k,86.0,2700.0,3.571981) : tranystage(TB_7199P_68k,86.0,2700.0,3.571981) ;
declare id "foxeylady"; declare name "Foxey Lady"; declare category "Fuzz"; declare shortname "Foxey Lady"; declare description "Foxey Lady fuzz pedal simulation"; declare insert_p "tranyclipper"; import("stdfaust.lib"); import("trany.lib"); process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0,b6/a0),(a1/a0,a2/a0,a...
0c2a8f1d538abd96df208625f854d139fec38dd034ff8b1f6a33d34d63134faf
brummer10/guitarix
tonestack.dsp
//tonestack ba.selector declare id "tonestack_imp"; import("stdfaust.lib"); /**************************************************************** ** Equalisation 3 bandes ** C1 ** IN >---------||--------- ** | | ** | | R4 | | R1 Tr...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/tonestack.dsp
faust
tonestack ba.selector *************************************************************** ** Equalisation 3 bandes ** C1 ** IN >---------||--------- ** | | ** | | R4 | | R1 Treble ** | | | |<------< Out ** ...
declare id "tonestack_imp"; import("stdfaust.lib"); ts = environment { k = *(1e3); M = *(1e6); nF = *(1e-9); pF = *(1e-12); R1 = 250:k; R2 = 1:M; R3 = 25:k; R4 = 56:k; C1 = 250:pF; C2 = 20:nF; C3 = 20:nF; }; R1 = 250:k; ...
e036d8dcf9a58bcc0eed61c737f38c9ca05e62cf95ea8e28c58f857755fe25d7
brummer10/guitarix
fuzzdrive.dsp
// generated automatically // DO NOT MODIFY! declare id "fuzzdrive"; declare name "Fuzz Drive"; declare category "Fuzz"; declare shortname "Fuzz Drive"; declare description "Fuzz Distortion"; import("stdfaust.lib"); import("trany.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, ...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/fuzzdrive.dsp
faust
generated automatically DO NOT MODIFY! Level = vslider("Level[name:Level]", 0.5, 0, 1, 0.01) : Inverted(0) : si.smooth(s); vslider("Fuzz[name:Tone]", 0.5, 0, 1, 0.01) : Inverted(1) : si.smooth(s);
declare id "fuzzdrive"; declare name "Fuzz Drive"; declare category "Fuzz"; declare shortname "Fuzz Drive"; declare description "Fuzz Distortion"; import("stdfaust.lib"); import("trany.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; ...
2cdb6cee46eced07cdc49823dc58d1ebd00b4674ca961d37ffc3158273fc50a3
brummer10/guitarix
rolandwah.dsp
// generated automatically // DO NOT MODIFY! declare id "rolandwah"; declare name "Roland Double Beat"; declare category "Guitar Effects"; declare shortname "Double Beat"; declare description "Roland Double Beat"; import("stdfaust.lib"); import("trany.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1)...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/rolandwah.dsp
faust
generated automatically DO NOT MODIFY! gain = vslider("Gain[name:Gain][tooltip:Gain of the Fuzz Section (dB)]", -12, -40, 4, 0.1) : ba.db2linear : si.smooth(s); clip(x) = 0.4 * (min(0.7514,max(-0.4514,x)));
declare id "rolandwah"; declare name "Roland Double Beat"; declare category "Guitar Effects"; declare shortname "Double Beat"; declare description "Roland Double Beat"; import("stdfaust.lib"); import("trany.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x)...
bf7fe1d8976ef01229e25d8d454046179baf70d88051f1095313d693583a1333
brummer10/guitarix
cstb.dsp
// generated automatically // DO NOT MODIFY! declare id "cstbt1"; declare name "Colorsound Tone Blender"; declare category "Fuzz"; declare shortname "CS Tone"; declare description "Colorsound Tone Blender"; declare insert_p "tranyclipper"; declare drywetbox "true"; import("stdfaust.lib"); import("trany.lib"); process...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/cstb.dsp
faust
generated automatically DO NOT MODIFY! clip = tranystage(TB_KT88_68k,86.0,2700.0,5.562895) : tranystage(TB_KT88_68k,86.0,2700.0,5.562895) ;
declare id "cstbt1"; declare name "Colorsound Tone Blender"; declare category "Fuzz"; declare shortname "CS Tone"; declare description "Colorsound Tone Blender"; declare insert_p "tranyclipper"; declare drywetbox "true"; import("stdfaust.lib"); import("trany.lib"); process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a...
3291b9274e0755dcdd2e5a3c26436e39ac06376b9a853af3fa5f1e37c6a44dac
brummer10/guitarix
ffreak.dsp
// generated automatically // DO NOT MODIFY! declare id "ffreak"; declare name "Fat Furry Freak"; declare category "Fuzz"; declare shortname "Fat FFreak"; declare description "Extreme Bass Fuzz Monster"; declare drywetbox "true"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/ffreak.dsp
faust
generated automatically DO NOT MODIFY!
declare id "ffreak"; declare name "Fat Furry Freak"; declare category "Fuzz"; declare shortname "Fat FFreak"; declare description "Extreme Bass Fuzz Monster"; declare drywetbox "true"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) : clip with { ...
1040abc6b63667fef905d5fa3505b972daaf69ef89d63c77c91027468fc0b125
brummer10/MetalTone
metaltone_post.dsp
/******************************************************************************* **************************** File generated by ********************************* ******************************************************************************** ./build-plug.py -i MetalZone.sch -b ***************************************...
https://raw.githubusercontent.com/brummer10/MetalTone/610736038723c8470962a4d862943e9a8c8aecab/MetalTone/metaltone_post.dsp
faust
****************************************************************************** **************************** File generated by ********************************* ******************************************************************************** ./build-plug.py -i MetalZone.sch -b ******************************************...
declare id "metalzone"; declare name "metalzone"; declare category "Extern"; declare shortname "metalzone"; declare description "metalzone"; import("stdfaust.lib"); p3 = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0,b6/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0,a6/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - ...
76855133f732c3c096772d14dd862db8b604e5ffa024d36cc2917ed26168e604
brummer10/guitarix
coverd.dsp
// generated automatically // DO NOT MODIFY! declare id "coverd"; declare name "C Overdrive"; declare category "Distortion"; declare shortname "C Overdrive"; declare description "Colorsound Overdrive"; import("stdfaust.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/plugins/coverd.dsp
faust
generated automatically DO NOT MODIFY!
declare id "coverd"; declare name "C Overdrive"; declare category "Distortion"; declare shortname "C Overdrive"; declare description "Colorsound Overdrive"; import("stdfaust.lib"); LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(m...
cc99c2aa7c64d4b0b1a0b34f736f9633fc982104a14729b5d7bec9436a8f5d97
brummer10/FatFrog.lv2
FatFrog.dsp
/******************************************************************************* **************************** File generated by ********************************* ******************************************************************************** ./build-plug.py -i FatFrog_p1.sch FatFrog_p2.sch FatFrog_p3.sch PlexiPower...
https://raw.githubusercontent.com/brummer10/FatFrog.lv2/5da0ec72ca1ddb2baaf70fdbfa7fd7692c25e8b3/FatFrog/dsp/FatFrog.dsp
faust
****************************************************************************** **************************** File generated by ********************************* ******************************************************************************** ./build-plug.py -i FatFrog_p1.sch FatFrog_p2.sch FatFrog_p3.sch PlexiPowerAmpE...
declare id "fatfrog"; declare name "FatFrog"; declare category "Extern"; declare shortname "FatFrog"; declare description "HighGain Amplifier"; import("stdfaust.lib"); rd = library("reducemaps.lib"); rtable(table, r) = (table, int(r)):rdtable; ccopysign(f, x) = ma.fabs(f) * sign(x); sign(x) = x<0, 1, -1 : selec...
dfb561f0fc40f81e056a60f4f86815de5fe38017e528029d94ad51f7ee901586
brummer10/FatFrog
FatFrog.dsp
/******************************************************************************* **************************** File generated by ********************************* ******************************************************************************** ./build-plug.py -i FatFrog_p1.sch FatFrog_p2.sch FatFrog_p3.sch PlexiPower...
https://raw.githubusercontent.com/brummer10/FatFrog/3361dd312f0933c69397f156a62388ed2c411fe6/FatFrog/dsp/FatFrog.dsp
faust
****************************************************************************** **************************** File generated by ********************************* ******************************************************************************** ./build-plug.py -i FatFrog_p1.sch FatFrog_p2.sch FatFrog_p3.sch PlexiPowerAmpE...
declare id "fatfrog"; declare name "FatFrog"; declare category "Extern"; declare shortname "FatFrog"; declare description "HighGain Amplifier"; import("stdfaust.lib"); rd = library("reducemaps.lib"); rtable(table, r) = (table, int(r)):rdtable; ccopysign(f, x) = ma.fabs(f) * sign(x); sign(x) = x<0, 1, -1 : selec...
0000668925b3f117f7ec90a0b152e048d5daa6acba034d4b41392feb43c7d2b9
brummer10/guitarix
gx_alembic.dsp
declare id "alembic"; declare name "Alembic Preamp"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)):*(0.05) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x...
https://raw.githubusercontent.com/brummer10/guitarix/9734478d71ac7190dc8814ce250e28ce174ebaf1/trunk/src/LV2/faust/gx_alembic.dsp
faust
declare id "alembic"; declare name "Alembic Preamp"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)):*(0.05) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x...
339408775b9f29a965909ca00e06c9d2a7673d7ba75fef34f1121bcd59f81219
brummer10/guitarix
alembic-mono.dsp
declare id "alembic"; declare name "Alembic Preamp"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/alembic-mono.dsp
faust
declare id "alembic"; declare name "Alembic Preamp"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s...
f32df65f22314674ffe6ebd219cbf96588b3502d26c55396957e4d9ba16e7890
brummer10/guitarix
gx_studiopre.dsp
import("stdfaust.lib"); // Based on simple Alembic F-2B vstudio preamp normal = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0,a2/a0,a3/a0,a4/a0)) : alembic_normclip with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/gx_studiopre.dsp
faust
Based on simple Alembic F-2B vstudio preamp Brite normal
import("stdfaust.lib"); normal = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0,a2/a0,a3/a0,a4/a0)) : alembic_normclip with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma.SR); pre = _; Bass_L = vslider("Bass_...
3064a68db22dc4fa0853bd6a9c631979d5bf261c07fbe5a05cb05dc68a39951a
brummer10/guitarix
gx_studiopre_st.dsp
import("stdfaust.lib"); // Based on simple Alembic F-2B vstudio preamp normal_L = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0,a2/a0,a3/a0,a4/a0)) : alembic_normclip with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(...
https://raw.githubusercontent.com/brummer10/guitarix/5672b8cb8f1c324ea28b1fddc7e1b39f79aabbc6/trunk/src/LV2/faust/gx_studiopre_st.dsp
faust
Based on simple Alembic F-2B vstudio preamp Brite normal
import("stdfaust.lib"); normal_L = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0,a2/a0,a3/a0,a4/a0)) : alembic_normclip with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma.SR); pre = _; Bass_L = vslider("Bas...
9422c62f5ff3f176bd921458f12d0e944b45fa2a955bc30870a8212932ab6004
angelamurtas/Programmazione-
bancoscillatori.dsp
import("stdfaust.lib"); fader1 =vslider("[01] volume1" , 0., 0., 1., 0.01); fader2 =vslider("[02] volume2" , 0., 0., 1., 0.01); fader3 =vslider("[03] volume3" , 0., 0., 1., 0.01); fader4 =vslider("[04] volume4" , 0., 0., 1., 0.01); fader5 =vslider("[05] volume5" , 0., 0., 1., 0.01); fader6 =vslider("[06] volume6" , 0.,...
https://raw.githubusercontent.com/angelamurtas/Programmazione-/bf8cf329460acf7334c7c4c11953ddcdf6d7e612/bancoscillatori.dsp
faust
import("stdfaust.lib"); fader1 =vslider("[01] volume1" , 0., 0., 1., 0.01); fader2 =vslider("[02] volume2" , 0., 0., 1., 0.01); fader3 =vslider("[03] volume3" , 0., 0., 1., 0.01); fader4 =vslider("[04] volume4" , 0., 0., 1., 0.01); fader5 =vslider("[05] volume5" , 0., 0., 1., 0.01); fader6 =vslider("[06] volume6" , 0.,...
82659272690424cf45520588f681ee6c05deb98b4b8465574f3e40e685e3989b
darkoverlordofdata/amp-sim-faust
amplifier.dsp
import("stdfaust.lib"); import("layout2.dsp"); // Modified version of https://github.com/creativeintent/temper/blob/master/Dsp/temper.dsp // Adapted for PowerAmp simulation (addition of presence filter, param adaptation, small changes...) // Distortion parameters pdrive = hslider("Drive gain[style:knob]", 4.0, -10.0...
https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/91696611bc64e94c5767a43aaa0478f260ca43a3/src/amplifier.dsp
faust
Modified version of https://github.com/creativeintent/temper/blob/master/Dsp/temper.dsp Adapted for PowerAmp simulation (addition of presence filter, param adaptation, small changes...) Distortion parameters Output parameters A fairly standard wave shaping curve; we use this to shape the input signal before modul...
import("stdfaust.lib"); import("layout2.dsp"); pdrive = hslider("Drive gain[style:knob]", 4.0, -10.0, 10.0, 0.001) : si.smooth(0.995); psat = hslider("Saturation dry wet[style:knob]", 1.0, 0.0, 1.0, 0.001) : si.smooth(0.995); pcurve = hslider("Curve k[style:knob]", 1.0, 0.1, 4.0, 0.001) : si.smooth(0.995); plevel =...
f810cd7bb585c818ca02342a98560470212b746eb86f5b1b2255c3e0ca3bfd54
darkoverlordofdata/amp-sim-faust
amplifier.dsp
declare name "amp-sim"; declare version "0.1"; declare author "darkoverlordofdata"; declare description "Amplifier demo application."; declare license "MIT"; declare copyright "(c)DarkOverlordOfData 2021"; import("stdfaust.lib"); import("../layout2.dsp"); // Modified version of https://github.com/creativeintent/te...
https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/df478c01ed3763795c11779faa47a4b9d0f6de37/src/guitar/amplifier.dsp
faust
Modified version of https://github.com/creativeintent/temper/blob/master/Dsp/temper.dsp Adapted for PowerAmp simulation (addition of presence filter, param adaptation, small changes...) Distortion parameters Output parameters A fairly standard wave shaping curve; we use this to shape the input signal before modul...
declare name "amp-sim"; declare version "0.1"; declare author "darkoverlordofdata"; declare description "Amplifier demo application."; declare license "MIT"; declare copyright "(c)DarkOverlordOfData 2021"; import("stdfaust.lib"); import("../layout2.dsp"); pdrive = hslider("Drive gain[style:knob]", 4.0, -10.0, 10....
6d5bb66c122c4885ddcfd6724e7716c2289917dfe3397524e9adfa5ee57fabaf
darkoverlordofdata/amp-sim-faust
amp_sim_browser.dsp
declare name "amp-sim"; declare version "0.1"; declare author "darkoverlordofdata"; declare description "Amplifier demo application."; declare license "MIT"; declare copyright "(c)DarkOverlordOfData 2021"; import("stdfaust.lib"); wa = library("webaudio.lib"); process = _,_ : + // : component_echo : component_amp ...
https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/91696611bc64e94c5767a43aaa0478f260ca43a3/src/amp_sim_browser.dsp
faust
: component_echo * * component_amp * * based on https://github.com/micbuffa/FaustPowerAmp Modified version of https://github.com/creativeintent/temper/blob/master/Dsp/temper.dsp Adapted for PowerAmp simulation (addition of presence filter, param adaptation, small changes...) Distortion parameters Output par...
declare name "amp-sim"; declare version "0.1"; declare author "darkoverlordofdata"; declare description "Amplifier demo application."; declare license "MIT"; declare copyright "(c)DarkOverlordOfData 2021"; import("stdfaust.lib"); wa = library("webaudio.lib"); process = _,_ : + : component_amp : component_flanger ...
27cb443ffced2695197fc93bfa1784ca3796065a92b7a581ce6256dc244f90dc
jujudusud/BPD
VtbdiMid_Stage1.dsp
// generated automatically // DO NOT MODIFY! declare id "VTBassDI"; declare name "VTBassDI"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x);...
https://raw.githubusercontent.com/jujudusud/BPD/aab4f1ef9f2a3e4b7f15e345004b8aeee428c87e/bddi/VtbdiMid_Stage1.dsp
faust
generated automatically DO NOT MODIFY!
declare id "VTBassDI"; declare name "VTBassDI"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma.SR); pr...
12aa4c89e42216111cb9d1a5328a603e4fdb8a5eb181d6c4b4a406addb0c83bd
jujudusud/BPD
bddi-p8.dsp
// generated automatically // DO NOT MODIFY! declare id "bddi-p8"; declare name "BDDI part 8"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x...
https://raw.githubusercontent.com/jujudusud/BPD/f6f931ae528147d59bcf3d4e0a59586338671a58/bddi-dsp/bddi-p8.dsp
faust
generated automatically DO NOT MODIFY!
declare id "bddi-p8"; declare name "BDDI part 8"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma.SR); ...
d28bd841b1c487ee3262c13bae37a19048f9cbeebf019524521936c26d9db8e2
jujudusud/BPD
bddi-p4.dsp
// generated automatically // DO NOT MODIFY! declare id "bddi-p4"; declare name "BDDI part 4"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x...
https://raw.githubusercontent.com/jujudusud/BPD/f6f931ae528147d59bcf3d4e0a59586338671a58/bddi-dsp/bddi-p4.dsp
faust
generated automatically DO NOT MODIFY!
declare id "bddi-p4"; declare name "BDDI part 4"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma.SR); ...
9b9bb3f249858326422529ee20d03de98328f63522c1c5fb75b40921229411c2
jujudusud/BPD
bddi-p2.dsp
// generated automatically // DO NOT MODIFY! declare id "bddi-p2"; declare name "BDDI part 2"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if...
https://raw.githubusercontent.com/jujudusud/BPD/f6f931ae528147d59bcf3d4e0a59586338671a58/bddi-dsp/bddi-p2.dsp
faust
generated automatically DO NOT MODIFY!
declare id "bddi-p2"; declare name "BDDI part 2"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(...
84970b61615a2cd52938151d07eee4320340d1c4d0e1242fb7905014d92f74b5
jujudusud/BPD
VtbdiMid_Stage2.dsp
// generated automatically // DO NOT MODIFY! declare id "VTBassDI"; declare name "VTBassDI"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b...
https://raw.githubusercontent.com/jujudusud/BPD/aab4f1ef9f2a3e4b7f15e345004b8aeee428c87e/bddi/VtbdiMid_Stage2.dsp
faust
generated automatically DO NOT MODIFY!
declare id "VTBassDI"; declare name "VTBassDI"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); s = 0.993; fs = float(ma...
7db4b02a80b57e7e673731c521750f0d90522d62bd45b9118eb79e2ab709264d
jujudusud/BPD
VtbdiPresence.dsp
// generated automatically // DO NOT MODIFY! declare id "VTBassDI-presence"; declare name "VTBassDI-presence"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp...
https://raw.githubusercontent.com/jujudusud/BPD/aab4f1ef9f2a3e4b7f15e345004b8aeee428c87e/bddi/VtbdiPresence.dsp
faust
generated automatically DO NOT MODIFY!
declare id "VTBassDI-presence"; declare name "VTBassDI-presence"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1...
d87129f0dbf64ffb917f88475fadb7e3695b56e0a584fe264b0214dbf83cb96e
jujudusud/BPD
bddi-p11.dsp
// generated automatically // DO NOT MODIFY! declare id "bddi-p11"; declare name "BDDI part 11"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); ...
https://raw.githubusercontent.com/jujudusud/BPD/f6f931ae528147d59bcf3d4e0a59586338671a58/bddi-dsp/bddi-p11.dsp
faust
generated automatically DO NOT MODIFY!
declare id "bddi-p11"; declare name "BDDI part 11"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) = ba.if(b, 1 - x, x); ...
f77c0ccc2336851d5db0de97a0cc63950d867c043753a5dc7d030b36e07305a6
jujudusud/BPD
BddiBassTreble.dsp
// generated automatically // DO NOT MODIFY! declare id "BddiBassTreble"; declare name "Tech21 Bass Driver: Combo Filter Bass+Treble"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a,...
https://raw.githubusercontent.com/jujudusud/BPD/aab4f1ef9f2a3e4b7f15e345004b8aeee428c87e/bddi/BddiBassTreble.dsp
faust
generated automatically DO NOT MODIFY!
declare id "BddiBassTreble"; declare name "Tech21 Bass Driver: Combo Filter Bass+Treble"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inv...
df70c2b4035a39e315f907bd235706585abe4395f0d973270692e8d871bb4f27
jujudusud/BPD
VtbdiBassTreble.dsp
// generated automatically // DO NOT MODIFY! declare id "VTBassDI-bt"; declare name "VTBassDI-bt"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0,b6/a0,b7/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0,a6/a0,a7/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x)...
https://raw.githubusercontent.com/jujudusud/BPD/aab4f1ef9f2a3e4b7f15e345004b8aeee428c87e/bddi/VtbdiBassTreble.dsp
faust
generated automatically DO NOT MODIFY!
declare id "VTBassDI-bt"; declare name "VTBassDI-bt"; declare category "External"; import("stdfaust.lib"); process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0,b6/a0,b7/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0,a6/a0,a7/a0)) with { LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x); Inverted(b, x) ...
fc04a07c11510d38434e427976bfe6adfeec216964c114c1841dc9b2cdae9a66
nick8325/faustilogue
fixedsin.dsp
import("stdfaust.lib"); process = os.oscsin(440);
https://raw.githubusercontent.com/nick8325/faustilogue/a5d455e6dd17894facec0c2b8623adc8cdfc0bb3/examples/fixedsin.dsp
faust
import("stdfaust.lib"); process = os.oscsin(440);
f486761ff58b9025737fc2bbf809e468c77076442ec2032a43b72ae65efc8b47
nick8325/faustilogue
sawtooth.dsp
import("stdfaust.lib"); process = +(0.01) ~ ma.frac;
https://raw.githubusercontent.com/nick8325/faustilogue/97099ba515a09875234ec4a9514cf67198af21a8/examples/sawtooth.dsp
faust
import("stdfaust.lib"); process = +(0.01) ~ ma.frac;
961ed726668f7b53c0aa119821a93df1f94d946fd6bef4863e4f5cd2c41d26bd
nick8325/faustilogue
bend.dsp
import("stdfaust.lib"); bend = ba.semi2ratio(hslider("frequency[midi:pitchwheel]",0,-2,2,0.01)) : si.smoo; process = os.sawtooth(440*bend);
https://raw.githubusercontent.com/nick8325/faustilogue/97099ba515a09875234ec4a9514cf67198af21a8/examples/bend.dsp
faust
import("stdfaust.lib"); bend = ba.semi2ratio(hslider("frequency[midi:pitchwheel]",0,-2,2,0.01)) : si.smoo; process = os.sawtooth(440*bend);
44a7e89334cc1abccf2e1dc31ebc7bf8891fc3bb1f5d23993b8e6d8787ce6dce
nick8325/faustilogue
midi.dsp
import("stdfaust.lib"); freq = hslider("freq",200,50,1000,0.01); gain = hslider("gain",0.5,0,1,0.01); gate = button("gate"); process = os.sawtooth(freq)*gain*gate;
https://raw.githubusercontent.com/nick8325/faustilogue/97099ba515a09875234ec4a9514cf67198af21a8/examples/midi.dsp
faust
import("stdfaust.lib"); freq = hslider("freq",200,50,1000,0.01); gain = hslider("gain",0.5,0,1,0.01); gate = button("gate"); process = os.sawtooth(freq)*gain*gate;
088e8f980b6d4ec774da6b82e04635dd5cdb43d45994c324c942f614850e4947
nick8325/faustilogue
nested_rdtable.dsp
import("stdfaust.lib"); tablesize = pl.tablesize; phasor = os.phasor; mything1 = os.oscsin(440); mything2 = os.osccos(220); process = rdtable(pl.tablesize, mything1 + mything2, int(os.phasor(pl.tablesize, 1)));
https://raw.githubusercontent.com/nick8325/faustilogue/f0a849a6670884f5e2717cbcb1d851f30a84a583/tests/nested_rdtable.dsp
faust
import("stdfaust.lib"); tablesize = pl.tablesize; phasor = os.phasor; mything1 = os.oscsin(440); mything2 = os.osccos(220); process = rdtable(pl.tablesize, mything1 + mything2, int(os.phasor(pl.tablesize, 1)));
e58599a59bd651bac7df94bf3e70f1503d684c69fc07a73537312fddb49a1227
nick8325/faustilogue
string.dsp
import("stdfaust.lib"); // freq, res and gate definitions go here freq = hslider("freq", 2000, 1, 22000, 1); res = hslider("shape", 1.2, 0, 5, 0.01); gate = 1; string(frequency,resonance,trigger) = trigger : ba.impulsify : fi.fb_fcomb(1024,del,1,resonance) with { del = ma.SR/frequency; }; process = string(freq,res,...
https://raw.githubusercontent.com/nick8325/faustilogue/f0a849a6670884f5e2717cbcb1d851f30a84a583/examples/string.dsp
faust
freq, res and gate definitions go here
import("stdfaust.lib"); freq = hslider("freq", 2000, 1, 22000, 1); res = hslider("shape", 1.2, 0, 5, 0.01); gate = 1; string(frequency,resonance,trigger) = trigger : ba.impulsify : fi.fb_fcomb(1024,del,1,resonance) with { del = ma.SR/frequency; }; process = string(freq,res,gate);
ecb6b78b18fd88854b3156099407fe914325bd0a2bd132758f08ff7fa8b6c882
nick8325/faustilogue
karplus.dsp
declare name "KarplusStrong"; declare description "Simple call of the Karplus-Strong model for the Faust physical modeling library"; declare license "MIT"; declare copyright "(c)Romain Michon, CCRMA (Stanford University), GRAME"; import("stdfaust.lib"); process = 1 : pm.impulseExcitation*gain : pm.ks( (freq : pm.f2l)...
https://raw.githubusercontent.com/nick8325/faustilogue/f77072a9c4a71eab44fc718b2988421840d6847b/examples/karplus.dsp
faust
declare name "KarplusStrong"; declare description "Simple call of the Karplus-Strong model for the Faust physical modeling library"; declare license "MIT"; declare copyright "(c)Romain Michon, CCRMA (Stanford University), GRAME"; import("stdfaust.lib"); process = 1 : pm.impulseExcitation*gain : pm.ks( (freq : pm.f2l)...
071be929b760192509602956f023056e5eea0b6d4ced97fc7dbe1d949b64afc6
nick8325/faustilogue
electricGuitarMIDI.dsp
// NOTE: this only works at 24kHz // TODO: retune it to sound nice at 24kHz! declare name "ElecGuitarMidi"; declare description "Simple electric guitar model."; declare license "MIT"; declare copyright "(c)Romain Michon, CCRMA (Stanford University), GRAME"; import("stdfaust.lib"); process = guitar_ui_MIDI; guitar_u...
https://raw.githubusercontent.com/nick8325/faustilogue/f77072a9c4a71eab44fc718b2988421840d6847b/examples/electricGuitarMIDI.dsp
faust
NOTE: this only works at 24kHz TODO: retune it to sound nice at 24kHz!
declare name "ElecGuitarMidi"; declare description "Simple electric guitar model."; declare license "MIT"; declare copyright "(c)Romain Michon, CCRMA (Stanford University), GRAME"; import("stdfaust.lib"); process = guitar_ui_MIDI; guitar_ui_MIDI = pm.elecGuitar(stringLength,pluckPosition,1,gain,gate) with{ f = ...
baf368646654e0c156b783ec2d8fa70a333cf932006ada991745f5e64d91be96
nick8325/faustilogue
bubble.dsp
declare name "bubble"; declare description "Production of a water drop bubble sound."; declare license "MIT"; declare copyright "(c) 2017: Yann Orlarey, GRAME"; import("stdfaust.lib"); //---------------------------`bubble`-------------------------- // bubble(f0, trig) : produces a water drop bubble sound // // #### ...
https://raw.githubusercontent.com/nick8325/faustilogue/97099ba515a09875234ec4a9514cf67198af21a8/examples/bubble.dsp
faust
---------------------------`bubble`-------------------------- bubble(f0, trig) : produces a water drop bubble sound #### Usage ``` bubble(f0, trig) : _ ``` Where: * ` f0 `: base frequency of bubble sound * `trig`: trigs the bubble sound on the rising front #### Example ``` button("drop") : bubble(600) ...
declare name "bubble"; declare description "Production of a water drop bubble sound."; declare license "MIT"; declare copyright "(c) 2017: Yann Orlarey, GRAME"; import("stdfaust.lib"); bubble(f0,trig) = os.osc(f) * (exp(-damp*time) : si.smooth(0.99)) with { damp = 0.043*f0 + 0.0014*f0^(3/2); f = f0*(1+sigma*ti...
9f2c68a42ce5fb216696de03e37b8df59a3098a985114348c44981fa83138ac0
droosenb/faust-on-ESP32
ForwardEuler.dsp
import("stdfaust.lib"); fEuler(expr) = si.bus(n) <: si.bus(n), expr <: par(i, n, (ba.selector(i, 2*m) + ba.selector(i+m,2*m)/ma.SR)) with { n = inputs(expr); m = outputs(expr); }; sho(x, v) = v+v0, -1 * w^2 * x with{ w = hslider("freq", 200, 100, 1000, .01); v0 = start; c = 1/10000; start = b...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/ODE_Solver/Midpoint(5)/ForwardEuler.dsp
faust
import("stdfaust.lib"); fEuler(expr) = si.bus(n) <: si.bus(n), expr <: par(i, n, (ba.selector(i, 2*m) + ba.selector(i+m,2*m)/ma.SR)) with { n = inputs(expr); m = outputs(expr); }; sho(x, v) = v+v0, -1 * w^2 * x with{ w = hslider("freq", 200, 100, 1000, .01); v0 = start; c = 1/10000; start = b...
63587606494df84f0beaaa5aeb23acd5edb163226cefd22be83b03bc8d0c3ed2
droosenb/faust-on-ESP32
RuanKutta.dsp
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)) : expr <: par(i,n,ba.selector(i,m)''*2/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)*.5) : expr <: par(i,n,ba.selector(i,m)'*2/ma...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/ODE_Solver/Midpoint(4)/RuanKutta.dsp
faust
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)) : expr <: par(i,n,ba.selector(i,m)''*2/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)*.5) : expr <: par(i,n,ba.selector(i,m)'*2/ma...
fb8559fca9bc89688e878ce81c15f439728b30a92490e1e452647821e03de373
droosenb/faust-on-ESP32
FaustBasic.dsp
import("stdfaust.lib"); //freq = nentry("freq", 440, 20, 2000, .01) : si.smoo; sfreq = hslider("sFreq", 60, 0, 1000, .01); sQ = hslider("sQ", 1, 0, 100, .001); speaker = fi.resonbp(sfreq, sQ, 1); lambda = hslider("lambda", 1, 0.001 , 1, .001); phase = hslider("phase", 0, 0, 3.14, .01); a0 = hslider("michelsonAmpOut...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/ODE_Solver/Midpoint(3)/FaustBasic.dsp
faust
freq = nentry("freq", 440, 20, 2000, .01) : si.smoo;
import("stdfaust.lib"); sfreq = hslider("sFreq", 60, 0, 1000, .01); sQ = hslider("sQ", 1, 0, 100, .001); speaker = fi.resonbp(sfreq, sQ, 1); lambda = hslider("lambda", 1, 0.001 , 1, .001); phase = hslider("phase", 0, 0, 3.14, .01); a0 = hslider("michelsonAmpOut", 1, 0, 2, .01); michelson(s) = s/lambda + phase : (c...
e6fc5e5131b9c572eba8e718100098e35ef94d06501003e4f5da60f2903264f0
droosenb/faust-wdf-library
tubeScreamer.dsp
import("stdfaust.lib"); //wd = library("wdmodels.lib"); stage_a(in1) = wd.buildtree(tree_a) with{ vinA(i) = wd.u_resVoltage(i, 1, in1); c2(i) = wd.capacitor(i, 1*10^-6); vB(i) = wd.resVoltage_Vout(i, 10*10^3, 4.5); rA(i) = wd.resistor(i, 220); tree_a = vinA : wd.series : (c2, (wd.series : (rA, v...
https://raw.githubusercontent.com/droosenb/faust-wdf-library/e581eb15b7b06572add939c6aa99472cca04269b/examples/tube-screamer/tubeScreamer.dsp
faust
wd = library("wdmodels.lib");
import("stdfaust.lib"); stage_a(in1) = wd.buildtree(tree_a) with{ vinA(i) = wd.u_resVoltage(i, 1, in1); c2(i) = wd.capacitor(i, 1*10^-6); vB(i) = wd.resVoltage_Vout(i, 10*10^3, 4.5); rA(i) = wd.resistor(i, 220); tree_a = vinA : wd.series : (c2, (wd.series : (rA, vB))); }; stage_b(in1) = wd.bui...
612f729f2e02187a7bfa16344b208f49fc86e76ed6873a43e300bbabfbca01f3
droosenb/faust-on-ESP32
Midpoint.dsp
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)') : expr <: par(i,n,ba.selector(i,m)*2/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)'*.5) : expr <: par(i,n,ba.selector(i,m)*2/ma....
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/ODE_Solver/Midpoint(3)/Midpoint.dsp
faust
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)') : expr <: par(i,n,ba.selector(i,m)*2/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)'*.5) : expr <: par(i,n,ba.selector(i,m)*2/ma....
b33f2ba08f08f1025db1b4cd313cc9c4632f8c75adc969323e0e6ffd054cdda3
droosenb/faust-on-ESP32
Midpoint.dsp
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)') : expr <: par(i,n,ba.selector(i,m)*2/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)'*.5) : expr <: par(i,n,ba.selector(i,m)*2/ma....
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/ODE_Solver/Midpoint(4)/Midpoint.dsp
faust
define the ode's for the Simple Harmonic Oscillator define the ode's for the Lorentz atrractor process = solve(sho);
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)') : expr <: par(i,n,ba.selector(i,m)*2/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)'*.5) : expr <: par(i,n,ba.selector(i,m)*2/ma....
1e4a023cbf43f343c3fd503f1914029f03df9bb8e9d30b2573fd571fbd154415
droosenb/faust-on-ESP32
Midpoint.dsp
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)) : expr <: par(i,n,ba.selector(i,m)/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)*.5) : expr <: par(i,n,ba.selector(i,m)/ma.SR) wi...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/old_examples/LyraT_OSC_simple/main/Midpoint.dsp
faust
define the ode's for the Simple Harmonic Oscillator define the ode's for the Lorentz atrractor process = solve(sho) : _/128, _/128;
import("stdfaust.lib"); F1(expr) = si.bus(n) <: par(i,n,ba.selector(i,n)) : expr <: par(i,n,ba.selector(i,m)/ma.SR) with { n = inputs(expr); m = outputs(expr); }; F2(expr) = si.bus(n) <: si.bus(n) , F1(expr) <: par(i, n, ba.selector(i, 2*n) + ba.selector(i+n,2*n)*.5) : expr <: par(i,n,ba.selector(i,m)/ma.SR) wi...
d642f679b485db1bc94c17c0610792b6569246c4564d641ad6980404e0121a29
droosenb/faust-on-ESP32
PlateRev.dsp
import("stdfaust.lib"); ap(gain, delay, delay_max) = ( + <: de.delay(delay_max, delay -1 ), *(-gain)) ~ *(gain): _' + _; ap_constant(gain, delay) = ( + <: de.delay(delay, delay -1), *(-gain)) ~ *(gain): _' + _; osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with{ tabl...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/OSC/esp32-osc-reverb/PlateRev.dsp
faust
instead of 1 << 16
import("stdfaust.lib"); ap(gain, delay, delay_max) = ( + <: de.delay(delay_max, delay -1 ), *(-gain)) ~ *(gain): _' + _; ap_constant(gain, delay) = ( + <: de.delay(delay, delay -1), *(-gain)) ~ *(gain): _' + _; osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with{ }; onep...
ddc692fafbe2e349ddbf0b7df0c4ab2fa5fa64506faaa7ab541ec9c914e56e79
droosenb/faust-on-ESP32
reverb.dsp
import("stdfaust.lib"); ap(gain, delay, delay_max) = ( + <: de.delay(delay_max, delay -1 ), *(-gain)) ~ *(gain): _' + _; ap_constant(gain, delay) = ( + <: de.delay(delay, delay -1), *(-gain)) ~ *(gain): _' + _; osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with{ tabl...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/OSC/esp32-osc-reverb/reverbfix/reverb.dsp
faust
instead of 1 << 16
import("stdfaust.lib"); ap(gain, delay, delay_max) = ( + <: de.delay(delay_max, delay -1 ), *(-gain)) ~ *(gain): _' + _; ap_constant(gain, delay) = ( + <: de.delay(delay, delay -1), *(-gain)) ~ *(gain): _' + _; osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with{ }; onep...
1124709675414fb65b224dc2d6f995faa52ceb8399648b7c33df934999dbeef5
droosenb/faust-on-ESP32
reverb.dsp
import("stdfaust.lib"); ap(gain, delay, delay_max) = ( + <: de.delay(delay_max, delay -1 ), *(-gain)) ~ *(gain): _' + _; ap_constant(gain, delay) = ( + <: de.delay(delay, delay -1), *(-gain)) ~ *(gain): _' + _; osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with{ tabl...
https://raw.githubusercontent.com/droosenb/faust-on-ESP32/2060ad6723bed4578d5a75f8eeeacb93a7dc0b60/OSC/esp32-osc-reverb/reverb.dsp
faust
instead of 1 << 16
import("stdfaust.lib"); ap(gain, delay, delay_max) = ( + <: de.delay(delay_max, delay -1 ), *(-gain)) ~ *(gain): _' + _; ap_constant(gain, delay) = ( + <: de.delay(delay, delay -1), *(-gain)) ~ *(gain): _' + _; osc(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with{ }; onep...
4a7ef667d713b0ea68e45324bd6969d58c732d6d95dddf02b4ecc8fe5fae79af
droosenb/faust-wdf-library
funtionTesting.dsp
import("stdfaust.lib"); Fader(in) = ba.db2linear(vslider("Input %in", -10, -96, 4, 0.1)); Mixer(N,out) = hgroup("Output %out", par(in, N, *(Fader(in)) ) :> _ ); Matrix(N,M) = tgroup("Matrix %N x %M", par(in, N, _) <: par(out, M, Mixer(N, out))); funct = _ + 1, r0 with{ r0 = 3.14; }; funct2(f1) = _, f1 : cal...
https://raw.githubusercontent.com/droosenb/faust-wdf-library/65d804019863c4ff86e0362792509b988bab3b84/testing-files/funtionTesting.dsp
faust
old attempt at application based WDF 2 port devices attempt at reverse stuff (x, y) => _, ; crossover = _, ro.crossn1(2), _, _; casefucnt((Ap1, Ap2)) = Ap1(0) , Ap2(0); builddown(A: (As1, As2)) = ((_, _, _, upPortRes): A(0)), addins(inputs(builddown(As1), builddown(As2)) - 2 ) : crossover : builddown(As1), builddow...
import("stdfaust.lib"); Fader(in) = ba.db2linear(vslider("Input %in", -10, -96, 4, 0.1)); Mixer(N,out) = hgroup("Output %out", par(in, N, *(Fader(in)) ) :> _ ); Matrix(N,M) = tgroup("Matrix %N x %M", par(in, N, _) <: par(out, M, Mixer(N, out))); funct = _ + 1, r0 with{ r0 = 3.14; }; funct2(f1) = _, f1 : cal...
4cb6cf542505758faaa3037565bfab161d630dc377642baca3dcae2d575c5468
droosenb/portfolio
screamerTone.dsp
import("stdfaust.lib"); wdf = library("wavedigitalfilters.lib"); r_scatter = case{ (0) => r_up with{ r_up = si.bus(11) <: b1, b2, b3, b4, b5; b1(R1, R2, R3, R4, R5, a0, a1, a2, a3, a4, a5) = a0 - a1 + 2*a2 + a3 + a5; b2(R1, R2, R3, R4, R5, a0, a1, a2, a3, a4, a5) = a2; b3(R1, R...
https://raw.githubusercontent.com/droosenb/portfolio/d4760202d20791c74624b02e2de350392cdd4cf0/wave-digital-model-library/screamerTone.dsp
faust
import("stdfaust.lib"); wdf = library("wavedigitalfilters.lib"); r_scatter = case{ (0) => r_up with{ r_up = si.bus(11) <: b1, b2, b3, b4, b5; b1(R1, R2, R3, R4, R5, a0, a1, a2, a3, a4, a5) = a0 - a1 + 2*a2 + a3 + a5; b2(R1, R2, R3, R4, R5, a0, a1, a2, a3, a4, a5) = a2; b3(R1, R...
92b3b981c97f5b349525209a967a5741f87977da8b6ec195f88a06271ab4404d
droosenb/portfolio
tubeScreamer.dsp
import("stdfaust.lib"); wd = library("wdmodels.lib"); stage_a(in1) = wd.buildtree(tree_a) with{ vinA(i) = wd.u_resVoltage(i, 1, in1); c2(i) = wd.capacitor(i, 1*10^-6); vB(i) = wd.resVoltage_output(i, 10*10^3, 4.5); rA(i) = wd.resistor(i, 220); tree_a = vinA : wd.series : (c2, (wd.series : (rA, vB...
https://raw.githubusercontent.com/droosenb/portfolio/d4760202d20791c74624b02e2de350392cdd4cf0/wave-digital-model-library/tubeScreamer.dsp
faust
import("stdfaust.lib"); wd = library("wdmodels.lib"); stage_a(in1) = wd.buildtree(tree_a) with{ vinA(i) = wd.u_resVoltage(i, 1, in1); c2(i) = wd.capacitor(i, 1*10^-6); vB(i) = wd.resVoltage_output(i, 10*10^3, 4.5); rA(i) = wd.resistor(i, 220); tree_a = vinA : wd.series : (c2, (wd.series : (rA, vB...
4344d0cfebc0e5c6a895ac207ef5f283582bca965c32a0e3571e9e2544c6d51d
droosenb/faust-wdf-library
functionTesting2.dsp
import("stdfaust.lib"); //seq(i, ba.count(mtx), (addins(i), ro.cross1n(ba.subseq(mtx, 0, i) :> _*ma.signum(i)), addins(ba.subseq(mtx, i, ba.count(mtx)):> _-1 ))) crossover_bad(mtx, bus) = par(i, ba.count(mtx), (select(bus, i), addins(ba.take(i+1-ma.signum(i), mtx)-1))), addins(ba.take(ba.count(mtx), mtx)) with{ ...
https://raw.githubusercontent.com/droosenb/faust-wdf-library/65d804019863c4ff86e0362792509b988bab3b84/testing-files/functionTesting2.dsp
faust
seq(i, ba.count(mtx), (addins(i), ro.cross1n(ba.subseq(mtx, 0, i) :> _*ma.signum(i)), addins(ba.subseq(mtx, i, ba.count(mtx)):> _-1 ))) generate the routed crossover points ((out, next, norm_index, spec_index, sum), (xs, xxs)) ((out, next, norm_index, spec_index, sum), (xs, xxs)) output is a special output escape case,...
import("stdfaust.lib"); crossover_bad(mtx, bus) = par(i, ba.count(mtx), (select(bus, i), addins(ba.take(i+1-ma.signum(i), mtx)-1))), addins(ba.take(ba.count(mtx), mtx)) with{ select(bus, i) = bus : ba.selector(i, outputs(bus)); }; crossover(mtx) = bottom with{ mtxsum(t_mtx) = sum(i, ba.count(t_mtx), ba.tak...
0a04a8b4f7ecbd11ad207f19bba053b1fb37bbb0b177dd4cb97d0f8548723f80
droosenb/faust-wdf-library
bassmanTonestack.dsp
import("stdfaust.lib"); tonestack(in1) = wd.buildtree(tree) with{ r1p(i) = wd.resistor(i, 250*10^3-pot1+.00001); r1m(i) = wd.resistor_Vout(i, pot1+.00001); r2(i) = wd.resistor_Vout(i, pot2+.00001); r3p(i) = wd.resistor_Vout(i, 25*10^3-pot3+.00001); r3m(i) = wd.resistor_Vout(i, pot3+.00001); r4(...
https://raw.githubusercontent.com/droosenb/faust-wdf-library/e581eb15b7b06572add939c6aa99472cca04269b/examples/basssman-tonestack/bassmanTonestack.dsp
faust
leaf node case internal node case leaf node case internal node case process(Cv, a, b, c, d) = capacitorMobius(0, Cv, a, b, c, d), wd.capacitor_output(0, Cv);
import("stdfaust.lib"); tonestack(in1) = wd.buildtree(tree) with{ r1p(i) = wd.resistor(i, 250*10^3-pot1+.00001); r1m(i) = wd.resistor_Vout(i, pot1+.00001); r2(i) = wd.resistor_Vout(i, pot2+.00001); r3p(i) = wd.resistor_Vout(i, 25*10^3-pot3+.00001); r3m(i) = wd.resistor_Vout(i, pot3+.00001); r4(...
e77c1176accc85343f9d441891a85611ef090df3043c78974540d1d2a2407acc
droosenb/faust-wdf-library
pultec.dsp
import("stdfaust.lib"); pultec(in1) = wd.buildtree(tree) with{ //resistors and potentiometers p_HB_p(i) = wd.resistor(i, (10.0e4 - p_HB_ui + 1)); p_HB_m(i) = wd.resistor(i, (p_HB_ui + 1)); p_HBQ(i) = wd.resistor(i, (p_HBQ_ui+1)); p_LC(i) = wd.resistor(i, (p_LC_ui +1)); p_HC_p(i) = wd.resistor(i...
https://raw.githubusercontent.com/droosenb/faust-wdf-library/e581eb15b7b06572add939c6aa99472cca04269b/examples/03-pultec-eqp1a/pultec.dsp
faust
resistors and potentiometers capacitors inductor voltage input connection tree parts approximate a potentiometer position as an audio taper (log) resistance (%) approximate a potentiometer postion as an inverse log resistance (%) ui-elements capacitor switched values inductor switched values (3kHz, 4kHz, 5kHz, 6kHz, 10...
import("stdfaust.lib"); pultec(in1) = wd.buildtree(tree) with{ p_HB_p(i) = wd.resistor(i, (10.0e4 - p_HB_ui + 1)); p_HB_m(i) = wd.resistor(i, (p_HB_ui + 1)); p_HBQ(i) = wd.resistor(i, (p_HBQ_ui+1)); p_LC(i) = wd.resistor(i, (p_LC_ui +1)); p_HC_p(i) = wd.resistor(i, (1.0e3 - p_HC_ui + 1)); p_HC_...
8c7098403a1151f05c1372b47c41b9008b29ef1e11363275612c1cba17c637cb
CICM-research-composition/livepatching
delay.dsp
import("stdfaust.lib"); //--------------------------------------------------------------------------------------// //A delay chain //--------------------------------------------------------------------------------------// //--------------------------------------------------------------------------------------// //CO...
https://raw.githubusercontent.com/CICM-research-composition/livepatching/da47667b3f5236b4b81cb05593f35d408caaca9e/source/delay.dsp
faust
--------------------------------------------------------------------------------------// A delay chain --------------------------------------------------------------------------------------// --------------------------------------------------------------------------------------// CONSTANTS -----------------------------...
import("stdfaust.lib"); Ndelsamp = 262144; millisec = ma.SR / 1000.0; tempo = nentry("tempo", 60, 1, 10000, 1); vol = nentry("vol", 1, 0, 1, 0.01) : si.smoo; fdbk = nentry("fdbk", 0, 0, 0.99999, 0.001); rythm = (0, 0.25, 0.75, 0.5, 3.5, 0.5, 1.75, 0.75); dynamics = (id, vl, bl, ml, ml, ml, ml, ml); dur(...
1791202b543e35b24d6874226d65678a905e7b5fc4011c60bc44e3456c919adc
Jikstra/faust-plugins
sawlfo.dsp
import("stdfaust.lib"); decimalpart(x) = x - int(x); sawtooth(reset, stepSize) = ((+(stepSize)) , 0 : select2(reset)) ~ ma.decimal; ms = 1 / (nentry("ms", 1000, 1, 100000, 1) * (ma.SR / 1000)); reset = button("reset"); process = sawtooth(reset, ms), sawtooth(reset, ms) : _,_;
https://raw.githubusercontent.com/Jikstra/faust-plugins/2e91fe48d82e9ea7b74e8ac083dd6d40fb4ca645/sawlfo.dsp
faust
import("stdfaust.lib"); decimalpart(x) = x - int(x); sawtooth(reset, stepSize) = ((+(stepSize)) , 0 : select2(reset)) ~ ma.decimal; ms = 1 / (nentry("ms", 1000, 1, 100000, 1) * (ma.SR / 1000)); reset = button("reset"); process = sawtooth(reset, ms), sawtooth(reset, ms) : _,_;
bf4f06a9a3cfb8a87c5cd8b340ce49501a561af2264c8afba8ac9551e8b98960
Jikstra/faust-plugins
freqsplitter.dsp
import("stdfaust.lib"); low_cut = hslider("cut", 10000, 1, 10000, 1); low_gain = hslider("low_gain", 1, 0, 1, 0.001); high_gain = hslider("high_gain", 1, 0, 1, 0.001); process = _,_ <: _,_,_,_ : fi.lowpass6e(low_cut)*low_gain,fi.lowpass6e(low_cut)*low_gain,fi.highpass6e(low_cut)*high_gain,fi.highpass6e(low_cut)*high_...
https://raw.githubusercontent.com/Jikstra/faust-plugins/2e91fe48d82e9ea7b74e8ac083dd6d40fb4ca645/freqsplitter.dsp
faust
import("stdfaust.lib"); low_cut = hslider("cut", 10000, 1, 10000, 1); low_gain = hslider("low_gain", 1, 0, 1, 0.001); high_gain = hslider("high_gain", 1, 0, 1, 0.001); process = _,_ <: _,_,_,_ : fi.lowpass6e(low_cut)*low_gain,fi.lowpass6e(low_cut)*low_gain,fi.highpass6e(low_cut)*high_gain,fi.highpass6e(low_cut)*high_...
fce2f54a125ff8034832a538299727b056900b6df3df558df26e17d12b21a9c4
Jikstra/faust-plugins
midiclock.dsp
import("stdfaust.lib"); // square signal (1/0), changing state at each received clock clocker = checkbox("MIDI clock[midi:clock]"); // ON/OFF button controlled with MIDI start/stop messages play = checkbox("ON/OFF [midi:start] [midi:stop]"); // detect front front(x) = (x-x') != 0.0; // count number of...
https://raw.githubusercontent.com/Jikstra/faust-plugins/2e91fe48d82e9ea7b74e8ac083dd6d40fb4ca645/midiclock.dsp
faust
square signal (1/0), changing state at each received clock ON/OFF button controlled with MIDI start/stop messages detect front count number of peaks during one second
import("stdfaust.lib"); clocker = checkbox("MIDI clock[midi:clock]"); play = checkbox("ON/OFF [midi:start] [midi:stop]"); front(x) = (x-x') != 0.0; freq(x) = (x-x@ma.SR) : + ~ _; process = os.osc(8*freq(front(clocker))) * play;
30283adbfb9e00100dc6554b80f9287e72944a49aeb85796e35018bfc8aacb67
Jikstra/faust-plugins
3bandfreqsplitter.dsp
import("stdfaust.lib"); low_cut = nentry("[0]low cut", 300, 1, 20000, 1) : si.smoo; mid_cut = nentry("[1]mid cut", 1000, 1, 20000, 1) : si.smoo; low_gain = hslider("[2]low_gain", 1, 0, 2, 0.001) : si.smoo; mid_gain = hslider("[3]mid_gain", 1, 0, 2, 0.001) : si.smoo; high_gain = hslider("[4]]high_gain", 1, 0, 2, 0.001...
https://raw.githubusercontent.com/Jikstra/faust-plugins/2e91fe48d82e9ea7b74e8ac083dd6d40fb4ca645/3bandfreqsplitter.dsp
faust
import("stdfaust.lib"); low_cut = nentry("[0]low cut", 300, 1, 20000, 1) : si.smoo; mid_cut = nentry("[1]mid cut", 1000, 1, 20000, 1) : si.smoo; low_gain = hslider("[2]low_gain", 1, 0, 2, 0.001) : si.smoo; mid_gain = hslider("[3]mid_gain", 1, 0, 2, 0.001) : si.smoo; high_gain = hslider("[4]]high_gain", 1, 0, 2, 0.001...
d40abe73ec4e3c90723753309849b0a670f3c04b999a2dbdcd58826281fe97af
Jikstra/faust-plugins
dj-channel.dsp
import("stdfaust.lib"); /* Inverts a boolean value. Makes a 0 out of a one and a one out of zero. */ invertBool = _ : _ - 1; low_cut = nentry("[0]low cut", 300, 1, 20000, 1) : si.smoo; low_q = nentry("[1]low q", 6, 1, 16, 2); mid_cut = nentry("[2]mid cut", 1500, 1, 20000, 1) : si.smoo; high_q = nentry("[3]high q", 4...
https://raw.githubusercontent.com/Jikstra/faust-plugins/2e91fe48d82e9ea7b74e8ac083dd6d40fb4ca645/dj-channel.dsp
faust
Inverts a boolean value. Makes a 0 out of a one and a one out of zero. Splits a single signal into two signals at a given frequency (freq) with * order of q Same as splitMono but for a stereo signal Splits a stereo signal into 6 signals, where the 1 & 2 signal are the low * frequencies (everything below low_c...
import("stdfaust.lib"); invertBool = _ : _ - 1; low_cut = nentry("[0]low cut", 300, 1, 20000, 1) : si.smoo; low_q = nentry("[1]low q", 6, 1, 16, 2); mid_cut = nentry("[2]mid cut", 1500, 1, 20000, 1) : si.smoo; high_q = nentry("[3]high q", 4, 1, 16, 1); low_gain = hslider("[4]low_gain", 1, 0, 2, 0.001) : si.smoo; low...
3243bda6ad686df0c873fa58cf3761885b0bac6bd88e022c7981f98a2d352b0a
Jikstra/faust-plugins
djchannelnew.dsp
import("stdfaust.lib"); /* Inverts a boolean value. Makes a 0 out of a one and a one out of zero. */ invertBool = _ : _ - 1; low_cut = nentry("[0]low cut", 300, 1, 20000, 1) : si.smoo; low_q = nentry("[1]low q", 6, 1, 16, 2); mid_cut = nentry("[2]mid cut", 1500, 1, 20000, 1) : si.smoo; high_q = nentry("[3]high q", 4...
https://raw.githubusercontent.com/Jikstra/faust-plugins/3515e771924db980575ce0522e22f38a4f175864/djchannelnew.dsp
faust
Inverts a boolean value. Makes a 0 out of a one and a one out of zero. Splits a single signal into two signals at a given frequency (freq) with * order of q Same as splitMono but for a stereo signal Splits a stereo signal into 6 signals, where the 1 & 2 signal are the low * frequencies (everything below low_c...
import("stdfaust.lib"); invertBool = _ : _ - 1; low_cut = nentry("[0]low cut", 300, 1, 20000, 1) : si.smoo; low_q = nentry("[1]low q", 6, 1, 16, 2); mid_cut = nentry("[2]mid cut", 1500, 1, 20000, 1) : si.smoo; high_q = nentry("[3]high q", 4, 1, 16, 1); low_gain = hslider("[4]low_gain", 1, 0, 2, 0.001) : si.smoo; low...
4b864e1ee1f914ae4cc4a0088250455c74c80ed251ddbfdb0c197ea584fc8107
Jikstra/faust-plugins
modelOneEQ.dsp
declare options "[midi:on]"; import("stdfaust.lib"); midikey2hz(m) = lowestValue * pow(2.0, k * m) with { //lowestValue = 2000; lowestValue = 20; offset = 0; k = log(((ma.SR/2)+offset)/lowestValue) / log(2) / 127; }; midikey2hzHP(m) = lowestValue * pow(l, k * (m - 1)) with { l = 2; lowestValu...
https://raw.githubusercontent.com/Jikstra/faust-plugins/3515e771924db980575ce0522e22f38a4f175864/modelOneEQ.dsp
faust
lowestValue = 2000; lowestValue = 4000; lowestValue = 4000; hp_mono = _ : seq(i, 8, fi.svf.hp(hp_fq, 0.5)) : _;
declare options "[midi:on]"; import("stdfaust.lib"); midikey2hz(m) = lowestValue * pow(2.0, k * m) with { lowestValue = 20; offset = 0; k = log(((ma.SR/2)+offset)/lowestValue) / log(2) / 127; }; midikey2hzHP(m) = lowestValue * pow(l, k * (m - 1)) with { l = 2; lowestValue = 20; offset = 0; ...
7d0adf73d5af21fe309fb9fc7c6b387308a15ed97081eb59a75e0be627331ef7
diegomonteagudo/TC-SON
FaustTwoSounds.dsp
import("stdfaust.lib"); // djembeModelCustom(freq) = _ <: par(i,nModes,pm.modeFilter(modeFreqs(i),modeT60s(i),modeGains(i))) :> /(nModes) // with{ // nModes = 10; // theta = 0; // angle // modeFreqs(i) = freq + 200*i; // modeT60s(i) = (nModes-i)*0.03; // modeGains(i) = cos((i+1)*theta)/float(i+1)*(...
https://raw.githubusercontent.com/diegomonteagudo/TC-SON/6c2dd3cf34f020ad499c8c08e8dfea9446a024ec/FaustTwoSounds.dsp
faust
djembeModelCustom(freq) = _ <: par(i,nModes,pm.modeFilter(modeFreqs(i),modeT60s(i),modeGains(i))) :> /(nModes) with{ nModes = 10; theta = 0; // angle modeFreqs(i) = freq + 200*i; modeT60s(i) = (nModes-i)*0.03; modeGains(i) = cos((i+1)*theta)/float(i+1)*(1/(i+1)); }; djembe(freq,strikePositi...
import("stdfaust.lib"); oscsin(freq) = rdtable(tablesize, os.sinwaveform(tablesize), int(os.phasor(tablesize,freq))) with { tablesize = 256; }; frequence0 = hslider("frequence0",261.63,20,6000,0.1); frequence1 = hslider("frequence1",277.18,20,6000,0.1); frequence2 = hslider("frequence2",293.66,20,6000,0.1); fre...
bf8b1eb6cdc931cc0d598232e3de938e2dc730767f29b3c92f2e84431824099b
consba/2023-Musel21
dattorro.dsp
declare name "Dattorro Reverb"; import("stdfaust.lib"); dattorroSr = 29761; //dattorroval : dattorrosr = x : sr // funzione per l'adattamento dei valori adapt(val) = val; //* ma.SR / 29761 : int; // slider //guisr = vslider("Sample Rate[style:radio{'44100':0;'48000':1;'96000':2}]",0, 0, 2, 1); //mymax = select3(g...
https://raw.githubusercontent.com/consba/2023-Musel21/33f82a0d4f4e24c5d333e3633dcd77fcab2df9c4/dattorro.dsp
faust
dattorroval : dattorrosr = x : sr funzione per l'adattamento dei valori * ma.SR / 29761 : int; slider guisr = vslider("Sample Rate[style:radio{'44100':0;'48000':1;'96000':2}]",0, 0, 2, 1); mymax = select3(guisr, 44100, 48000, 96000); si può impostare SR ma.sub inverte l'ordine degli operatori process = ba.pulsen(1, m...
declare name "Dattorro Reverb"; import("stdfaust.lib"); dattorroSr = 29761; mymax = 96000; decay = vslider("[1]decay", 0.5, 0, 1, 0.01) : si.smoo; dDgroup(x) = hgroup("[2]Decay diffusion", x); ddiff1 = dDgroup(vslider("1", 0.7, 0, 1, 0.01)); ddiff2 = dDgroup(vslider("2", 0.5, 0.25, 0.5, 0.01)); iDgroup(x) = hgro...
732fd4e0d2bc10c5ceaa54bbe4e6a4e1e771a8602e0f35079ea96746e494c104
JoaoSvidzinski/lorenz-dream
mTDelHarmo7E.dsp
//--------------------------------------------------------------------------------------// //-------------------------------mTDelHarmo7--------------------------------------------// // //-------------------------BY ALAIN BONARDI - 2015 - 2017-------------------------------// //------------------------------------------...
https://raw.githubusercontent.com/JoaoSvidzinski/lorenz-dream/9d6014145d8101e92c34418f81c9be210650cf05/_Patch/Dep/mTDelHarmo7E/mTDelHarmo7E.dsp
faust
--------------------------------------------------------------------------------------// -------------------------------mTDelHarmo7--------------------------------------------// -------------------------BY ALAIN BONARDI - 2015 - 2017-------------------------------// ----------------------------------------------------...
import("stdfaust.lib"); toggle(c, in) = checkbox("h:Lines/h:Reinjection_Matrix/v:Del%2c-->/r%3in"); Mixer(N,out) = par(in, N, *(toggle(in, in+out*N)) ) :> _ ; Matrix(N,M) = par(in, N, _) <: par(out, M, Mixer(N, out)); tablesize = 1 << 16; sinustable = os.sinwaveform(tablesize); millisec = ma.SR / 1000.0; hWi...
aa935666e73db97f39364d95cad9be5e7e7baf9d4266b099dc629bf16d904c1e
mygamingaccount/ghg-hydrophone-demo
ghg_compensator.dsp
declare name "GHG Compensator component"; import("stdfaust.lib"); // INPUT PARAMETERS // Number of hydrophone elements. // GHG had 2 groups of 24 hydrophones on each side nElements = 24; // Total length of a hydrophone group in meters. // A longer group improves low-frequency beam width but limits the highest usable f...
https://raw.githubusercontent.com/mygamingaccount/ghg-hydrophone-demo/9c114b55cfaf24f5a02a0bf4b2626b271015e2ea/ghg_compensator.dsp
faust
INPUT PARAMETERS Number of hydrophone elements. GHG had 2 groups of 24 hydrophones on each side Total length of a hydrophone group in meters. A longer group improves low-frequency beam width but limits the highest usable frequency Speed of sound in m/s for calculating the delay Compensator created using a simple...
declare name "GHG Compensator component"; import("stdfaust.lib"); nElements = 24; glen = 2.5; c = 1465; compensator = si.bus(nElements) : par(n, nElements, stripline_delay(n)) :> _; stripline_delay(n) = de.delay(maxdelay,strip_time) with { maxdelay = ma.SR*glen/c; strip_time = maxdelay * abs(cos(brg)) * inde...
e8fe55b29c54480b733004ea09f2062a9a30518db9964559fb9f9b0227bf1346
mygamingaccount/ghg-hydrophone-demo
ghg_ship.dsp
declare name "GHG Hydrophone Contact rotator"; import("stdfaust.lib"); // INPUT PARAMETERS // Number of hydrophone elements. // GHG had 2 groups of 24 hydrophones on each side nElements = 24; // Total length of a hydrophone group in meters. // A longer group improves low-frequency beam width but limits the highest usa...
https://raw.githubusercontent.com/mygamingaccount/ghg-hydrophone-demo/9c114b55cfaf24f5a02a0bf4b2626b271015e2ea/ghg_ship.dsp
faust
INPUT PARAMETERS Number of hydrophone elements. GHG had 2 groups of 24 hydrophones on each side Total length of a hydrophone group in meters. A longer group improves low-frequency beam width but limits the highest usable frequency Speed of sound in m/s for calculating the delay Attenuation in dB when the contact...
declare name "GHG Hydrophone Contact rotator"; import("stdfaust.lib"); nElements = 24; glen = 2.5; c = 1465; baffle_attenuation = ba.db2linear(-15); contact = _ / nElements * baffle <: par(h, nElements, one_hydrophone(h)) with { baffle = (a1*brg)+b1 : select2((brg>=10) & (brg<20)), 1 ...
2a679f173dd45cddcdd468d28a0b945af6d69a008dddd6bc7f90f54a8911399e
mygamingaccount/ghg-hydrophone-demo
ghg.dsp
declare name "GHG (Gruppenhörchgerät) Hydrophone Demo"; import("stdfaust.lib"); // INPUT PARAMETERS // Number of hydrophone elements. // GHG had 2 groups of 24 hydrophones on each side nElements = 24; // Total length of a hydrophone group in meters. // A longer group improves low-frequency beam width but limits the hi...
https://raw.githubusercontent.com/mygamingaccount/ghg-hydrophone-demo/cde0577171d9ecefc23b34eb403f35af197464bf/ghg.dsp
faust
INPUT PARAMETERS Number of hydrophone elements. GHG had 2 groups of 24 hydrophones on each side Total length of a hydrophone group in meters. A longer group improves low-frequency beam width but limits the highest usable frequency Speed of sound in m/s for calculating the delay Hydrophone contacts (ships) Atten...
declare name "GHG (Gruppenhörchgerät) Hydrophone Demo"; import("stdfaust.lib"); nElements = 24; glen = 2.5; c = 1465; nContacts = 6; baffle_attenuation = ba.db2linear(-15); ghg = par(cn, nContacts, contact(cn)) :> si.bus(nElements); contact(cn) = _ / nElements * baffle <: par(h, nElements, one_hydrophone(h,cn)) with...
7c6f36b58bb4997a209d9f5ffee90a61a33ef01f9013f217804e4844b994f759
ljwall/er-301-units
DattorroPlusPlus.dsp
import("stdfaust.lib"); declare dattorro_rev_2 author "Jakob Zerbian, Liam Wall"; declare dattorro_rev_2 license "MIT-style STK-4.3 license"; dattorro_rev_2(pre_delay, bw, i_diff1, i_diff2, decay, d_diff1, d_diff2, damping) = si.bus(2) : + : *(0.5) : predelay : bw_filter : diffusion_network : reverb_loop with { ...
https://raw.githubusercontent.com/ljwall/er-301-units/53b3040a4b9b85a573d1161d26309d74a30f36e5/faustian/dsp/DattorroPlusPlus.dsp
faust
allpass using delay with fixed size allpass using delay with fixed size, and two extra taps allpass using delay with excursion Around 1Hz input pre-delay and diffusion /********* left output, all wet *********/ [x] accumulator = 0.6 X node48_54[266] [x] accumulator += 0.6 x node48_54[2974] [x] accumu...
import("stdfaust.lib"); declare dattorro_rev_2 author "Jakob Zerbian, Liam Wall"; declare dattorro_rev_2 license "MIT-style STK-4.3 license"; dattorro_rev_2(pre_delay, bw, i_diff1, i_diff2, decay, d_diff1, d_diff2, damping) = si.bus(2) : + : *(0.5) : predelay : bw_filter : diffusion_network : reverb_loop with { ...
ee9e26db0692ede688982aedc41d360853032bcebebc28d3817b8bf60b35de78
jpcima/hera-parts
dco.dsp
declare author "Jean Pierre Cimalando"; declare license "GPL-3.0"; // Converted from original at pendragon-andyh/junox import("stdfaust.lib"); process = dco(f, pw, lsaw, lpulse, lsub) with { f = hslider("[1] pitch", 24, 0, 127, 1) : ba.midikey2hz : si.smoo; pw = hslider("[2] pulse width", 0.5, 0.0, 1.0, 0.01) : s...
https://raw.githubusercontent.com/jpcima/hera-parts/26fd7cccd7f3b9b3009f8436a6ccc49e16987577/dco.dsp
faust
Converted from original at pendragon-andyh/junox / / / / / -gnuplot- r(t) = t+t-t*t-1.0 l(t) = t*t+(t+t)+1.0 polyBLEP2(p, i) = (p<i)?r(p/i):(p+i>1.0)?l((p-1.0)/i):0.0 /
declare author "Jean Pierre Cimalando"; declare license "GPL-3.0"; import("stdfaust.lib"); process = dco(f, pw, lsaw, lpulse, lsub) with { f = hslider("[1] pitch", 24, 0, 127, 1) : ba.midikey2hz : si.smoo; pw = hslider("[2] pulse width", 0.5, 0.0, 1.0, 0.01) : si.smoo; lsaw = hslider("[3] saw level", 0.15, 0.0,...
b5b4da6bfa8084d921acda34c053b7fa0acebef699aa6f5f2d1613dfdc0a868d
jpcima/rc-effect-playground
chorus_advanced.dsp
import("stdfaust.lib"); bypass = checkbox("[1] Bypass"); lfoRate = hslider("[2] LFO rate [unit:Hz] [scale:log]", 0.5, 0.1, 20., 0.01) : smooth; lfoShape = hslider("[3] LFO shape", 0., 0., 1., 0.01) : smooth; lfoPhase = hslider("[4] LFO phase [unit:deg]", 180., 0., 360., 1.) : /(360.) : smooth; delayMin = hslider("[5] ...
https://raw.githubusercontent.com/jpcima/rc-effect-playground/3375323d8616cbfc73c9701a3765f738d574c460/sources/chorus_advanced.dsp
faust
LFO Delay ////////////////////////////////////////// Smooth filter with fixed time constant // ////////////////////////////////////////// ////////////////// Multi-wave LFO // ////////////////// w=0: triangle, w=0.5: sine-triangle, w=1: sine ///////////// Waveforms // ///////////// /////////////////// Phase gen...
import("stdfaust.lib"); bypass = checkbox("[1] Bypass"); lfoRate = hslider("[2] LFO rate [unit:Hz] [scale:log]", 0.5, 0.1, 20., 0.01) : smooth; lfoShape = hslider("[3] LFO shape", 0., 0., 1., 0.01) : smooth; lfoPhase = hslider("[4] LFO phase [unit:deg]", 180., 0., 360., 1.) : /(360.) : smooth; delayMin = hslider("[5] ...
0542743828a0fe90e41e712361ca9dec4ef6a015c353d815e306735b3ce63d5b
jpcima/string-machine
LFO3PhaseDual.dsp
import("stdfaust.lib"); process = lfo.output with { numPhases = 3; lfo = lfoDual(numPhases, f1, f2, d1, d2, ctl.pout1, ctl.pout2); ctl = environment { f1 = hslider("[1] Rate 1 [symbol:rate1] [unit:Hz]", 6.0, 3.0, 9.0, 0.01); d1 = hslider("[2] Depth 1 [symbol:depth1] [unit:%]", 50, 0, 100, 1); f2 = hs...
https://raw.githubusercontent.com/jpcima/string-machine/188082dd0beb9a3c341035604841c53675fe66c4/sources/dsp/LFO3PhaseDual.dsp
faust
wave = approxSin;
import("stdfaust.lib"); process = lfo.output with { numPhases = 3; lfo = lfoDual(numPhases, f1, f2, d1, d2, ctl.pout1, ctl.pout2); ctl = environment { f1 = hslider("[1] Rate 1 [symbol:rate1] [unit:Hz]", 6.0, 3.0, 9.0, 0.01); d1 = hslider("[2] Depth 1 [symbol:depth1] [unit:%]", 50, 0, 100, 1); f2 = hs...
22eceff28ff6898f780de3e6fc39dbd6abdfcd08c55a336de6a1ff1c06562358
jpcima/rc-effect-playground
chorus3.dsp
import("stdfaust.lib"); buttonI = checkbox("[1] Chorus (I)") : !=(0); buttonII = checkbox("[2] Chorus (II)") : !=(0); process = chorus with { /* Mode: 0=Off 1=(I), 2=(II), 3=(I + II) */ mode = buttonI | (buttonII << 1); enabled = mode != 0; selectByMode = ba.selectn(3, mode-1); /* (I) */ I = environment ...
https://raw.githubusercontent.com/jpcima/rc-effect-playground/3375323d8616cbfc73c9701a3765f738d574c460/faust/chorus3.dsp
faust
Mode: 0=Off 1=(I), 2=(II), 3=(I + II) (I) triangle (II) triangle (I + II) by ear and experiment found in documents and not matching the Juno60 sample: 15.175 Hz (too fast), 8 Hz (too slow) sine-like Capacity of delay seconds, must be >> delay time frames, rounded up LFO Filter a simulation ...
import("stdfaust.lib"); buttonI = checkbox("[1] Chorus (I)") : !=(0); buttonII = checkbox("[2] Chorus (II)") : !=(0); process = chorus with { mode = buttonI | (buttonII << 1); enabled = mode != 0; selectByMode = ba.selectn(3, mode-1); I = environment { lfoRate = 0.513; delaymin = 1.66e-3; delayma...
da6b06d910b90dcb084149ba0689fc6298ffa9bc9fbcd0d1bfca300254a4e14f
jpcima/DelayArchitect
EllipticFilter.dsp
/* Copyright (c) 2021, Jean Pierre Cimalando * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this...
https://raw.githubusercontent.com/jpcima/DelayArchitect/f67e6b782e4810a2f8c67b386f5bc87052ff0cf2/scripts/MakeElliptic/EllipticFilter.dsp
faust
Copyright (c) 2021, Jean Pierre Cimalando * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this l...
import("stdfaust.lib"); directForm(data, fc) = fi.iir((par(i, data.NB, b(i))), (par(i, data.NA, a(i)))) with { nf = int(0.5+(data.NF-1)*(fc-data.F0)/(data.F1-data.F0)) : max(0) : min(data.NF-1); vpf = data.NB+data.NA; off = nf*vpf; b(i) = (data.NF*vpf, data.BA, off+i) : rdtable; a(i) = b(data.NB+i); }; sec...
1d5b79f24ba4bd2774c3ff0ad48b5b17f83c83112679203b7574070404df16bf
jpcima/rc-effect-playground
chorus_advanced_stereo.dsp
import("stdfaust.lib"); bypass = checkbox("[1] Bypass"); lfoRate = hslider("[2] LFO rate [unit:Hz] [scale:log]", 0.5, 0.1, 20., 0.01) : smooth; lfoShape = hslider("[3] LFO shape", 0., 0., 1., 0.01) : smooth; lfoPhase = hslider("[4] LFO phase [unit:deg]", 180., 0., 360., 1.) : /(360.) : smooth; delayMin = hslider("[5] ...
https://raw.githubusercontent.com/jpcima/rc-effect-playground/3375323d8616cbfc73c9701a3765f738d574c460/sources/chorus_advanced_stereo.dsp
faust
LEFT RIGHT CROSS maybe make it parameter LFO LEFT CROSS RIGHT CROSS CROSS Delay LEFT RIGHT CROSS ////////////////////////////////////////// Smooth filter with fixed time constant // ////////////////////////////////////////// ////////////////// Multi-wave LFO // ////////////////// w=0: triangle, w=0.5: sine-tri...
import("stdfaust.lib"); bypass = checkbox("[1] Bypass"); lfoRate = hslider("[2] LFO rate [unit:Hz] [scale:log]", 0.5, 0.1, 20., 0.01) : smooth; lfoShape = hslider("[3] LFO shape", 0., 0., 1., 0.01) : smooth; lfoPhase = hslider("[4] LFO phase [unit:deg]", 180., 0., 360., 1.) : /(360.) : smooth; delayMin = hslider("[5] ...
72ac943dcaa9c8c92b5627e4744e5ba52ac0eb9b5799614ee0a0632a2d966b7e
jpcima/rc-effect-playground
chorus.dsp
import("stdfaust.lib"); buttonI = checkbox("[1] Chorus (I)") : !=(0); buttonII = checkbox("[2] Chorus (II)") : !=(0); process = chorus with { /* Mode: 0=Off 1=(I), 2=(II), 3=(I + II) */ mode = buttonI | (buttonII << 1); enabled = mode != 0; selectByMode = ba.selectn(3, mode-1); /* (I) */ I = environment ...
https://raw.githubusercontent.com/jpcima/rc-effect-playground/3375323d8616cbfc73c9701a3765f738d574c460/sources/chorus.dsp
faust
Mode: 0=Off 1=(I), 2=(II), 3=(I + II) (I) triangle (II) triangle (I + II) by ear and experiment found in documents and not matching the Juno60 sample: 15.175 Hz (too fast), 8 Hz (too slow) sine-like Delay model delayModel = digitalDelayModel; Capacity of delay LFO Filter a simulation of BBD...
import("stdfaust.lib"); buttonI = checkbox("[1] Chorus (I)") : !=(0); buttonII = checkbox("[2] Chorus (II)") : !=(0); process = chorus with { mode = buttonI | (buttonII << 1); enabled = mode != 0; selectByMode = ba.selectn(3, mode-1); I = environment { lfoRate = 0.513; delaymin(0) = 1.54e-3; dela...
50fbe8448b1181a581e204df3c9c954355614164e0156fcd9467a7167995a44c
jpcima/smf-dsp
bass_enhance.dsp
import("stdfaust.lib"); driveMax = 0.5; toneMin = 50.0; toneMax = 600.0; drive = hslider("[0] Drive [unit:%]", 0.0, 0.0, 100.0, 0.01) : *(0.01*driveMax); tone = hslider("[1] Tone [unit:%]", 0.0, 0.0, 100.0, 0.01) : *(0.01*(toneMax-toneMin)) : +(toneMin); phatbass = _ <: ((lows : distort), highs) :> + with { split ...
https://raw.githubusercontent.com/jpcima/smf-dsp/bdc5f453369caf7b3c67e7ad661e0901b2fb2aed/sources/audio/bass_enhance.dsp
faust
import("stdfaust.lib"); driveMax = 0.5; toneMin = 50.0; toneMax = 600.0; drive = hslider("[0] Drive [unit:%]", 0.0, 0.0, 100.0, 0.01) : *(0.01*driveMax); tone = hslider("[1] Tone [unit:%]", 0.0, 0.0, 100.0, 0.01) : *(0.01*(toneMax-toneMin)) : +(toneMin); phatbass = _ <: ((lows : distort), highs) :> + with { split ...
6b3f8ae48d06503bcf547a3122e4faad4430a9635bf6771b0cdea97b25b30a48
jpcima/smf-dsp
eq_5band.dsp
import("stdfaust.lib"); numBands = 5; rangeDb = 12.0; lokey = 48; // C3 hikey = 108; // C8 l(i) = hslider("[%i] EQ Band %j [unit:%]", 50, 0, 100, 1) : pcTodB with { j = i+1; }; pcTodB = *(rangeDb*2.0/100.0)-rangeDb; f(i) = ba.midikey2hz(lokey+(hikey-lokey)*i*(1.0/(numBands-1))); b(i) = 0.5*(f(i+1)-f(i)); eq = fi.lo...
https://raw.githubusercontent.com/jpcima/smf-dsp/bdc5f453369caf7b3c67e7ad661e0901b2fb2aed/sources/audio/eq_5band.dsp
faust
C3 C8 : co.limiter_1176_R4_stereo;
import("stdfaust.lib"); numBands = 5; rangeDb = 12.0; l(i) = hslider("[%i] EQ Band %j [unit:%]", 50, 0, 100, 1) : pcTodB with { j = i+1; }; pcTodB = *(rangeDb*2.0/100.0)-rangeDb; f(i) = ba.midikey2hz(lokey+(hikey-lokey)*i*(1.0/(numBands-1))); b(i) = 0.5*(f(i+1)-f(i)); eq = fi.low_shelf(l(0), f(0)) : seq(i, num...
adcf06611eeba46ced15ccba8b08e5a2edc78516f367c5875bb7db2ac06b973e
jpcima/faustpp
stone_phaser.dsp
declare name "Stone Phaser"; declare author "Jean Pierre Cimalando"; declare copyright "2019"; declare version "1.2.2"; declare license "CC0-1.0"; // Référence : // Kiiski, R., Esqueda, F., & Välimäki, V. (2016). // Time-variant gray-box modeling of a phaser pedal. // In 19th International Conference on Di...
https://raw.githubusercontent.com/jpcima/faustpp/5197306546153130f50190cd589f3289047e2b3b/examples/stone_phaser.dsp
faust
Référence : Kiiski, R., Esqueda, F., & Välimäki, V. (2016). Time-variant gray-box modeling of a phaser pedal. In 19th International Conference on Digital Audio Effects (DAFx-16). hz2midikey defined for faust1 which doesn't have it /////////// Control // /////////// //////////////////////// All-pass f...
declare name "Stone Phaser"; declare author "Jean Pierre Cimalando"; declare copyright "2019"; declare version "1.2.2"; declare license "CC0-1.0"; import("stdfaust.lib"); hz2midikey(f) = 12*ma.log2(f/440.0) + 69.0; midikey2hz = ba.midikey2hz; bypass = checkbox("[0] Bypass [symbol:bypass]"); color = hslider("[1] Co...
49aaddcca1c56efbaf687471342f2f0ace48021df239776c23cff942ec4d2de3
jpcima/stone-phaser
stone_phaser.dsp
declare name "Stone Phaser"; declare author "Jean Pierre Cimalando"; declare version "1.2.2"; declare license "CC0-1.0 or BSL-1.0"; // Référence : // Kiiski, R., Esqueda, F., & Välimäki, V. (2016). // Time-variant gray-box modeling of a phaser pedal. // In 19th International Conference on Digital Audio Eff...
https://raw.githubusercontent.com/jpcima/stone-phaser/da92961a4148b77fca131ba0e51d9ea7ad0b2476/dsp/stone_phaser.dsp
faust
Référence : Kiiski, R., Esqueda, F., & Välimäki, V. (2016). Time-variant gray-box modeling of a phaser pedal. In 19th International Conference on Digital Audio Effects (DAFx-16). /////////// Control // /////////// //////////////////////// All-pass filter unit // //////////////////////// //////////////...
declare name "Stone Phaser"; declare author "Jean Pierre Cimalando"; declare version "1.2.2"; declare license "CC0-1.0 or BSL-1.0"; import("stdfaust.lib"); bypass = checkbox("[0] Bypass [symbol:bypass]") : >(0.5); color = hslider("[1] Color [symbol:color] [boolean]", 1, 0, 1, 1); lf = hslider("[2] LFO frequency [sy...
1e6c1b4871124839e985d187b3bbf27c18639d7c68b809b26494fd116ebad3e2
jpcima/smf-dsp
reverb.dsp
// // Référence: // Dattorro, Jon. "Effect design, part 1: Reverberator and other filters." // Journal of the Audio Engineering Society 45.9 (1997): 660-684. // declare name "fverb"; declare author "Jean Pierre Cimalando"; declare version "0.5"; declare license "BSD-2-Clause"; import("stdfaust.lib"); ptMax ...
https://raw.githubusercontent.com/jpcima/smf-dsp/bdc5f453369caf7b3c67e7ad661e0901b2fb2aed/sources/audio/reverb.dsp
faust
Référence: Dattorro, Jon. "Effect design, part 1: Reverberator and other filters." Journal of the Audio Engineering Society 45.9 (1997): 660-684. hslider("[] Predelay [symbol:predelay] [unit:ms]", 0., 0., ptMax*1e3, 1.) : *(1e-3) : si.smoo; hslider("[] Input amount [symbol:input] [unit:%]", 100., 0., 100....
declare name "fverb"; declare author "Jean Pierre Cimalando"; declare version "0.5"; declare license "BSD-2-Clause"; import("stdfaust.lib"); ptMax = 300e-3; maxModt = 10e-3; fverb(lIn, rIn) = ((preInL : preInjectorL), (preInR : preInjectorR)) : crossInjector(ff1A, ff1B, ff1C, fb1, ff2A, ff2B, ff2C, fb2) : ou...
b86f2b32bbb7c1717de51ec52e7a4453eb9659f205679483fc0676a66e55dad2
ohmic-net/puca_dsp
picodsp_mics_omnidirectional.dsp
import("stdfaust.lib"); fs = 48000; // pico dsp left(L) microphone is the one closest to the TRS connectors, right(R) microphone is the one closest to the RF antenna // L = _ : fi.dcblocker; // adjust for mic input dc offset, which is ~ 0.7v R = _ : fi.dcblocker; // omnidirectional // process = L, R; // commen...
https://raw.githubusercontent.com/ohmic-net/puca_dsp/c67cf39735fd3049e1f5ce481bc334294543cb2c/puca_dsp-arduino/original%20edition/arduino-pico_dsp_mics_omnidirectional/picodsp_mics_omnidirectional.dsp
faust
pico dsp left(L) microphone is the one closest to the TRS connectors, right(R) microphone is the one closest to the RF antenna // adjust for mic input dc offset, which is ~ 0.7v omnidirectional // comment out this line for both mics in omnidirectional configuration broadside array (sound at 90 and 270 degrees of...
import("stdfaust.lib"); fs = 48000; R = _ : fi.dcblocker;
b3891800c56989e5698f81b4f590d2a8ecf5bb05434262841eb303f93acd6efc
ohmic-net/puca_dsp
puca_dsp_mic_array.dsp
import("stdfaust.lib"); // fs = 48000; // or fs = 24000; // puca dsp left(L) microphone is the one closest to the TRS connectors, right(R) microphone is the one closest to the RF antenna // mic spacing is (d = n x v/fs), where n = number of samples to delay // 1 x (343/24000) = 14.29mm L = _ : fi.dcblocker; // adju...
https://raw.githubusercontent.com/ohmic-net/puca_dsp/c67cf39735fd3049e1f5ce481bc334294543cb2c/puca_dsp-platformio-arduino-esp32/strawberry%20edition/arduino-esp32_puca_dsp_mics_endfire_array/puca_dsp_mic_array.dsp
faust
fs = 48000; // or fs = 24000; puca dsp left(L) microphone is the one closest to the TRS connectors, right(R) microphone is the one closest to the RF antenna mic spacing is (d = n x v/fs), where n = number of samples to delay // 1 x (343/24000) = 14.29mm adjust for mic input dc offset, which is ~ 0.7v omnidirectio...
import("stdfaust.lib"); R = _ : fi.dcblocker;
005f001d88046113f1c8f3e85bf2b6c2a5968e0359ae2b4a545e33d3f2767fc7
rhinocerose/eurorack-modularev
mooSpace.dsp
declare name "mooSpace"; declare description "variable space reverberation audio effect"; declare author "Arev Imer (arev.imer@students.fhnw.ch)"; declare copyright "Arev"; declare version "0.2"; declare options "[midi:on]"; import("stdfaust.lib"); MAX_DIFF = 9.5; MAX_LATE = 5; MAX_MOD = 150; MAX_LAG = 2^15-2; ...
https://raw.githubusercontent.com/rhinocerose/eurorack-modularev/0da6b85bbd3564c98ff45eb650747f4e9a911c48/Nemesis-hw-rev-2/software/examples/mooSpace/src/mooSpace.dsp
faust
Parameters Functions clip(lower, upper, x) = min(upper,max(x,lower)); node24_30[1990] -> L- node24_30[353] -> R+ node24_30[3627] -> R+ node31_33[187] -> L-, node31_33[1228] -> R- node33_39[2673] -> R+ node33_39[1066] -> L- Lmult- Rmult- Lprev- Rsum+ R+ L- 2nd GOING TO LEFT OUT / 3rd GOING TO RIGHT OUT node48_...
declare name "mooSpace"; declare description "variable space reverberation audio effect"; declare author "Arev Imer (arev.imer@students.fhnw.ch)"; declare copyright "Arev"; declare version "0.2"; declare options "[midi:on]"; import("stdfaust.lib"); MAX_DIFF = 9.5; MAX_LATE = 5; MAX_MOD = 150; MAX_LAG = 2^15-2; ...
da0ce3a42da2e06348f0e00e7b99ff668bf66431dc3bce1b73c313efc9547e24
dxinteractive/mosfez-faust-dsp
noteplayer.dsp
import("stdfaust.lib"); tune1 = waveform{69,-1,73,-1,71,73,71,0}; tune2 = waveform{73,-1,76,-1,74,76,74,0}; tune3 = waveform{45,-1,0,0,40,-1,0,0}; tunePlayer(tune) = tuneGate,tuneFreq with { tuneNow = tune,int(os.phasor(8,1.0)) : rdtable; tuneGate = tuneNow > 0 : ba.sAndH(tuneNow != 0); tuneFreq = tuneNow...
https://raw.githubusercontent.com/dxinteractive/mosfez-faust-dsp/a2d7029a6d7ebe31e5bce808c3bc225420426984/noteplayer/noteplayer.dsp
faust
import("stdfaust.lib"); tune1 = waveform{69,-1,73,-1,71,73,71,0}; tune2 = waveform{73,-1,76,-1,74,76,74,0}; tune3 = waveform{45,-1,0,0,40,-1,0,0}; tunePlayer(tune) = tuneGate,tuneFreq with { tuneNow = tune,int(os.phasor(8,1.0)) : rdtable; tuneGate = tuneNow > 0 : ba.sAndH(tuneNow != 0); tuneFreq = tuneNow...
23bd595d6e4ae8c3bdec1c2cada8ef04cdc302a1cc224f1e6f5ff46cfadf5960
dxinteractive/mosfez-faust-dsp
proto-loopy.dsp
import("stdfaust.lib"); // consts tablesize = 300000; maxbars = 4; // could be adaptive, allow more bars if barlength is smaller? barlength = 50000; // hslider("loop length",50000,0,tablesize,1) : int; // utils displayimpulse = _ <: attach(_, ba.countdown(10000)); decreased(x) = x < x'; // inputs barstorec_input = h...
https://raw.githubusercontent.com/dxinteractive/mosfez-faust-dsp/ffe4c5bd06aed6b25cd6f191166389b83ca89b87/proto-loopy.dsp
faust
consts could be adaptive, allow more bars if barlength is smaller? hslider("loop length",50000,0,tablesize,1) : int; utils inputs clock metronome play rec tables combine
import("stdfaust.lib"); tablesize = 300000; displayimpulse = _ <: attach(_, ba.countdown(10000)); decreased(x) = x < x'; barstorec_input = hslider("bars to record",1,1,maxbars,1) : int; startrec_input = button("record") : int; metronome_input = hslider("metronome level",1.0,0.0,1.0,0.01); startrec_pulse = startrec_i...
2536d646645aef4667c6dc165efd676f68bed05b43dc3a57a95f2245089c1212
dxinteractive/mosfez-faust-dsp
soundtest.dsp
import("stdfaust.lib"); //#################################### soundfiles.lib ######################################## // A library to handle soundfiles in Faust. Its official prefix is `so`. //######################################################################################## /**********************************...
https://raw.githubusercontent.com/dxinteractive/mosfez-faust-dsp/a2d7029a6d7ebe31e5bce808c3bc225420426984/test-nodejs/soundtest.dsp
faust
#################################### soundfiles.lib ######################################## A library to handle soundfiles in Faust. Its official prefix is `so`. ######################################################################################## *******************************************************************...
import("stdfaust.lib"); declare name "Faust Soundfile Library"; declare version "0.7"; ba = library("basics.lib"); ma = library("maths.lib"); si = library("signals.lib"); ro = library("routes.lib"); it = library("interpolators.lib"); super = environment { length(sf, part) = (part, 0) : sf : (_,si.block(outpu...
60292fe281a4a193f00e4d469abf8bbc5f3485b0601ff5ac59b60a605bd296d9
mi-creative/FaustPM_2021_examples
06_Bounce.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 6: Bounce a hammer on the two mass system */ OutGain = 30; K = 0.1; Z = 0.001; grav = 0.5; model = ( mi.mass(1, 0, 0, 0), mi.mass(1, 0, 0, 0), mi.ground(0), mi.mass(5., grav/ ma.SR, 10, 10 - (-100/ ma.SR)): Rou...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/06_Bounce.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 6: Bounce a hammer on the two mass system routed positions outputs routed forces pass-through
import("stdfaust.lib"); OutGain = 30; K = 0.1; Z = 0.001; grav = 0.5; model = ( mi.mass(1, 0, 0, 0), mi.mass(1, 0, 0, 0), mi.ground(0), mi.mass(5., grav/ ma.SR, 10, 10 - (-100/ ma.SR)): RoutingMassToLink : mi.springDamper(K, Z, 0, 0), mi.springDamper(K, Z, 0, 0), mi.collision(0.1, 0.01, 0, 0, 10), par(i, n...
1b0c2735d95ccb7f0ff4d8708bf5d94033af3b5624917d342848b3c2c13c2b6c
mi-creative/FaustPM_2021_examples
01_OscillatorStructure.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 1: Designing a Mass-Spring-Ground Oscillator */ // A basic, hand coded mass spring oscillator // First we create the physical elements // note that all mass elements are set up in parallel, same for all interactions...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/01_OscillatorStructure.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 1: Designing a Mass-Spring-Ground Oscillator A basic, hand coded mass spring oscillator First we create the physical elements note that all mass elements are set up in parallel, same for all interactions. set the mass to have an initial vel of...
import("stdfaust.lib"); process = (mi.mass(1, 0, 0, 0.1), mi.ground(0): mi.springDamper(0.1, 0.001, 0.1, 0) )~par(i,2,_) ;
3fb683b4abcd6482f7d5e24ef64cbca0f277740428b6e929234d967d33bc34d8
mi-creative/FaustPM_2021_examples
05_TwoMassScript.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 5: Building a two mass system via a MIMS script */ in1 = button("Frc Input 1"): ba.impulsify * 0.1; //write a specific force input signal operation here OutGain = 1; K = 0.1; Z = 0.001; model = ( mi.mass(1, 0, 0...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/05_TwoMassScript.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 5: Building a two mass system via a MIMS script write a specific force input signal operation here routed positions outputs routed forces pass-through
import("stdfaust.lib"); OutGain = 1; K = 0.1; Z = 0.001; model = ( mi.mass(1, 0, 0, 0), mi.mass(1, 0, 0, 0), mi.ground(0), par(i, nbFrcIn,_): RoutingMassToLink , par(i, nbFrcIn,_): mi.springDamper(K, Z, 0, 0), mi.springDamper(K, Z, 0, 0), par(i, nbOut+nbFrcIn, _): RoutingLinkToMass )~par(i, nbMass, _): p...
43ec617ec1bb7ac735d27565eb60da6ad2d7b7e688e5843beb15a6facd23559b
mi-creative/FaustPM_2021_examples
02_OscillatorInsOuts.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 2: Using the Mass-Spring-Ground Oscillator */ // We're going to use some routing functions to give ourselves more control over the model // First, let's say that we want to add a force input on the mass : create a ro...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/02_OscillatorInsOuts.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 2: Using the Mass-Spring-Ground Oscillator We're going to use some routing functions to give ourselves more control over the model First, let's say that we want to add a force input on the mass : create a route forces function that adds this forc...
import("stdfaust.lib"); in1 = button("test"):ba.impulsify * 0.1; process = ( mi.mass(1, 0, 0, 0), mi.ground(0): RoutePositions: mi.springDamper(0.1, 0.001, 0, 0), _: RouteForces,_ )~par(i,2,_): par(i,2,!),_ with{ RouteForces (f_sp1, f_sp2) = f_sp...
a99e5a5d8bab69f8fa150bdeb13cbd0578b8902c7fee21d00f2fd5e0b55a5a6a
mi-creative/FaustPM_2021_examples
04_TwoMassSystem.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 4: Building a two mass system */ // If we wanted to go a little further from here: add a second mass to the system // Add a second mass after the first one and before the ground module. // Add a second spring into t...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/04_TwoMassSystem.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 4: Building a two mass system If we wanted to go a little further from here: add a second mass to the system Add a second mass after the first one and before the ground module. Add a second spring into the system So now we need to change the th...
import("stdfaust.lib"); in1 = button("test"):ba.impulsify * 0.1; process = ( mi.mass(3, 0, 0, 0), mi.mass(2, 0, 0, 0), mi.ground(0): RoutePositions: mi.springDamper(0.1, 0.001, 0, 0), mi.springDamper(0.01, 0.001, 0, 0), _: RouteForces,_ )~par(i,3,_): par(i,3,...
35624a97f9299f02b8f312ecd3c1c054d1624e24f539aef0ed40b8e675731634
mi-creative/FaustPM_2021_examples
13_MacroStringPrototype.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 13: Perspectives for macro-objects (finite difference style approach) */ // Controls used in the patch in1 = button("frcIn") : ba.impulsify * hslider("intensity[style:knob]", 0.1, 0.001, 1, 0.001); stiffness = hslider...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/13_MacroStringPrototype.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 13: Perspectives for macro-objects (finite difference style approach) Controls used in the patch "Macro" definition of a mass-interaction string: lots of masses and springs connected in a specific pattern. The first and last material ele...
import("stdfaust.lib"); in1 = button("frcIn") : ba.impulsify * hslider("intensity[style:knob]", 0.1, 0.001, 1, 0.001); stiffness = hslider("string stiffness", 0.4, 0.001, 0.5, 0.001); damping = hslider("string damping", 0.01, 0.0001, 0.1, 0.0001); excite = hslider("excitePos",0.4,0,1,0.0001) : si.smoo ; listen = hsl...
2196099b1457f219d71af9e0e6162163c1cec0859aa593f447c4ba919e2135bb
mi-creative/FaustPM_2021_examples
07_String.dsp
import("stdfaust.lib"); /* Faust PM Workshop : Introduction to Mass-Interaction Modelling */ /* Part 7: Creating a basic string */ in1 = button("Frc Input 1"): ba.impulsify * 0.1; //write a specific force input signal operation here OutGain = 1; str_M = 1.0; str_K = 0.2; str_Z = 0.001; str_Zo = 0.0; model = ( m...
https://raw.githubusercontent.com/mi-creative/FaustPM_2021_examples/329e24a3d7c062cffb76416cff05a2922a3721f0/07_String.dsp
faust
Faust PM Workshop : Introduction to Mass-Interaction Modelling Part 7: Creating a basic string write a specific force input signal operation here routed positions outputs routed forces pass-through
import("stdfaust.lib"); OutGain = 1; str_M = 1.0; str_K = 0.2; str_Z = 0.001; str_Zo = 0.0; model = ( mi.ground(0.00), mi.oscil(str_M, 0, str_Zo, 0, 0.00, 0.00), mi.oscil(str_M, 0, str_Zo, 0, 0.00, 0.00), mi.oscil(str_M, 0, str_Zo, 0, 0.00, 0.00), mi.oscil(str_M, 0, str_Zo, 0, 0.00, 0.00), mi.oscil(str_M, 0,...