_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
25a9074cd20e4725ad42023a051edff079bc6f329498641f49102a509a4be876
TER-M1/crosscompilation-wasm
testBernard.dsp
import("stdfaust.lib"); declare name "freeverb"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c) GRAME 2006 and MoForte Inc. 2017"; declare reference "https://ccrma.stanford.edu/~jos/pasp/Freeverb.html"; //===========================================...
https://raw.githubusercontent.com/TER-M1/crosscompilation-wasm/43d7c6f31d29f0512688359e3e6cbf0bcc0a98e6/example3-wasm-audio-port/plugins/testBern/testBernard.dsp
faust
====================================================== Freeverb Faster version using fixed delays (20% gain) ====================================================== Constant Parameters -------------------- value of the gain of fxctrl feedback of the delays used in allpass filters Filter...
import("stdfaust.lib"); declare name "freeverb"; declare version "1.0"; declare author "Grame"; declare license "BSD"; declare copyright "(c) GRAME 2006 and MoForte Inc. 2017"; declare reference "https://ccrma.stanford.edu/~jos/pasp/Freeverb.html"; scalewet = 3.0; scaledry = 2.0; scale...
f1181174c8e3a63e0a7696ba9319e9f62d8dd73b289be5c1b5395c1d567e1ea7
orchidas/Music-256A
chorus.dsp
import("stdfaust.lib"); level = hslider("level", 0.5, 0, 1, 0.01) : si.smoo; //control this parameter freq freq = hslider("freq", 2, 0, 10, 0.01) : si.smoo; dtime = hslider("delay", 0.025, 0, 0.2, 0.001) : si.smoo; depth = hslider("depth", 0.02, 0, 1, 0.001) : si.smoo; gain = hslider("gain",1,0,1,0.01) : si.smoo; gat...
https://raw.githubusercontent.com/orchidas/Music-256A/46c465a3f004a00723088f918106a854af863d08/ofEffectsChain/src/faust/chorus.dsp
faust
control this parameter freq
import("stdfaust.lib"); level = hslider("level", 0.5, 0, 1, 0.01) : si.smoo; freq = hslider("freq", 2, 0, 10, 0.01) : si.smoo; dtime = hslider("delay", 0.025, 0, 0.2, 0.001) : si.smoo; depth = hslider("depth", 0.02, 0, 1, 0.001) : si.smoo; gain = hslider("gain",1,0,1,0.01) : si.smoo; gate = button("gate"); tblosc(n,...
62afccaec689b6301757c8812c5a591e5a393cdbb72677dcb1eb5af7b963f43a
OceanSwift/Faust-Course-Examples
Shred It Strum Example.dsp
import("stdfaust.lib"); string(f) = hgroup("String[0]",+~(de.fdelay4(maxDelLength,delLength-1) : dispersionFilter : *(damping))) with{ freq = f; damping = hslider("[1]Damp[style:knob]",0.99,0,1,0.01); maxDelLength = 1024; dispersionFilter = _ <: _,_' :> /(2); delLength = ma.SR/freq; }; pluck = hgroup("[1]Pluc...
https://raw.githubusercontent.com/OceanSwift/Faust-Course-Examples/c3c779ab8257fae9563de4bc09ee71c5346bb1cd/Shred%20It%20Strum%20Example.dsp
faust
nStrings = hslider("Strings",6,1,12,1);
import("stdfaust.lib"); string(f) = hgroup("String[0]",+~(de.fdelay4(maxDelLength,delLength-1) : dispersionFilter : *(damping))) with{ freq = f; damping = hslider("[1]Damp[style:knob]",0.99,0,1,0.01); maxDelLength = 1024; dispersionFilter = _ <: _,_' :> /(2); delLength = ma.SR/freq; }; pluck = hgroup("[1]Pluc...
1aef8cce7f4c2485610043686ab9173d56d7e32b0801b346f8fb21a009d923e0
grame-cncm/faustdoc
exfaust12.dsp
import("stdfaust.lib"); process = dm.cubicnl_demo : // distortion dm.wah4_demo <: // wah pedal dm.phaser2_demo : // stereo phaser dm.compressor_demo : // stereo compressor dm.zita_light; // stereo reverb
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/quick-start/exfaust12/exfaust12.dsp
faust
distortion wah pedal stereo phaser stereo compressor stereo reverb
import("stdfaust.lib"); process =
2d2fb384ce650abc930479fa042d882bc0ab189e9c12385543006866e785249f
dblanchemain/MultiSpace3D
Auro91.dsp
declare name "objMatrixAuro91.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Auro91.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.595; tabSpeakerY(0)=...
a79a379a1d44a403e179ec1b9f7bfc1d0efb79cff7ebbf7014c286741bd311e3
dblanchemain/MultiSpace3D
Auro71.dsp
declare name "objMatrixAuro71.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Auro71.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.595; tabSpeakerY(0)=...
ca75ae7ed1a657a4357d7c241d978f966ed1d8c69ab933173743ba2ba6751db9
dblanchemain/MultiSpace3D
Auro13.dsp
declare name "objMatrixAuro13.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Auro13.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.595; tabSpeakerY(0)=...
55286e62e01d3d91af99c287de586b88c36ef575d7f3f069f278f3a44b0c5b8b
dblanchemain/MultiSpace3D
Auro11.dsp
declare name "objMatrixAuro11.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Auro11.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.595; tabSpeakerY(0)=...
fb8a7cd6ce9972e17c39a9144535684701bd959f9d287f5fc1bc1620d0b6f841
dblanchemain/MultiSpace3D
micadome.dsp
declare name "objMatrixmicadome.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/micadome.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.437; tabSpeakerY(0)=...
99bd2eea93a45e02c593af0b46db38d903ee4cf69e7ae2ae039bc975ef6ed98c
dblanchemain/MultiSpace3D
M17.dsp
declare name "objMatrixM17.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/M17.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-1.000; tabSpeakerY(0)=...
b5f9d004da26f44b92c26ee8b446432d820c8662516f319b3616214e77011c03
dblanchemain/metaSurface
freeverbFaust.dsp
declare name "freeverbFaust"; declare version "0.0"; declare author "RM"; declare description "Freeverb mono"; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library("filters.lib"); os = library...
https://raw.githubusercontent.com/dblanchemain/metaSurface/f5695b5b58c0d7b41fd9a899cf5a664184d849c7/Plugins/freeverbFaust.dsp
faust
----------------------------`(dm.)freeverb`------------------------- Freeverb Mono. #### Usage ``` _: freeverb_demo : _; ``` ------------------------------------------------------------
declare name "freeverbFaust"; declare version "0.0"; declare author "RM"; declare description "Freeverb mono"; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library("filters.lib"); os = library...
e3f550b580419fbfcd98479f645dd4946711cdf898c1b878e7a5ffe5065c244a
dblanchemain/MultiSpace3D
Dominium.dsp
declare name "objMatrixDominium"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,ou...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Dominium.dsp
faust
modifier le nom de votre greffon ----------------------------------------------------------- LPF ----------------------------------------------------------- minfreq=paramDistance(vslider("LPF Min",100, 20, 2000, 1)); ----------------------------------------------------------- Pit...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.500; tabSpeakerY(0)=...
f4d30c80b025f9ce2cbe5e54202864ea40c5d1d80d7370e9ad3c4e66d30b076b
dblanchemain/MultiSpace3D
NHK22.dsp
declare name "objMatrixNHK22.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,o...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/651e16aa196d5084a9779419cb2ba7f50da184e6/Plugins/DSP/NHK22.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-1.000; tabSpeakerY(0)=...
7cfbc696a5f8a8472c743670b68eb352790b415a4abdd6d588f324face2b4fd8
dblanchemain/MultiSpace3D
ZKM23.dsp
declare name "objMatrixZKM23.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,o...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/651e16aa196d5084a9779419cb2ba7f50da184e6/Plugins/DSP/ZKM23.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.007; tabSpeakerY(0)=...
f57aaf55f67754510686a2f783ff2edaa998f8ac4692fd16d247f889caf30303
dblanchemain/MultiSpace3D
Ircam.dsp
declare name "objMatrixIrcam.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,o...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Ircam.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=0.002; tabSpeakerY(0)=-...
e999d90c4fb8d5b8c46c06b63b9573242e6fcce69ac6d83b6b36a65c078a5aae
dblanchemain/MultiSpace3D
RfStudio.dsp
declare name "objMatrixRfStudio.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/651e16aa196d5084a9779419cb2ba7f50da184e6/Plugins/DSP/RfStudio.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.585; tabSpeakerY(0)=...
877fe2f4be65cdfcfe064e81bd6ebb409da1f37296205256a6b5de7ddc5e8ca6
dblanchemain/MultiSpace3D
Satosphere.dsp
declare name "objMatrixSatosphere.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fade...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/651e16aa196d5084a9779419cb2ba7f50da184e6/Plugins/DSP/Satosphere.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.062; tabSpeakerY(0)=...
01abb0d6c8e894c1c616db53dce0cc14f780cc318c50931e74d72986f9852fcc
grame-cncm/faustdoc
exfaust12.dsp
//################################### midiOnly.dsp ###################################### // Faust instrument specifically designed for faust2smartkeyb implementing a MIDI // controllable app where the mobile device's touch screen is used to control // specific parameters of the synth continuously using two separate X...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust12/exfaust12.dsp
faust
################################### midiOnly.dsp ###################################### Faust instrument specifically designed for faust2smartkeyb implementing a MIDI controllable app where the mobile device's touch screen is used to control specific parameters of the synth continuously using two separate X/Y contro...
declare interface "SmartKeyboard{ 'Number of Keyboards':'1', 'Keyboard 0 - Number of Keys':'2', 'Keyboard 0 - Send Freq':'0', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 0 - Static Mode':'1', 'Keyboard 0 - Send Key X':'1', 'Keyboard 0 - Key 0 - Label':'Mod Index', 'Keyboard 0 - Key 1 - Label':'Mod Freq' }"; ...
d6e3bceaf15d3efc49e7b943f770e8da7076558933bfe804a366df172bd2fdf4
grame-cncm/faustdoc
exfaust3.dsp
//############################### brass.dsp ################################### // Faust instrument specifically designed for faust2smartkeyb where a // trumpet physical model is controlled using some of the built-in sensors of // the device and the touchscreen. Some of these elements could be replaced by // external ...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust3/exfaust3.dsp
faust
############################### brass.dsp ################################### Faust instrument specifically designed for faust2smartkeyb where a trumpet physical model is controlled using some of the built-in sensors of the device and the touchscreen. Some of these elements could be replaced by external controllers...
declare interface "SmartKeyboard{ 'Number of Keyboards':'2', 'Max Keyboard Polyphony':'0', 'Keyboard 0 - Number of Keys':'1', 'Keyboard 1 - Number of Keys':'3', 'Keyboard 0 - Send Freq':'0', 'Keyboard 1 - Send Freq':'0', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 1 - Piano Keyboard':'0', 'Keyboard 0 - S...
9b3cc1ccfa1eac3b1b67ef506281be8cae92df544a8c3f0cd3d87d9fdb827e01
grame-cncm/faustdoc
exfaust18.dsp
//############################### violin2.dsp ################################## // Faust instrument specifically designed for faust2smartkeyb where a // complete violin physical model can be played using the touch sceen // interface. Bowing is carried out by constantly moving a finger on the // y axis of a key. // //...
https://raw.githubusercontent.com/grame-cncm/faustdoc/b4755332f6410785856b2166cd5f9428c4fda4d8/docs/examples/smartKeyboard/exfaust18/exfaust18.dsp
faust
############################### violin2.dsp ################################## Faust instrument specifically designed for faust2smartkeyb where a complete violin physical model can be played using the touch sceen interface. Bowing is carried out by constantly moving a finger on the y axis of a key. ## SmartKeyboa...
declare interface "SmartKeyboard{ 'Number of Keyboards':'4', 'Max Keyboard Polyphony':'0', 'Rounding Mode':'2', 'Send Fingers Count':'1', 'Keyboard 0 - Number of Keys':'12', 'Keyboard 1 - Number of Keys':'12', 'Keyboard 2 - Number of Keys':'12', 'Keyboard 3 - Number of Keys':'12', 'Keyboard 0 - Lowest Key':'...
aca80d2d5a8470e3b6e950fec731ce4aa6362fc973f575dcea2d06bdccc96df2
grame-cncm/faustdoc
exfaust1.dsp
//################################ bells.dsp ################################### // Faust instrument specifically designed for faust2smartkeyb where the // physical models of 4 different bells can be played using screen pads. The // models are taken from physmodels.lib. // // ## SmartKeyboard Use Strategy // // The Sm...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust1/exfaust1.dsp
faust
################################ bells.dsp ################################### Faust instrument specifically designed for faust2smartkeyb where the physical models of 4 different bells can be played using screen pads. The models are taken from physmodels.lib. ## SmartKeyboard Use Strategy The SmartKeyboard inter...
declare interface "SmartKeyboard{ 'Number of Keyboards':'2', 'Max Keyboard Polyphony':'0', 'Keyboard 0 - Number of Keys':'2', 'Keyboard 1 - Number of Keys':'2', 'Keyboard 0 - Send Freq':'0', 'Keyboard 1 - Send Freq':'0', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 1 - Piano Keyboard':'0', 'Keyboard 0 - S...
cd4c8c64622f7011762a4d30440132b11858afdbdcd71c627eb51876aba2e956
dblanchemain/MultiSpace3D
Klangdom.dsp
declare name "objMatrixKlangdom.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/5125d94de7f28e47c15e4432bba31a1ad7a51fb8/Plugins/DSP/Klangdom.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-0.002; tabSpeakerY(0)=...
c3cda34fad965f3b5cd5e334be36a182b8ded068f42f4550b8fc729310f3b4c7
grame-cncm/faustdoc
exfaust17.dsp
//############################### violin.dsp ################################### // Faust instrument specifically designed for faust2smartkeyb where a // complete violin physical model can be played using the touch sceen // interface. While the 4 virtual strings can be bowed using a control // surface on the screen, i...
https://raw.githubusercontent.com/grame-cncm/faustdoc/b4755332f6410785856b2166cd5f9428c4fda4d8/docs/examples/smartKeyboard/exfaust17/exfaust17.dsp
faust
############################### violin.dsp ################################### Faust instrument specifically designed for faust2smartkeyb where a complete violin physical model can be played using the touch sceen interface. While the 4 virtual strings can be bowed using a control surface on the screen, it could be ...
declare interface "SmartKeyboard{ 'Number of Keyboards':'5', 'Max Keyboard Polyphony':'0', 'Rounding Mode':'2', 'Send Fingers Count':'1', 'Keyboard 0 - Number of Keys':'19', 'Keyboard 1 - Number of Keys':'19', 'Keyboard 2 - Number of Keys':'19', 'Keyboard 3 - Number of Keys':'19', 'Keyboard 4 - Number of Key...
72843f412ee71d6f1076f2c2e96c7c8da674bc0e544879cb496ed3c9c18f7a5a
dblanchemain/MultiSpace3D
sound4D.dsp
declare name "objMatrixsound4D.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/8e87f3812077e5cf008d43e976e6f053d5bc417a/Plugins/DSP/sound4D.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-1.000; tabSpeakerY(0)=...
cfcb6a7ebcb85a37493612af31cf3b87168184ace8430e853c8cd68adebbb719
dblanchemain/MultiSpace3D
sound4D57.dsp
declare name "objMatrixsound4D57.dsp"; // modifier le nom de votre greffon declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader...
https://raw.githubusercontent.com/dblanchemain/MultiSpace3D/651e16aa196d5084a9779419cb2ba7f50da184e6/Plugins/DSP/sound4D57.dsp
faust
modifier le nom de votre greffon le deuxième chiffre permet de définir la dimension de votre espace :9,10, ... ----------------------------------------------------------- LPF ----------------------------------------------------------- ----------------------------------------------------------- ...
declare version "1.0"; declare author "D.Blanchemain"; declare license "BSD"; declare copyright "(c)D.Blanchemain 2020"; import("stdfaust.lib"); Matrix(N,M) =_*cdistance:filter:transpose:delay:freeverb<: par(out, M, *(Fader(1,out): si.smoo)) :> par(out, M, _) with { tabSpeakerX(0)=-1.000; tabSpeakerY(0)=...
14e8237099f1e035a2d35608cde8604128a2688ed0351b6b2ee6ae44b7dcd835
lliurex/supercollider-sc3-plugins
JPverbRaw.dsp
declare name "JPverbRaw"; declare version "1.1"; declare author "Julian Parker, bug fixes by Till Bovermann"; declare license "GPL2+"; declare copyright "(c) Julian Parker 2013"; import("stdfaust.lib"); allpass_stretched(maxdel,N,a) = (+ <: de.fdelay1a(maxdel,N-1),*(a)) ~ *(-a) : mem, _ : + ; ...
https://raw.githubusercontent.com/lliurex/supercollider-sc3-plugins/5fbbc4460f6220e3d9ba32eae4bfb25f542c5f53/source/DEINDUGens/faust_src/JPverbRaw.dsp
faust
using exteral function to access list of prime numbers is slightly faster than an inline approach (as of 428bf3b) prime_delays(x) = (waveform {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179,...
declare name "JPverbRaw"; declare version "1.1"; declare author "Julian Parker, bug fixes by Till Bovermann"; declare license "GPL2+"; declare copyright "(c) Julian Parker 2013"; import("stdfaust.lib"); allpass_stretched(maxdel,N,a) = (+ <: de.fdelay1a(maxdel,N-1),*(a)) ~ *(-a) : mem, _ : + ; ...
b7a8c8cc617f5ec4c63f253ee3062fd74efd958e5659931f03cc33e34ef959eb
OceanSwift/Faust-Course-Examples
Looper With Effects Example.dsp
import("stdfaust.lib"); looper(detune) = rwtable(tablesize,0.0,recIndex,_,readIndex) with{ record = button("Record") : int; readSpeed = hslider("Read Speed",1,0.001,10,0.01); tablesize = 48000; recIndex = +(1)~*(record) : %(tablesize); readIndex = readSpeed*(detune+1)/float(ma.SR) : (+ : ma.decimal) ~ _ : *(f...
https://raw.githubusercontent.com/OceanSwift/Faust-Course-Examples/c3c779ab8257fae9563de4bc09ee71c5346bb1cd/Looper%20With%20Effects%20Example.dsp
faust
import("stdfaust.lib"); looper(detune) = rwtable(tablesize,0.0,recIndex,_,readIndex) with{ record = button("Record") : int; readSpeed = hslider("Read Speed",1,0.001,10,0.01); tablesize = 48000; recIndex = +(1)~*(record) : %(tablesize); readIndex = readSpeed*(detune+1)/float(ma.SR) : (+ : ma.decimal) ~ _ : *(f...
8f634eaf0515388b1aa32d094407b844f5302e018e3d5a411a60077c39aff242
nebularnoise/serge
flanger_demo.dsp
// Author: Thibault Geoffroy import("stdfaust.lib"); process = dm.flanger_demo;
https://raw.githubusercontent.com/nebularnoise/serge/404a84ad02e935b8a6e17ea883229d77513a4d9c/faust/flanger_demo.dsp
faust
Author: Thibault Geoffroy
import("stdfaust.lib"); process = dm.flanger_demo;
b1830f91137dc6819df5b65a65e78fd94ca53b366846a7602bb2782b1eed3425
dblanchemain/metaSurface
flangerFaust.dsp
declare name "flangerFaust"; declare version "0.0"; declare author "JOS, revised by RM"; declare description "Flanger effect application."; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library...
https://raw.githubusercontent.com/dblanchemain/metaSurface/f5695b5b58c0d7b41fd9a899cf5a664184d849c7/Plugins/flangerFaust.dsp
faust
---------------------------------FLANGER---------------------------- Flanger effect application. #### Usage ``` _: flangerMono : _; ``` ------------------------------------------------------------ ccrma.stanford.edu/~jos/pasp/Flanging.html]", x); FIXME: This should be an amplitude-response display:
declare name "flangerFaust"; declare version "0.0"; declare author "JOS, revised by RM"; declare description "Flanger effect application."; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library...
b70ab6b5baf053ff5f15bbdf3d5cd7687fcf26610a0fb3dbfadcdc4ccc039538
orchidas/Music-256A
phaser.dsp
import("stdfaust.lib"); Notches = 4; phase = 0; width = 1000; frqmin = 100; fratio = 1.5; frqmax = 800; speed = hslider("speed",0.5,0,10,0.001) : si.smoo; gain = hslider("gain",1,0,1,0.01) : si.smoo; gate = button("gate"); depth = 1; fb = 0; invert = 0; process = hgroup("phaser", pf.phaser2_mono(Notches,phase, width,...
https://raw.githubusercontent.com/orchidas/Music-256A/46c465a3f004a00723088f918106a854af863d08/ofEffectsChain/src/faust/phaser.dsp
faust
import("stdfaust.lib"); Notches = 4; phase = 0; width = 1000; frqmin = 100; fratio = 1.5; frqmax = 800; speed = hslider("speed",0.5,0,10,0.001) : si.smoo; gain = hslider("gain",1,0,1,0.01) : si.smoo; gate = button("gate"); depth = 1; fb = 0; invert = 0; process = hgroup("phaser", pf.phaser2_mono(Notches,phase, width,...
76d1784b724ae6300f4a544dcbb94c769f1fcbbe49da4935bcbef244c8377995
grame-cncm/faustide
drumkit.dsp
//------------------------------------------------- // A simple, fully generative // drum machine //------------------------------------------------- import("stdfaust.lib"); drumkit(gate, ks, ss, hs) = k_seq, s_seq, h_seq :> /(3) with { N = outputs(ks); env = en.ar(0.001, 0.05); kick(g...
https://raw.githubusercontent.com/grame-cncm/faustide/59a6811339ed460f4653914ece98927b096befde/docs/examples/misc/drumkit.dsp
faust
------------------------------------------------- A simple, fully generative drum machine -------------------------------------------------
import("stdfaust.lib"); drumkit(gate, ks, ss, hs) = k_seq, s_seq, h_seq :> /(3) with { N = outputs(ks); env = en.ar(0.001, 0.05); kick(g) = g : env : *(os.osc(100)); snare(g) = g : env : *(no.noise : fi.low_shelf(-60, 3000)); hihat(g) = g : env : *(no.noise : fi.highpass(3...
db177c2ec9bf672cb5d02297ea5f7bd783e4a6ba8751481f4a8f75676a0535b0
nicodaleman/brainwave_virtual_instrument
BrainwaveVirtualInstrument.dsp
declare options "[osc:on]"; import("stdfaust.lib"); nChans = 8; master = vslider("master",1,0,12,0.01): si.smoo; start = checkbox("start"): si.smoo ; //pan = hslider("pan",0,0,1,0.01); fm(carrierFreq, modFreq, ratio, index, gain, start, decay, rate, pan) = (os.osc(carrierFreq+os.osc(modFreq*ratio)*index)* en.arfe(0....
https://raw.githubusercontent.com/nicodaleman/brainwave_virtual_instrument/705fb147b4f761d9bd528fbe0b2e4ba61678e312/BrainwaveVirtualInstrument.dsp
faust
pan = hslider("pan",0,0,1,0.01); just so that band numbers don't start at 0 default,min, max, step ://
declare options "[osc:on]"; import("stdfaust.lib"); nChans = 8; master = vslider("master",1,0,12,0.01): si.smoo; start = checkbox("start"): si.smoo ; fm(carrierFreq, modFreq, ratio, index, gain, start, decay, rate, pan) = (os.osc(carrierFreq+os.osc(modFreq*ratio)*index)* en.arfe(0.1, decay, 0, os.lf_imptrain(rate)) ...
159cd82df8f8d5a16632af72e6738869d4cef2a5f8a97bfdebae57b296cb733b
grame-cncm/faustdoc
exfaust9.dsp
//###################################### fm.dsp ########################################## // A simple smart phone percussion abstract sound toy based on an FM synth. // // ## SmartKeyboard Use Strategy // // The idea here is to use the SmartKeyboard interface as an X/Y control pad by just // creating one keyboard wit...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust9/exfaust9.dsp
faust
###################################### fm.dsp ########################################## A simple smart phone percussion abstract sound toy based on an FM synth. ## SmartKeyboard Use Strategy The idea here is to use the SmartKeyboard interface as an X/Y control pad by just creating one keyboard with on key and by...
declare name "fm"; import("stdfaust.lib"); declare interface "SmartKeyboard{ 'Number of Keyboards':'1', 'Keyboard 0 - Number of Keys':'1', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 0 - Static Mode':'1', 'Keyboard 0 - Send X':'1', 'Keyboard 0 - Send Y':'1' }"; x = hslider("x",0,0,1,0.01); y = hslider("y"...
82cdc5a874deb037b0ca3d9a0b4925f33b7d3fea1df9e3d22885c277a2ee017a
grame-cncm/faustdoc
exfaust19.dsp
//######################################## vocal.dsp ##################################### // A funny vocal synth app... // // ## Compilation Instructions // // This Faust code will compile fine with any of the standard Faust targets. However // it was specifically designed to be used with faust2smartkeyb. For best re...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust19/exfaust19.dsp
faust
######################################## vocal.dsp ##################################### A funny vocal synth app... ## Compilation Instructions This Faust code will compile fine with any of the standard Faust targets. However it was specifically designed to be used with faust2smartkeyb. For best results, we reco...
import("stdfaust.lib"); declare interface "SmartKeyboard{ 'Number of Keyboards':'1', 'Max Keyboard Polyphony':'0', 'Keyboard 0 - Number of Keys':'1', 'Keyboard 0 - Send Freq':'0', 'Keyboard 0 - Static Mode':'1', 'Keyboard 0 - Send X':'1', 'Keyboard 0 - Piano Keyboard':'0' }"; vowel = hslider("vowel[acc: 0 0 ...
1bf549704294cf8af34a7e6061b9f283d7a7286b2d57768dd852032cb57a0be2
grame-cncm/faustdoc
exfaust11.dsp
//######################################## harp.dsp ###################################### // A simple smart phone based harp (if we dare to call it like that). // // ## SmartKeyboard Use Strategy // // Since the sounds generated by this synth are very short, the strategy here is to take // advantage of the polyphony...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust11/exfaust11.dsp
faust
######################################## harp.dsp ###################################### A simple smart phone based harp (if we dare to call it like that). ## SmartKeyboard Use Strategy Since the sounds generated by this synth are very short, the strategy here is to take advantage of the polyphony capabilities o...
declare name "harp"; import("stdfaust.lib"); declare interface "SmartKeyboard{ 'Number of Keyboards':'8', 'Keyboard 0 - Number of Keys':'16', 'Keyboard 1 - Number of Keys':'16', 'Keyboard 2 - Number of Keys':'16', 'Keyboard 3 - Number of Keys':'16', 'Keyboard 4 - Number of Keys':'16', 'Keyboard 5 - Number o...
e2a3e8e5e36428a45b930b174d7174b7549832a1e7d4e21c1478efbb85c3ef9d
grame-cncm/faustdoc
exfaust14.dsp
//##################################### toy.dsp ####################################### // Faust sound toy specifically designed for faust2smartkeyb where a funny // synth can be controlled using several fingers on the screen and the built-in // accelerometer. // // ## SmartKeyboard Use Strategy // // We just want a b...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust14/exfaust14.dsp
faust
##################################### toy.dsp ####################################### Faust sound toy specifically designed for faust2smartkeyb where a funny synth can be controlled using several fingers on the screen and the built-in accelerometer. ## SmartKeyboard Use Strategy We just want a blank screen where...
declare interface "SmartKeyboard{ 'Number of Keyboards':'1', 'Max Keyboard Polyphony':'0', 'Keyboard 0 - Number of Keys':'1', 'Keyboard 0 - Send Freq':'0', 'Keyboard 0 - Static Mode':'1', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 0 - Send Numbered X':'1', 'Keyboard 0 - Send Numbered Y':'1' }"; import("std...
ecd5cdd0c738a96aa886216d0e951e4e021a06eab83e1e87e74fe043e3d7e79d
Corredor1230/varikeyTests
Synthesizer.dsp
import("stdfaust.lib"); //Synth Control declare options "[nvoices:8]"; declare options "[midi:on]"; //Note parameters freq = hgroup("Pitch", nentry("freq",500,200,1000,0.01) : max(20)); vFreq = hgroup("Pitch",vslider("vFreq",0,0,20,0.02):si.smoo); vDepth = hgroup("Pitch", vslider("vDepth[style:knob]",0,0,1,0.001)); ...
https://raw.githubusercontent.com/Corredor1230/varikeyTests/0dd4a8a3679497ecb0e53af415e0b9ba8e5edd20/SynthTests/Source/Faust/Synthesizer.dsp
faust
Synth Control Note parameters Envelope/Gain parameters Processing parameters Tremolo Filter Other controls Synth switcher Midi note controls tuningSliders = hgroup("Note tuning", par(i, 12, vslider("tune", 0, -1, 1, 0.001))); tuningSliders = hgroup("Note tuning", par(i, 12, vslider("tune", 0, -1, 1, 0.001))); Identi...
import("stdfaust.lib"); declare options "[nvoices:8]"; declare options "[midi:on]"; freq = hgroup("Pitch", nentry("freq",500,200,1000,0.01) : max(20)); vFreq = hgroup("Pitch",vslider("vFreq",0,0,20,0.02):si.smoo); vDepth = hgroup("Pitch", vslider("vDepth[style:knob]",0,0,1,0.001)); pWheel = hgroup("Pitch", hslider("...
9369dc004607df055a3b6d288c91e5ae0489a2a25c231afb029f0c4a0054fcda
Corredor1230/varikeyTests
Synthesizer.dsp
import("stdfaust.lib"); //Synth Control //Note parameters freq = hgroup("Pitch", nentry("freq[style:knob]",500,200,1000,0.01) : max(20)); vFreq = hgroup("Pitch",vslider("vFreq",0,0,20,0.02):si.smoo); vDepth = hgroup("Pitch", vslider("vDepth[style:knob]",0,0,1,0.001)); pWheel = hgroup("Pitch", hslider("pWheel",0,-1,1,...
https://raw.githubusercontent.com/Corredor1230/varikeyTests/90f3a627aa1974bede873979b98268e0ea1b4c6a/Faust/Synthesizer.dsp
faust
Synth Control Note parameters Envelope/Gain parameters Processing parameters Tremolo Filter Midi note controls tuningSliders = hgroup("Note tuning", par(i, 12, vslider("tune", 0, -1, 1, 0.001))); tuningSliders = hgroup("Note tuning", par(i, 12, vslider("tune", 0, -1, 1, 0.001))); Identifies the MIDI input note and m...
import("stdfaust.lib"); freq = hgroup("Pitch", nentry("freq[style:knob]",500,200,1000,0.01) : max(20)); vFreq = hgroup("Pitch",vslider("vFreq",0,0,20,0.02):si.smoo); vDepth = hgroup("Pitch", vslider("vDepth[style:knob]",0,0,1,0.001)); pWheel = hgroup("Pitch", hslider("pWheel",0,-1,1,0.001):si.smoo); detune = hgroup("...
1188d2d22947e1d60837fd96d1f4fdb08c23fb5539c2a2b975bbf39cf11ff4a0
Corredor1230/varikeyTests
synthesizer.dsp
import("stdfaust.lib"); import("parameters.dsp"); //Synth Control //Note parameters freq = hgroup("Pitch", nentry("freq[style:knob]",500,200,1000,0.01) : max(20)); vibFreq = hgroup("Pitch",vslider("vibFreq",0,0,20,0.02):si.smoo); vibDepth = hgroup("Pitch", vslider("vibDepth[style:knob]",0,0,1,0.001)); pitchWheel = h...
https://raw.githubusercontent.com/Corredor1230/varikeyTests/5ee7586a25ecab456be43298027f8f6d0145a92d/SynthTests/Source/Faust/Outdated/synthesizer.dsp
faust
Synth Control Note parameters Envelope/Gain parameters Processing parameters Tremolo Filter Midi note controls tuningSliders = hgroup("Note tuning", par(i, 12, vslider("tune", 0, -1, 1, 0.001))); tuningSliders = hgroup("Note tuning", par(i, 12, vslider("tune", 0, -1, 1, 0.001))); Identifies the MIDI input note and m...
import("stdfaust.lib"); import("parameters.dsp"); freq = hgroup("Pitch", nentry("freq[style:knob]",500,200,1000,0.01) : max(20)); vibFreq = hgroup("Pitch",vslider("vibFreq",0,0,20,0.02):si.smoo); vibDepth = hgroup("Pitch", vslider("vibDepth[style:knob]",0,0,1,0.001)); pitchWheel = hgroup("Pitch", hslider("pitchWheel...
4706da6fddf598f6e335deca79a27ddf72e42446f0c3e5c505d452da45406676
grame-cncm/faustdoc
exfaust2.dsp
// Voltage-controlled oscillator example import("stdfaust.lib"); // Create a phasor with a given frequency phasor(freq) = freq/ma.SR : (+ : decimal) ~ _ with { decimal(x) = x-int(x); }; // Pitch to freq conversion (also included in the rack.lib library) cv_pitch2freq(cv_pitch) = 440 * 2 ^ (cv_pitch - 0.75); gain = ...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-11-21-faust-vcvrack/exfaust2/exfaust2.dsp
faust
Voltage-controlled oscillator example Create a phasor with a given frequency Pitch to freq conversion (also included in the rack.lib library)
import("stdfaust.lib"); phasor(freq) = freq/ma.SR : (+ : decimal) ~ _ with { decimal(x) = x-int(x); }; cv_pitch2freq(cv_pitch) = 440 * 2 ^ (cv_pitch - 0.75); gain = hslider("gain [knob:1]", 0.1, 0, 1, 0.01) * 10 - 5; pitch(x) = x + gain; process(x) = sin(2 * ma.PI * phasor(cv_pitch2freq(pitch(x)))) * 5;
4022678b411224dff00a6cdfb176e5e5e1e877f18d5fd6f5ab0a90b1ad50b26b
grame-cncm/faustdoc
exfaust4.dsp
//############################### clarinet.dsp ################################# // Faust instrument specifically designed for faust2smartkeyb where a // clarinet physical model is controlled by an interface implementing // fingerings similar to that of a the real instrument. The pressure of the // breath in the mouth...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust4/exfaust4.dsp
faust
############################### clarinet.dsp ################################# Faust instrument specifically designed for faust2smartkeyb where a clarinet physical model is controlled by an interface implementing fingerings similar to that of a the real instrument. The pressure of the breath in the mouthpiece of th...
declare interface "SmartKeyboard{ 'Number of Keyboards':'2', 'Max Keyboard Polyphony':'0', 'Keyboard 0 - Number of Keys':'4', 'Keyboard 1 - Number of Keys':'5', 'Keyboard 0 - Send Freq':'0', 'Keyboard 1 - Send Freq':'0', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 1 - Piano Keyboard':'0', 'Keyboard 0 - S...
57daca8b819a376de47727822b82c0a5138a42b33c6e3f05f1ed1967d7e3f37f
Corredor1230/varikeyTests
synthesizer2.dsp
import("stdfaust.lib"); //Parameter declarations freq = vslider("freq[style:knob]",500,200,1000,0.01); gain = vslider("gain",0.5,0,1,0.01) : si.smoo; gate = button("gate") : si.smoo; cutoff = vslider("cutoff[style:knob][scale:log]",1000,110,20000,0.01) : si.smoo; vibFreq=vslider("vibFreq",0,0,20,0.02):si.smoo; vibDept...
https://raw.githubusercontent.com/Corredor1230/varikeyTests/8d11723ab47cdfa07e786db8b118dabaf0cae2cb/Faust/synthesizer2.dsp
faust
Parameter declarations Adds pitch wheel and vibrato to frequency Adds tremolo to gain Creates lfo-controlled low-pass filter frequency Adds stereo detune to the synthesizer
import("stdfaust.lib"); freq = vslider("freq[style:knob]",500,200,1000,0.01); gain = vslider("gain",0.5,0,1,0.01) : si.smoo; gate = button("gate") : si.smoo; cutoff = vslider("cutoff[style:knob][scale:log]",1000,110,20000,0.01) : si.smoo; vibFreq=vslider("vibFreq",0,0,20,0.02):si.smoo; vibDepth=vslider("vibDepth[style...
9701b65db5102327b492b4be186f9072152c7f948bb84d87caeafa0a95fb0dd4
megrimm/pd-fresh
pm.tambura.dsp
declare name "tambura"; declare description "Pseudo physical model of an Indian Tambura/Tanpura"; declare author "Oli Larkin (contact@olilarkin.co.uk)"; declare copyright "Oliver Larkin"; declare version "1.0"; declare licence "GPL"; //TODO // - pitch env doesn't get triggered by autoplucker // - autoplucker fixed to ...
https://raw.githubusercontent.com/megrimm/pd-fresh/32662a2213ba9d81bfaabbf0d345a8008283745f/pm.tambura.dsp
faust
TODO - pitch env doesn't get triggered by autoplucker - autoplucker fixed to 4 strings tunings of the four strings, ratios of f0 50 ms smoothing ratios(i) = hslider("/h:main/ratio%1i [style:knob]", 1., 0.1, 2., 0.001); buttons for manual plucking automatic plucking rate (Hz) enable automatic plucking the base pit...
declare name "tambura"; declare description "Pseudo physical model of an Indian Tambura/Tanpura"; declare author "Oli Larkin (contact@olilarkin.co.uk)"; declare copyright "Oliver Larkin"; declare version "1.0"; declare licence "GPL"; import("stdfaust.lib"); line (value, time) = state~(_,_):!,_ with { state (t, c)...
0314aea2e870a9615f779d793f6e45aeda590c4c3fd5a0aef92688d418d0f3c5
t2techno/Faug
Faug.dsp
import("stdfaust.lib"); display(name, mini, maxi) = _ <: attach(_,vbargraph("[00]%name[style:numerical]",mini,maxi)); limit_range(mini,maxi) = _, mini : max : _, maxi : min; gain = hslider("gain[style:knob]",1.0,0.0,1.0,0.01); // Midi note 48, 130.81hz, C2 is default 1V in model D // Will use as center for keyTrackin...
https://raw.githubusercontent.com/t2techno/Faug/4c5f8d9c76693dda6d05baff4ea64f57c6a08de7/FaustDsp/Faug.dsp
faust
Midi note 48, 130.81hz, C2 is default 1V in model D Will use as center for keyTrackingDiff currently I only have 44.1khz the things relying on this require it to be known at compile time anyway ma.SR/2; todo variable keytracking per oscillator Oscillators oscillators Oscillator wave selectors. 3rd option in wav...
import("stdfaust.lib"); display(name, mini, maxi) = _ <: attach(_,vbargraph("[00]%name[style:numerical]",mini,maxi)); limit_range(mini,maxi) = _, mini : max : _, maxi : min; gain = hslider("gain[style:knob]",1.0,0.0,1.0,0.01); keyboardCenter = 130.81; generateSound(fdb) = output(fdb) : filter : _*envelope with{ ...
0e51c21fc7d163adda500103b064a8dfca46899a90d6d112a63c306ba2f31754
etiennedemoulin/amplifdisto
filter.dsp
import("stdfaust.lib"); freq = hslider("frequency",1,0.1,3,0.001); drywet = hslider("dry/wet",-1,-1,1,0.001) : si.smoo; drive = hslider("[1] Drive [tooltip: Amount of distortion]",0.5, 0, 1, 0.01); offset = hslider("[2] Offset [tooltip: Brings in even harmonics]",0.6, 0, 1, 0.01); dry_wet(x,y) = *(wet) + dry*x, *(we...
https://raw.githubusercontent.com/etiennedemoulin/amplifdisto/b21a8986f61d01101d10915e92a811b71ef676b0/filter.dsp
faust
2ch random generator select one of the two output channels of p filters with noise as input process = noise;
import("stdfaust.lib"); freq = hslider("frequency",1,0.1,3,0.001); drywet = hslider("dry/wet",-1,-1,1,0.001) : si.smoo; drive = hslider("[1] Drive [tooltip: Amount of distortion]",0.5, 0, 1, 0.01); offset = hslider("[2] Offset [tooltip: Brings in even harmonics]",0.6, 0, 1, 0.01); dry_wet(x,y) = *(wet) + dry*x, *(we...
def3d2e93c5ee517d36e043be3e0acaf7298929f1bf82d822de5ac808ab67f7e
Primatebuddy/MyStuff
noise.dsp
import("stdfaust.lib"); ctFreq = hslider("[0]cutoffFrequency",500,50,10000,0.01); q = hslider("[1]q",5,1,30,0.1); gain = hslider("[2]gain",1,0,1,0.01); t = button("[3]gate"); process = no.noise : fi.resonlp(ctFreq,q,gain)*t;
https://raw.githubusercontent.com/Primatebuddy/MyStuff/ce67052f1878b0daa0c075b1849628438213b17c/Faust/noise.dsp
faust
import("stdfaust.lib"); ctFreq = hslider("[0]cutoffFrequency",500,50,10000,0.01); q = hslider("[1]q",5,1,30,0.1); gain = hslider("[2]gain",1,0,1,0.01); t = button("[3]gate"); process = no.noise : fi.resonlp(ctFreq,q,gain)*t;
0783982fae1e40c1ba03edee97f9b1ad7010581d16fd2a20de1206f8a24e1f6f
resonantdsp/SwankyAmpFaust
TriodeGrid.dsp
// Swanky Amp tube amplifier simulation // Copyright (C) 2020 Garrin McGoldrick // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your...
https://raw.githubusercontent.com/resonantdsp/SwankyAmpFaust/2d44bc706394aced5126d5eb0902c33aaac66c54/dsp/TriodeGrid.dsp
faust
Swanky Amp tube amplifier simulation Copyright (C) 2020 Garrin McGoldrick This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
import("stdfaust.lib"); import("common.dsp"); triode_grid = environment { hp_freq = nentry("hp_freq",0,0,1,1); tau = nentry("tau",0,0,1,1); ratio = nentry("ratio",0,0,1,1); smooth = nentry("smooth",0,0,1,1); level = nentry("level",0,0,1,1); cap = nentry("cap",0,0,1,1); ...
475a4ce987bc4dd124bf1ba9bf431b54a52076a4b0166a75990e011520c52310
luke1241/MUSS3640_Vocal_Synth
glottalPulse.dsp
import("stdfaust.lib"); inFreq = hslider("Frequency", 110, 20, 1000, 1); alpha0Slide = hslider("a_0", 0.2, 0.01, 2.0, 0.001); alpha1Slide = hslider("a_1", 0.19, 0.01, 2.0, 0.001); avSlide = hslider("Av", 1.0, 0.0, 2.0, 0.1); t0Slide = hslider("T0", 1.0, 0.01, 2.0, 0.001); teSlide = hslider("Te", 1.2, 0.00, 4.0, 0.001)...
https://raw.githubusercontent.com/luke1241/MUSS3640_Vocal_Synth/3586a6599ddb5db726d7c420f53aa9ccb161de75/glottalPulse.dsp
faust
Amplitude of voicing Glottal time interval Tp = alpha0*T0; //Glottal opening time Tc = alpha1*T0; //Glottal closing time Te = Tc + Tp; //Glottal closed time Increasing slope Decreasing slope * REF: * Stochastic models of glottal pulses from the Rosenberg and * Liljencrants-Fant models w...
import("stdfaust.lib"); inFreq = hslider("Frequency", 110, 20, 1000, 1); alpha0Slide = hslider("a_0", 0.2, 0.01, 2.0, 0.001); alpha1Slide = hslider("a_1", 0.19, 0.01, 2.0, 0.001); avSlide = hslider("Av", 1.0, 0.0, 2.0, 0.1); t0Slide = hslider("T0", 1.0, 0.01, 2.0, 0.001); teSlide = hslider("Te", 1.2, 0.00, 4.0, 0.001)...
a3a105df4e78b6475b1128eecc317bceceb7d99cc7d55880e0f953f9257168bd
grame-cncm/faustdoc
exfaust2.dsp
import("stdfaust.lib"); freq = hslider("frequency[midi:keyoff 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
https://raw.githubusercontent.com/grame-cncm/faustdoc/a54d79beea1d5c64fc9a99d45ac24690c7ade7b2/docs/manual/midi/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); freq = hslider("frequency[midi:keyoff 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
1309b048157059c7823d112a224c2a350cb4dfd8a8070b15e4545a949b6ba11d
grame-cncm/faustdoc
exfaust4.dsp
import("stdfaust.lib"); freq = hslider("frequency[midi:keypress 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/midi/exfaust4/exfaust4.dsp
faust
import("stdfaust.lib"); freq = hslider("frequency[midi:keypress 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
606c47c7edf522cbb9683e434b6854b056591ac746ebe284b22d3bce06b4c80d
grame-cncm/faustdoc
exfaust1.dsp
import("stdfaust.lib"); freq = hslider("frequency[midi:keyon 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/midi/exfaust1/exfaust1.dsp
faust
import("stdfaust.lib"); freq = hslider("frequency[midi:keyon 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
fef71cd29780cb3ffd8ccdfc5bc11bf62437ad8744657d7a418e7404de167d2a
grame-cncm/faustdoc
exfaust0.dsp
import("stdfaust.lib"); freq = hslider("frequency[midi:ctrl 11]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/midi/exfaust0/exfaust0.dsp
faust
import("stdfaust.lib"); freq = hslider("frequency[midi:ctrl 11]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
31d1c3430350c139ee540e586a6c6f4e55065d54d55831dae5f637ec7b868630
grame-cncm/faustdoc
exfaust3.dsp
import("stdfaust.lib"); freq = hslider("frequency[midi:key 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/midi/exfaust3/exfaust3.dsp
faust
import("stdfaust.lib"); freq = hslider("frequency[midi:key 62]",200,50,1000,0.01) : si.smoo; process = os.sawtooth(freq);
dbbd2dfdde553ae2c6c2bb9518ac922d2732d17366bc93d773305cde812c7405
grame-cncm/faustdoc
exfaust31.dsp
import("stdfaust.lib"); // A frequency aliasing phenomenon if one goes beyond SR/2 process = os.osc(hslider("freq", 440, 20, 20000, 1)) * hslider("gain", 0.1, 0, 1, 0.01);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-04-10-faust-101/exfaust31/exfaust31.dsp
faust
A frequency aliasing phenomenon if one goes beyond SR/2
import("stdfaust.lib"); process = os.osc(hslider("freq", 440, 20, 20000, 1)) * hslider("gain", 0.1, 0, 1, 0.01);
e6639109ec8bdf5db67cc27aa31dcb797ae8416892693f68f697a654b39e4478
grame-cncm/faustdoc
exfaust8.dsp
import("stdfaust.lib"); ctFreq = hslider("cutoffFrequency",500,50,10000,0.01); q = hslider("q",5,1,30,0.1); gain = hslider("gain",1,0,1,0.01); process = no.noise : fi.resonlp(ctFreq,q,gain);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/quick-start/exfaust8/exfaust8.dsp
faust
import("stdfaust.lib"); ctFreq = hslider("cutoffFrequency",500,50,10000,0.01); q = hslider("q",5,1,30,0.1); gain = hslider("gain",1,0,1,0.01); process = no.noise : fi.resonlp(ctFreq,q,gain);
6ec977dece12571cdfe5421384b7fcad44b01092b3c777f9d4852abd3517654b
grame-cncm/faustdoc
exfaust32.dsp
import("stdfaust.lib"); //---------------------------------------------------------------------- // partial(f,n); // f = frequency in Hz // n = partial number starting at 1 partial(n,f) = os.osc(f*n) * hslider("partial %n", 0.25, 0, 1, 0.01); process = sum(i, 4, partial(i+1, hslider("freq", 440, 20, 8000, 0.001))); ...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-04-10-faust-101/exfaust32/exfaust32.dsp
faust
---------------------------------------------------------------------- partial(f,n); f = frequency in Hz n = partial number starting at 1
import("stdfaust.lib"); partial(n,f) = os.osc(f*n) * hslider("partial %n", 0.25, 0, 1, 0.01); process = sum(i, 4, partial(i+1, hslider("freq", 440, 20, 8000, 0.001)));
db6b1352c3ad84a13b5fe2a4684bd569e34da5c99ad047b0806d17788eb08dee
grame-cncm/faustdoc
exfaust47.dsp
import("stdfaust.lib"); // FM: Frequency modulation FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1), hslider("amp modulation", 0, 0, 1, 0.01) ) ...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-04-10-faust-101/exfaust47/exfaust47.dsp
faust
FM: Frequency modulation
import("stdfaust.lib"); FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1), hslider("amp modulation", 0, 0, 1, 0.01) ) <: _,_;
264ce99b9b9dcf2bdd58c2378fa6c4aecc93f7da54648ab1ff3b058452b4df8d
grame-cncm/faustdoc
exfaust23.dsp
import("stdfaust.lib"); // FM: Frequency moulation FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1), hslider("amp modulation", 0, 0, 1, 0.01) ) ...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-03-24-faust-citi/exfaust23/exfaust23.dsp
faust
FM: Frequency moulation
import("stdfaust.lib"); FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1), hslider("amp modulation", 0, 0, 1, 0.01) ) <: _,_;
b123e4630e1ce8cf89d423d8c661bc544183ae6253b5ccd9cfe48fcfcb9b1885
grame-cncm/faustdoc
exfaust10.dsp
import("stdfaust.lib"); ctFreq = hslider("[0]cutoffFrequency",500,50,10000,0.01) : si.smoo; q = hslider("[1]q",5,1,30,0.1) : si.smoo; gain = hslider("[2]gain",1,0,1,0.01) : si.smoo; t = button("[3]gate") : si.smoo; process = no.noise : fi.resonlp(ctFreq,q,gain)*t;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/quick-start/exfaust10/exfaust10.dsp
faust
import("stdfaust.lib"); ctFreq = hslider("[0]cutoffFrequency",500,50,10000,0.01) : si.smoo; q = hslider("[1]q",5,1,30,0.1) : si.smoo; gain = hslider("[2]gain",1,0,1,0.01) : si.smoo; t = button("[3]gate") : si.smoo; process = no.noise : fi.resonlp(ctFreq,q,gain)*t;
f178b1581145e71570e1c1a8a8297df1d7c02a6ff725ab4aedd9c8a02789b05d
orchidas/Music-256A
tremolo.dsp
import("stdfaust.lib"); gain = hslider("gain",1,0,1,0.01) : si.smoo; gate = button("gate"); tremolo = *(1-depth*(os.osc(freq)*0.5+0.5)) with{ freq = hslider("frequency",5,0.1,15,0.01) : si.smoo; depth = hslider("depth",0,0,1,0.01) : si.smoo; }; process = hgroup("tremolo", par(i,2,tremolo*gain*gate));
https://raw.githubusercontent.com/orchidas/Music-256A/46c465a3f004a00723088f918106a854af863d08/ofEffectsChain/src/faust/tremolo.dsp
faust
import("stdfaust.lib"); gain = hslider("gain",1,0,1,0.01) : si.smoo; gate = button("gate"); tremolo = *(1-depth*(os.osc(freq)*0.5+0.5)) with{ freq = hslider("frequency",5,0.1,15,0.01) : si.smoo; depth = hslider("depth",0,0,1,0.01) : si.smoo; }; process = hgroup("tremolo", par(i,2,tremolo*gain*gate));
17e5b389c93701c2dbc2db8ee76739fb731d2572c95956ba89b7e1805cecf685
monodon-monoceros/modal_spring_reverb
springreverb.dsp
import("stdfaust.lib"); // Non Linear Pre Gain dwell = _*gain : ma.tanh with{ gain = hslider("[0] Dwell[style:knob]", 1,0,20,0.001) : si.smoo; }; // Predelay predelay = de.sdelay(0.2*ma.SR,4096, length*ma.SR) with{ length = 0.001*hslider("Preday[unit:ms][style:knob]", 0,0,200, 0.1):si.smoo; }; // Linear Mod...
https://raw.githubusercontent.com/monodon-monoceros/modal_spring_reverb/bba6fbed15950a89b09df84416557dc7a80b3f97/faust_jan/springreverb.dsp
faust
Non Linear Pre Gain Predelay Linear Modal Spring Model + 15 in modes function because of filter stability damping = 0.001; 0.00005 -0.01, q = 1/(2*damping); Material constant - sqrt(E/rho), Steel = 5063, rubber = 60, concrete = 2357 length of unwounded wire in [m] in [Hz] Number of Modes N 447 modes in range...
import("stdfaust.lib"); dwell = _*gain : ma.tanh with{ gain = hslider("[0] Dwell[style:knob]", 1,0,20,0.001) : si.smoo; }; predelay = de.sdelay(0.2*ma.SR,4096, length*ma.SR) with{ length = 0.001*hslider("Preday[unit:ms][style:knob]", 0,0,200, 0.1):si.smoo; }; with{ material = hslider("[2] Material[unit:...
5643592273a755e36aa9e5fc507ce9d9704a5e8b09d5754bbd351ab5ce5962b4
Corredor1230/varikeyTests
FaustSynth.dsp
import("stdfaust.lib"); freq1=hslider("Frequency[scale:log]",200,20,20000,1):si.smoo; freq2=hslider("Frequency2[scale:log]",300,20,20000,1):si.smoo; filtCutoff=vslider("Cutoff [scale:log]",1000,20,20000,1):si.smoo; lowPass=fi.lowpass(3,filtCutoff); gain=hslider("Gain",0.1,0,1,0.01):si.smoo; oscillator(x,y)=(os.sawtoot...
https://raw.githubusercontent.com/Corredor1230/varikeyTests/763b98510f2df460bbdeaff7dc219bcbd5e15c5f/ExampleCode/TestSynth/Source/faust/FaustSynth.dsp
faust
import("stdfaust.lib"); freq1=hslider("Frequency[scale:log]",200,20,20000,1):si.smoo; freq2=hslider("Frequency2[scale:log]",300,20,20000,1):si.smoo; filtCutoff=vslider("Cutoff [scale:log]",1000,20,20000,1):si.smoo; lowPass=fi.lowpass(3,filtCutoff); gain=hslider("Gain",0.1,0,1,0.01):si.smoo; oscillator(x,y)=(os.sawtoot...
6a34bb593e8fae02c3046ca23150d31777f1e5857ce655b1af3965eb5b768886
grame-cncm/smartfaust
sampler_crybaby2_v0.1.dsp
declare name "sfCrybaby"; declare version "1.4"; declare author "Christophe Lebreton"; declare license "BSD & STK-4.3"; declare copyright "SmartFaust - GRAME(c)2013-2018"; import("stdfaust.lib"); //-------------------- MAIN ------------------------------- process = _<:_,crybaby_ios:dry_wet_mono; //-----...
https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfPlayer/sampler_crybaby2_v0.1.dsp
faust
-------------------- MAIN ------------------------------- -------------------- PARAMETERS ------------------------------- fc= hslider("h:motion filter/high_cut [hidden:1]",10,0.01,10,0.01); order of filter direct from effect.lib ( "Julius O. Smith ") and adapted by Christophe Lebreton for ios [accx:1 0 0. 0] Dry Wet...
declare name "sfCrybaby"; declare version "1.4"; declare author "Christophe Lebreton"; declare license "BSD & STK-4.3"; declare copyright "SmartFaust - GRAME(c)2013-2018"; import("stdfaust.lib"); process = _<:_,crybaby_ios:dry_wet_mono; lowpassmotion = fi.lowpass(N,fc) with { fc=10; }; crybab...
2721f1d09a5c2ba4ac1a27950c455a28fb04e021df0e92a3fba3c1eba9700ebf
grame-cncm/faustdoc
exfaust5.dsp
import("stdfaust.lib"); ctFreq = 500; q = 5; gain = 1; filter = fi.resonlp(ctFreq,q,gain); process = no.noise <: filter,filter;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/quick-start/exfaust5/exfaust5.dsp
faust
import("stdfaust.lib"); ctFreq = 500; q = 5; gain = 1; filter = fi.resonlp(ctFreq,q,gain); process = no.noise <: filter,filter;
0b154dbf9d69b0058384421feb62064ecf4ca7a58386dea60279e1d4744410c7
grame-cncm/faustdoc
exfaust20.dsp
import("stdfaust.lib"); nBands = 8; filterBank(N) = hgroup("Filter Bank",seq(i,N,oneBand(i))) with { oneBand(j) = vgroup("[%j]Band %a",fi.peak_eq(l,f,b)) with { a = j+1; // just so that band numbers don't start at 0 l = vslider("[2]Level[unit:db]",0,-70,12,0.01) : si.smoo; f = nentry("[1]Freq",(80+(1000*8/N*(j...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust20/exfaust20.dsp
faust
just so that band numbers don't start at 0
import("stdfaust.lib"); nBands = 8; filterBank(N) = hgroup("Filter Bank",seq(i,N,oneBand(i))) with { oneBand(j) = vgroup("[%j]Band %a",fi.peak_eq(l,f,b)) with { l = vslider("[2]Level[unit:db]",0,-70,12,0.01) : si.smoo; f = nentry("[1]Freq",(80+(1000*8/N*(j+1)-80)),20,20000,0.01) : si.smoo; b = f/hslider("[0]Q[...
b19f28c1145f6b18908867bcceefca75b1470a16977dd5cefa490aaff3367890
grame-cncm/smartfaust
sfMoulin.dsp
declare name "sfMoulin"; declare version "1.02"; declare author "Christophe Lebreton"; declare license "BSD & STK-4.3"; declare copyright "SmartFaust - GRAME(c)2013-2018"; import("stdfaust.lib"); import("moulin_v0.1.lib"); //-------------------- MAIN ------------------------------- process = vgroup( "s...
https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfMoulin/sfMoulin.dsp
faust
-------------------- MAIN ------------------------------- /////////////////////////////////////////////////////////////////////////////////////////////////////// Accelerometer Part /////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////...
declare name "sfMoulin"; declare version "1.02"; declare author "Christophe Lebreton"; declare license "BSD & STK-4.3"; declare copyright "SmartFaust - GRAME(c)2013-2018"; import("stdfaust.lib"); import("moulin_v0.1.lib"); process = vgroup( "select your sample 1 to 8",(player_A, player_B, player_C, pla...
22f66ef8f2094087bb364d4b901fca4d27a010ec1701f17a56a50e2e995fa3fc
grame-cncm/smartfaust
sample_player_v0.1a.dsp
declare name "Sample_player_v0.1"; declare version "1.01"; declare author "Christophe Lebreton"; declare license "BSD"; declare copyright "SmartFaust - GRAME(c)2013-2018"; import("stdfaust.lib"); import("sample_v0.1.lib"); //-------------------- MAIN ------------------------------- process = vgroup( "sel...
https://raw.githubusercontent.com/grame-cncm/smartfaust/0a9c93ea7eda9899e1401402901848f221366c99/src/sfPlayer/sample_player_v0.1a.dsp
faust
-------------------- MAIN ------------------------------- /////////////////////////////////////////////////////////////////////////////////////////////////////// Accelerometer Part /////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////...
declare name "Sample_player_v0.1"; declare version "1.01"; declare author "Christophe Lebreton"; declare license "BSD"; declare copyright "SmartFaust - GRAME(c)2013-2018"; import("stdfaust.lib"); import("sample_v0.1.lib"); process = vgroup( "select your sample 1 to 10",(player_A, player_B, player_C, play...
291cde17bf535078509e955113ae27e7fe0169039004cd70712f244d430d16c1
Corredor1230/varikeyTests
SimpleSynth.dsp
import("stdfaust.lib"); declare options "[midi:on]"; declare options "[nvoices:8]"; freq = hslider("freq", 440, 60, 1000, 1); gain = hslider("gain", 0.5, 0, 1, 0.01); gate = checkbox("gate"); att = vslider("att", 15, 10, 1500, 1) / 1000; dec = vslider("dec", 15, 10, 1500, 1) / 1000; sus = vslider("sus", 0.5, 0, 1, 0....
https://raw.githubusercontent.com/Corredor1230/varikeyTests/973893526e548ad5bfb987845c5021a5fef992ec/SynthTests/PolyTest/Source/SimpleSynth.dsp
faust
import("stdfaust.lib"); declare options "[midi:on]"; declare options "[nvoices:8]"; freq = hslider("freq", 440, 60, 1000, 1); gain = hslider("gain", 0.5, 0, 1, 0.01); gate = checkbox("gate"); att = vslider("att", 15, 10, 1500, 1) / 1000; dec = vslider("dec", 15, 10, 1500, 1) / 1000; sus = vslider("sus", 0.5, 0, 1, 0....
244cfa9aa8854f55a4dbf15ad9d798ceb0af89996596da57e94c79fcd16331a4
luke1241/MUSS3640_Vocal_Synth
dspVowelTable.dsp
import("stdfaust.lib"); //https://github.com/grame-cncm/faustlibraries/blob/master/physmodels.lib values = environment { f(0) = (800,400,350,450,325,600,400,250,400,350,660,440,270,430,370,800, 350,270,450,325,650,400,290,400,350); // formant 0 freqs f(1) = (1150,1600,1700,800,700,1040,1620,1750,750,600,1120,18...
https://raw.githubusercontent.com/luke1241/MUSS3640_Vocal_Synth/3586a6599ddb5db726d7c420f53aa9ccb161de75/dspVowelTable.dsp
faust
https://github.com/grame-cncm/faustlibraries/blob/master/physmodels.lib formant 0 freqs formant 1 freqs formant 2 freqs formant 3 freqs formant 4 freqs formant 0 gains formant 1 gains formant 2 gains formant 3 gains formant 4 gains formant 0 bandwidths formant 1 bandwidths formant 2 bandwidths formant 3 b...
import("stdfaust.lib"); values = environment { f(0) = (800,400,350,450,325,600,400,250,400,350,660,440,270,430,370,800, f(1) = (1150,1600,1700,800,700,1040,1620,1750,750,600,1120,1800,1850,820,630, f(2) = (2800,2700,2700,2830,2530,2250,2400,2600,2400,2400,2750,2700,2900,2700,2750, f(3) = (3500,3300,3700,3500,35...
278aa7fb6dbb3bbde012371fb289f2fe808d9fa7399362d803b8e2ab3f02aa25
striso/striso-control-firmware
synth.dsp
import("stdfaust.lib"); SR = ma.SR; maxmsp = library("maxmsp.lib"); fast = library("fast.lib"); K_f0 = fast.K_f0; HPF = fast.HPF; LPF = fast.LPF; BPF = fast.BPF; note2freq = fast.note2freq; voicecount = 6; halftime2fac(x) = 0.5^(1./(SR*x)); halftime2fac_fast(x) = 1-0.7*(1./(SR*x)); //smooth(c) = *(1-c) : +~...
https://raw.githubusercontent.com/striso/striso-control-firmware/3ac090451aac0fcdde8aaf4a6f77397a7756726f/synth.dsp
faust
smooth(c) = *(1-c) : +~*(c); 0-1 -60db decay time (sec) pitchbend = but_x^3; freq = note2freq(note+pitchbend*bendRange); vosc = oscss(freq, even_harm); decaytime = max(max(min(pluck * 2 - 0.4, 0.5+pluck), min(pres * 16, 0.5+pres)), 0.05) * 64 / note; + min(pres, 0.001); level = max(vplev : envdecay(resetn...
import("stdfaust.lib"); SR = ma.SR; maxmsp = library("maxmsp.lib"); fast = library("fast.lib"); K_f0 = fast.K_f0; HPF = fast.HPF; LPF = fast.LPF; BPF = fast.BPF; note2freq = fast.note2freq; voicecount = 6; halftime2fac(x) = 0.5^(1./(SR*x)); halftime2fac_fast(x) = 1-0.7*(1./(SR*x)); smooth(x) = maxmsp.line(x,2); e...
f405b197175647a53aba0497a8c7a1c8a2bb04583efcf3e5db9a085963a4d923
grame-cncm/faustdoc
exfaust85.dsp
import("stdfaust.lib"); tableSize = 1 << 16; sineWave(tablesize) = float(ba.time)*(2.0*ma.PI)/float(tablesize) : sin; triangleOsc(f) = tableSize,sineWave(tableSize),int(os.phasor(tableSize,f)) : rdtable; f = hslider("freq",440,50,2000,0.01); process = triangleOsc(f);
https://raw.githubusercontent.com/grame-cncm/faustdoc/515c59ce7c4e390d3cf0fc518cd0d9f3ef7be262/docs/manual/syntax/exfaust85/exfaust85.dsp
faust
import("stdfaust.lib"); tableSize = 1 << 16; sineWave(tablesize) = float(ba.time)*(2.0*ma.PI)/float(tablesize) : sin; triangleOsc(f) = tableSize,sineWave(tableSize),int(os.phasor(tableSize,f)) : rdtable; f = hslider("freq",440,50,2000,0.01); process = triangleOsc(f);
79fad1b3a4b307e26913237a3791ef96fbfdb963a3d8ed0b5fc4c57ece415ac2
monodon-monoceros/modal_spring_reverb
spring.dsp
declare name "Romulan Spring"; declare author "Dr.-Ing. Jan Abel, Dr.-Ing. Pierre-Hugues Hadacek, Dr.-Ing. Yassine Aïssa, Dr.-Ing. Steven Thiele"; declare course "Digitale Audiosignaleverarbeitung SoSe 21"; declare institution "Beuth Hochschule für Technik"; import("stdfaust.lib"); /*SVF Filter Implementation*...
https://raw.githubusercontent.com/monodon-monoceros/modal_spring_reverb/178454a48270e7c094dfe1d19b8be31a0826f1fe/Pedra/spring.dsp
faust
SVF Filter Implementation ADSR Enveloppe Filter Block Spring Implementation Steel - Material constant - sqrt(E/rho) in [m/s] material = 60; // rubber material = 2357; //concrete length of wire [m] radius [m] damping = 0.001; 0.00005 -0.01 q = 1/(2*damping); N 447 modes in range (0-22050Hz) for steel, 2,5m lengt...
declare name "Romulan Spring"; declare author "Dr.-Ing. Jan Abel, Dr.-Ing. Pierre-Hugues Hadacek, Dr.-Ing. Yassine Aïssa, Dr.-Ing. Steven Thiele"; declare course "Digitale Audiosignaleverarbeitung SoSe 21"; declare institution "Beuth Hochschule für Technik"; import("stdfaust.lib"); TO BE DONE TILL MID MAI svf...
d62be2205aa3705aa989efbf71bc04d8ed5a054de975a35f579edb358e6ce7ae
dblanchemain/metaSurface
filtersFaust.dsp
declare name "filtersFaust"; declare version "0.0"; declare author "JOS, revised by RM"; declare description "Filters mono"; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library("filters.lib");...
https://raw.githubusercontent.com/dblanchemain/metaSurface/f5695b5b58c0d7b41fd9a899cf5a664184d849c7/Plugins/filtersFaust.dsp
faust
================ Butterworth Lowpass/Highpass Filters ====================== Nth-order Butterworth lowpass or highpass filters USAGE: _ : lowpass(N,fc) : _ _ : highpass(N,fc) : _ where N = filter order (number of poles) [nonnegative constant integer] fc = desired cut-off frequency (-3dB frequency) in H...
declare name "filtersFaust"; declare version "0.0"; declare author "JOS, revised by RM"; declare description "Filters mono"; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library("filters.lib");...
f91a4ddd69c5bf187629a757873f043f2090d000f527935e31e86d8261e317f5
grame-cncm/faustdoc
exfaust10.dsp
//################################### frog.dsp ##################################### // A simple smart phone abstract instrument than can be controlled using the touch // screen and the accelerometers of the device. // // ## SmartKeyboard Use Strategy // // The idea here is to use the SmartKeyboard interface as an X/Y...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/examples/smartKeyboard/exfaust10/exfaust10.dsp
faust
################################### frog.dsp ##################################### A simple smart phone abstract instrument than can be controlled using the touch screen and the accelerometers of the device. ## SmartKeyboard Use Strategy The idea here is to use the SmartKeyboard interface as an X/Y control pad by...
declare name "frog"; import("stdfaust.lib"); declare interface "SmartKeyboard{ 'Number of Keyboards':'1', 'Keyboard 0 - Number of Keys':'1', 'Keyboard 0 - Piano Keyboard':'0', 'Keyboard 0 - Static Mode':'1', 'Keyboard 0 - Send X':'1', 'Keyboard 0 - Send Y':'1' }"; x = hslider("x",0,0,1,0.01); y = hslider("...
c011a2bf5b11cd62a73efd855362372bdfc817d448ce69fb58db9224abe6eca1
dblanchemain/metaSurface
moogVcfFaust.dsp
declare name "moogVcfFaust"; declare version "0.0"; declare author "RM"; declare description "moogVcfFaust mono"; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library("filters.lib"); os = libr...
https://raw.githubusercontent.com/dblanchemain/metaSurface/f5695b5b58c0d7b41fd9a899cf5a664184d849c7/Plugins/moogVcfFaust.dsp
faust
---------------------------------------------------- Author: Romain Michon License: LGPL -------------------------`(dm.)moog_vcf_demo`--------------------------- Illustrate and compare all three Moog VCF implementations above. #### Usage ``` _ : moog_vcf_demo : _; ``` ------------------------------------------...
declare name "moogVcfFaust"; declare version "0.0"; declare author "RM"; declare description "moogVcfFaust mono"; import("stdfaust.lib"); ma = library("maths.lib"); ba = library("basics.lib"); de = library("delays.lib"); si = library("signals.lib"); an = library("analyzers.lib"); fi = library("filters.lib"); os = libr...
973c9e4bbc15960dcd9629b5dee1d5a7b4ce4fd7f6089a83803c1dcc29b45782
grame-cncm/faustdoc
exfaust0.dsp
import("stdfaust.lib"); process = testsource <: _, RMS(n).sliding, RMS(n).fixpoint, RMS(n).block, RMS(n).overlap(4) with { n = 10000; testsource = os.osc(40) * lfo(1) * hslider("level", 1, 0, 1, 0.01); lfo(f) = os.osc(f)/2+0.5; }; RMS(n) = environment { // The 4 implementations to t...
https://raw.githubusercontent.com/grame-cncm/faustdoc/8380354cc02118f89200fe2c0187696d53ba1957/docs/tutorials/summation/exfaust0/exfaust0.dsp
faust
The 4 implementations to test high order rms with summation function as parameter helpers
import("stdfaust.lib"); process = testsource <: _, RMS(n).sliding, RMS(n).fixpoint, RMS(n).block, RMS(n).overlap(4) with { n = 10000; testsource = os.osc(40) * lfo(1) * hslider("level", 1, 0, 1, 0.01); lfo(f) = os.osc(f)/2+0.5; }; RMS(n) = environment { sliding = horms(( _ <: _, ...
151f00a3e1608e1eff6df714be9fe05489e81877fcc9523c0cce8d6596ed8c9c
beelisais2793/FX
fm.dsp
import("stdfaust.lib"); import("maths.lib"); declare options "[midi:on]"; // Declaring main process knobs c_f = nentry("freq",200,40,2000,0.01) : si.polySmooth(gate,0.999,2); m_gain = nentry("gain",1,0,1,0.01) : si.polySmooth(gate,0.999,2); gate = button("gate") : si.smoo; glob_att = hslider("Global_Attack", 0.01,...
https://raw.githubusercontent.com/beelisais2793/FX/f481f00c8426b55cf585cf11c0cfd40810ad419e/Faust/DSP/fm.dsp
faust
Declaring main process knobs Mod Freq'S as fixed multiples of Carrier Frequency Index for amount of FM Modulation per Osci Define the modulating frequencies with individual envelopes & volumes///////////////////////////////// ///////////////////////////////////////////////////////////////////// //////////////////////...
import("stdfaust.lib"); import("maths.lib"); declare options "[midi:on]"; c_f = nentry("freq",200,40,2000,0.01) : si.polySmooth(gate,0.999,2); m_gain = nentry("gain",1,0,1,0.01) : si.polySmooth(gate,0.999,2); gate = button("gate") : si.smoo; glob_att = hslider("Global_Attack", 0.01, 0, 1, 0.01):si.smoo; glob_rel =...
78feaf1ebec9360bd54c2ec0ac9f671892d38ec2c76a37164bd50e3a5eb1a7dc
gretadeidda/programmazione
oscillatori.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., 0., 1., 0.0...
https://raw.githubusercontent.com/gretadeidda/programmazione/f067bb517530c42dbb3bd4eb967d2af35cf75230/oscillatori.dsp
faust
varore di inizializzazione valore minimo valore massimo e step incrementare valore i inizializzazione il valore in cui vogliamo posizionare il cursore nel momento in cui accedi il programma step incrementare la definizione della grandezza che separano il gradino di passaggio tra il valore minimo al massimo un suono co...
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., 0., 1., 0.0...
cb6682dcb3a09744a758f2890a0da07f91a64d13b45a22ec3ad4b1eaa8640524
grame-cncm/faust
foo.dsp
import("stdfaust.lib"); process = os.osc(400)*vslider("vol1", 0.5, 0, 1, 0.01),os.osc(600)*nentry("vol2", 0.5, 0, 1, 0.01);
https://raw.githubusercontent.com/grame-cncm/faust/66cdb528642fdf3d607fec1b7ea7f386d7b709a4/tests/interp-tests/foo.dsp
faust
import("stdfaust.lib"); process = os.osc(400)*vslider("vol1", 0.5, 0, 1, 0.01),os.osc(600)*nentry("vol2", 0.5, 0, 1, 0.01);
f94aec462f5f0fdb02f10381bece75b82b72a2625a4dae28f0036e5af3cf2531
OceanSwift/Faust-Course-Examples
3 OP Simple FM Example.dsp
import("stdfaust.lib"); gain = hslider("[4]gain[style:knob]",1,0,1,0.01); gate = button("[5]gate"); freq = hslider("freq",440,50,2000,0.01); dxOscA = os.osc(freq)*envelope with{ envelope = hgroup("[0]Envelope",en.adsr(attack,decay,sustain,release,gate)) with{ attack = hslider("[0]Attack[style:knob]",50,1,1000...
https://raw.githubusercontent.com/OceanSwift/Faust-Course-Examples/c3c779ab8257fae9563de4bc09ee71c5346bb1cd/3%20OP%20Simple%20FM%20Example.dsp
faust
import("stdfaust.lib"); gain = hslider("[4]gain[style:knob]",1,0,1,0.01); gate = button("[5]gate"); freq = hslider("freq",440,50,2000,0.01); dxOscA = os.osc(freq)*envelope with{ envelope = hgroup("[0]Envelope",en.adsr(attack,decay,sustain,release,gate)) with{ attack = hslider("[0]Attack[style:knob]",50,1,1000...
da3a2c8a2f24fc0cbd1474f479ed1907abe71a90f9efb7a85d9b6946f266f30f
grame-cncm/faustdoc
exfaust10.dsp
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; process = organ(f);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/tutorials/basic-osc/exfaust10/exfaust10.dsp
faust
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; process = organ(f);
2c8c45f73e1927fcb923031287478ed12e4ca845d42aac882c6d51fd73d157f5
grame-cncm/faustdoc
exfaust11.dsp
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); g = hslider("gain",1,0,1,0.01); t = button("gate"); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; process = organ(f)*g*t;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/tutorials/basic-osc/exfaust11/exfaust11.dsp
faust
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); g = hslider("gain",1,0,1,0.01); t = button("gate"); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; process = organ(f)*g*t;
815ffecffc37bdb507780b5980fbfeb809903b79e8c3ad547268a8b83556307d
grame-cncm/faustdoc
exfaust12.dsp
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); g = hslider("gain",1,0,1,0.01); t = si.smoo(button("gate")); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; process = organ(f)*g*t;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/tutorials/basic-osc/exfaust12/exfaust12.dsp
faust
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); g = hslider("gain",1,0,1,0.01); t = si.smoo(button("gate")); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); organ(freq) = (osc(freq) + osc(freq*2) + osc(freq*3))/3; process = organ(f)*g*t;
5c72e706e0701194d15b56390dc806b16dda39c714c2c9ac04f8e2ab6055c830
grame-cncm/faustdoc
exfaust12.dsp
import("stdfaust.lib"); freq = hslider("freq",440,50,3000,0.01); gain = hslider("gain",1,0,1,0.01); gate = button("gate"); envelope = gain*gate : si.smoo; process = (os.osc(freq) + os.osc(freq*2) + os.osc(freq*3))/(3)*envelope;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust12/exfaust12.dsp
faust
import("stdfaust.lib"); freq = hslider("freq",440,50,3000,0.01); gain = hslider("gain",1,0,1,0.01); gate = button("gate"); envelope = gain*gate : si.smoo; process = (os.osc(freq) + os.osc(freq*2) + os.osc(freq*3))/(3)*envelope;
1019646762eb0106a482d264b4dbca9e772e74c9d4462d23c2d17a44aef4b0ce
grame-cncm/faustdoc
exfaust11.dsp
import("stdfaust.lib"); freq = hslider("freq",440,50,3000,0.01); gain = hslider("gain",1,0,1,0.01); gate = button("gate"); envelope = gain*gate : si.smoo; process = os.osc(freq),os.osc(freq*2),os.osc(freq*3) :> /(3)*envelope;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust11/exfaust11.dsp
faust
import("stdfaust.lib"); freq = hslider("freq",440,50,3000,0.01); gain = hslider("gain",1,0,1,0.01); gate = button("gate"); envelope = gain*gate : si.smoo; process = os.osc(freq),os.osc(freq*2),os.osc(freq*3) :> /(3)*envelope;
83210efc605055d55d35db7d8cdb3b0960abd76ead6ee056bc9e4720be1e002a
grame-cncm/faustdoc
exfaust2.dsp
import("stdfaust.lib"); decimalpart(x) = x-int(x); phase(f) = f/ma.SR : (+ : decimalpart) ~ _; osc(f) = phase(f) * 2 * ma.PI : sin; process = osc(440);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2018-12-01-paw/exfaust2/exfaust2.dsp
faust
import("stdfaust.lib"); decimalpart(x) = x-int(x); phase(f) = f/ma.SR : (+ : decimalpart) ~ _; osc(f) = phase(f) * 2 * ma.PI : sin; process = osc(440);
50dbb7991cf842d6e72aa2ab76aafc8bbdcc7b406917e1e45d5954459c87aac2
grame-cncm/faustdoc
exfaust4.dsp
import("stdfaust.lib"); decimalpart(x) = x-int(x); phase(f) = f/ma.SR : (+ : decimalpart) ~ _; osc(f) = sin(phase(f) * 2 * ma.PI); process = osc(440);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-03-24-faust-citi/exfaust4/exfaust4.dsp
faust
import("stdfaust.lib"); decimalpart(x) = x-int(x); phase(f) = f/ma.SR : (+ : decimalpart) ~ _; osc(f) = sin(phase(f) * 2 * ma.PI); process = osc(440);
a015ddf36342ad4278ef3630d440c9476d8f82406bf3c44dc19c54c62c1582e5
grame-cncm/faustdoc
exfaust9.dsp
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); process = osc(f);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/tutorials/basic-osc/exfaust9/exfaust9.dsp
faust
import("stdfaust.lib"); f = hslider("freq",440,50,2000,0.01); phasor(freq) = (+(freq/ma.SR) ~ ma.frac); osc(freq) = sin(phasor(freq)*2*ma.PI); process = osc(f);
14bc389e14013d7166a0dbdbde89e6f76dec88a3028c78f400670d003d4a1a8a
grame-cncm/faustdoc
exfaust24.dsp
import("stdfaust.lib"); // FM: Frequency moulation 2 FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1)*(2+envelop2)/3, hslider("amp modulation", 0, 0, 1, 0.01)*(0.5+...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-03-24-faust-citi/exfaust24/exfaust24.dsp
faust
FM: Frequency moulation 2
import("stdfaust.lib"); FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1)*(2+envelop2)/3, hslider("amp modulation", 0, 0, 1, 0.01)*(0.5+envelop2)/1.5 ) ...
809a5b62c2c84da4aeace65c1253aea815149f2281dda4274eeec69bf76d277c
grame-cncm/faustdoc
exfaust48.dsp
import("stdfaust.lib"); // FM: Frequency modulation 2 FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1)*(2+envelop2)/3, hslider("amp modulation", 0, 0, 1, 0.01)*(0.5...
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-04-10-faust-101/exfaust48/exfaust48.dsp
faust
FM: Frequency modulation 2
import("stdfaust.lib"); FM(fc,fm,amp) = fm : os.osc : *(amp) : +(1) : *(fc) : os.osc; process = FM( hslider("freq carrier", 880, 40, 8000, 1), hslider("freq modulation", 200, 10, 1000, 1)*(2+envelop2)/3, hslider("amp modulation", 0, 0, 1, 0.01)*(0.5+envelop2)/1.5 ) ...
bb1baea4ed6a806d3182f5215642377924415447ba1daa77bc8a2b6aaf9b704a
grame-cncm/faustdoc
exfaust6.dsp
import("stdfaust.lib"); process = 440 : os.osc;
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust6/exfaust6.dsp
faust
import("stdfaust.lib"); process = 440 : os.osc;
2b40181481e1319d6016f126593036572fff182fe0787610fd3e542daa6e209b
grame-cncm/faustdoc
exfaust17.dsp
import("stdfaust.lib"); process = outputs(os.osc(440));
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust17/exfaust17.dsp
faust
import("stdfaust.lib"); process = outputs(os.osc(440));
396eefd7f39397f16a43efb563d5bb9b489eeb1dfa2ddbb56995f09e331506e5
grame-cncm/faustdoc
exfaust6.dsp
import("stdfaust.lib"); process = os.osc(440) * hslider("gain", 0.1, 0, 1, 0.01);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-03-24-faust-citi/exfaust6/exfaust6.dsp
faust
import("stdfaust.lib"); process = os.osc(440) * hslider("gain", 0.1, 0, 1, 0.01);
c7a649673d51da8c56eb441ddfddef0df09a629acc06e3905f3fc0aeafafde2f
grame-cncm/faustdoc
exfaust7.dsp
import("stdfaust.lib"); process = os.osc(440 /*a remplacer*/) * hslider("gain", 0.1, 0, 1, 0.01);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-03-24-faust-citi/exfaust7/exfaust7.dsp
faust
a remplacer
import("stdfaust.lib");
f85be004d61c93f1718746591052e5720b20fbd5d9ebf7786043f3919d1862ef
grame-cncm/faustdoc
exfaust30.dsp
import("stdfaust.lib"); process = os.osc(440 /*to replace*/) * hslider("gain", 0.1, 0, 1, 0.01);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-04-10-faust-101/exfaust30/exfaust30.dsp
faust
to replace
import("stdfaust.lib");
c24bce9885d5b4233e94f2010d6b3aaaf05f2f4cc51fd866247cec41643982fb
grame-cncm/faustdoc
exfaust97.dsp
import("stdfaust.lib"); process = par(i,3,os.osc(hslider("Freq%i", 200+i*400, 200, 2000, 1)));
https://raw.githubusercontent.com/grame-cncm/faustdoc/515c59ce7c4e390d3cf0fc518cd0d9f3ef7be262/docs/manual/syntax/exfaust97/exfaust97.dsp
faust
import("stdfaust.lib"); process = par(i,3,os.osc(hslider("Freq%i", 200+i*400, 200, 2000, 1)));
1550c78b46f6a1da7af18ba6df8f194421e595e0944ba9b210536d9b6c7258ee
grame-cncm/faustdoc
exfaust1.dsp
import("stdfaust.lib"); process = os.osc(440); // the "hello world" of computer music
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust1/exfaust1.dsp
faust
the "hello world" of computer music
import("stdfaust.lib");
f62d04cade2b05d35587b784b16a2f4b66a6104e78c60491879111d165235442
grame-cncm/faustdoc
exfaust87.dsp
import("stdfaust.lib"); s = nentry("Selector",0,0,1,1) : int; sig = os.osc(440),os.sawtooth(440) : select2(s); process = sig;
https://raw.githubusercontent.com/grame-cncm/faustdoc/515c59ce7c4e390d3cf0fc518cd0d9f3ef7be262/docs/manual/syntax/exfaust87/exfaust87.dsp
faust
import("stdfaust.lib"); s = nentry("Selector",0,0,1,1) : int; sig = os.osc(440),os.sawtooth(440) : select2(s); process = sig;
2dec2c7fd5ad90a5a237c8b9e0b7348f947d98d066780fa595305537d33dcdcb
grame-cncm/faustdoc
exfaust29.dsp
import("stdfaust.lib"); ar(a,r,g) = v letrec { 'n = (n+1) * (g<=g'); 'v = max(0, v + (n<a)/a - (n>=a)/r) * (g<=g'); }; gate = button("gate"); process = os.osc(440)*ar(1000,1000,gate);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/manual/syntax/exfaust29/exfaust29.dsp
faust
import("stdfaust.lib"); ar(a,r,g) = v letrec { 'n = (n+1) * (g<=g'); 'v = max(0, v + (n<a)/a - (n>=a)/r) * (g<=g'); }; gate = button("gate"); process = os.osc(440)*ar(1000,1000,gate);
5105abcc6a20d7d8a8128bbfdad31c429a5a5b8c7dcd6a28976b6374da7359cd
grame-cncm/faustdoc
exfaust33.dsp
import("stdfaust.lib"); // Approximation of a square wave using additive synthesis squarewave(f) = 4/ma.PI*sum(k, 4, os.osc((2*k+1)*f)/(2*k+1)); process = squarewave(55);
https://raw.githubusercontent.com/grame-cncm/faustdoc/493929103510997ef8adb66603d4aba123b2a70d/docs/workshops/2020-04-10-faust-101/exfaust33/exfaust33.dsp
faust
Approximation of a square wave using additive synthesis
import("stdfaust.lib"); squarewave(f) = 4/ma.PI*sum(k, 4, os.osc((2*k+1)*f)/(2*k+1)); process = squarewave(55);