_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 |
|---|---|---|---|---|---|---|---|
c610f304f24a7304403111392e27fbf2ac2e6ed5b16503c0ea5a108f03e35654 | matthewcaren/KeyWI | clarinet.dsp | import("stdfaust.lib");
freq = hslider("freq", 400, 20, 20000, 0.01);
gate = button("gate") : en.asr(0.01, 1, 0.17);
readpressure = hslider("breath[BELA: ANALOG_0]", 0, -1.35, 1, 0.001)*-1 - offset;
sensitivity = hslider("sensitivity[BELA: ANALOG_4]", 0.3, -0.6, 0.9, 0.01) : si.smoo;
offset = hslider("offset[BELA: ANAL... | https://raw.githubusercontent.com/matthewcaren/KeyWI/83a62885e99069fe1fbaf55b28a2d98a5b3567ca/code/clarinet/clarinet.dsp | faust | PBup = hslider("PBup[BELA: ANALOG_1]", 0, 0, 50, 0.1) - 11 : si.smooth(0.9995) : max(0); // FSR
PBdown = hslider("PBdown[BELA: ANALOG_2]", 0, 0, 50, 0.1) - 11 : si.smooth(0.9995) : max(0); // FSR
pb = hslider("pb[BELA: ANALOG_2]", 0, 0, 0.06, 0.001) - 0.035 : si.smooth(0.9999) : max(0); | import("stdfaust.lib");
freq = hslider("freq", 400, 20, 20000, 0.01);
gate = button("gate") : en.asr(0.01, 1, 0.17);
readpressure = hslider("breath[BELA: ANALOG_0]", 0, -1.35, 1, 0.001)*-1 - offset;
sensitivity = hslider("sensitivity[BELA: ANALOG_4]", 0.3, -0.6, 0.9, 0.01) : si.smoo;
offset = hslider("offset[BELA: ANAL... |
6582e8546bc1ee48e68ab46c0738965803822683a4e949edb0bb1dec670537c8 | matthewcaren/KeyWI | octaveSynth.dsp | import("stdfaust.lib");
freq = hslider("freq", 400, 20, 20000, 0.01);
gate = button("gate") : en.asr(0.003, 1, 0.04);
readpressure = hslider("breath[BELA: ANALOG_0]", 0, -1.35, 1, 0.001)*-1 - offset;
sensitivity = hslider("sensitivity[BELA: ANALOG_4]", 0.3, -0.6, 0.9, 0.01) : si.smoo;
offset = hslider("offset[BELA: ANA... | https://raw.githubusercontent.com/matthewcaren/KeyWI/83a62885e99069fe1fbaf55b28a2d98a5b3567ca/code/octaveSynth/octaveSynth.dsp | faust | PBup = hslider("PBup[BELA: ANALOG_1]", 0, 0, 50, 0.1) - 11 : si.smooth(0.9995) : max(0); // FSR
PBdown = hslider("PBdown[BELA: ANALOG_2]", 0, 0, 50, 0.1) - 11 : si.smooth(0.9995) : max(0); // FSR | import("stdfaust.lib");
freq = hslider("freq", 400, 20, 20000, 0.01);
gate = button("gate") : en.asr(0.003, 1, 0.04);
readpressure = hslider("breath[BELA: ANALOG_0]", 0, -1.35, 1, 0.001)*-1 - offset;
sensitivity = hslider("sensitivity[BELA: ANALOG_4]", 0.3, -0.6, 0.9, 0.01) : si.smoo;
offset = hslider("offset[BELA: ANA... |
a921cad1fb66555c499a63f274eb2d68318a3a130e3535756b2bf86d34ce742e | theyoogle/Faust-DSP | 03 1-Sample Delay (Dirac Impulse).dsp | import("stdfaust.lib");
// 1 Sample Delayed signal can be written as x'
dirac = 1-1';
process = dirac; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/03%20Delays%20and%20Tables/03%201-Sample%20Delay%20(Dirac%20Impulse).dsp | faust | 1 Sample Delayed signal can be written as x' | import("stdfaust.lib");
dirac = 1-1';
process = dirac; |
a55d585d276eb87b59911f96b5bce4fa16a14653d2edc0e6fe9f812c1af1ebde | theyoogle/Faust-DSP | 11. Distortion.dsp | import("stdfaust.lib");
gain = hslider("gain", 0, 0, 1, 0.01);
// Distortion
process = *(100) : min(1) : max(-1) : *(gain); | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/11.%20Distortion.dsp | faust | Distortion | import("stdfaust.lib");
gain = hslider("gain", 0, 0, 1, 0.01);
process = *(100) : min(1) : max(-1) : *(gain); |
2d956669c1316c6bb8eeffcca240f310e0eca272691c9d857897c79de1b54282 | theyoogle/Faust-DSP | 04 Sawtooth Oscillator.dsp | import("stdfaust.lib");
gain = hslider("gain",0.5,0,1,0.01);
// Sawtooth oscillator
process = gain, os.sawtooth(440): *; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2001/04%20Sawtooth%20Oscillator.dsp | faust | Sawtooth oscillator | import("stdfaust.lib");
gain = hslider("gain",0.5,0,1,0.01);
process = gain, os.sawtooth(440): *; |
fc835492df443d990f75357c96e0189333e5918acbf1499d4ecd09315528bf11 | FLamparski/FTWAudioPlugins | WeirdOrgan.dsp | declare options "[midi:on][nvoices:8]";
import("stdfaust.lib");
// MIDI hookup: freq is based on note played, gain is velocity, gate is whether the note is on
freq = hslider("freq[hidden:1]",200,50,1000,0.01);
gain = hslider("gain[hidden:1]",0.5,0,1,0.01);
gate = button("gate[hidden:1]");
q = hslider("q", 20, 2, 40,... | https://raw.githubusercontent.com/FLamparski/FTWAudioPlugins/1f2b781912e4944231d13b31c29d9b2bc194ff7b/WeirdOrgan/WeirdOrgan.dsp | faust | MIDI hookup: freq is based on note played, gain is velocity, gate is whether the note is on
Decrease levels at high Q settings | declare options "[midi:on][nvoices:8]";
import("stdfaust.lib");
freq = hslider("freq[hidden:1]",200,50,1000,0.01);
gain = hslider("gain[hidden:1]",0.5,0,1,0.01);
gate = button("gate[hidden:1]");
q = hslider("q", 20, 2, 40, 0.1);
resonbp2x(freq, q) = _ : fi.resonbp(freq, q, 0.5) : fi.resonbp(freq, q, 0.5) : _;
scal... |
735d71836874760af8c799668233c7446541119dc190b5938e652be8121226ca | odahoda/noisicaa | processor.dsp | /*
* @begin:license
*
* Copyright (c) 2015-2019, Benjamin Niemann <pink@odahoda.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your optio... | https://raw.githubusercontent.com/odahoda/noisicaa/9da22235f27f3f651480e2fab2250e5b0974e9e9/noisicaa/builtin_nodes/noise/processor.dsp | faust |
* @begin:license
*
* Copyright (c) 2015-2019, Benjamin Niemann <pink@odahoda.de>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option)... |
declare name "Noise";
declare uri "builtin://noise";
declare output0_name "out";
declare output0_display_name "Output";
declare output0_type "AUDIO";
import("stdfaust.lib");
whitenoise = no.noise;
pinknoise = no.pink_noise;
type = nentry(
"type[display_name:Type][style:menu{'White noise':0.0; 'Pink noise':1.0}]"... |
b01f8024f210e1a6d2c512fb5170154fb4f761a409dd97dc2eae70d337cd971e | rmichon/cph-fall22 | pan.dsp | import("stdfaust.lib");
p = sqrt(hslider("pan",1,0,1,0.01)) : si.smoo;
process = _<: _*(1-p),_*p;
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/monday/pan.dsp | faust | import("stdfaust.lib");
p = sqrt(hslider("pan",1,0,1,0.01)) : si.smoo;
process = _<: _*(1-p),_*p;
| |
2cc934566c5903fc7bedfec0f894ff772d6cbd8e41a73bffbd52911759886821 | PierreKy-org/plugins_server_webaudiomodules | stereoEcho.dsp | // WARNING: This a "legacy example based on a deprecated library". Check misceffects.lib
// for more accurate examples of echo functions
declare name "stereoEcho";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2007";
//-------------------------------... | https://raw.githubusercontent.com/PierreKy-org/plugins_server_webaudiomodules/a8162fbb0a9341ad67d3cbb78714e7a2f7c56b0b/plugins/stereoEcho/stereoEcho.dsp | faust | WARNING: This a "legacy example based on a deprecated library". Check misceffects.lib
for more accurate examples of echo functions
-----------------------------------------------
A 1 second Stereo Echo
-----------------------------------------------
|
declare name "stereoEcho";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2007";
import("stdfaust.lib");
process = vgroup("stereo echo", (ef.echo1s, ef.echo1s));
|
76dafa730c06b233535765dd17c44d5a278ddc1764c5f29e29a15ea7ae31624b | HexHive/datAFLow | numsimplerr3.dsp |
import("stdfaust.lib");
process = ba.take((1,1), (1,1)); | https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/numsimplerr3.dsp | faust |
import("stdfaust.lib");
process = ba.take((1,1), (1,1)); | |
dfe438b0975a4bff9c055edcd09e8593bd4a0bdd1a9bc8cb6ba4c017c7b3c9ec | josmithiii/jos_faust | freeverb.dsp | declare name "freeverb";
declare version "0.0";
declare author "Romain Michon";
declare license "LGPL";
declare description "Freeverb implementation in Faust, from the Faust Library's dm.freeverb_demo in demos.lib";
import("stdfaust.lib");
//----------------------------`(dm.)freeverb_demo`-------------------------
//... | https://raw.githubusercontent.com/josmithiii/jos_faust/36b09491e4154c9a60346d41d3cc0cac85b5ab77/faust-src/freeverb.dsp | faust | ----------------------------`(dm.)freeverb_demo`-------------------------
Freeverb demo application.
#### Usage
```
_,_ : freeverb_demo : _,_;
```
------------------------------------------------------------
Author: Romain Michon
License: LGPL
NOTE:
While this version is licensed LGPL (with exception) along ... | declare name "freeverb";
declare version "0.0";
declare author "Romain Michon";
declare license "LGPL";
declare description "Freeverb implementation in Faust, from the Faust Library's dm.freeverb_demo in demos.lib";
import("stdfaust.lib");
freeverb_demo = _,_ <: (*(g)*fixedgain,*(g)*fixedgain :
re.stereo_freeverb(co... |
a91dfba847def284a9d1a5bacd738fdb093c33b5bf6ba075919142e2d1013a75 | njazz/pd-server | flt_resonbp.dsp | import("stdfaust.lib");
freq = vslider("freq [unit:Hz]", 1000, 20, 20000, 0.1) : si.smoo;
Q = vslider("q", 80, 0.1, 150, 0.1) : si.smoo;
process = fi.resonbp(freq, Q, 1);
| https://raw.githubusercontent.com/njazz/pd-server/389777974d63012e5eab891818d7ff33c816d826/pure-data-src/ceammc/faust/flt_resonbp.dsp | faust | import("stdfaust.lib");
freq = vslider("freq [unit:Hz]", 1000, 20, 20000, 0.1) : si.smoo;
Q = vslider("q", 80, 0.1, 150, 0.1) : si.smoo;
process = fi.resonbp(freq, Q, 1);
| |
0ed757648399eba777065145230ae9860dc1f97d0e30a732f477d417b1c69288 | theyoogle/Faust-DSP | 03 Echo Example.dsp | import("stdfaust.lib");
// d - delay
// f - feedback
echo(d,f) = + ~ (@(d) : *(f));
process = button("play") : pm.djembe(60, 0.3, 0.4, 1) : echo(44100/4, 0.75); | https://raw.githubusercontent.com/theyoogle/Faust-DSP/446a6824cf06e47de7209829002d3019d169f3d4/session%2002/05%20Composition/03%20Echo%20Example.dsp | faust | d - delay
f - feedback | import("stdfaust.lib");
echo(d,f) = + ~ (@(d) : *(f));
process = button("play") : pm.djembe(60, 0.3, 0.4, 1) : echo(44100/4, 0.75); |
b3428cb31905dfc19bb44f36966b6f4547c3261e9184990a327c3aa273eb7827 | olilarkin/OL-OWLPatches | StereoFreqShifter.dsp | declare name "Stereo Frequency Shifter";
declare description "Stereo Frequency Shifting";
declare author "Oli Larkin (contact@olilarkin.co.uk)";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
import("FrequencyShifter.lib");
shift = hslider("Shift [unit:hz] [OW... | https://raw.githubusercontent.com/olilarkin/OL-OWLPatches/2dad8107814082c9de8ef1d117950fe3f49633b6/StereoFreqShifter.dsp | faust | declare name "Stereo Frequency Shifter";
declare description "Stereo Frequency Shifting";
declare author "Oli Larkin (contact@olilarkin.co.uk)";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
import("FrequencyShifter.lib");
shift = hslider("Shift [unit:hz] [OW... | |
ab21d132e3f2e6a7f6233b4530fe662b6788e7b38e828d762f2ddd94797c64dc | oshibka404/synt | midi_controls.dsp | import("stdfaust.lib");
gate = button("gate");
gain = hslider("gain", 0.42, 0, 1, 0.01);
baseFreq = hslider("freq", 440, 20, 20000, 1);
bend = hslider("bend[midi:pitchwheel]", 1, 0, 10, 0.01);
freq = baseFreq * bend : si.polySmooth(gate, 0.9, 1);
modulation = hslider("modulation[midi:ctrl 1]", 0, 0, 1, 0.01);
| https://raw.githubusercontent.com/oshibka404/synt/37f54d7d26752efb66baab79cbba2d4044a9e295/faust/midi_controls.dsp | faust | import("stdfaust.lib");
gate = button("gate");
gain = hslider("gain", 0.42, 0, 1, 0.01);
baseFreq = hslider("freq", 440, 20, 20000, 1);
bend = hslider("bend[midi:pitchwheel]", 1, 0, 10, 0.01);
freq = baseFreq * bend : si.polySmooth(gate, 0.9, 1);
modulation = hslider("modulation[midi:ctrl 1]", 0, 0, 1, 0.01);
| |
e8bb110b16f09128012d32eb1f77aa8c33db005753376f3765b8b0c10038c5f7 | SamKouteili/FaustVision | saw.dsp | import("stdfaust.lib");
right = !, _;
left = _, !;
dec(x) = x - int(x);
// generates sawtooth signal \in [0,1] at freq f
phase(f) = f/ma.SR : (+:dec) ~ _;
sawtooth(phase) = phase * 2 - 1;
process(freq, amp) = phase(freq) : sawtooth * amp;
| https://raw.githubusercontent.com/SamKouteili/FaustVision/f677e2a313c5f0e1516b289f7b8c45938d9563a8/examples/saw.dsp | faust | generates sawtooth signal \in [0,1] at freq f | import("stdfaust.lib");
right = !, _;
left = _, !;
dec(x) = x - int(x);
phase(f) = f/ma.SR : (+:dec) ~ _;
sawtooth(phase) = phase * 2 - 1;
process(freq, amp) = phase(freq) : sawtooth * amp;
|
dfe5cf8c1681977d0886805d7817ef80cc0cae048d86cbede1d69172c90e6d7c | grame-cncm/faustcourse | ocarina.dsp | declare interface "SmartKeyboard{
'Number of Keyboards':'2',
'Max Keyboard Polyphony':'12',
'Keyboard 0 - Number of Keys':'4',
'Keyboard 1 - Number of Keys':'4',
'Keyboard 0 - Lowest Key':'60',
'Keyboard 1 - Lowest Key':'67',
'Keyboard 0 - Scale':'2',
'Keyboard 1 - Scale':'2',
'Rounding Mode':'0'
}";
import(... | https://raw.githubusercontent.com/grame-cncm/faustcourse/0a9b4b834fb83a13abf82703ae9de423a401a4c9/session1/code/ocarina.dsp | faust | envelope = gain*gate : si.smoo; | declare interface "SmartKeyboard{
'Number of Keyboards':'2',
'Max Keyboard Polyphony':'12',
'Keyboard 0 - Number of Keys':'4',
'Keyboard 1 - Number of Keys':'4',
'Keyboard 0 - Lowest Key':'60',
'Keyboard 1 - Lowest Key':'67',
'Keyboard 0 - Scale':'2',
'Keyboard 1 - Scale':'2',
'Rounding Mode':'0'
}";
import(... |
d087fc719b9a5830f332d60c72d48eb889537faff1b4c55e6688666d3f25e2d2 | HolyCityAudio/ESP32 | basicFlanger.dsp | import("stdfaust.lib");
flaDelay = hslider("[3]Delay", 156, 5, 1000, 1) : si.smoo;
flaFeedback = hslider("[4]Flange Fb", 0.2, 0, 0.97, 0.01) : si.smoo;
flaDepth = hslider("[5]Flange Dep", 0.95, 0, 1.0, 0.01) : si.smoo;
flaLFORate = hslider("[6]Rate", 0.25, 0, 3, 0.01) : si.smoo;
flaLFOWidth = hslider("[7]Width", 0.5, 0... | https://raw.githubusercontent.com/HolyCityAudio/ESP32/9fd8916dc158c4ed3690e4e6ba2b98014f283b80/faust/basicFlanger/main/basicFlanger.dsp | faust | =============================================
uncomment one of the flange lines below
flange = hgroup("Flange", flanger(1) : flanger(-1));
flange = hgroup("Flange", ef.echo(2.62, 0.32, 0.38) : flanger(-1,1));
=============================================
uncomment one of the process lines below
process = _,_: + :... | import("stdfaust.lib");
flaDelay = hslider("[3]Delay", 156, 5, 1000, 1) : si.smoo;
flaFeedback = hslider("[4]Flange Fb", 0.2, 0, 0.97, 0.01) : si.smoo;
flaDepth = hslider("[5]Flange Dep", 0.95, 0, 1.0, 0.01) : si.smoo;
flaLFORate = hslider("[6]Rate", 0.25, 0, 3, 0.01) : si.smoo;
flaLFOWidth = hslider("[7]Width", 0.5, 0... |
1ab7d3406598b096838056d730d1725ca5969ffe30b7cf8934fbf7166fc16287 | HexHive/datAFLow | t3.dsp | import("stdfaust.lib");
process = +;
main = dm.zita_light; | https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/t3.dsp | faust | import("stdfaust.lib");
process = +;
main = dm.zita_light; | |
30bbb01fb223bedac966dcecbb69bf0003ea20262bd0e4c9d2352be8ca563244 | matthiasmeissen/sound-generator | engine_07_220409.dsp | import("stdfaust.lib");
declare paramFreq "freq (0-127)";
declare paramOsc "osc (0-4)";
declare paramGate "gate (1)";
declare paramAtttack "att (0.01-1000)";
declare paramRelease "rel (0.01-1000)";
declare paramGain "gain (0-1)";
freq = hslider("[1]freq",60,0,127,1) : ba.midikey2hz;
osc = os.oscsin(freq), os.triang... | https://raw.githubusercontent.com/matthiasmeissen/sound-generator/20f22ee6196f227bee57d763f2249667870ea1d8/engines/engine_07_220409.dsp | faust | import("stdfaust.lib");
declare paramFreq "freq (0-127)";
declare paramOsc "osc (0-4)";
declare paramGate "gate (1)";
declare paramAtttack "att (0.01-1000)";
declare paramRelease "rel (0.01-1000)";
declare paramGain "gain (0-1)";
freq = hslider("[1]freq",60,0,127,1) : ba.midikey2hz;
osc = os.oscsin(freq), os.triang... | |
b8df9df3f42d86c03e672a8ee34181ce2d273aeacb53d8e5b1b164abc6936f9b | njazz/pd-server | env_ar.dsp | import("stdfaust.lib");
import("ceammc.lib");
a = hslider("attack", 10, 0, 100000, 1) : time_pd2faust;
r = hslider("release", 10, 0, 100000, 1) : time_pd2faust;
t = hslider("trigger", 0, 0, 1, 0.001);
process = _ * en.ar(a, r, t);
| https://raw.githubusercontent.com/njazz/pd-server/389777974d63012e5eab891818d7ff33c816d826/pure-data-src/ceammc/faust/env_ar.dsp | faust | import("stdfaust.lib");
import("ceammc.lib");
a = hslider("attack", 10, 0, 100000, 1) : time_pd2faust;
r = hslider("release", 10, 0, 100000, 1) : time_pd2faust;
t = hslider("trigger", 0, 0, 1, 0.001);
process = _ * en.ar(a, r, t);
| |
c7bf30cb80cfc34cf0f521f49d8204b915c68d04733f321c3cfa379896619c68 | mzuther/Screamer | modulo_distortion.dsp | /* ----------------------------------------------------------------------------
Screamer
========
Mathematical distortion and signal mangling
Copyright (c) 2003-2020 Martin Zuther (http://www.mzuther.de/)
This program is free software: you can redistribute it and/or modify
it under the terms of the... | https://raw.githubusercontent.com/mzuther/Screamer/46ec0f5d49ecf9af455a791ee2b813c5e9de1a66/modules/modulo_distortion.dsp | faust | ----------------------------------------------------------------------------
Screamer
========
Mathematical distortion and signal mangling
Copyright (c) 2003-2020 Martin Zuther (http://www.mzuther.de/)
This program is free software: you can redistribute it and/or modify
it under the terms of the G... |
import("stdfaust.lib");
distortion(modulo) = process
with
{
modulotar(modulo) = _ <: _ - (_ % int(max(modulo , 1))) : _;
distortion = _ : _ * 1e5 : int : modulotar(modulo) : float / 1e5 : _;
process = ba.bypass1(modulo <= 1 , distortion);
};
process = distortion(modulo)
with
{
modulo = hslider(
... |
939e10494354f759e9b04ebe09079bd9f635f2a564b3e5ddac68dc91fa704041 | s-e-a-m/faust-libraries | osho.dsp | /*BIQUAD FILTER*/
/* y[n]=b0x[n]+b1x[n−1]+b2x[n−2]−a1y[n−1]−a2y[n−2]
Note that a and b parameters are inverted */
import("stdfaust.lib");
biquad(a0c,a1c,a2c,b1c,b2c) = a(a0c,a1c,a2c) : ma.sub~(b(b1c,b2c))
with{
a0(a0c) = *(a0c);
a1(a1c) = @(1) : *(a1c);
a2(a2c) = @(2) : *(a2c);
b1(b1c) = *(b1c);
b2... | https://raw.githubusercontent.com/s-e-a-m/faust-libraries/9120cccb9335f42407062eb4bf149188d8018b07/examples/app/osho.dsp | faust | BIQUAD FILTER
y[n]=b0x[n]+b1x[n−1]+b2x[n−2]−a1y[n−1]−a2y[n−2]
Note that a and b parameters are inverted
Blocco FIR
Blocco IIR
Coefficenti Max
a = a0(0.9), a1(0.1), a2(0.1);
b = b1(0.2), b2(0.2);
Universal Pitch Tracker
From faust documentation
positive zero crossing
counts of crossing
windows of counts
counting... | import("stdfaust.lib");
biquad(a0c,a1c,a2c,b1c,b2c) = a(a0c,a1c,a2c) : ma.sub~(b(b1c,b2c))
with{
a0(a0c) = *(a0c);
a1(a1c) = @(1) : *(a1c);
a2(a2c) = @(2) : *(a2c);
b1(b1c) = *(b1c);
b2(b2c) = @(1) : *(b2c);
a(a0c,a1c,a2c) = _ <: a0(a0c),a1(a1c),a2(a2c) :> _ ;
b(b1c, b2c) = _ <: b1(b1c), b... |
3f9cbb565601cea7e168eb7f4c6a1d68387419b56c89bf460e04c3393d9018fc | glocq/dunkirk | dunkirk.dsp | /*
Copyright (C) 2021 by Grégoire Locqueville <gregoireloc@gmail.com>
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 late... | https://raw.githubusercontent.com/glocq/dunkirk/ac41e733a6983aa7c582488c12e556fef50b46ad/dunkirk.dsp | faust |
Copyright (C) 2021 by Grégoire Locqueville <gregoireloc@gmail.com>
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 later ... |
import("stdfaust.lib");
wsize = hslider("Window (samples)", 1000, 50, 10000, 1);
xfade = hslider("Crossfade (samples)", 10, 1, 10000, 1);
cyclic_transp = ma.modulo(transposition, 12);
transp(i) = (i-halfNbVoices) * 12 + cyclic_transp;
gain(i) = (1 - abs(transp(i))/(halfNbVoices*12)) / halfNbVoices;
voice(i) = ... |
0e059c6c8666bf7cf4b5f0bb3237fd1591b178ef94c955112fa58e3dfad276c2 | theyoogle/Faust-DSP | 04 PingPong Echo.dsp | import("stdfaust.lib");
// d - delay
// f - feedback
echo(d,f) = + ~ (@(d) : *(f));
pingpong(d,f) = echo(2*d, f) <: _, @(d);
process = button("play") : pm.djembe(60, 0.3, 0.4, 1) : pingpong(44100/4, 0.75); | https://raw.githubusercontent.com/theyoogle/Faust-DSP/446a6824cf06e47de7209829002d3019d169f3d4/session%2002/05%20Composition/04%20PingPong%20Echo.dsp | faust | d - delay
f - feedback | import("stdfaust.lib");
echo(d,f) = + ~ (@(d) : *(f));
pingpong(d,f) = echo(2*d, f) <: _, @(d);
process = button("play") : pm.djembe(60, 0.3, 0.4, 1) : pingpong(44100/4, 0.75); |
17645c1084ebe1156d2ed29a8464dc667917ce0eec77eb8fbb9ec97c60cb9955 | theyoogle/Faust-DSP | 13 Select2 Example.dsp | import("stdfaust.lib");
// Select 2 - button 0 or 1
process = button("440/880"), os.osc(440), os.osc(880) : select2; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/13%20Select2%20Example.dsp | faust | Select 2 - button 0 or 1 | import("stdfaust.lib");
process = button("440/880"), os.osc(440), os.osc(880) : select2; |
52b00ae553090253266c479b23f25be14d8a9b3e3dd1cf91a10473839e933b1e | francescoganassin/FaustDSP-synths | ganasstech.dsp | import("stdfaust.lib");
dirac = 1-1';
gaina = vslider("blend", 0, 0, 1, 0.01);
gainb = vslider("blend2", 0, 0, 1, 0.01);
mix = hgroup("vv", gaina, gainb);
phase1 = 1 : +~_ : %(4000);
phase2 = 1 : +~_ : %(8000);
loop1 = (10,dirac,phase1 : rdtable) + (os.sawtooth(440));
loop2 = (10,dirac,phase2 : rdtable) + (os.sawtooth(... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganasstech.dsp | faust | import("stdfaust.lib");
dirac = 1-1';
gaina = vslider("blend", 0, 0, 1, 0.01);
gainb = vslider("blend2", 0, 0, 1, 0.01);
mix = hgroup("vv", gaina, gainb);
phase1 = 1 : +~_ : %(4000);
phase2 = 1 : +~_ : %(8000);
loop1 = (10,dirac,phase1 : rdtable) + (os.sawtooth(440));
loop2 = (10,dirac,phase2 : rdtable) + (os.sawtooth(... | |
3f3eb8b48ea51cbcffa6d0053ce9718ca97380e678a5e9dfe3b999cbf18813e0 | francescoganassin/FaustDSP-synths | ganassinsin.dsp | import("stdfaust.lib");
am = carrier*modulator
with{
carrier = os.osc(carFreq);
modulator = os.osc(modFreq);
modFreq = hslider("mod Hz",20,0.1,2000,0.01);
carFreq = hslider("car Hz",440,50,2000,0.01);
};
gate = button("gate");
process = gate*hslider("gain",0,0,1,0.01)*am; | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassinsin.dsp | faust | import("stdfaust.lib");
am = carrier*modulator
with{
carrier = os.osc(carFreq);
modulator = os.osc(modFreq);
modFreq = hslider("mod Hz",20,0.1,2000,0.01);
carFreq = hslider("car Hz",440,50,2000,0.01);
};
gate = button("gate");
process = gate*hslider("gain",0,0,1,0.01)*am; | |
03825b9f441ee710b3f55c507b46c3587c97237ec55e0fbc6eff4b8c47227de5 | sfztools/sfizz | compressor.dsp | import("stdfaust.lib");
cgain = co.compression_gain_mono(ratio, thresh, att, rel) with {
ratio = hslider("[1] Ratio", 1.0, 1.0, 20.0, 0.01);
thresh = hslider("[2] Threshold [unit:dB]", 0.0, -60.0, 0.0, 0.01);
att = hslider("[3] Attack [unit:s]", 0.0, 0.0, 0.5, 1e-3);
rel = hslider("[4] Release [unit:s]", 0.0, ... | https://raw.githubusercontent.com/sfztools/sfizz/acd866fd3d247d2fc659593cac96e88e801c29e2/src/sfizz/effects/dsp/compressor.dsp | faust | import("stdfaust.lib");
cgain = co.compression_gain_mono(ratio, thresh, att, rel) with {
ratio = hslider("[1] Ratio", 1.0, 1.0, 20.0, 0.01);
thresh = hslider("[2] Threshold [unit:dB]", 0.0, -60.0, 0.0, 0.01);
att = hslider("[3] Attack [unit:s]", 0.0, 0.0, 0.5, 1e-3);
rel = hslider("[4] Release [unit:s]", 0.0, ... | |
c8fa27189784db64d652437245cfb93935d86ee475cd0e868d12dd26a32e1396 | HexHive/datAFLow | tp0.dsp | import("stdfaust.lib");
process = 0,_~+(1):soundfile("sound[url:{'tango.wav'}]",2):!,!,_,_;
| https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/tp0.dsp | faust | import("stdfaust.lib");
process = 0,_~+(1):soundfile("sound[url:{'tango.wav'}]",2):!,!,_,_;
| |
a84f42cec8997afa6840c344954f7d7e6e64ec4a7e43e1d29d3473cf889f3462 | HexHive/datAFLow | numsimplerr4.dsp | import("stdfaust.lib");
bad(1) = 0;
bad(n) = bad(n-1);
process = bad((1,1)); | https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/numsimplerr4.dsp | faust | import("stdfaust.lib");
bad(1) = 0;
bad(n) = bad(n-1);
process = bad((1,1)); | |
18778d5deb685d584a921ef3084068b04aa57c06309a855cea74f1284884bdfe | brummer10/ModularAmpToolKit.lv2 | t12au7.dsp | declare id "12AU7"; // in amp tube ba.selector
declare name "12AU7";
import("stdfaust.lib");
import("tubes.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp):*(4.0): tubestage(TB_1... | https://raw.githubusercontent.com/brummer10/ModularAmpToolKit.lv2/dd951c7cc8a49d939f17c5d649498721099dac31/PreAmps/DSP/t12au7.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
| declare name "12AU7";
import("stdfaust.lib");
import("tubes.lib");
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp):*(4.0): tubestage(TB_12AU7_68k,86.0,2700.0,3.718962) :
fi.lowpass(1,6531.0) : tubestage(TB_12AU7_250k,132.0,1500.0,2.314844):*(4.0) ;
stage2 = fi.lowpass(1,6531.0) : tub... |
4aea8204786011c833adb667052ed6c66907f22f76464b0209b947d67604f3a8 | brummer10/ModularAmpToolKit.lv2 | t12ax7.dsp | declare id "12ax7"; // in amp tube ba.selector
declare name "12ax7";
import("stdfaust.lib");
import("tubes.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp) : tubestage(TB_12AX7_68k... | https://raw.githubusercontent.com/brummer10/ModularAmpToolKit.lv2/dd951c7cc8a49d939f17c5d649498721099dac31/PreAmps/DSP/t12ax7.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
| declare name "12ax7";
import("stdfaust.lib");
import("tubes.lib");
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp) : tubestage(TB_12AX7_68k,86.0,2700.0,1.581656) :
fi.lowpass(1,6531.0) : tubestage(TB_12AX7_250k,132.0,1500.0,1.204285) ;
stage2 = fi.lowpass(1,6531.0) : tubestage(TB_12AX7... |
1e8e60949f72927ace14ea11e0baf7a470525dd171f2c225a5b783b0d9105c77 | AlessandraVardeu/programmazione | Banco-oscillatori.dsp | import("stdfaust.lib");
freq= vslider("[01] frequenza", 440,20,20000,1);
gain1= vslider("[02]amp1", 0. , 0. , 1. , 0.01);
gain2= vslider("[03]amp2", 0. , 0. , 1. , 0.01);
gain3= vslider("[04]amp3", 0. , 0. , 1. , 0.01);
gain4= vslider("[05]amp4", 0. , 0. , 1. , 0.01);
gain5= vslider("[06]amp5", 0. , 0. , 1. , 0.01... | https://raw.githubusercontent.com/AlessandraVardeu/programmazione/fcf93877d819c9f2200a323ad8fcb2141614d9ab/Banco-oscillatori.dsp | faust | import("stdfaust.lib");
freq= vslider("[01] frequenza", 440,20,20000,1);
gain1= vslider("[02]amp1", 0. , 0. , 1. , 0.01);
gain2= vslider("[03]amp2", 0. , 0. , 1. , 0.01);
gain3= vslider("[04]amp3", 0. , 0. , 1. , 0.01);
gain4= vslider("[05]amp4", 0. , 0. , 1. , 0.01);
gain5= vslider("[06]amp5", 0. , 0. , 1. , 0.01... | |
78abc0d2813e112183e4801fcdf485325381b0e53de822a6656d86aba6987278 | elaforge/karya | flute.dsp | import("stdfaust.lib");
declare description "Flute model.";
declare control0_gate "Gate.";
declare control1_pitch "Pitch signal.";
declare control2_dyn "Dynamic signal.";
declare control3_mouth "Mouth position."; // default 0.5
process(gate, pitch, dyn, mouthPosition) =
pm.fluteModel(tubeLength, mouthPosition, bl... | https://raw.githubusercontent.com/elaforge/karya/471a2131f5a68b3b10b1a138e6f9ed1282980a18/Synth/Faust/dsp/flute.dsp | faust | default 0.5 | import("stdfaust.lib");
declare description "Flute model.";
declare control0_gate "Gate.";
declare control1_pitch "Pitch signal.";
declare control2_dyn "Dynamic signal.";
process(gate, pitch, dyn, mouthPosition) =
pm.fluteModel(tubeLength, mouthPosition, blow)
with {
tubeLength = pitch : pm.f2l;
blow = pm... |
217e0fe2f56b014380b555dba2ce1a094776e2e2d6ce604982e50ceb6a93126b | rmichon/faustwebui | newUI1.dsp | import("stdfaust.lib");
// Configures the properties of the "synth" group
.synth{
key0: value;
key1: value;
}
// Configures the properties of all the potential "freq" elements
.freq{
key0: value;
key1: value;
}
// Configures the properties of the freq element in the synth group
.synth .freq{
type: hslider;... | https://raw.githubusercontent.com/rmichon/faustwebui/beefaa788c3d67201f30054213b09d516a4fa3dc/newUI/newUI1.dsp | faust | Configures the properties of the "synth" group
Configures the properties of all the potential "freq" elements
Configures the properties of the freq element in the synth group
CSS key: the underscore allows to specify "raw" CSS keys
asscoiated with a specific UI element
Potentially, the various elements declared a... | import("stdfaust.lib");
.synth{
key0: value;
key1: value;
}
.freq{
key0: value;
key1: value;
}
.synth .freq{
type: hslider;
midi: ctrl 1;
acc: 0 0 -10 0 10;
}
import("synthUI.dspui");
freq = nentry("freq",400,50,2000,0.01);
gain = nentry("gain[style:knob]",0.5,0,1,0.01);
gate = button("gate");
proc... |
ea43399847ae579a71a19b63ec20816419da657c0003a65bacdb353e7bf02ba0 | theyoogle/Faust-DSP | 08 Sine Wave Oscillator.dsp | import("stdfaust.lib");
// Sawtooth wave
phasor(f) = f/ma.SR : (+, 1 : fmod) ~ _;
// Sine wave oscillator
process = sin(phasor(440) * 2 * ma.PI); | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/08%20Sine%20Wave%20Oscillator.dsp | faust | Sawtooth wave
Sine wave oscillator | import("stdfaust.lib");
phasor(f) = f/ma.SR : (+, 1 : fmod) ~ _;
process = sin(phasor(440) * 2 * ma.PI); |
7189ad46b4d4f8a7a76a1f029c3b09700972c7a46d039aad59c212fedd5cdbf3 | magnetophon/DigiDrie | tan_halfpi.dsp | import("stdfaust.lib");
g(x) = tan(ma.PI * x);
process = _ * 0.5 : max(0) : min(0.498)
: g;
| https://raw.githubusercontent.com/magnetophon/DigiDrie/a9f79d502e1f8d522e5f47e0c460ae99e80f9441/faust/benchmark/tan_halfpi/tan_halfpi.dsp | faust | import("stdfaust.lib");
g(x) = tan(ma.PI * x);
process = _ * 0.5 : max(0) : min(0.498)
: g;
| |
e4510905f5dc775dc568a33c02074c93e5f2a458fb04c294cdc4750452c4c5cb | PierreKy-org/plugins_server_webaudiomodules | quadEcho.dsp | // WARNING: This a "legacy example based on a deprecated library". Check misceffects.lib
// for more accurate examples of echo functions
declare name "quadEcho";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2007";
//------------------------------------------... | https://raw.githubusercontent.com/PierreKy-org/plugins_server_webaudiomodules/9b1b3b6d814bdb15a5f0cdd41695f8b987dbf600/pluginsWithoutFetch/quadEcho/quadEcho.dsp | faust | WARNING: This a "legacy example based on a deprecated library". Check misceffects.lib
for more accurate examples of echo functions
-----------------------------------------------
A 1 second quadriphonic Echo
----------------------------------------------- |
declare name "quadEcho";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2007";
import("stdfaust.lib");
process = vgroup("stereo echo", multi(ef.echo1s, 4))
with{
multi(f,1) = f;
multi(f,n) = f,multi(f,n-1);
};
|
33369c3e3ae5c6fd620bdf76da68b91364e21813368c0d5c44abe02be18ede8e | HexHive/datAFLow | foo.dsp | import("stdfaust.lib");
process = os.osc(400),os.osc(600);
| https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/foo.dsp | faust | import("stdfaust.lib");
process = os.osc(400),os.osc(600);
| |
441d469a6f67464a27d0ba71e6b18edd17d263b35f95be3784b3afaf5b1ad5c7 | njazz/pd-server | dyn_softclip.dsp | import("stdfaust.lib");
//declare name "softclip";
softClip = _ : v1 <: v2 , _ : *
with{
v1 = *(.1588) : min(.25) : max(-.25) : -(.25), 2: * : abs , .5 : - ;
v2 = _ <: (*) <: (*(2.26548) : -(5.13274) ), _ : * : +(3.14159);
};
process = softClip;
| https://raw.githubusercontent.com/njazz/pd-server/389777974d63012e5eab891818d7ff33c816d826/pure-data-src/ceammc/faust/dyn_softclip.dsp | faust | declare name "softclip"; | import("stdfaust.lib");
softClip = _ : v1 <: v2 , _ : *
with{
v1 = *(.1588) : min(.25) : max(-.25) : -(.25), 2: * : abs , .5 : - ;
v2 = _ <: (*) <: (*(2.26548) : -(5.13274) ), _ : * : +(3.14159);
};
process = softClip;
|
2b9e8c8a873b8a4526450123245eb5d2396b6b937e9bd3f19eb0719b5a9bd54a | madskjeldgaard/mkfaustplugins | OberheimLPF.dsp | import("stdfaust.lib");
// freq = vslider("freq",200.0,20.0,20000.0,0.001);
normFreq = vslider("normFreq", 0.5, 0.0,1.0,0.0001);
Q = vslider("q",0.1,0.0,10.0,0.001);
process = _ : ve.oberheimLPF(normFreq,Q) : _
// with {
// centerfreq = w(freq);
// w(f) = 2 * ma.PI * f / ma.SR;
// }
;
| https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/fd7cf250788174b5efa6ae3294997609830875d1/plugins/OberheimLPF/OberheimLPF.dsp | faust | freq = vslider("freq",200.0,20.0,20000.0,0.001);
with {
centerfreq = w(freq);
w(f) = 2 * ma.PI * f / ma.SR;
} | import("stdfaust.lib");
normFreq = vslider("normFreq", 0.5, 0.0,1.0,0.0001);
Q = vslider("q",0.1,0.0,10.0,0.001);
process = _ : ve.oberheimLPF(normFreq,Q) : _
;
|
4ec41262ecf5faf10a37b019bd2d6131a4a8b66f33d5ca559869c5b7653072ff | madskjeldgaard/mkfaustplugins | OberheimHPF.dsp | import("stdfaust.lib");
// freq = vslider("freq",200.0,20.0,20000.0,0.001);
normFreq = vslider("normFreq", 0.5, 0.0,1.0,0.0001);
Q = vslider("q",0.1,0.0,10.0,0.001);
process = _ : ve.oberheimHPF(normFreq,Q) : _
// with {
// centerfreq = w(freq);
// w(f) = 2 * ma.PI * f / ma.SR;
// }
;
| https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/fd7cf250788174b5efa6ae3294997609830875d1/plugins/OberheimHPF/OberheimHPF.dsp | faust | freq = vslider("freq",200.0,20.0,20000.0,0.001);
with {
centerfreq = w(freq);
w(f) = 2 * ma.PI * f / ma.SR;
} | import("stdfaust.lib");
normFreq = vslider("normFreq", 0.5, 0.0,1.0,0.0001);
Q = vslider("q",0.1,0.0,10.0,0.001);
process = _ : ve.oberheimHPF(normFreq,Q) : _
;
|
6491cd7b54aac34c465a8f3d1fb164c327307debeb1c7833f7af02dd8f9e7a88 | romsom/faust-experiments | stereo_crossover.dsp | import("stdfaust.lib");
DELAY_MS_MAX = 25;
SR_MAX = 192000.0;
SR_ = min(ma.SR, SR_MAX);
max_cutoff = 3000;
cutoff = hslider("cutoff", 180.0, 0, max_cutoff, 0.01) : si.smoo : min(max_cutoff) : max(1);
order = hslider("filter order", 3, 0, 9, 2) : int;
hi_gain = hslider("high frequency gain", 1.0, 0.0, 2.0, 0.01) : si.... | https://raw.githubusercontent.com/romsom/faust-experiments/6f5fa3347fb3d01c0247a8fee8ff1221f79abaeb/utils/stereo_crossover.dsp | faust | ord = hslider("filter order", 3, 1, n_orders * 2 + 1, 2) : int;
channel order is changed, so we get (bass left, bass right, top left, top right) | import("stdfaust.lib");
DELAY_MS_MAX = 25;
SR_MAX = 192000.0;
SR_ = min(ma.SR, SR_MAX);
max_cutoff = 3000;
cutoff = hslider("cutoff", 180.0, 0, max_cutoff, 0.01) : si.smoo : min(max_cutoff) : max(1);
order = hslider("filter order", 3, 0, 9, 2) : int;
hi_gain = hslider("high frequency gain", 1.0, 0.0, 2.0, 0.01) : si.... |
e6124902c2dd3fb1b964dbd6ee565df9b9e30d4b2c737bb970c9c85b7963e2f0 | theyoogle/Faust-DSP | 03 Pulse.dsp | import("stdfaust.lib");
// Pulse
// 1 tick per sample
process = button("gate")*ba.pulsen(1,4410*2) : pm.djembe(60,0.5,0.5,1) <: dm.freeverb_demo; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2001/03%20Pulse.dsp | faust | Pulse
1 tick per sample | import("stdfaust.lib");
process = button("gate")*ba.pulsen(1,4410*2) : pm.djembe(60,0.5,0.5,1) <: dm.freeverb_demo; |
24ca7d41fb326671fe35e291e3701530319f83b4258c6afa361422e57086a08f | theyoogle/Faust-DSP | 05 Comparison Example.dsp | import("stdfaust.lib");
process = os.osc(55), vslider("threshold", 0, 0, 1, 0.01) : >;
//=============================================
// infix notation
process = os.osc(55) > vslider("threshold", 0, 0, 1, 0.01); | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/05%20Comparison%20Example.dsp | faust | =============================================
infix notation | import("stdfaust.lib");
process = os.osc(55), vslider("threshold", 0, 0, 1, 0.01) : >;
process = os.osc(55) > vslider("threshold", 0, 0, 1, 0.01); |
c883e931cc18f8fff633f022cbe02e882a3304bb6ab5de7b384e25c2a91ea079 | rmichon/cph-fall22 | sawtooth.dsp | import("stdfaust.lib");
f = hslider("freq",440,50,1000,0.1);
g = hslider("gain",0.5,0,1,0.01);
t = checkbox("gate");
process = os.sawtooth(f)*t*g;
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/monday/sawtooth.dsp | faust | import("stdfaust.lib");
f = hslider("freq",440,50,1000,0.1);
g = hslider("gain",0.5,0,1,0.01);
t = checkbox("gate");
process = os.sawtooth(f)*t*g;
| |
00b3d8bb32b700d82c13626962c988ccc2c44682175e0441785dd3ade60994d8 | rmichon/cph-fall22 | intSaw.dsp | import("stdfaust.lib");
sawtooth(freq) = (A~B)/period*2-1
with{
period = ma.SR/freq;
A = _;
B = (_+1)%period;
};
process = sawtooth(1500);
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/tuesday/intSaw.dsp | faust | import("stdfaust.lib");
sawtooth(freq) = (A~B)/period*2-1
with{
period = ma.SR/freq;
A = _;
B = (_+1)%period;
};
process = sawtooth(1500);
| |
d9156c0cf0f01c2ba6cb80ed1dbc45ceefb943b2bb4e1bee829952def040aaf4 | daniel-kelley/gac | oneshot_ui.dsp | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",1,0.1,10,0.1);
dur = hslider("dur",0.5,0,1,0.05);
test(clk) =
gac.osh(dur,clk),
clk;
// inputs:
// none
// outputs:
// clk:osh
// clk
process = gac.clock(freq) : test;
| https://raw.githubusercontent.com/daniel-kelley/gac/cdc00a3d467abb9c3f212ba9b60efe3df07e0385/test/oneshot_ui.dsp | faust | inputs:
none
outputs:
clk:osh
clk | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",1,0.1,10,0.1);
dur = hslider("dur",0.5,0,1,0.05);
test(clk) =
gac.osh(dur,clk),
clk;
process = gac.clock(freq) : test;
|
e15a88849d14c50270a63658bff2bbafef8b25b4690f73d143463f38a0bf8483 | daniel-kelley/gac | edge_ui.dsp | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",1,0.1,10,0.1);
slope = hslider("slope",0.5,0,1,0.05);
test(clk) =
gac.edge(clk,slope),
clk;
// inputs:
// none
// outputs:
// clk:edge
// clk
process = gac.clock(freq) : test;
| https://raw.githubusercontent.com/daniel-kelley/gac/cdc00a3d467abb9c3f212ba9b60efe3df07e0385/test/edge_ui.dsp | faust | inputs:
none
outputs:
clk:edge
clk | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",1,0.1,10,0.1);
slope = hslider("slope",0.5,0,1,0.05);
test(clk) =
gac.edge(clk,slope),
clk;
process = gac.clock(freq) : test;
|
2eda79b84d611a0eb4f32db14a8f042c67f72d568a0c5988ff5779c999d0dc75 | sfztools/sfizz | gate.dsp | import("stdfaust.lib");
ggain = ef.gate_gain_mono(thresh, att, hold, rel) with {
thresh = hslider("[1] Threshold [unit:dB]", 0.0, -60.0, 0.0, 0.01);
att = hslider("[2] Attack [unit:s]", 0.0, 0.0, 10.0, 1e-3);
hold = hslider("[3] Hold [unit:s]", 0.0, 0.0, 10.0, 1e-3);
rel = hslider("[4] Release [unit:s]", 0.0, ... | https://raw.githubusercontent.com/sfztools/sfizz/acd866fd3d247d2fc659593cac96e88e801c29e2/src/sfizz/effects/dsp/gate.dsp | faust | import("stdfaust.lib");
ggain = ef.gate_gain_mono(thresh, att, hold, rel) with {
thresh = hslider("[1] Threshold [unit:dB]", 0.0, -60.0, 0.0, 0.01);
att = hslider("[2] Attack [unit:s]", 0.0, 0.0, 10.0, 1e-3);
hold = hslider("[3] Hold [unit:s]", 0.0, 0.0, 10.0, 1e-3);
rel = hslider("[4] Release [unit:s]", 0.0, ... | |
57ddbc32da4e67bb6a09bb66957194665cd078dc942ad89786d4d72f4fd50fb5 | njazz/pd-server | flt_notch.dsp | import("stdfaust.lib");
freq = vslider("freq [unit:Hz]", 10000, 20, 20000, 0.1) : si.smoo;
width = vslider("width [unit:Hz]", 50, 1, 10000, 0.1) : si.smoo;
process = fi.notchw(width, freq);
| https://raw.githubusercontent.com/njazz/pd-server/389777974d63012e5eab891818d7ff33c816d826/pure-data-src/ceammc/faust/flt_notch.dsp | faust | import("stdfaust.lib");
freq = vslider("freq [unit:Hz]", 10000, 20, 20000, 0.1) : si.smoo;
width = vslider("width [unit:Hz]", 50, 1, 10000, 0.1) : si.smoo;
process = fi.notchw(width, freq);
| |
7f806255faced7c2fdc1f37f72a372bf56d1ed51678e01d2cb42c46128f8dd56 | darkoverlordofdata/amp-sim-faust | reverb.dsp | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
// import("layout2.dsp");
process =
dm.zita_light; // stereo reverb
| https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/df478c01ed3763795c11779faa47a4b9d0f6de37/src/guitar/reverb.dsp | faust | import("layout2.dsp");
stereo reverb | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
process =
|
ad50bf42a4a5be226178f7076d92e7f07c4e02bbebaf1b73b52eec713b23a8b7 | darkoverlordofdata/amp-sim-faust | compressor.dsp | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
// import("layout2.dsp");
process =
dm.compressor_demo ; // stereo compressor
| https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/df478c01ed3763795c11779faa47a4b9d0f6de37/src/guitar/compressor.dsp | faust | import("layout2.dsp");
stereo compressor | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
process =
|
d5e09a2914d4effa6438c9e688f8e08d4b9a1b088eb8b6256f00a8f14c848e75 | darkoverlordofdata/amp-sim-faust | wah.dsp | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
// import("layout2.dsp");
process =
dm.wah4_demo;// wah pedal
| https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/df478c01ed3763795c11779faa47a4b9d0f6de37/src/guitar/wah.dsp | faust | import("layout2.dsp");
wah pedal | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
process =
|
7140a0b40ffe351083eb078bdecc44ac61d07806bedb2cd13e94107b765db87d | darkoverlordofdata/amp-sim-faust | phaser.dsp | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
// import("layout2.dsp");
process =
dm.phaser2_demo;// stereo phaser
| https://raw.githubusercontent.com/darkoverlordofdata/amp-sim-faust/df478c01ed3763795c11779faa47a4b9d0f6de37/src/guitar/phaser.dsp | faust | import("layout2.dsp");
stereo phaser | declare name "amp-sim";
declare version "0.1";
declare author "darkoverlordofdata";
declare description "Amplifier demo application.";
declare license "MIT";
declare copyright "(c)DarkOverlordOfData 2021";
import("stdfaust.lib");
process =
|
7f8a158577bb801fc0aa35277a1046409bc623da6b2639b979d47b536f9f6767 | matthewcaren/KeyWI | smoothSynth.dsp | import("stdfaust.lib");
freq = hslider("freq", 400, 20, 20000, 0.01);
gate = button("gate") : en.asr(0.003, 1, 0.05);
readpressure = hslider("breath[BELA: ANALOG_0]", 0, -1.35, 1, 0.001)*-1 - offset;
sensitivity = hslider("sensitivity[BELA: ANALOG_4]", 0.3, -0.6, 0.9, 0.01) : si.smoo;
offset = hslider("offset[BELA: ANA... | https://raw.githubusercontent.com/matthewcaren/KeyWI/83a62885e99069fe1fbaf55b28a2d98a5b3567ca/code/smoothSynth/smoothSynth.dsp | faust | PBup = hslider("PBup[BELA: ANALOG_1]", 0, 0, 50, 0.1) - 11 : si.smooth(0.9995) : max(0); // FSR
PBdown = hslider("PBdown[BELA: ANALOG_2]", 0, 0, 50, 0.1) - 11 : si.smooth(0.9995) : max(0); // FSR | import("stdfaust.lib");
freq = hslider("freq", 400, 20, 20000, 0.01);
gate = button("gate") : en.asr(0.003, 1, 0.05);
readpressure = hslider("breath[BELA: ANALOG_0]", 0, -1.35, 1, 0.001)*-1 - offset;
sensitivity = hslider("sensitivity[BELA: ANALOG_4]", 0.3, -0.6, 0.9, 0.01) : si.smoo;
offset = hslider("offset[BELA: ANA... |
f23cf2dc63782f4a9dde8915a746da77195643f4925db611c9fe503f1e6c45a9 | rmichon/cph-fall22 | letrec.dsp | import("stdfaust.lib");
/*
onePole(a1) = A~B
with{
A = +;
B = _*a1;
};
*/
onePole(a1,x) = y
letrec{
'y = x + y*a1;
};
process = onePole(0.999);
| https://raw.githubusercontent.com/rmichon/cph-fall22/37a78b9c1ace2d98f62f790d0bde645547bd7663/code/wednesday/letrec.dsp | faust |
onePole(a1) = A~B
with{
A = +;
B = _*a1;
};
| import("stdfaust.lib");
onePole(a1,x) = y
letrec{
'y = x + y*a1;
};
process = onePole(0.999);
|
0217e1a418c15c221f2076bb37ed9a54e19833cd0db7125a19b8f1095c2bcb2c | rmichon/cph-fall22 | echo.dsp | import("stdfaust.lib");
echo(d,f) = A~B
with{
dSamp = d*ma.SR;
A = +;
B = de.delay(ma.SR,dSamp)*f;
};
process = echo(0.1,0.5) ;
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/tuesday/echo.dsp | faust | import("stdfaust.lib");
echo(d,f) = A~B
with{
dSamp = d*ma.SR;
A = +;
B = de.delay(ma.SR,dSamp)*f;
};
process = echo(0.1,0.5) ;
| |
369047007c990a6f19e6d66f58230ceb5f454c7c52b146a88a6cc5e1a72fb2eb | jatinchowdhury18/CrossroadsEffects | test_DF2.dsp | import("stdfaust.lib");
gain_2cbe42d4 = _*-1.7990948352036202;
unit_delay_b85c90ad = @(1);
gain_098d27bb = _*0.8175108129889816;
split_8161512f = _ <: (gain_2cbe42d4), (unit_delay_b85c90ad : gain_098d27bb) :> _;
gain_c74af7a2 = _*-1.0;
fb_1946e1f2 = +~(split_8161512f : gain_c74af7a2);
gain_4f598442 = _*0.00460399444... | https://raw.githubusercontent.com/jatinchowdhury18/CrossroadsEffects/9a4ece57ce439103369f6c36bc1d74bec9043d64/faust_scripts/test_DF2.dsp | faust | import("stdfaust.lib");
gain_2cbe42d4 = _*-1.7990948352036202;
unit_delay_b85c90ad = @(1);
gain_098d27bb = _*0.8175108129889816;
split_8161512f = _ <: (gain_2cbe42d4), (unit_delay_b85c90ad : gain_098d27bb) :> _;
gain_c74af7a2 = _*-1.0;
fb_1946e1f2 = +~(split_8161512f : gain_c74af7a2);
gain_4f598442 = _*0.00460399444... | |
9f5d31394dd6c09ec19b2a5ec20e72de4e44124f68d8ac9f2f93cc18cd76d58d | theyoogle/Faust-DSP | 05 Breath Control.dsp | import("stdfaust.lib");
// Breath Control
// Blow from Microphone
gain = an.amp_follower_ar(0.02,0.02);
process = gain, os.sawtooth(440): *; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2001/05%20Breath%20Control.dsp | faust | Breath Control
Blow from Microphone | import("stdfaust.lib");
gain = an.amp_follower_ar(0.02,0.02);
process = gain, os.sawtooth(440): *; |
6bbc58e1d879f904bff365be2d79162c7a483aa16071209092f2b825784639d3 | theyoogle/Faust-DSP | 14 Select3 Example.dsp | import("stdfaust.lib");
// Select 3 - nentry 0 or 1 or 2
process = nentry("selector", 0, 0, 2, 1), os.osc(440), os.osc(880), os.osc(1760) : select3; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/02%20Additional%20Primitives/14%20Select3%20Example.dsp | faust | Select 3 - nentry 0 or 1 or 2 | import("stdfaust.lib");
process = nentry("selector", 0, 0, 2, 1), os.osc(440), os.osc(880), os.osc(1760) : select3; |
5dd42f73108c341817cdaa986c607489dc075d2e0e627524e3a2639a17f9bbbb | agraef/pd-remote | freeverb.dsp |
import("stdfaust.lib");
freeverb = _,_ <: (*(g)*fixedgain,*(g)*fixedgain :
re.stereo_freeverb(combfeed, allpassfeed, damping, spatSpread)),
*(1-g), *(1-g) :> _,_
with{
scaleroom = 0.28;
offsetroom = 0.7;
allpassfeed = 0.5;
scaledamp = 0.4;
fixedgain = 0.1;
origSR = 44100;
parameters(x) = vgroup("free... | https://raw.githubusercontent.com/agraef/pd-remote/4fede0b70ac5f9544a783dd45ddcf4643a29bc63/examples/dsp/freeverb.dsp | faust |
import("stdfaust.lib");
freeverb = _,_ <: (*(g)*fixedgain,*(g)*fixedgain :
re.stereo_freeverb(combfeed, allpassfeed, damping, spatSpread)),
*(1-g), *(1-g) :> _,_
with{
scaleroom = 0.28;
offsetroom = 0.7;
allpassfeed = 0.5;
scaledamp = 0.4;
fixedgain = 0.1;
origSR = 44100;
parameters(x) = vgroup("free... | |
31c5aa6e10418ebe8a0c3170cf80658fe5c3d138ee2bb23eefb6b5ae47020811 | clearly-broken-software/Uprising | pitchEnvelope.dsp | import("stdfaust.lib");
pitchenv(timeInSeconds,pitchStart,pitchEnd) = up
with{
rs1 = timeInSeconds * ma.SR;
up = ba.countup(rs1,0) : ba.bpf.start(0,pitchStart) : ba.bpf.end(rs1,pitchEnd);
};
pe = pitchenv(10,55,440);
process = os.osc(pe);
| https://raw.githubusercontent.com/clearly-broken-software/Uprising/89f5b49d90cd47611da7e7dc2009061768716b4c/plugins/uprising/dsp/faust/pitchEnvelope.dsp | faust | import("stdfaust.lib");
pitchenv(timeInSeconds,pitchStart,pitchEnd) = up
with{
rs1 = timeInSeconds * ma.SR;
up = ba.countup(rs1,0) : ba.bpf.start(0,pitchStart) : ba.bpf.end(rs1,pitchEnd);
};
pe = pitchenv(10,55,440);
process = os.osc(pe);
| |
d17627f2b2dbd7306a5f6f6ed6cc105332c80dd2dadec1b8b61083b7a711fef1 | rmichon/cph-fall22 | oneZero.dsp | import("stdfaust.lib");
oneZero(b1) = _ <: _,_'*b1 :> _;
zero = hslider("zero",1,-1,1,0.01);
process = no.noise : oneZero(zero);
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/monday/oneZero.dsp | faust | import("stdfaust.lib");
oneZero(b1) = _ <: _,_'*b1 :> _;
zero = hslider("zero",1,-1,1,0.01);
process = no.noise : oneZero(zero);
| |
cb857c24c2b92eb1b343dc6960c211397020315cf1efebcde30853ea321a7ed4 | piptouque/atiam_tp_signal | intro.dsp | import("stdfaust.lib");
// process = (1, 2): +;
// process = 1, ((2, 3): +): +;
// process = (3, (1, 2:+)):-;
a = 1;
b = 4;
c = -;
// process = a, b: c;
// Exemple d'utilisation de composition récursive :
// process = 1: +~_;
// Ça créé un signal z(n) tq z(n) = z(n-1) + 1
// Ici l'opérateur ~ a le même rôle que : et ,... | https://raw.githubusercontent.com/piptouque/atiam_tp_signal/eba1975a791670e6acaef9b519f971457514fd12/tp_moog/source/intro.dsp | faust | process = (1, 2): +;
process = 1, ((2, 3): +): +;
process = (3, (1, 2:+)):-;
process = a, b: c;
Exemple d'utilisation de composition récursive :
process = 1: +~_;
Ça créé un signal z(n) tq z(n) = z(n-1) + 1
Ici l'opérateur ~ a le même rôle que : et , !!
Déf de la partie décimale :
signal en dent-de-scie :
n... | import("stdfaust.lib");
a = 1;
b = 4;
c = -;
dec = _, 1: fmod;
saw_a_offset = 0.01:(+:dec)~_;
normalise_two = _,0.5:-,2:*;
saw_a = saw_a_offset:normalise_two;
f_s = ma.SR;
saw_offset = (_, f_s: /):(+:dec)~_;
saw(f) = f:saw_offset:normalise_two;
normalise(s, amp, offset) = s,offset:-,amp:/;
f_0 = hslider("freq", 440, ... |
6843a0e4f1b7919667ad21de92b39d954169c2039b07325ab55af406e75cc6f4 | brummer10/ModularAmpToolKit.lv2 | t12at7.dsp | declare id "12AT7"; // in amp tube ba.selector
declare name "12AT7";
import("stdfaust.lib");
import("tubes.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AT7
*/
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(pr... | https://raw.githubusercontent.com/brummer10/ModularAmpToolKit.lv2/dd951c7cc8a49d939f17c5d649498721099dac31/PreAmps/DSP/t12at7.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AT7
| declare name "12AT7";
import("stdfaust.lib");
import("tubes.lib");
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp) : tubestage(TB_12AT7_68k,86.0,2700.0,2.617753) :
fi.lowpass(1,6531.0) : tubestage(TB_12AT7_250k,132.0,1500.0,1.887332) ;
stage2 = fi.lowpass(1,6531.0) : tube... |
75e1f518ee9a06cee9dddbf00edf9e72fbe33e789c6b76c6cb0086af0ea84e4e | brummer10/ModularAmpToolKit.lv2 | t6DJ8.dsp | declare id "6DJ8"; // in amp tube ba.selector
declare name "6DJ8";
import("stdfaust.lib");
import("tubes.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp) : tubestage130_20(TB_6DJ8_... | https://raw.githubusercontent.com/brummer10/ModularAmpToolKit.lv2/dd951c7cc8a49d939f17c5d649498721099dac31/PreAmps/DSP/t6DJ8.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
| declare name "6DJ8";
import("stdfaust.lib");
import("tubes.lib");
tubeax(preamp,gain1) = stage1 : stage2 with {
stage1 = *(preamp) : tubestage130_20(TB_6DJ8_68k,86.0,2700.0,1.863946) :
fi.lowpass(1,6531.0) : tubestage130_20(TB_6DJ8_250k,132.0,1500.0,1.271609) ;
stage2 = fi.lowpass(1,6531.0) : tubestag... |
550b93a8b64323d8421c61a7b2a9d58c639f38d53413e125eb44182c16841005 | SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing | userinterface.dsp | import("stdfaust.lib");
bas = vslider("Bass[style:knob]", -6, -70, 12, 0.1);
mid = vslider("Mid[style:knob]", -6, -70, 12, 0.1);
tre = vslider("Treble[style:knob]", -6, -70, 12, 0.1);
lvl = vslider("Gain", -24, -70, 12, 0.1);
mtr = vbargraph("Level[scale:log]", -70, 12);
process = hgroup("Voice", (vgroup("EQ", bas, mid... | https://raw.githubusercontent.com/SuyashRamteke/FAUST---Real-time-Audio-Signal-Processing/ca24b8d650b6d77435d8128b0aa8e4d8b6022c30/userinterface.dsp | faust | import("stdfaust.lib");
bas = vslider("Bass[style:knob]", -6, -70, 12, 0.1);
mid = vslider("Mid[style:knob]", -6, -70, 12, 0.1);
tre = vslider("Treble[style:knob]", -6, -70, 12, 0.1);
lvl = vslider("Gain", -24, -70, 12, 0.1);
mtr = vbargraph("Level[scale:log]", -70, 12);
process = hgroup("Voice", (vgroup("EQ", bas, mid... | |
a5aa85cf34af8d482a2d92aff3c67c3ad4f878fb6dfa46b8e821e0f98e08a25a | chmaha/RCComp | rccomp.dsp | declare name "RCComp";
declare description "A simple compressor";
declare author "Julius O. Smith III, chmaha";
declare copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare license "GPLv3";
declare version "0.1.0";
import("stdfaust.lib");
rccomp = ba.bypass2(cbp,compressor_ster... | https://raw.githubusercontent.com/chmaha/RCComp/d2fbf21d4465f6ea736c5fd1d20d8dd48450c30a/faust/rccomp.dsp | faust | en.wikipedia.org/wiki/Dynamic_range_compression]", x); | declare name "RCComp";
declare description "A simple compressor";
declare author "Julius O. Smith III, chmaha";
declare copyright "Copyright (C) 2003-2019 by Julius O. Smith III <jos@ccrma.stanford.edu>";
declare license "GPLv3";
declare version "0.1.0";
import("stdfaust.lib");
rccomp = ba.bypass2(cbp,compressor_ster... |
ad12ae514fa865fa979c1e81c86c5c74e6e6f193705c91fec3fd8e3e64c65a8f | jpcima/Hera | JpcVCF.dsp | // SPDX-License-Identifier: ISC
declare license "ISC";
declare author "Jean Pierre Cimalando";
import("stdfaust.lib");
vcf(f, r) = (+ : cascade) ~ feedback with {
cascade = seq(i, 4, poleEntry : tptPole(f));
feedback = *(tanhK) : tableTanh : *(-4.0*r);
poleEntry = +(noiseA*no.noise) : *(tanhK) : tableTanh;
t... | https://raw.githubusercontent.com/jpcima/Hera/eec43c0b5cb5aaa71c647b2e5597fc1ba383dd13/Source/VCF/JpcVCF.dsp | faust | SPDX-License-Identifier: ISC
|
declare license "ISC";
declare author "Jean Pierre Cimalando";
import("stdfaust.lib");
vcf(f, r) = (+ : cascade) ~ feedback with {
cascade = seq(i, 4, poleEntry : tptPole(f));
feedback = *(tanhK) : tableTanh : *(-4.0*r);
poleEntry = +(noiseA*no.noise) : *(tanhK) : tableTanh;
tptPole(f) = next with {
next... |
d6f23a5343f4e4b309745f4808e7bdf2682f04d667d32778ab7a121c0fbed0cd | theyoogle/Faust-DSP | 03 Input Monitoring Example.dsp | import("stdfaust.lib");
meter = _ <: _, display
with {
envelope = abs : min(1.00) : max ~ -(1.0/ma.SR);
display = envelope : hbargraph("meter", 0, 1);
};
process = _ * hslider("level", 0, 0, 1, 0.001) : meter; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/54e3514141a66aff7c6e9304f5a37a6617e42962/session%2002/04%20UI%20Primitives/03%20Input%20Monitoring%20Example.dsp | faust | import("stdfaust.lib");
meter = _ <: _, display
with {
envelope = abs : min(1.00) : max ~ -(1.0/ma.SR);
display = envelope : hbargraph("meter", 0, 1);
};
process = _ * hslider("level", 0, 0, 1, 0.001) : meter; | |
ffa3fbd0704a5714a7541edf073df3113b6528b4e13eae5466786de0522e37ad | madskjeldgaard/mkfaustplugins | mkfilters.dsp | import("stdfaust.lib");
mkf = environment {
// OnePole LPF by Dario Sanfilippo: https://www.dariosanfilippo.com/blog/2020/faust_recursive_circuits/
onepolelpf(cf, x) = b0 * x : + ~ *(-a1)
with {
b0 = 1 + a1;
a1 = exp(-w(cf)) * -1;
w(f) = 2 * ma.PI * f / ma.SR;
};
};
| https://raw.githubusercontent.com/madskjeldgaard/mkfaustplugins/6b838d0b10832081b85a6cd921c564e89288b13e/lib/mkfilters.dsp | faust | OnePole LPF by Dario Sanfilippo: https://www.dariosanfilippo.com/blog/2020/faust_recursive_circuits/ | import("stdfaust.lib");
mkf = environment {
onepolelpf(cf, x) = b0 * x : + ~ *(-a1)
with {
b0 = 1 + a1;
a1 = exp(-w(cf)) * -1;
w(f) = 2 * ma.PI * f / ma.SR;
};
};
|
9adfca567086fd8c4443c24f5b5c70c138b9529daacfc949e4b7c71abc1f13f4 | dxinteractive/mosfez-faust-dsp | mosfez-faust-passthrough.dsp | // mosfez-faust-passthrough.dsp
// A ~unity gain stereo passthrough test with Faust. Wizard: 3% CPU
import("stdfaust.lib");
fx = _ * 3.0;
process = fx,fx;
| https://raw.githubusercontent.com/dxinteractive/mosfez-faust-dsp/3de3bbe6c4d495f04d4d7bc787223ba7a49cb4f3/mosfez-faust-passthrough.dsp | faust | mosfez-faust-passthrough.dsp
A ~unity gain stereo passthrough test with Faust. Wizard: 3% CPU |
import("stdfaust.lib");
fx = _ * 3.0;
process = fx,fx;
|
290d9f9db18825bf12524c63b110f1480742f75fbab7ad1ea1ef749a8612811c | ohmic-net/puca_dsp | djembe6.dsp | import("stdfaust.lib");
A = pm.djembe(freq,strikePosition,strikeSharpness,gain,trigger);
freq = hslider("[0]freq", 130, 50, 800, 0.1) ;
strikePosition = hslider("[2]stPos", 0.5, 0.1, 1, 0.01) ;
strikeSharpness = hslider("[3]Sharp", 0.5, 0.1, 1, 0.01) ;
gain = 0.7;
trigger = (ba.pulsen (1,8000));
process = A <:_ , _... | https://raw.githubusercontent.com/ohmic-net/puca_dsp/c67cf39735fd3049e1f5ce481bc334294543cb2c/puca_dsp-arduino/original%20edition/arduino-faust_djembe6/djembe6.dsp | faust | import("stdfaust.lib");
A = pm.djembe(freq,strikePosition,strikeSharpness,gain,trigger);
freq = hslider("[0]freq", 130, 50, 800, 0.1) ;
strikePosition = hslider("[2]stPos", 0.5, 0.1, 1, 0.01) ;
strikeSharpness = hslider("[3]Sharp", 0.5, 0.1, 1, 0.01) ;
gain = 0.7;
trigger = (ba.pulsen (1,8000));
process = A <:_ , _... | |
faa9fefbbefcb2bce3a780c8eba2a045a8e0d337fd7d7210e761bd1a95dd6ed3 | antisvin/MyPatches | PercSample.dsp | import("stdfaust.lib");
// Simple syntax for loading a single file
//wav1 = soundfile("test[url:test.wav]",2);
// Full syntax for multiple files
//wav1 = soundfile("test[url:{'test1.wav';'test2.wav'}]",2);
// We support both!
wav1 = soundfile("Percussion[url:{'KICK.wav';'HAT.wav'}]", 1);
// Percussion samples... | https://raw.githubusercontent.com/antisvin/MyPatches/89a3df2464b68d4996d9b159ff105e8c9fc9f762/Faust/Samples/PercSample.dsp | faust | Simple syntax for loading a single file
wav1 = soundfile("test[url:test.wav]",2);
Full syntax for multiple files
wav1 = soundfile("test[url:{'test1.wav';'test2.wav'}]",2);
We support both!
Percussion samples from KastleDrum are LoFi beyond ridiculous
Kick sample
Hat sample
Percussion samples playback | import("stdfaust.lib");
wav1 = soundfile("Percussion[url:{'KICK.wav';'HAT.wav'}]", 1);
kick_sound = so.sound(wav1, 0);
hat_sound = so.sound(wav1, 1);
process = kick , hat :> _, _
with {
kick_gain = hslider("Kick Gain[OWL:A]", 0.5, 0.0, 1.0, 0.001);
kick_trig_cv = hslider("Kick Trig by CV[OWL:C]"... |
aaf4167cb3f8c6836f5457086080f07f20f26295bf50db1a0d8e18286ff16b51 | francescoganassin/FaustDSP-synths | ganassnoiz2.dsp | import("stdfaust.lib");
fm = os.osc(carFreq + os.osc(modFreq)*index)
with{
modFreq = hslider("Mod freq",0.4,0.1,2000,0.01);
carFreq = hslider("Car freq",260,50,2000,0.01);
index = hslider("Mod index",600,0,1000,0.1);
};
process = fm + no.noise*(vslider("Noise[style:knob]",0.1,0,1,0.01)) <: dm.freeverb_demo;
| https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassnoiz2.dsp | faust | import("stdfaust.lib");
fm = os.osc(carFreq + os.osc(modFreq)*index)
with{
modFreq = hslider("Mod freq",0.4,0.1,2000,0.01);
carFreq = hslider("Car freq",260,50,2000,0.01);
index = hslider("Mod index",600,0,1000,0.1);
};
process = fm + no.noise*(vslider("Noise[style:knob]",0.1,0,1,0.01)) <: dm.freeverb_demo;
| |
0a0c535375a580826251de9e47e2f0f448a4c4ebdc7104f7f81b6a24b52adce5 | theyoogle/Faust-DSP | 05 RDTable Example.dsp | import("stdfaust.lib");
dirac = 1-1';
// Loop through number between 0 to 4095
phase = 1 : +~_ : %(4096);
// Creates Impulse every 4096 samples
process = 4096,dirac,phase : rdtable; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2002/03%20Delays%20and%20Tables/05%20RDTable%20Example.dsp | faust | Loop through number between 0 to 4095
Creates Impulse every 4096 samples | import("stdfaust.lib");
dirac = 1-1';
phase = 1 : +~_ : %(4096);
process = 4096,dirac,phase : rdtable; |
fd5912634bc495b1451c2e18bdc8c0e3dbf992ab72475a6d64baa1dfd2d41b24 | theyoogle/Faust-DSP | 02 Reverb Demo.dsp | import("stdfaust.lib");
// Reverb Demo
// djembe 1 output splitted to 2 <: for 2 inputs of freeverb_demo
process = button("gate") : pm.djembe(60,0.5,0.5,1) <: dm.freeverb_demo; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/373f0b309ad84906043b0b53e02129cd9ce45d59/session%2001/02%20Reverb%20Demo.dsp | faust | Reverb Demo
djembe 1 output splitted to 2 <: for 2 inputs of freeverb_demo | import("stdfaust.lib");
process = button("gate") : pm.djembe(60,0.5,0.5,1) <: dm.freeverb_demo; |
85f001013eabb6bb51412d3f6370b7e8f31ff3bda82644514eb8db4447e2bf3e | rmichon/cph-fall22 | comb.dsp | import("stdfaust.lib");
comb(del,b1) = _ <: _,_@del*b1 :> _;
zero = hslider("zero",1,-1,1,0.01);
d = hslider("delay",1,0,300,1);
process = no.noise : comb(d,zero);
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/monday/comb.dsp | faust | import("stdfaust.lib");
comb(del,b1) = _ <: _,_@del*b1 :> _;
zero = hslider("zero",1,-1,1,0.01);
d = hslider("delay",1,0,300,1);
process = no.noise : comb(d,zero);
| |
b42491a7465c649543966b4ab726cc5feb69d3c1b9d92b94589ee2ea1a25cb72 | daniel-kelley/gac | osc_ui.dsp | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",100,20,4000,1) : si.smoo;
shape = hslider("shape",0.1,0.0,1,0.01) : si.smoo;
vol = hslider("volume [unit:dB]", -96, -96, 6, 0.1) : ba.db2linear : si.smoo;
process = gac.osc(freq,shape) * vol;
| https://raw.githubusercontent.com/daniel-kelley/gac/cdc00a3d467abb9c3f212ba9b60efe3df07e0385/test/osc_ui.dsp | faust | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",100,20,4000,1) : si.smoo;
shape = hslider("shape",0.1,0.0,1,0.01) : si.smoo;
vol = hslider("volume [unit:dB]", -96, -96, 6, 0.1) : ba.db2linear : si.smoo;
process = gac.osc(freq,shape) * vol;
| |
70cb8274e6d41aec98c656364f28af6bfb0add1753885af7cad48f77b05bb958 | jpburstrom/bubblebass | freqShifter.dsp | declare name "Frequency shifter";
declare description "Mono Frequency Shifting with pre-filtering";
declare author "Johannes Burström (johannes@ljud.org), based on work by Oli Larkin";
declare copyright "Johannes Burström";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
import("FrequencyShifter.... | https://raw.githubusercontent.com/jpburstrom/bubblebass/2e4fa3e49eceeed5a9dff2431d345acea6b29a8e/faust/freqShifter.dsp | faust | declare name "Frequency shifter";
declare description "Mono Frequency Shifting with pre-filtering";
declare author "Johannes Burström (johannes@ljud.org), based on work by Oli Larkin";
declare copyright "Johannes Burström";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
import("FrequencyShifter.... | |
02210692ea22f62a6e5a873dedc22125c6d85bfe88a19aa8ee30c42945b664af | Fr0stbyteR/faust2wam | poly.dsp | declare name "FluteMIDI";
declare version "1.0";
declare author "Romain Michon";
declare description "Simple MIDI-controllable flute physical model with physical parameters.";
declare license "MIT";
declare copyright "(c)Romain Michon, CCRMA (Stanford University), GRAME";
declare isInstrument "true";
import("stdfaust.... | https://raw.githubusercontent.com/Fr0stbyteR/faust2wam/324029ac35a233cb62b9954917ca138984daddc4/test/poly.dsp | faust | declare name "FluteMIDI";
declare version "1.0";
declare author "Romain Michon";
declare description "Simple MIDI-controllable flute physical model with physical parameters.";
declare license "MIT";
declare copyright "(c)Romain Michon, CCRMA (Stanford University), GRAME";
declare isInstrument "true";
import("stdfaust.... | |
2e3369ef9896ca5513ff8dfbbc625f3f251d2f8b673226bfbd9b37590f42750c | grame-cncm/GameLAN | ShakerXY.dsp | declare name "ShakerXY";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
import ("stdfaust.lib");
process = par(i, 2, shaker_sound(i, shake_type) * env(i)) :> _ * on_off <: _,_;
on_off = checkbox("[0]ON / OFF");
shake_type = hslider("[1]Shakers[style:radio {'25 bpm':0;'50 bpm':... | https://raw.githubusercontent.com/grame-cncm/GameLAN/8d1dc26d709d721d27ec1156fbb66b03478f2529/shakerxy/ShakerXY.dsp | faust | declare name "ShakerXY";
declare author "Developpement Grame - CNCM par Elodie Rabibisoa et Romain Constant.";
import ("stdfaust.lib");
process = par(i, 2, shaker_sound(i, shake_type) * env(i)) :> _ * on_off <: _,_;
on_off = checkbox("[0]ON / OFF");
shake_type = hslider("[1]Shakers[style:radio {'25 bpm':0;'50 bpm':... | |
7d12b4d1c0ad146aeba8386b4e2f7125218428dd751cc7cda83350fca7f35f67 | pingdynasty/OwlPatches | SweepWah.dsp | // Wah-wah with lfo modulation
import("stdfaust.lib");
lfo =
os.oscrs(freq) + 1.0 : *(0.5)
// os.lf_rawsaw(freq) + 1.0 : *(0.5)
with {
freq = hslider("Frequency[unit:Hz][OWL:PARAMETER_C]", 4, 0, 12, 0.001);
};
// mono wah-wah based on crybaby
wahwah = ve.crybaby(wah) with {
lo = hslider("Low[OWL:PA... | https://raw.githubusercontent.com/pingdynasty/OwlPatches/2be8a65bb257b53ee7ee0b9d4b5a1ad249e16dab/Faust/SweepWah.dsp | faust | Wah-wah with lfo modulation
os.lf_rawsaw(freq) + 1.0 : *(0.5)
mono wah-wah based on crybaby | import("stdfaust.lib");
lfo =
os.oscrs(freq) + 1.0 : *(0.5)
with {
freq = hslider("Frequency[unit:Hz][OWL:PARAMETER_C]", 4, 0, 12, 0.001);
};
wahwah = ve.crybaby(wah) with {
lo = hslider("Low[OWL:PARAMETER_A]",0.8,0,1,0.01);
hi = hslider("High[OWL:PARAMETER_B]",0.8,0,1,0.01);
wah = lo*lfo + h... |
4c417c99ec741a91183f755326f234f687db81b3f810009fe1a7fbfcdb0e2cf1 | polyeffects/PolyLV2 | flanger_ext.dsp | import("stdfaust.lib");
flanger_mono(dmax,curdel,depth,fb,invert,lfo)
= _ <: _, (-:de.fdelay(dmax,curdel(lfo))) ~ *(fb) : _,
*(select2(invert,depth,0-depth))
: + : *(1/(1+depth)); // ideal for dc and reinforced sinusoids (in-phase summed signals)
flanger_mono_gui(lfo) = flanger_mono(dmax,curdel,depth... | https://raw.githubusercontent.com/polyeffects/PolyLV2/a363599f74fd1bce0b3744221e1883fdbe89c557/poly_flange_ext/flanger_ext.dsp | faust | ideal for dc and reinforced sinusoids (in-phase summed signals)
~1 ms at 44.1 kHz = min delay | import("stdfaust.lib");
flanger_mono(dmax,curdel,depth,fb,invert,lfo)
= _ <: _, (-:de.fdelay(dmax,curdel(lfo))) ~ *(fb) : _,
*(select2(invert,depth,0-depth))
flanger_mono_gui(lfo) = flanger_mono(dmax,curdel,depth,fb,invert,lfo);
process = flanger_mono_gui;
curdel(lfo) = odflange+dflange*lfo;
dmax = 2048;
dfl... |
fa2a7cd8702706e51ec4b0d1d44d1aa61b155338d46662a58728f105f97a310e | theyoogle/Faust-DSP | 04 Attach Meter to Oscillator.dsp | import("stdfaust.lib");
meter = _ <: _, display : attach
with {
envelope = abs : min(1.00) : max ~ -(1.0/ma.SR);
display = envelope : hbargraph("meter", 0, 1);
};
process = os.osc(440) * hslider("level", 0, 0, 1, 0.001) : meter; | https://raw.githubusercontent.com/theyoogle/Faust-DSP/54e3514141a66aff7c6e9304f5a37a6617e42962/session%2002/04%20UI%20Primitives/04%20Attach%20Meter%20to%20Oscillator.dsp | faust | import("stdfaust.lib");
meter = _ <: _, display : attach
with {
envelope = abs : min(1.00) : max ~ -(1.0/ma.SR);
display = envelope : hbargraph("meter", 0, 1);
};
process = os.osc(440) * hslider("level", 0, 0, 1, 0.001) : meter; | |
86e71deffc6439f61ed833a814b61957dc332fb369f0a204b70e9f4c1d44bf3b | rmichon/cph-fall22 | floatSaw.dsp | import("stdfaust.lib");
sawtooth(freq) = (A~B)*2 - 1
with{
delta = freq/ma.SR;
A = _;
B = (_+delta) : ma.frac;
};
freq = hslider("freq",100,50,2000,0.01);
process = os.sawtooth(freq);
| https://raw.githubusercontent.com/rmichon/cph-fall22/9a0ec39a536e259faf90639d8fd4bbcc6ef082c3/code/tuesday/floatSaw.dsp | faust | import("stdfaust.lib");
sawtooth(freq) = (A~B)*2 - 1
with{
delta = freq/ma.SR;
A = _;
B = (_+delta) : ma.frac;
};
freq = hslider("freq",100,50,2000,0.01);
process = os.sawtooth(freq);
| |
df86259658bcc17d65ef8f8f691918ad4bb28243beaee08f2c7f387ad8fbb073 | LogicPsycho/Masterarbeit_Dorner_Data | apLTI.dsp | import("stdfaust.lib");
gM = os.lf_triangle(100)*0.5;
g = gM;
M = hslider("Delaytime",10,1,100,1);
del = @(M);
a = *(g);
aN= *(-g);
b = del;
process = _:(+<:b,a)~aN:+; | https://raw.githubusercontent.com/LogicPsycho/Masterarbeit_Dorner_Data/164a2c9aa1a400b75e583c7bc3fdea1bcbbe59cc/Faust/apLTI.dsp | faust | import("stdfaust.lib");
gM = os.lf_triangle(100)*0.5;
g = gM;
M = hslider("Delaytime",10,1,100,1);
del = @(M);
a = *(g);
aN= *(-g);
b = del;
process = _:(+<:b,a)~aN:+; | |
744de9c80deb3e2c73704df9b40128749201b4ffd5c0b29933dcfc185d5fe0e7 | LucaSpanedda/Musical_Studies_of_Dynamical_and_Complex_Systems | FormsoftheDisorder.dsp | //---------------------------------------------------- FORMS OF THE DISORDER ---
// Faust standard libraries
import("stdfaust.lib");
FQ = hslider("freq",1,1,10000,1);
GN = hslider("gain",0,0,1,.001);
FC = nentry("Factor",2,1,100,1);
// generate a random number from a seed
random(seed) = abs((seed * 1103515245) / 2147... | https://raw.githubusercontent.com/LucaSpanedda/Musical_Studies_of_Dynamical_and_Complex_Systems/1ddd0dccb8c79779273ce1373d9eb2c9bc142c4d/FormsoftheDisorder.dsp | faust | ---------------------------------------------------- FORMS OF THE DISORDER ---
Faust standard libraries
generate a random number from a seed
nonlinear Low Frequency oscillator based on arbritary Frequencies
clip function
digital noise algorythm with internal recursive comb filter
nonlinear circuit based on noise... | import("stdfaust.lib");
FQ = hslider("freq",1,1,10000,1);
GN = hslider("gain",0,0,1,.001);
FC = nentry("Factor",2,1,100,1);
random(seed) = abs((seed * 1103515245) / 2147483647.0);
nonlinearosc(seed,slowFactor,voices) =
par(i, voices, sin(( (random(seed + (i * 1000))/ma.SR/slowFactor) :
... |
1126e3e6cf88d3cc8be410f6c14c1dd5e00a548bf9d1665a3c9bab16000d33e6 | danidev/microcosmos | MicrocosmosDsp.dsp | import("stdfaust.lib");
page(num, x) = hgroup("page%num", x);
fmin = 0;
fmax = 523.25;
gate = button("gate");
freq1 = page(1, hslider("[0]modulator[style:knob]", 440, fmin, fmax, 1));
freq2 = page(1, hslider("[1]carrier1[style:knob]", 440, fmin, fmax, 1));
freq3 = page(1, hslider("[2]carrier2[style:knob]", 440, fmi... | https://raw.githubusercontent.com/danidev/microcosmos/27b8c35df97aba336b546cca7c6dd4ec802eed30/dsp/drone_02/dsp/MicrocosmosDsp.dsp | faust | (hslider("lfo", 0.01, 0, 1, .01));
sampleRate = 48000;
lfo2 = os.lf_trianglepos(0.6) * 100; // * 0.03;
delay(offset) = @(offset) : + ~(de.fdelay(sampleRate, lfo2*2))*0.3;
chorus = _<: (_,delay(0) * 0.8 :> _), (_,delay(512) * 0.8 :> _);
osc0 * 0.5 + | import("stdfaust.lib");
page(num, x) = hgroup("page%num", x);
fmin = 0;
fmax = 523.25;
gate = button("gate");
freq1 = page(1, hslider("[0]modulator[style:knob]", 440, fmin, fmax, 1));
freq2 = page(1, hslider("[1]carrier1[style:knob]", 440, fmin, fmax, 1));
freq3 = page(1, hslider("[2]carrier2[style:knob]", 440, fmi... |
762b9e4da30d8a9b330e8a83104a45467524b7262d27ab76d7cdf093c591efed | theyoogle/Faust-DSP | 02 Mixer UI Example.dsp | import("stdfaust.lib");
channel(c) = vgroup(
"chan %c",
vslider("[1]pan[style:knob]", 0, -1, 1, 0.01),
vslider("[2]level", 0, -1, 1, 0.01)
);
process = hgroup(
"mixer",
par(i, 8, channel(i)),
vslider("master", 0.7, 0, 1, 0.01),
vbargraph("L", 0, 1),
vbargraph("R", 0, 1)
); | https://raw.githubusercontent.com/theyoogle/Faust-DSP/54e3514141a66aff7c6e9304f5a37a6617e42962/session%2002/04%20UI%20Primitives/02%20Mixer%20UI%20Example.dsp | faust | import("stdfaust.lib");
channel(c) = vgroup(
"chan %c",
vslider("[1]pan[style:knob]", 0, -1, 1, 0.01),
vslider("[2]level", 0, -1, 1, 0.01)
);
process = hgroup(
"mixer",
par(i, 8, channel(i)),
vslider("master", 0.7, 0, 1, 0.01),
vbargraph("L", 0, 1),
vbargraph("R", 0, 1)
); | |
95bd80b90adf26fa89ae90fc95e4869ba9e15dfb07652cb33efe67a0226f27b3 | njazz/pd-server | env_adsr.dsp | import("stdfaust.lib");
import("ceammc.lib");
a = hslider("attack", 10, 0, 100000, 1) : time_pd2faust;
d = hslider("decay", 10, 0, 100000, 1) : time_pd2faust;
s = hslider("sustain", 50, 0, 100, 0.001);
r = hslider("release", 10, 0, 100000, 1) : time_pd2faust;
t = hslider("trigger", 0, 0, 1, 0.001);
process = _ * en.ad... | https://raw.githubusercontent.com/njazz/pd-server/389777974d63012e5eab891818d7ff33c816d826/pure-data-src/ceammc/faust/env_adsr.dsp | faust | import("stdfaust.lib");
import("ceammc.lib");
a = hslider("attack", 10, 0, 100000, 1) : time_pd2faust;
d = hslider("decay", 10, 0, 100000, 1) : time_pd2faust;
s = hslider("sustain", 50, 0, 100, 0.001);
r = hslider("release", 10, 0, 100000, 1) : time_pd2faust;
t = hslider("trigger", 0, 0, 1, 0.001);
process = _ * en.ad... | |
111c9c7ac5d187fdd86e49dd016aa32e7257ee9d2c6cd91788d6018b378ee0de | Bencosterton/Midas-Outboard-Faust | 502.dsp | import ("stdfaust.lib");
process = vgroup("midas 502", *(input) : fi.lowpass (2,lowpass) *(input) : fi.highpass (2,highpass) : *(output));
// Input knob
input = vslider("input [style:knob]", 14, 0, +60, 0.1) : ba.db2linear : si.smoo;
//low pass filter
lowpass=vslider("low pass [unit:Hz] [style:knob]",10000,100,15000... | https://raw.githubusercontent.com/Bencosterton/Midas-Outboard-Faust/bf4390db48fad8cfefdfa41080d1e6ed7e55429b/502.dsp | faust | Input knob
low pass filter
high pass filter
Output knob | import ("stdfaust.lib");
process = vgroup("midas 502", *(input) : fi.lowpass (2,lowpass) *(input) : fi.highpass (2,highpass) : *(output));
input = vslider("input [style:knob]", 14, 0, +60, 0.1) : ba.db2linear : si.smoo;
lowpass=vslider("low pass [unit:Hz] [style:knob]",10000,100,15000,10) : si.smoo;
highpass=vslide... |
1f55cd0c518335c7dfeed1a762a001e0096a28363103ff2bd30ec5679bbcdeab | daniel-kelley/gac | ar_ui.dsp | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",1,0.1,10,0.1);
dur = hslider("dur",0.05,0,1,0.05);
attack = hslider("attack",0.05,0,1,0.05);
release = hslider("release",0.05,0,1,0.05);
test(clk) = gac.ar(attack,release,clk);
// inputs:
// none
// outputs:
// ar
process = gac.clock(freq) ... | https://raw.githubusercontent.com/daniel-kelley/gac/cdc00a3d467abb9c3f212ba9b60efe3df07e0385/test/ar_ui.dsp | faust | inputs:
none
outputs:
ar | import("stdfaust.lib");
gac = library("gac.lib");
freq = hslider("freq",1,0.1,10,0.1);
dur = hslider("dur",0.05,0,1,0.05);
attack = hslider("attack",0.05,0,1,0.05);
release = hslider("release",0.05,0,1,0.05);
test(clk) = gac.ar(attack,release,clk);
process = gac.clock(freq) : test;
|
fe2d0bb96c7b7e0f48ac99b1f7f753883dd0a2fed19b89cc9900e39d2f04fe7e | rmichon/cph-fall22 | patternMatching.dsp | import("stdfaust.lib");
oneZero(b1) = _ <: _,(_@1)*b1 :> _;
fir((b0,bv)) = _ <: _*b0,R(1,bv) :> _
with{
R(n,(bn,bv)) = _@n*bn, R(n+1,bv);
R(n,bn) = _@n*(bn);
};
fir(b0) = _*b0;
process = fir((0.1,0.2,0.9,-4));
| https://raw.githubusercontent.com/rmichon/cph-fall22/37a78b9c1ace2d98f62f790d0bde645547bd7663/code/wednesday/patternMatching.dsp | faust | import("stdfaust.lib");
oneZero(b1) = _ <: _,(_@1)*b1 :> _;
fir((b0,bv)) = _ <: _*b0,R(1,bv) :> _
with{
R(n,(bn,bv)) = _@n*bn, R(n+1,bv);
R(n,bn) = _@n*(bn);
};
fir(b0) = _*b0;
process = fir((0.1,0.2,0.9,-4));
| |
b18c9212eae8fae232fa7ecbacf24e9c4e0d7125a632f514215c648ced0d5899 | jpcima/string-machine | Delay3PhaseDigital.dsp | import("stdfaust.lib");
msp = library("maxmsp.lib");
process = processMono;
processMono(in, mod1, mod2, mod3) = in : antiAlias <: (line1, line2, line3) with {
line1 = line(mod1);
line2 = line(mod2);
line3 = line(mod3);
};
processStereo(inL, inR, mod1, mod2, mod3) =
processMono(inL, mod1, mod2, mod3), process... | https://raw.githubusercontent.com/jpcima/string-machine/188082dd0beb9a3c341035604841c53675fe66c4/sources/dsp/Delay3PhaseDigital.dsp | faust | import("stdfaust.lib");
msp = library("maxmsp.lib");
process = processMono;
processMono(in, mod1, mod2, mod3) = in : antiAlias <: (line1, line2, line3) with {
line1 = line(mod1);
line2 = line(mod2);
line3 = line(mod3);
};
processStereo(inL, inR, mod1, mod2, mod3) =
processMono(inL, mod1, mod2, mod3), process... | |
fe5f551fa46a9cb904710f22fc32327cd8c9a8bd8baaf6653b01df02a59a8440 | oshibka404/synt | main.dsp | declare name "Perfect First Synth";
declare author "Andrey Ozornin";
declare copyright "Aesthetics Engineering";
declare version "0.01";
declare license "BSD";
declare options "[midi:on][style:poly][nvoices:12]";
import("stdfaust.lib");
cc = library("midi_controls.dsp");
global_envelope = component("global_envelope.... | https://raw.githubusercontent.com/oshibka404/synt/37f54d7d26752efb66baab79cbba2d4044a9e295/faust/main.dsp | faust | declare name "Perfect First Synth";
declare author "Andrey Ozornin";
declare copyright "Aesthetics Engineering";
declare version "0.01";
declare license "BSD";
declare options "[midi:on][style:poly][nvoices:12]";
import("stdfaust.lib");
cc = library("midi_controls.dsp");
global_envelope = component("global_envelope.... | |
9b27e55eeac1499831e2db7d5add3294c3a8dd5321ef50c1ff976ecb175afb3e | consba/2023-Musel21 | 2023_03_09_dattorro.dsp | import("stdfaust.lib");
pdly = hslider("preDelay", 0, 0, 44100, 1); //si può impostare SR
bw = hslider("bandWidth", 0.7, 0, 1, 0.01);
idif1 = hslider("imput diffusion 1", 0.75, 0, 1, 0.001);
idif2 = hslider("imput diffusion 2", 0.625, 0, 1, 0.001);
damp = 1-hslider("damping", 0.7, 0, 1, 0.01);
decay = hslider("deca... | https://raw.githubusercontent.com/consba/2023-Musel21/3a7f9b7916c1b7f13833cdf3e7342d40f9a5eafa/2023_03_09_dattorro.dsp | faust | si può impostare SR
ma.sub inverte l'ordine degli operatori
process = ba.pulsen(1, ma.SR) : apf;
esternare oscillatore
si.bus(s) dice che ci sono due canali e quindi raddoppia
ro.cross reindirizza i flussi cambiando la numerazione degli ingressi (più o meno una cosa del genere)
modifica decay dopo l'uscita
process = fi... | import("stdfaust.lib");
bw = hslider("bandWidth", 0.7, 0, 1, 0.01);
idif1 = hslider("imput diffusion 1", 0.75, 0, 1, 0.001);
idif2 = hslider("imput diffusion 2", 0.625, 0, 1, 0.001);
damp = 1-hslider("damping", 0.7, 0, 1, 0.01);
decay = hslider("decay", 0.7, 0, 1, 0.01);
ddiff1 = hslider("decay diffusion 1", 0.7, 0... |
e5e9b4706bfc3f1b62da5ebb7757c87353ea461399d3522616ff2e7ddd4a233f | tognitete/BJT | DualPitchShifter.dsp | declare name "Dual Pitch Shifter";
declare description "Dual Channel pitch shifter, based on Faust pitch_shifter.dsp by Grame";
declare author "Oli Larkin (contact@olilarkin.co.uk)";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
bypass = checkbox("bypass");
... | https://raw.githubusercontent.com/tognitete/BJT/2818b850f2531bb8a0e84ab0f53f66b33bb256d0/server-side/plugin-services/plugins/DualPitchShifter/Original%20Faust%20Code/DualPitchShifter.dsp | faust | declare name "Dual Pitch Shifter";
declare description "Dual Channel pitch shifter, based on Faust pitch_shifter.dsp by Grame";
declare author "Oli Larkin (contact@olilarkin.co.uk)";
declare copyright "Oliver Larkin";
declare version "0.1";
declare licence "GPL";
import("stdfaust.lib");
bypass = checkbox("bypass");
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.