_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 |
|---|---|---|---|---|---|---|---|
555fab74565a2b39ef5b3c4c62fd9a6d40178cc855b22b31a52b77dd516fe74f | maximalexanian/guitarix-vst | gxdistortion.dsp | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = 300; //nentry("split_low_freq", 250, 20, 600, 10);
F1 = 1200; //nentry("split_middle_freq", 650, 600, 1250, 10);
F2 = 3200... | https://raw.githubusercontent.com/maximalexanian/guitarix-vst/83fd0cbec9588fb2ef47d80f7c6cb0775bfb9f89/guitarix/src/faust/gxdistortion.dsp | faust | nentry("split_low_freq", 250, 20, 600, 10);
nentry("split_middle_freq", 650, 600, 1250, 10);
nentry("split_high_freq", 1250, 1250, 12000, 10);
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************... | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1, xs) = x... |
0ac2a6e810ec0374dd84559c22625c2bded6432ad1823d9dfaa5349f3c52f7aa | SimplyOnMyWay/harp-model | McLiagString_04.02.23.dsp | import("stdfaust.lib");
process = en.asrfe(attT60,susLvl,relT60,finLvl,gate) with { //excitation : bodyMode1 : bodyMode2 : bodyMode3 <: _,_ with { //: McLiagString <: _,_ with {
attT60 = 0.6;
susLvl = 0.75;
relT60 = 0.1;
finLvl = 0.0;
gate = button("g");
excitation = g : en.are(a,r) * no.noise : envFR ... | https://raw.githubusercontent.com/SimplyOnMyWay/harp-model/794c56b19a82a4b1301f3a83c2baf7f43224fe21/faust_code/McLiagString_04.02.23.dsp | faust | excitation : bodyMode1 : bodyMode2 : bodyMode3 <: _,_ with { //: McLiagString <: _,_ with {
0.0005;
0.04;
(1-(1@500)) + 0.5*(1@750-(1@1700)); //
-1.9583;
0.95958;
1.9983;
0.99915;
-1.7944;
0.8077;
-1.9937;
0.99715;
-1.9537;
0.95903;
-1.9936;
0.99858;
### direct-form (I?) IIR filter implementation ###
note av[0] = 1... | import("stdfaust.lib");
attT60 = 0.6;
susLvl = 0.75;
relT60 = 0.1;
finLvl = 0.0;
gate = button("g");
excitation = g : en.are(a,r) * no.noise : envFR with {
d = 0.01;
s = 0.5;
fb1 = 1.0;
fb2 = 1.0;
damp = 0.5;
spread = 1;
envFR = fi.iir(bcoeffs,acoeffs) with {
bcoeffs = 1.... |
e599ad07ad71bb78dffca89477cd7ce4f44668381f4b5d059ba19ccf8c491d33 | afalaize/faust | drums.dsp | //##################################### drums.dsp ########################################
// Faust instrument specifically designed for `faust2smartkeyb` where 3 drums can
// be controlled using pads. The X/Y postion of fingers is detected on each key
// and use to control the strike postion on the virtual membrane.
/... | https://raw.githubusercontent.com/afalaize/faust/8f9f5fe3aa167eaeecc15a99d4da984ac2797be3/examples/smartKeyboard/drums.dsp | faust | ##################################### drums.dsp ########################################
Faust instrument specifically designed for `faust2smartkeyb` where 3 drums can
be controlled using pads. The X/Y postion of fingers is detected on each key
and use to control the strike postion on the virtual membrane.
## `Sma... |
declare interface "SmartKeyboard{
'Number of Keyboards':'2',
'Keyboard 0 - Number of Keys':'2',
'Keyboard 1 - Number of Keys':'1',
'Keyboard 0 - Static Mode':'1',
'Keyboard 1 - Static Mode':'1',
'Keyboard 0 - Send X':'1',
'Keyboard 0 - Send Y':'1',
'Keyboard 1 - Send X':'1',
'Keyboard 1 - Send Y':'1',
'Keybo... |
1f45961032e96e45630f16454098943d18b200730950ba273d6f40c1482cb070 | sadko4u/tamgamp.lv2 | amp_dist.dsp | /*
* Simulation of Guitarix amplifier chain
*
* Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
* Copyright (C) 2011 Pete Shorthose <http://guitarix.org/>
* This file is part of tamgamp.lv2 <https://github.com/sadko4u/tamgamp.lv2>.
*
* This program is free software; you can redistribute it ... | https://raw.githubusercontent.com/sadko4u/tamgamp.lv2/426da74142fcb6b7687a35b2b1dda3392e171b92/src/faust/amp_dist.dsp | faust |
* Simulation of Guitarix amplifier chain
*
* Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
* Copyright (C) 2011 Pete Shorthose <http://guitarix.org/>
* This file is part of tamgamp.lv2 <https://github.com/sadko4u/tamgamp.lv2>.
*
* This program is free software; you can redistribute it an... |
declare id "amp_dist";
declare version "0.01";
declare author "Hermann Meyer";
declare license "BSD";
declare copyright "(C) Hermann Meyer 2008";
import("stdfaust.lib");
import("amp_sim.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1,... |
23836ba71761d6709ccb796b9d494e9e0beb484350fa75a9592b66d1ee6702f9 | sadko4u/tamgamp.lv2 | tonestack.dsp | /*
* Simulation of Guitarix tonestack chain
*
* Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
* Copyright (C) 2011 Pete Shorthose <http://guitarix.org/>
* This file is part of tamgamp.lv2 <https://github.com/sadko4u/tamgamp.lv2>.
*
* This program is free software; you can redistribute it ... | https://raw.githubusercontent.com/sadko4u/tamgamp.lv2/426da74142fcb6b7687a35b2b1dda3392e171b92/src/faust/tonestack.dsp | faust |
* Simulation of Guitarix tonestack chain
*
* Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
* Copyright (C) 2011 Pete Shorthose <http://guitarix.org/>
* This file is part of tamgamp.lv2 <https://github.com/sadko4u/tamgamp.lv2>.
*
* This program is free software; you can redistribute it an... |
declare id "tonestack";
import("stdfaust.lib");
ts = environment {
k = *(1e3);
M = *(1e6);
nF = *(1e-9);
pF = *(1e-12);
R1 = 250:k;
R2 = 1:M;
R3 = 25:k;
R4 = 56:k;
C1 = 250:pF;
C2 = 20:nF;
C3 = 20:nF;
};
... |
1db21accf256f55ced114b4ba1acf00c0aa23a516f7e83328bded9f8840bb2e1 | mengqimusic/bfw | Blippoo.dsp | declare name "Blippoo";
declare version "0.1";
declare author "Meng Qi";
declare license "BSD";
declare copyright "(c)Meng Qi 2022";
declare date "2022-09-15";
import("stdfaust.lib");
// ▄▀▀█▄▄ ▄▀▀▀▀▄ ▄▀▀█▀▄ ▄▀▀▄▀▀▀▄ ▄▀▀▄▀▀▀▄ ▄▀▀▀▀▄ ▄▀▀▀▀▄
// ▐ ▄▀ █ █ █ █ █... | https://raw.githubusercontent.com/mengqimusic/bfw/2b47c95dda9152e6314edc81fab17037c6d7ca91/Blippoo.dsp | faust | ▄▀▀█▄▄ ▄▀▀▀▀▄ ▄▀▀█▀▄ ▄▀▀▄▀▀▀▄ ▄▀▀▄▀▀▀▄ ▄▀▀▀▀▄ ▄▀▀▀▀▄
▐ ▄▀ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █
█▄▄▄▀ ▐ █ ▐ █ ▐ ▐ █▀▀▀▀ ▐ █▀▀▀▀ █ █ █ █
█ █ █ █ █ █ ▀▄ ▄▀ ▀▄ ▄▀
▄▀▄▄▄▀ ▄▀▄▄▄▄▄▄▀ ▄▀▀▀▀▀▄ ... | declare name "Blippoo";
declare version "0.1";
declare author "Meng Qi";
declare license "BSD";
declare copyright "(c)Meng Qi 2022";
declare date "2022-09-15";
import("stdfaust.lib");
amp_follower_decay = 0.;
mod_depth = hslider("mod_depth", 100, 10, 200, 1);
a3_freq = hs... |
36691566d2dca217a117311ba2d0088577831ca477c4b7067a2e6a5217b82c61 | francescoganassin/FaustDSP-synths | ganassynth3.dsp | declare type = “MIDISynth”
import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",3,0,3,1);
freq = hslider("[1]freq",440,50,2000,0.01);
};
subtractive = waveGenerator : hgroup("[1]Filter... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassynth3.dsp | faust | declare type = “MIDISynth”
import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",3,0,3,1);
freq = hslider("[1]freq",440,50,2000,0.01);
};
subtractive = waveGenerator : hgroup("[1]Filter... | |
04d4a41d398b130ae9d86a187217bb02107bb0c57b13ac6486681dd46466006b | francescoganassin/FaustDSP-synths | ganassfilter.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",3,0,3,1);
freq = vslider("[1]freq[style:knob]",440,40,2000,0.01);
};
subtractive = waveGenerator : hgroup("[i]Filters",fil... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassfilter.dsp | faust | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",3,0,3,1);
freq = vslider("[1]freq[style:knob]",440,40,2000,0.01);
};
subtractive = waveGenerator : hgroup("[i]Filters",fil... | |
766c2b36168134860b20e066f97230cd6a13f72dea0c8046a8ab02287f569a1d | francescoganassin/FaustDSP-synths | ganassynth2.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",3,0,3,1);
freq = hslider("[1]freq",440,50,2000,0.01);
};
filters = seq(i,2,someFilter(i))
with{
someFilter(i) = hgroup("[2]Peak... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassynth2.dsp | faust | fx = freq;
gate = 1; | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",no.noise,os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",3,0,3,1);
freq = hslider("[1]freq",440,50,2000,0.01);
};
filters = seq(i,2,someFilter(i))
with{
someFilter(i) = hgroup("[2]Peak... |
2db9eee13c0cec3cdafafea698f7435fb871c05ad2869a618b94260d5dc37454 | francescoganassin/FaustDSP-synths | scandinavian.dsp | import("stdfaust.lib");
freq = vslider("freq[style:knob]",440,400,500,1);
mod = os.osc(freq/2);
dxOsc(freq,mod,index) = os.triangle(freq+mod*index)+os.triangle(freq*2)+(os.triangle(freq*4)/7)+(os.sawtooth(freq/2)/9) ;
timbre = vgroup("[0]Modulation", dxOsc(freq,index1) : dxOsc(freq,index2) : dxOsc(freq,index2) : ... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/scandinavian.dsp | faust | import("stdfaust.lib");
freq = vslider("freq[style:knob]",440,400,500,1);
mod = os.osc(freq/2);
dxOsc(freq,mod,index) = os.triangle(freq+mod*index)+os.triangle(freq*2)+(os.triangle(freq*4)/7)+(os.sawtooth(freq/2)/9) ;
timbre = vgroup("[0]Modulation", dxOsc(freq,index1) : dxOsc(freq,index2) : dxOsc(freq,index2) : ... | |
f1b23b1c501ff1661535c141ffb1fed2eaa3168be1cf411e4d6ad016edfbe030 | francescoganassin/FaustDSP-synths | ganassx7.dsp | import("stdfaust.lib");
freq = vslider("freq[style:knob]",440,400,500,1);
mod = os.osc(freq/2);
dxOsc(freq,mod,index) = os.osc(freq+mod*index);
timbre = hgroup("[0]Modulation", dxOsc(freq,index1) : dxOsc(freq,index1) : dxOsc(freq,index2) : dxOsc(freq,index3))
with{
index1 = vslider("Mod Index1",10,0,500,0.1);
... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassx7.dsp | faust | import("stdfaust.lib");
freq = vslider("freq[style:knob]",440,400,500,1);
mod = os.osc(freq/2);
dxOsc(freq,mod,index) = os.osc(freq+mod*index);
timbre = hgroup("[0]Modulation", dxOsc(freq,index1) : dxOsc(freq,index1) : dxOsc(freq,index2) : dxOsc(freq,index3))
with{
index1 = vslider("Mod Index1",10,0,500,0.1);
... | |
ed812d8ab8350787b1757104b71d52ebd0e455a874a3159d283255e611cddf3c | francescoganassin/FaustDSP-synths | ganassample.dsp | import("stdfaust.lib");
looper(detune) = rwtable(tablesize,0.0,recIndex,_,readIndex)
with{
record = button("Sample") : int;
readSpeed = hslider("Read Speed[style:knob]",1,0.001,10,0.01);
tablesize = 48000;
recIndex = +(1)~*(record) : %(tablesize);
readIndex = readSpeed*(detune+1)/float(ma.SR) : (+ : ma... | https://raw.githubusercontent.com/francescoganassin/FaustDSP-synths/ef9eb3da660f4d53e631a12b7e4f63944c57f61c/ganassample.dsp | faust | import("stdfaust.lib");
looper(detune) = rwtable(tablesize,0.0,recIndex,_,readIndex)
with{
record = button("Sample") : int;
readSpeed = hslider("Read Speed[style:knob]",1,0.001,10,0.01);
tablesize = 48000;
recIndex = +(1)~*(record) : %(tablesize);
readIndex = readSpeed*(detune+1)/float(ma.SR) : (+ : ma... | |
fd50c50590b6f25cc121ff8c1f409f89c62bfddf00f18a09187029fba3f88bbe | olilarkin/Tambura | 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/olilarkin/Tambura/7bb4c735d78324aa56d6512732133f7066444935/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)... |
65bc51fda05427dbeab059daa09088c64be2579169a1f7fb3506696dbbb5dd83 | dsuedholt/coupled-fds-faust | CoupledFDS.dsp | import("stdfaust.lib");
// -------------------------------------------------------------------
// This file demonstrates how to use the Faust FDS library to couple
// multiple Finite Difference Schemes at arbitrary points with rigid
// connections. The overall logic is to define an enviroment like
// coupledSchemes, ... | https://raw.githubusercontent.com/dsuedholt/coupled-fds-faust/b6fa83eae2399262185b47512dd9411681146a03/CoupledFDS.dsp | faust | -------------------------------------------------------------------
This file demonstrates how to use the Faust FDS library to couple
multiple Finite Difference Schemes at arbitrary points with rigid
connections. The overall logic is to define an enviroment like
coupledSchemes, to be found at the end of the file, ... | import("stdfaust.lib");
declare name "Coupled Finite Difference Schemes in Faust";
declare version "0.1";
declare author "David Suedholt";
k = 1.0 / 44100;
schemeUpdate(points,R,T,scheme) = fd.route1D(points,R,T,scheme) : fd.buildScheme1D(points,R,T);
forceUpdate(coupledSchemes) =
inRouting : interp : forc... |
7ed03d0599ba94b047027ea8194e529f7b82af22acadb7420bc5291164430711 | sekisushai/ambitools | hoa_encoder.dsp | declare name "NF-HOA encoder";
declare version "1.1";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2014-2018";
// Description: This tool creates an HOA scene from N inputs. Each input is encoded as a source in space. Source types are plane or spher... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_encoder.dsp | faust | Description: This tool creates an HOA scene from N inputs. Each input is encoded as a source in space. Source types are plane or spherical waves.
References:
[1] Lecomte, P., & Gauthier, P.-A. (2015). Real-Time 3D Ambisonics using Faust, Processing, Pure Data, And OSC. In 15th International Conference on Digital Aud... | declare name "NF-HOA encoder";
declare version "1.1";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2014-2018";
import("stdfaust.lib");
import("nfc.lib");
import("ymn.lib");
import("gui.lib");
M = 5;
N = 2;
ins = N;
outs = (M... |
58fcf0141ee36c35c332c322852aaa63392a65783bfbc8928fbaafbe55581cfc | sekisushai/ambitools | hoa_converter_fuma_to_acn_sn3d.dsp | declare name "HOA Converter : FuMa to ACN SN3D";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
//Description : this tool converts HOA signals defined with a convention 1 to HOA signals ... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_converter_fuma_to_acn_sn3d.dsp | faust | Description : this tool converts HOA signals defined with a convention 1 to HOA signals defined with convention 2. Proposed conventions are ACN N3D, ACN SN3D, FuMa. For ACN to FuMa, the ordering change is as in [1]
[1] https://en.wikipedia.org/wiki/Ambisonic_data_exchange_formats
Input ACN: 0 1 2 3 4 5... | declare name "HOA Converter : FuMa to ACN SN3D";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
M = 3;
ins = (M+1)^2;
outs = ins;
FuMaACN(0) = _*sqrt(2);
FuMaAC... |
5d65547e001ae95e54f8e767be96d1cf5a1b0d252dc9c30668b90d114d2ad996 | sekisushai/ambitools | hoa_beamforming_hypercardioid_to_hoa.dsp | declare name "HOA Beamforming Hypercardioid To HOA";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
// Description: This tool applies a hypercardioid beampattern to the HOA scene to enhances some directions according to ... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_beamforming_hypercardioid_to_hoa.dsp | faust | Description: This tool applies a hypercardioid beampattern to the HOA scene to enhances some directions according to the chosen beampattern. See [1] for more details. The proposed beampattern are regular hypercardioid as described in [2]. The more high the order of the beampattern the more selective is the directionna... | declare name "HOA Beamforming Hypercardioid To HOA";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("ymn.lib");
import("cijk.lib");
import("gui.lib");
M = 3;
M1 = 2;
ins = (M+1)^2;
i... |
be60095c332f2046e05a1b6b9eecb981b2d1b89a2e55db0505560e4e586d0e81 | sekisushai/ambitools | hoa_converter.dsp | declare name "HOA Converter : Convention 1 to Convention 2";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
//Description : this tool converts HOA signals defined with a convention 1 to ... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_converter.dsp | faust | Description : this tool converts HOA signals defined with a convention 1 to HOA signals defined with convention 2. Proposed conventions are ACN N3D, ACN SN3D, FuMa. For ACN to FuMa, the ordering change is as in [1]
[1] https://en.wikipedia.org/wiki/Ambisonic_data_exchange_formats
Input ACN: 0 1 2 3 4 5... | declare name "HOA Converter : Convention 1 to Convention 2";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("gui.lib");
M = 4;
ins = (M+1)^2;
outs = ins;
inconv = rin... |
832683b808cafad4348988da6a44108654ab16f22f940c7e346bf06ba192b18a | sekisushai/ambitools | hoa_rotator.dsp | declare name "HOA Rotator";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("ymn.lib");
// Description: This tool rotates the HOA scene around the x-axis (roll angle), y-axis (pitch angle), and z-axis... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_rotator.dsp | faust | Description: This tool rotates the HOA scene around the x-axis (roll angle), y-axis (pitch angle), and z-axis (yaw angle). Driven with OSC from head-tracking, (for example with andOSC application for Android with andOSC.pd patch provided with ambitools), this tool can compensate the head rotations. See [2] for the mat... | declare name "HOA Rotator";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL";
declare copyright "(c) Pierre Lecomte 2016";
import("stdfaust.lib");
import("ymn.lib");
M = 4;
ins = (M+1)^2;
rot(0,m,n) = 1;
rot(1,-1,-1) = cos(roll)*cos(yaw) - sin(pitch)*sin(roll)*sin... |
317dbd91f3adf92a3cb355cd8d9da331f657a8f0040ee10d7f23db852cfb871b | sekisushai/ambitools | hoa_decoder_lebedev50_binaural.dsp | declare name "Binaural decoder";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL)";
declare copyright "(c) Pierre Lecomte 2015";
// Description: Binaural decoder for a virtual 50-node Lebedev grid [1]. HRTFs of a Neumann KU-100 from [2].
// References:
//[1] Lecomte... | https://raw.githubusercontent.com/sekisushai/ambitools/2d21b7cc7cfe9bc35d91d51ec05bf9250372f0ce/Faust/src/hoa_decoder_lebedev50_binaural.dsp | faust | Description: Binaural decoder for a virtual 50-node Lebedev grid [1]. HRTFs of a Neumann KU-100 from [2].
References:
[1] Lecomte, P., Gauthier, P.-A., Langrenne, C., Garcia, A., & Berry, A. (2015). On the use of a Lebedev grid for Ambisonics. In Audio Engineering Society Convention 139. New York.
[2] B. Bernschütz,... | declare name "Binaural decoder";
declare version "1.0";
declare author "Pierre Lecomte";
declare license "GPL)";
declare copyright "(c) Pierre Lecomte 2015";
import("stdfaust.lib");
import("gui.lib");
M = 5;
mix(0) = par(i,(M+1)^2,h(i,0)):>_*volout;
mix(1) = par(i,(M+1)^2,h(i,1)):>_*volout;... |
3a56d586868ec9e084086a06646116008b802d0ca14056c3b37c49d4e8a0925a | simonvanderveldt/guitarix | lowpass_down.dsp |
import("stdfaust.lib");
import("reduce.lib");
import("guitarix.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[unit:dB]", -70, +5));
envelop = abs : max ~ (1.0/ma.SR) : reduce(max,4096) ; // : max(ba.db2linear(-70)) : ba.linear2db;
process = fi.lowpass(1,5631): fi.highpass(1,80): vme... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/lowpass_down.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; |
import("stdfaust.lib");
import("reduce.lib");
import("guitarix.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[unit:dB]", -70, +5));
process = fi.lowpass(1,5631): fi.highpass(1,80): vmeter1 ;
|
96dc3b31b4b5474dfe58a5350e564ef0cf297233cc0133ce7c946baee8bf46ba | simonvanderveldt/guitarix | drumseq.dsp | declare id "seq";
declare name "DrumSequencer";
declare category "Misc";
declare shortname "Drum";
declare description "Simple Drum Step Sequencer";
//https://github.com/josmithiii/faust-jos/tree/master/percussion
import("stdfaust.lib");
hat = (vgroup("hat_closed.dsp",component("hat_closed.dsp"))); // hat_closed.dsp... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/faust/drumseq.dsp | faust | https://github.com/josmithiii/faust-jos/tree/master/percussion
hat_closed.dsp
kick.dsp
snare.dsp
tom.dsp | declare id "seq";
declare name "DrumSequencer";
declare category "Misc";
declare shortname "Drum";
declare description "Simple Drum Step Sequencer";
import("stdfaust.lib");
gain = vslider("gain [tooltip: Volume level in decibels]",-20,-60,40,0.1) : si.smooth(0.999) : ba.db2linear;
process(x) = hat+kick+snare+tom : ... |
c084c87514994258906061c7fa05b684e476ceb60081af7fb04a0a4e51170e97 | simonvanderveldt/guitarix | bmfp.dsp | declare id "bmpf";
declare name "BigMuffFuzzPadel";
declare shortname "FuzzPadel";
declare category "Distortion";
declare description "BigMuffFuzzPadel";
import("guitarix.lib");
import("stdfaust.lib");
import("reduce.lib");
bigmuff = _<: filter1,filter2:>_ with {
tone = vslider("tone",0.5,0,1,0.01);
filt... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/bmfp.dsp | faust | fuzz(x) = x-0.15*x^2-0.15*x^3;
fuzz(x) = 1.5*x-0.5*x^3; | declare id "bmpf";
declare name "BigMuffFuzzPadel";
declare shortname "FuzzPadel";
declare category "Distortion";
declare description "BigMuffFuzzPadel";
import("guitarix.lib");
import("stdfaust.lib");
import("reduce.lib");
bigmuff = _<: filter1,filter2:>_ with {
tone = vslider("tone",0.5,0,1,0.01);
filt... |
0136b86d8ba78bc657fed6e8a0f9725e6173399a5ddbfafa5fd083d17a50e6e7 | simonvanderveldt/guitarix | dattorros_progenitor.dsp | declare id "dattorros_progenitor";
declare name "Plate Reverb";
declare category "Reverb";
//------------------------------------
//Based at:
//Effect Design Part 1: Reverberator and Other Filters
//JON DATTORRO, AES Member
//CCRMA, Stanford University, Stanford, CA, USA
//------------------------------------
impor... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/faust/dattorros_progenitor.dsp | faust | ------------------------------------
Based at:
Effect Design Part 1: Reverberator and Other Filters
JON DATTORRO, AES Member
CCRMA, Stanford University, Stanford, CA, USA
------------------------------------
Controls
Will be moved to .lib
Consts
Original sample rate, described in paper
Correct de.delay lines according ... | declare id "dattorros_progenitor";
declare name "Plate Reverb";
declare category "Reverb";
import("stdfaust.lib");
import("guitarix.lib");
max_predelay_ms = 200;
predelay = hslider("predelay ms[name:Predelay]", 0, 0, max_predelay_ms, 10);
excursion = hslider("excursion[name:Excursion]", 0, 0, 16, 0.5);
decay = hs... |
3a6357a8c6246446371cb120e6faae870737a5cadb55d50fd9d98b1d1030da66 | simonvanderveldt/guitarix | mbdel.dsp | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 ... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/plugins/mbdel.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 ... |
6a7b048c99f33412486c452f35c3e2b5f9fcfdb5a2347803b0b355e210ab7c87 | simonvanderveldt/guitarix | graphiceq.dsp | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reduce.lib");
//geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.));
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., ... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/graphiceq.dsp | faust | geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.)); | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reduce.lib");
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., 2828., 5657., 11384., 18110.));
g1 = vslider("g1[tooltip:gain (dB) below 31.25 Hz]", 0, -60, 5... |
ade77cdaee54cdb6f22eb610cabc707a87157a52ed6ed6659db37703229bb216 | simonvanderveldt/guitarix | mbe.dsp | declare id "mbe";
declare name "MultiBand Echo";
declare shortname "MB Echo";
declare category "Echo / Delay";
declare description "Multi Band Echo";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 , 20,... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/mbe.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbe";
declare name "MultiBand Echo";
declare shortname "MB Echo";
declare category "Echo / Delay";
declare description "Multi Band Echo";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 , 20,... |
5dd5ad7d9206f4ffce4da234d7149ca5a7ab96c2782bc051f83e91d09e7e2cea | simonvanderveldt/guitarix | mbd.dsp | declare id "mbd";
declare name "MultiBand Distortion";
declare shortname "MB Distortion";
declare category "Distortion";
declare description "MultiBand Distortion";
import("stdfaust.lib");
import("reduce.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hslider... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/mbd.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbd";
declare name "MultiBand Distortion";
declare shortname "MB Distortion";
declare category "Distortion";
declare description "MultiBand Distortion";
import("stdfaust.lib");
import("reduce.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hslider... |
211456365b223f0c97c9a276d90e4c054b35b026ebe24b9741c7d54fa9589c39 | simonvanderveldt/guitarix | mbclipper.dsp | declare id "mbclip";
declare name "MultiBand Clipper";
declare shortname "MB Clipper";
declare category "Distortion";
declare description "MultiBand Clipper";
import("stdfaust.lib");
import("reduce.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hslider("cros... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/plugins/mbclipper.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbclip";
declare name "MultiBand Clipper";
declare shortname "MB Clipper";
declare category "Distortion";
declare description "MultiBand Clipper";
import("stdfaust.lib");
import("reduce.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hslider("cros... |
84a58fbb2a81cfc8b0aba25a347802b6112276716060498740ba70a029c5063a | simonvanderveldt/guitarix | graphiceq.dsp | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reduce.lib");
//geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.));
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., ... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/faust/graphiceq.dsp | faust | geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.)); | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
import("reduce.lib");
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., 2828., 5657., 11384., 18110.));
g1 = vslider("g1[tooltip:gain (dB) below 31.25 Hz]", 0, -30, 2... |
e0f091c2b04ddca636d7ddb7d622b9de5ea09b6759195f39d83825b50b170910 | simonvanderveldt/guitarix | compressor.dsp | declare name "Compressor";
declare category "Guitar Effects";
/* Compressor unit. */
//declare name "compressor -- compressor/limiter unit";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("guitarix.lib");
import("reduce.lib");
/* Controls. */
// partition the controls into the... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/faust/compressor.dsp | faust | Compressor unit.
declare name "compressor -- compressor/limiter unit";
Controls.
partition the controls into these three groups
compressor controls: ratio, threshold and knee size
attack and release controls; clamped to a minimum of 1 sample
gain controls: make-up gain, compression gain meter
Compute the envel... | declare name "Compressor";
declare category "Guitar Effects";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("guitarix.lib");
import("reduce.lib");
comp_group(x) = hgroup("1-compression", x);
env_group(x) = vgroup("2-envelop", x);
gain_group(x) = vgroup("3-gain", x);
ratio =... |
7647bf9c496ec171eb0c116a48af06c8f4d62ae1a0b636bebda960d4e3348fa9 | simonvanderveldt/guitarix | mbchor.dsp | declare id "mbchor";
declare name "Multi Band Chorus";
declare shortname "MB Chorus";
declare category "Modulation";
declare description "Multi Band Chorus";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/plugins/mbchor.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbchor";
declare name "Multi Band Chorus";
declare shortname "MB Chorus";
declare category "Modulation";
declare description "Multi Band Chorus";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,... |
257e8917f439ade08c597a5bea821374f993757ed68262d32e3076646ab7b79a | simonvanderveldt/guitarix | mbdel.dsp | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 ... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/mbdel.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reduce.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 ... |
508e8b0d84891b1c083d6c1c456f8a12a80f171a215c821f1060d4458a5786c7 | simonvanderveldt/guitarix | mbreverb.dsp | declare id "mbe";
declare name "MultiBand Reverb";
declare shortname "MB Reverb";
declare category "Reverb";
declare description "Multi Band Reverb";
import("stdfaust.lib");
import("reduce.lib");
import("guitarix.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandp... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/mbreverb.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
-----------------------------------------------
freeverb by "Grame"
-----------------------------------------------
Filter Parameters
Reverb components
---------------------------------------------------------------- | declare id "mbe";
declare name "MultiBand Reverb";
declare shortname "MB Reverb";
declare category "Reverb";
declare description "Multi Band Reverb";
import("stdfaust.lib");
import("reduce.lib");
import("guitarix.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandp... |
fd606838df7e42c14f84c51ef979f95ef8f120876137fbce4d56013c9fc7b11b | simonvanderveldt/guitarix | mbc.dsp | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Comp";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reduce.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[nomidi:no]", -70, +5));
vmeter2(... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/plugins/mbc.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
Mono
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
Low end headsets: 13,10,4,8,11 (split... | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Comp";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reduce.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[nomidi:no]", -70, +5));
vmeter2(... |
cc517d00c06aff416940ef3ca1d687b0385f48751d3e75567146e9a133d2e1a5 | simonvanderveldt/guitarix | mbcs.dsp | declare id "mbcs";
declare name "Multi Band Compressor Stereo";
declare shortname "MB Comp St";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reduce.lib");
sel1 = hslider("Mode1[enum:Compress|Bypass|Mute][tooltip: Compre... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/plugins/mbcs.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
Stereo
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
Low end headsets: 13,10,4,8,11 (spl... | declare id "mbcs";
declare name "Multi Band Compressor Stereo";
declare shortname "MB Comp St";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reduce.lib");
sel1 = hslider("Mode1[enum:Compress|Bypass|Mute][tooltip: Compre... |
ff7e02f32313b2cb69e20d2f1247ea799e09840562e355a6799d6a86c3d6faf8 | simonvanderveldt/guitarix | mbc.dsp | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Compressor";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reduce.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[tooltip:no]", -70, +5));
v... | https://raw.githubusercontent.com/simonvanderveldt/guitarix/51ba3d2bba6118a7fbf67a56c30e860faa155d5f/trunk/src/LV2/faust/mbc.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
Mono
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
Low end headsets: 13,10,4,8,11 (split... | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Compressor";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reduce.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[tooltip:no]", -70, +5));
v... |
4f324017d7be0eba27be0c1173902f2cc1d930d4f70e7231af445f6548df5279 | Frando/rust-faust | volume.dsp | declare name "dbmeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
//-------------------------------------------------
// A dB Vumeter
//-------------------------------------------------
import("stdfaust.lib");
envelop = abs : max(ba.db2linear(-... | https://raw.githubusercontent.com/Frando/rust-faust/b3238eabdb45f77d1cd27bfbdb90818935e71cfd/examples/example-dbmeter-jack/dsp/volume.dsp | faust | -------------------------------------------------
A dB Vumeter
------------------------------------------------- | declare name "dbmeter";
declare version "1.0";
declare author "Grame";
declare license "BSD";
declare copyright "(c)GRAME 2006";
import("stdfaust.lib");
envelop = abs : max(ba.db2linear(-70)) : ba.linear2db : min(10) : max ~ -(320.0/ma.SR);
process = _ : envelop : vbargraph("channel0[unit:dB]", -70, 10)... |
878a682230747731509ba67cd589ca779d6c8489f8c9a8dd67d9cb575f75f483 | Frando/rust-faust | volume.dsp | declare name "volumecontrol";
declare version "1.0";
declare author "Franz Heinzmann";
declare license "BSD";
declare options "[osc:on]";
import("stdfaust.lib");
stereo(func) = _,_ : func(_),func(_) : _,_;
volumeM = *(vslider("volume", 0, -70, +4, 0.1) : ba.db2linear : si.smoo);
volume = ster... | https://raw.githubusercontent.com/Frando/rust-faust/b3238eabdb45f77d1cd27bfbdb90818935e71cfd/examples/example-jack/dsp/volume.dsp | faust | declare name "volumecontrol";
declare version "1.0";
declare author "Franz Heinzmann";
declare license "BSD";
declare options "[osc:on]";
import("stdfaust.lib");
stereo(func) = _,_ : func(_),func(_) : _,_;
volumeM = *(vslider("volume", 0, -70, +4, 0.1) : ba.db2linear : si.smoo);
volume = ster... | |
661f832787ac5bbb7ab2760704a51d3ca29b1a196b29dc435a718a610a074ff0 | jcelerier/guitarixlib | valve_rect.dsp | // dsp algorithm from swh ladspa valve_rect plugin (Steve Harrison)
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
sag = vslider("sag", 0, 0, 1, 0.01);
dist_p = vslider("dist", 0, 0, 1, 0.01);
process(x) = valve.vt(dist, q(x), x)
with {
dist = dist_p * 40 + 0.1;
q(x) = lp1tm1(x) * sag... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/valve_rect.dsp | faust | dsp algorithm from swh ladspa valve_rect plugin (Steve Harrison) |
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
sag = vslider("sag", 0, 0, 1, 0.01);
dist_p = vslider("dist", 0, 0, 1, 0.01);
process(x) = valve.vt(dist, q(x), x)
with {
dist = dist_p * 40 + 0.1;
q(x) = lp1tm1(x) * sag - lp2tm1(x) * 1.02 - 1.0 : clip(-1,-0.01);
lp(a) = *(1 - a) : +... |
91125e627ce23c7daff4941365672a7ee2aaf437043fd2d9e2fdf5b761443301 | jcelerier/guitarixlib | jconv_post.dsp | declare id "jconv";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
wet = vslider("wet_dry[name:wet/dry][tooltip:percentage of processed signal in output signal]", 100, 0, 100, 1) : /(100);
dry = 1 - wet;
deltadelay = vslider("diff_delay[name:Delta Delay][tooltip:delay left or right channel by... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/jconv_post.dsp | faust |
** We want to move the sound source to the right
** with increasing values of deltadelay; this means
** we have to delay the left channel
bug in faust (at least up to version 0.9.27)
rdelay = -deltadelay : max(0);
ldelay = deltadelay : max(0); | declare id "jconv";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
wet = vslider("wet_dry[name:wet/dry][tooltip:percentage of processed signal in output signal]", 100, 0, 100, 1) : /(100);
dry = 1 - wet;
deltadelay = vslider("diff_delay[name:Delta Delay][tooltip:delay left or right channel by... |
03a2ea4667ccc0512cb188db144649b0b996bbb5efcd660419cc50a26f973442 | jcelerier/guitarixlib | gxamp17.dsp | declare id "12AT7 feedback"; // in amp tube ba.selector
declare name "12AT7 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AT7 feedback
*/
... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/gxamp17.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AT7 feedback
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoothi(0.999);
... | declare name "12AT7 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
val(x) = valve.vt(dist, q(x), x)
with {
dist = 40.1;
q(x) = lp1tm1(x) * 1 - lp2tm1(x) * 1.02 - 1.0 : clip(-1,-0.01);
lp(a) = *(1 - a) : + ~ *(a);
lp1tm1 = abs <: lp(0.9... |
da9c8f49f353b5c0409d2191ae021754ae8723265e60d7e399c756f4c69499ed | jcelerier/guitarixlib | gxamp11.dsp | declare id "12AU7 feedback"; // in amp tube ba.selector
declare name "12AU7 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 feedback
*/
... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/gxamp11.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 feedback
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoothi(0.999);
... | declare name "12AU7 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
val(x) = valve.vt(dist, q(x), x)
with {
dist = 40.1;
q(x) = lp1tm1(x) * 1 - lp2tm1(x) * 1.02 - 1.0 : clip(-1,-0.01);
lp(a) = *(1 - a) : + ~ *(a);
lp1tm1 = abs <: lp(0.9... |
0b03d7e4ba520b94db2c241cb6f694cddebb95b3ebdd67b63728777e7675c9da | jcelerier/guitarixlib | gxamp9.dsp | declare id "12ax7 feedback"; // in amp tube ba.selector
declare name "12ax7 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 feedback
*/
... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/gxamp9.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 feedback
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoothi(0.999);
... | declare name "12ax7 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
val(x) = valve.vt(dist, q(x), x)
with {
dist = 40.1;
q(x) = lp1tm1(x) * 1 - lp2tm1(x) * 1.02 - 1.0 : clip(-1,-0.01);
lp(a) = *(1 - a) : + ~ *(a);
lp1tm1 = abs <: lp(0.9... |
79fc6cf6dcaeebc8c71fd17e74be5c8828c1ff4dcbbc8eadfa6adab86c6dffeb | jcelerier/guitarixlib | gxamp13.dsp | declare id "6DJ8 feedback"; // in amp tube ba.selector
declare name "6DJ8 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
val(x) = valve.vt(dist... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/gxamp13.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoothi(0.999);
preamp = vslider("... | declare name "6DJ8 feedback";
declare samplerate "96000";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
val(x) = valve.vt(dist, q(x), x)
with {
dist = 40.1;
q(x) = lp1tm1(x) * 1 - lp2tm1(x) * 1.02 - 1.0 : clip(-1,-0.01);
lp(a) = *(1 - a) : + ~ *(a);
lp1tm1 = abs <: lp(0.99... |
75be65d54d8593ffc401292d07848f6005b62547bb4972978efac096ef6c562d | jcelerier/guitarixlib | gxdistortion.dsp | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
F = 300; //nentry("split_low_freq", 250, 20, 600, 10);
F1 = 1200; //nentry("split_middle_freq", 650, 60... | https://raw.githubusercontent.com/jcelerier/guitarixlib/9c2947507cd13b82554020e669a85244e867d584/guitarix/gxdistortion.dsp | faust | nentry("split_low_freq", 250, 20, 600, 10);
nentry("split_middle_freq", 650, 600, 1250, 10);
nentry("split_high_freq", 1250, 1250, 12000, 10);
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************... | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("delays.lib");
import("guitarix.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1, xs)... |
fdee7e6b54256dd30f0b3694c0f1f88acfbdc4ddd5579056a67d12b38aee4a5e | HexHive/datAFLow | structure4chris.dsp | import("stdfaust.lib");
process = button("play")*no.noise : structure(4,4,200);
//--------------------------------------------------------------------------------------------------
// usage (osx):
// faust2caqt structure4chris.dsp
// open ./structure4chris.app
//---------------------------------------------------... | https://raw.githubusercontent.com/HexHive/datAFLow/b9f3cbc42b1970f8655817c9fb67b1eaba3ae4c0/evaluation/ddfuzz/seeds/faust/structure4chris.dsp | faust | --------------------------------------------------------------------------------------------------
usage (osx):
faust2caqt structure4chris.dsp
open ./structure4chris.app
--------------------------------------------------------------------------------------------------
---------------------------------------IMPLE... | import("stdfaust.lib");
process = button("play")*no.noise : structure(4,4,200);
structure(X,Y,D) = (connections(X,Y, 1,1) : nodes(X, Y)) ~ delaylines(X,Y,D-1) : listen(X,Y, 1,Y/2, X-1, Y/2);
connections(X, Y, x0, y0) = route(X*Y*4+1, X*Y*4,
par(x, X, par(y, Y, connections(x,y))),... |
a882726e5ff497c90cb19ac25abf7601126afa405490a9e0fef84cce06009ded | JDCAudio/Stray_virtual-synth | oscExperimentation1.0.dsp | import("stdfaust.lib");
//define samplerate
sr = ma.SR;
twopi = 2.0*ma.PI;
//define waveform in table
ts = 1<<16; //size = 65536 samples
time = (+(1) ~ _) , 1 : - ;
sinewave = ((float(time) / float(ts)) * twopi) : sin;
phase = os.phasor(ts,freq);
//read from table
sin_osc(freq) = rdtable(ts,sinewave,int(phase));
... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/oscExperimentation1.0.dsp | faust | define samplerate
define waveform in table
size = 65536 samples
read from table
generate a one sample impulse from the gate | import("stdfaust.lib");
sr = ma.SR;
twopi = 2.0*ma.PI;
time = (+(1) ~ _) , 1 : - ;
sinewave = ((float(time) / float(ts)) * twopi) : sin;
phase = os.phasor(ts,freq);
sin_osc(freq) = rdtable(ts,sinewave,int(phase));
trig = pm.impulseExcitation(reset);
freq = hslider("freq", 100, 0, 1600, 0.001);
process = sin_osc... |
7451e33a6449e5d23b82d7d023ca482ad86f3540b56accd2819ab7b2a9942587 | JDCAudio/Stray_virtual-synth | NoiseWave2.dsp | import("stdfaust.lib");
freq = hslider("Freq",440,50,2000,0.1);
rand = no.noise : ba.latch(ba.beat(60));
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,rel,gate)*gain*0.3)
with{
atk = hslider("[0]Attack[style:knob]",50,1,1000,1)*0.001;
dcy = hslider("[1]Decay[style:knob]",50,1,1000,1)*0.001;
sus = hsl... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/d8eec109c51547fd9bc7311bbd1a833791f39476/WaveGenerationTests/OriginalTests/NoiseWave2.dsp | faust | import("stdfaust.lib");
freq = hslider("Freq",440,50,2000,0.1);
rand = no.noise : ba.latch(ba.beat(60));
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,rel,gate)*gain*0.3)
with{
atk = hslider("[0]Attack[style:knob]",50,1,1000,1)*0.001;
dcy = hslider("[1]Decay[style:knob]",50,1,1000,1)*0.001;
sus = hsl... | |
e19fcec512ad52ada149cabc1697cbfe74c44907d105e3c53bd6d1929fbb0ac0 | JDCAudio/Stray_virtual-synth | oscExperimentation1.2.dsp | import("stdfaust.lib");
//define samplerate
twopi = 2.0*ma.PI;
//define base waveform in table
tableSize = 1<<16; //size = 65536 samples
time = (+(1) ~ _) , 1 : - ;
sinewave = ((float(time) / float(tableSize)) * twopi) : sin;
//Define index
readIndex = int(os.phasor(tableSize,freq));
writeIndex = readIndex : de.dela... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/oscExperimentation1.2.dsp | faust | define samplerate
define base waveform in table
size = 65536 samples
Define index
read from table | import("stdfaust.lib");
twopi = 2.0*ma.PI;
time = (+(1) ~ _) , 1 : - ;
sinewave = ((float(time) / float(tableSize)) * twopi) : sin;
readIndex = int(os.phasor(tableSize,freq));
writeIndex = readIndex : de.delay(32,32);
writeStream = no.noise;
sin_osc(freq) = rwtable(tableSize,sinewave,writeStream,writeIndex,readI... |
c08091cbb1d3aa44d031fa2bf839b1828c057f40eaa9c07de73938e8fa6b0eeb | JDCAudio/Stray_virtual-synth | polymidi.dsp | import("stdfaust.lib");
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,rel,gate)*gain*0.3)
with{
atk = hslider("[0]Attack[style:knob]",50,1,1000,1)*0.001;
dcy = hslider("[1]Decay[style:knob]",50,1,1000,1)*0.001;
sus = hslider("[2]Sustain[style:knob]",0.8,0.01,1,1);
rel = hslider("[3]Release[style:knob]"... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/polymidi.dsp | faust | import("stdfaust.lib");
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,rel,gate)*gain*0.3)
with{
atk = hslider("[0]Attack[style:knob]",50,1,1000,1)*0.001;
dcy = hslider("[1]Decay[style:knob]",50,1,1000,1)*0.001;
sus = hslider("[2]Sustain[style:knob]",0.8,0.01,1,1);
rel = hslider("[3]Release[style:knob]"... | |
227eb29743801c83701c2ef5b6b08bb683a685fb1eff45d2e3f465ce63fdd277 | JDCAudio/Stray_virtual-synth | polymidiam.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq),os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",0,0,3,1);
freq = hslider("[1]freq",440,50,2000,0.01);
};
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,rel,gate)*gain*... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/polymidiam.dsp | faust | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq),os.triangle(freq),os.square(freq),os.sawtooth(freq) : ba.selectn(4,wave))
with{
wave = nentry("[0]Waveform",0,0,3,1);
freq = hslider("[1]freq",440,50,2000,0.01);
};
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,rel,gate)*gain*... | |
4df1f362549c818ae5a425e5e36b441aa4809534c1996eaae3a897ecc9e45043 | JDCAudio/Stray_virtual-synth | VariableAmpList.dsp | import("stdfaust.lib");
//N = order of interpolation
N = 15;
//I = number of iterations for various parameters
I = N+1;
//x used to calculate current location in waveform
x = os.phasor(I, freq);
//initialize list of inteeger x values
xCoords = par(i,I,int(i));
//Sliders for all amplitudes of integer values
ampList = h... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/953e9fbb8c14f9a1072cddc0decf2af8231cd6c6/WaveGenerationTests/OriginalTests/VariableAmpList.dsp | faust | N = order of interpolation
I = number of iterations for various parameters
x used to calculate current location in waveform
initialize list of inteeger x values
Sliders for all amplitudes of integer values
do the interpolation
basic midi and envelope
gain = hslider("[4]gain",1,0,1,0.01); | import("stdfaust.lib");
N = 15;
I = N+1;
x = os.phasor(I, freq);
xCoords = par(i,I,int(i));
ampList = hgroup("[2]Amplitudes",par(i,I,vslider("A%i",0,-1,1,0.01)));
result = x, ampList : it.lagrangeInterpolation(N,xCoords);
freq = hslider("freq",300,20,3000,0.1);
envelope = hgroup("[1]Envelope",en.adsr(atk,dcy,sus,re... |
54a464dab6c1f79df83d361ba7f4b31893994908db8a4ad4806c9f5f419d27fd | JDCAudio/Stray_virtual-synth | VariableAmpClipped.dsp | import("stdfaust.lib");
//N = order of interpolation
N = 5;
//I = number of iterations for various parameters
I = N+1;
//x used to calculate current location in waveform
x = os.phasor(I, freq);
//initialize list of inteeger x values
xCoords = par(i,I,int(i));
//Sliders for all amplitudes of integer values
ampList = hg... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/953e9fbb8c14f9a1072cddc0decf2af8231cd6c6/WaveGenerationTests/OriginalTests/VariableAmpClipped.dsp | faust | N = order of interpolation
I = number of iterations for various parameters
x used to calculate current location in waveform
initialize list of inteeger x values
Sliders for all amplitudes of integer values
do the interpolation
basic midi and envelope
gain = hslider("[4]gain",1,0,1,0.01); | import("stdfaust.lib");
N = 5;
I = N+1;
x = os.phasor(I, freq);
xCoords = par(i,I,int(i));
ampList = hgroup("[2]Amplitudes",par(i,I,vslider("A%i",0,-1,1,0.01)));
interpResult = x, ampList : it.lagrangeInterpolation(N,xCoords);
result = ba.if(interpResult>1.0, 1.0, (ba.if(interpResult<-1.0, -1.0, interpResult)));
fr... |
6ab162bcc675bde743a58c6b11109d64f641580369b11f2fedb6d8df5525cb24 | JDCAudio/Stray_virtual-synth | NoiseWave1.dsp | import("stdfaust.lib");
triangleWave = waveform{0,0.25,0.5,0.75,1,0.75,0.5,0.25,0,-0.25,-0.5,-0.75,-1,-0.75,-.5,-0.25};
squareWave = waveform{0,1,1,1,1,1,1,0,-1,-1,-1,-1,-1,-1,-1,0};
testOsc(freq) = squareWave,int(os.phasor(16,freq)) : rdtable;
freq = hslider("freq",440,50,2000,0.01);
rIdx = os.phasor(16, freq);
w... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/d8eec109c51547fd9bc7311bbd1a833791f39476/WaveGenerationTests/OriginalTests/NoiseWave1.dsp | faust | process = triangleOsc(freq) * envelope; | import("stdfaust.lib");
triangleWave = waveform{0,0.25,0.5,0.75,1,0.75,0.5,0.25,0,-0.25,-0.5,-0.75,-1,-0.75,-.5,-0.25};
squareWave = waveform{0,1,1,1,1,1,1,0,-1,-1,-1,-1,-1,-1,-1,0};
testOsc(freq) = squareWave,int(os.phasor(16,freq)) : rdtable;
freq = hslider("freq",440,50,2000,0.01);
rIdx = os.phasor(16, freq);
w... |
1aabf99aa5761b7df7532d2286a1c9943f577b8754ff07a22242a525fea5ee6a | JDCAudio/Stray_virtual-synth | SubtractivePROG.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am, no.noise : ba.selectn(5,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,4,1);
am = ((1-amDepth) + os.osc(amFreq)*... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/SubtractivePROG.dsp | faust | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am, no.noise : ba.selectn(5,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,4,1);
am = ((1-amDepth) + os.osc(amFreq)*... | |
03dc468988e1711f8c9b9826363097ca8e002013c5445277ed4859ba371ac69c | JDCAudio/Stray_virtual-synth | polymidiamfmPROG.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am : ba.selectn(4,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,3,1);
am = ((1-amDepth) + os.osc(amFreq)*0.5+0.5)*a... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/polymidiamfmPROG.dsp | faust | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am : ba.selectn(4,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,3,1);
am = ((1-amDepth) + os.osc(amFreq)*0.5+0.5)*a... | |
c4271d5a9275481ee30f678a0ca106c4f498c5021d27414ee3a0216409b7748b | JDCAudio/Stray_virtual-synth | SubtractiveFixed.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am, no.noise : ba.selectn(5,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,4,1);
am = ((1-amDepth) + os.osc(amFreq)*... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/SubtractiveFixed.dsp | faust | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am, no.noise : ba.selectn(5,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,4,1);
am = ((1-amDepth) + os.osc(amFreq)*... | |
d9dec7606a15ccb94e0c5e10a9b84a661318d7e68bf9f1dee76cbbfde2811c5d | JDCAudio/Stray_virtual-synth | Subtractive.dsp | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am, no.noise : ba.selectn(5,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,4,1);
am = ((1-amDepth) + os.osc(amFreq)*... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/05d2947279ac4b170d71f6604c9dd9ca6d6bfc15/FaustTests/FaustFamiliarization/Subtractive.dsp | faust | import("stdfaust.lib");
waveGenerator = hgroup("[0]Wave Generator",os.osc(freq+fm)*am,os.triangle(freq+fm)*am,os.square(freq+fm)*am,os.sawtooth(freq+fm)*am, no.noise : ba.selectn(5,wave))
with{
freq = hslider("[0]freq",440,50,2000,0.01);
wave = nentry("[1]Waveform",0,0,4,1);
am = ((1-amDepth) + os.osc(amFreq)*... | |
5aefa18fac1ed85b8e7e2c81628f6f0e15db3537c21aab383e0192fd72bc4303 | JDCAudio/Stray_virtual-synth | AmpList.dsp | import("stdfaust.lib");
//perlin style noise begins with predefined values at set integers
//test waveforms
yCoords1 = (0, 0.5, 1.0, 0.5, 0, -0.5, -1.0, -0.5);
yCoords2 = (0, 1.0, 1.0, 1.0, 0, -1.0, -1.0, -1.0);
yCoords3 = (0, 0.0, 1.0, 0.0, 0, 0.0, -1.0, 0.0);
yCoords4 = (0, 1.0, 0.75, 0.25, 0, -0.25, -0.75, -1.0);
... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/a2b38509b36e6fe675f82b89f3347ab207ffd812/WaveGenerationTests/OriginalTests/AmpList.dsp | faust | perlin style noise begins with predefined values at set integers
test waveforms
yCoords6 = ampList;
No lists in faust, use paralell
Use interpolation to find in-between values
x , yCoords : lagrangeInterpolation(N, xCoordsList) : _
N: order of the interpolator, known at compile-time
xCoordsList: a list of N + 1 elemen... | import("stdfaust.lib");
yCoords1 = (0, 0.5, 1.0, 0.5, 0, -0.5, -1.0, -0.5);
yCoords2 = (0, 1.0, 1.0, 1.0, 0, -1.0, -1.0, -1.0);
yCoords3 = (0, 0.0, 1.0, 0.0, 0, 0.0, -1.0, 0.0);
yCoords4 = (0, 1.0, 0.75, 0.25, 0, -0.25, -0.75, -1.0);
yCoords5 = (0,no.noise,no.noise,no.noise,0,no.noise,no.noise,no.noise);
ampList... |
69608704ca0fbdfe34a3259e1f862e57c96a719e0b381f6c1570e822eae78b3c | JDCAudio/Stray_virtual-synth | ModListVariableWave.dsp | import("stdfaust.lib");
modF0 = vslider("h:Modulation/h:[1]Modulation Frequency/[0]mod0[style:knob]",0,0,20,0.01);
modF1 = vslider("h:Modulation/h:[1]Modulation Frequency/[1]mod1[style:knob]",0,0,20,0.01);
modF2 = vslider("h:Modulation/h:[1]Modulation Frequency/[2]mod2[style:knob]",0,0,20,0.01);
modF3 = vslider("h:... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/9571e2e12286c75ae495205546dfcfeb63449fe9/WaveGenerationTests/lfoAmplitudeControl/ModListVariableWave.dsp | faust | No lists in faust, use paralell
Use interpolation to find in-between values
x , yCoords : lagrangeInterpolation(N, xCoordsList) : _
N: order of the interpolator, known at compile-time
xCoordsList: a list of N + 1 elements determining the x-axis spacing of the points, known at compile-time
x: an x-axis position to inte... | import("stdfaust.lib");
modF0 = vslider("h:Modulation/h:[1]Modulation Frequency/[0]mod0[style:knob]",0,0,20,0.01);
modF1 = vslider("h:Modulation/h:[1]Modulation Frequency/[1]mod1[style:knob]",0,0,20,0.01);
modF2 = vslider("h:Modulation/h:[1]Modulation Frequency/[2]mod2[style:knob]",0,0,20,0.01);
modF3 = vslider("h:... |
acdcfb1970c817839d3e00429b2547669bf38012f8e8d76a617034474ec44833 | JDCAudio/Stray_virtual-synth | ModListVariableWave(CleanedUp).dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/9571e2e12286c75ae495205546dfcfeb63449fe9/WaveGenerationTests/lfoAmplitudeControl/ModListVariableWave(CleanedUp).dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Modulation/h:[1]Modulation Frequency/[0]mod0[style:knob]",0,0,20,0.01);
modF1 = vslider("h:Modulation/h:[1]Modulation Frequency/[1]mod1[style:knob]",0,0,20,0.01);
modF2 = vslider("h:Modulation/h:[1]Modulation Frequency/[2]mod2[style:knob]",0,0,20,0.01);
modF3 = vslider("h:Mo... |
a444bfd67842397b19ab209be6d97e669da3f72e71e2066ba53e45f9de3d3a3b | JDCAudio/Stray_virtual-synth | withRandomLFO-1.dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/9571e2e12286c75ae495205546dfcfeb63449fe9/WaveGenerationTests/lfoAmplitudeControl/withRandomLFO-1.dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Modulation/h:[1]Modulation Frequency/[0]mod0[style:knob]",0.001,0,20,0.001);
modF1 = vslider("h:Modulation/h:[1]Modulation Frequency/[1]mod1[style:knob]",0.001,0,20,0.001);
modF2 = vslider("h:Modulation/h:[1]Modulation Frequency/[2]mod2[style:knob]",0.001,0,20,0.001);
modF3 ... |
4ba6ad48b8309be1fce20a64977ddfcdd96151bb895538be63381560a0fcc6cf | JDCAudio/Stray_virtual-synth | smoothCrossing.dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/213d5e2abccbd6a22bd0d5e560956c49c08bbde1/WaveGenerationTests/smoothCrossing.dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[0]P0",0.001,0.001,20,0.001);
modF1 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[1]P1",0.001,0.001,20,0.001);
modF2 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[2]P2",0.001,0.001,20... |
f0774033715d541ddac2a20a436d0a679169f8105308322c428cd24d0a60f991 | JDCAudio/Stray_virtual-synth | withRandomLFO-2.dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/9571e2e12286c75ae495205546dfcfeb63449fe9/WaveGenerationTests/lfoAmplitudeControl/withRandomLFO-2.dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Modulation/h:[1]Modulation Frequency/[0]mod0[style:knob]",0.001,0.001,20,0.001);
modF1 = vslider("h:Modulation/h:[1]Modulation Frequency/[1]mod1[style:knob]",0.001,0.001,20,0.001);
modF2 = vslider("h:Modulation/h:[1]Modulation Frequency/[2]mod2[style:knob]",0.001,0.001,20,0.... |
63688ad2657b7bacdbee84d97d976360d176aee9028664cd3f804cc465c917c2 | JDCAudio/Stray_virtual-synth | stray_1_0.dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/c0771fc89a9c64eae9faadeda79b5646a673742b/Stray/1_0/FaustDSP/stray_1_0.dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[0]P0 Freq[tooltip:Frequency of the LFO controlling Point 0 of the Waveform]",0.001,0.001,20,0.001);
modF1 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[1]P1 Freq[tooltip:Frequency of the LFO controlling... |
6fea328bb313147f547e35d895fa1bd44b7d8484d04b134003de9823e2c8207a | JDCAudio/Stray_virtual-synth | stray_1_2.dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/e2d263b2b50bd9ac364d9160c284039358d0fce5/Stray/1_2/FaustDSP/stray_1_2.dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[0]P0 Freq[tooltip:Frequency of the LFO controlling Point 0 of the Waveform][unit:Hz]",0.001,0.001,20,0.001);
modF1 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[1]P1 Freq[tooltip:Frequency of the LFO co... |
bef911ad0b1bffb633efd6d52bedfb0b5cb14a9a2056798f41ea6733e1ef2973 | JDCAudio/Stray_virtual-synth | stray_1_1.dsp | import("stdfaust.lib");
/*MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequenc... | https://raw.githubusercontent.com/JDCAudio/Stray_virtual-synth/dedea5c43e977f95afc05c9597567cdf0a830b73/Stray/1_1/FaustDSP/stray_1_1.dsp | faust | MODULATION SECTION:
Each group of four modulation parameters controls a single variable within the ampList
Variables modW0-modW3 are used to select the oscillating waveform (sin, tri, saw)
Variables modA0-modA3 determine the amplitude of said waves
Variables modF0-modF3 determine the frequency of oscillation for that p... | import("stdfaust.lib");
modF0 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[0]P0 Freq[tooltip:Frequency of the LFO controlling Point 0 of the Waveform][unit:Hz]",0.001,0.001,20,0.001);
modF1 = vslider("h:Wave Point Control/h:[0]Point Oscillation Frequency/[1]P1 Freq[tooltip:Frequency of the LFO co... |
c6928866c9d2be8a5fad37cfdec47052032d38957643841878455d5a13712f26 | Trzyszcz/Langley | hihat.dsp | declare name "hihat";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("frequency", 440, 20, 20000, 0.001);
gain = nentry("gain", 0.3, 0, 1, 0.001);
gate = button("gate");
dry_sound = ( (gate : en.ar(0.02, 0.1*gain)) * gain * no.pink_noise ) : fi.highpass(3, 7.5*freq) : fi.lowpass(2, 7000);
wet_sound = 0... | https://raw.githubusercontent.com/Trzyszcz/Langley/21824b34f50f17ec2984ba9f1845a6ef4b3ac0ec/Instruments/Hihat/hihat.dsp | faust | declare name "hihat";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("frequency", 440, 20, 20000, 0.001);
gain = nentry("gain", 0.3, 0, 1, 0.001);
gate = button("gate");
dry_sound = ( (gate : en.ar(0.02, 0.1*gain)) * gain * no.pink_noise ) : fi.highpass(3, 7.5*freq) : fi.lowpass(2, 7000);
wet_sound = 0... | |
ea87f4e74f23982826fc8ec8a6e5d7fbf82d0325723644a67e89543ad78ca688 | Trzyszcz/Langley | Normik3.dsp | declare name "normik3";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
freq... | https://raw.githubusercontent.com/Trzyszcz/Langley/21824b34f50f17ec2984ba9f1845a6ef4b3ac0ec/Instruments/Normie/Normik3.dsp | faust | declare name "normik3";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
freq... | |
6ee5616dc5f056aaef57064ffdbdcf7ae5eb608d3aa12c99c6d80bdb2f9df2fd | Trzyszcz/Langley | uan.dsp | declare name "Uan";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
Envelope ... | https://raw.githubusercontent.com/Trzyszcz/Langley/8146c5e9fff7b158736e420915157bb1158c5887/Instruments/Uan/uan.dsp | faust | declare name "Uan";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
Envelope ... | |
a221747c1972626c35c70eecf0bb260cb6a473232dbba7d587059cb4291e3fa1 | Trzyszcz/Langley | mou.dsp | declare name "Mou";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
Envelope ... | https://raw.githubusercontent.com/Trzyszcz/Langley/21824b34f50f17ec2984ba9f1845a6ef4b3ac0ec/Instruments/Mou/mou.dsp | faust | is x between y and z | declare name "Mou";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
Envelope ... |
44ac093c65bae102dc1a15b53380c043bfa593ed37e529070c5c81e759ec7ee8 | Trzyszcz/Langley | shash.dsp | declare name "Shash";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 1);
gain = nentry("gain", 0.3, 0, 10, 0.01): si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01) : si.smoo;
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01) : si.smoo... | https://raw.githubusercontent.com/Trzyszcz/Langley/9c178deb946ef4822ba9c56368b7d20c18bbf2b8/Instruments/Shash/shash.dsp | faust | declare name "Shash";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 1);
gain = nentry("gain", 0.3, 0, 10, 0.01): si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01) : si.smoo;
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01) : si.smoo... | |
59ad7bc3f566101e29bdca4cb11f7143dc337343032a3bfe8d5f21e96e548e70 | Trzyszcz/Langley | gutter.dsp | declare name "gutter";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
filres = nen... | https://raw.githubusercontent.com/Trzyszcz/Langley/25867936f5d0bf7b1b21969db6f58fc3a66c791b/Instruments/Gutter/gutter.dsp | faust | some old stuff, sorry for keeping it
basictimbre(x) = (os.sawtooth(x) + (1/2)*os.sawtooth(2*x) + (1/3)*os.sawtooth(3*x)) : fi.lowpass(1, (8*RightHorizontal + 4)*x);
is_bet(x, y, z) = (x >= y) & (x < z); //is x between y and z
distortion(x) =
(x < -0.08905) * ( -1/4 * (1 - ( (1 - abs(x) - 0.032847) ^ 12) ) + 0.01) ... | declare name "gutter";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
filres = nen... |
7140731303922a23b2d9c050b1754e3da469a19615dd7406bac7c24217042e23 | Trzyszcz/Langley | distorgan.dsp | declare name "Distorgan";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
LeftPush ... | https://raw.githubusercontent.com/Trzyszcz/Langley/c695120d16615884be94a58ff547e5c443313630/Instruments/Distorgan/distorgan.dsp | faust | is x between y and z | declare name "Distorgan";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
LeftPush ... |
378f872aaa1ce2b3e8a87d1c648422005451fa9571d57356e08aa877bfdd6e94 | Trzyszcz/Langley | vang.dsp | declare name "Vang";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 1);
gain = nentry("gain", 0.3, 0, 10, 0.01): si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01) : si.smoo;
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
LeftPush... | https://raw.githubusercontent.com/Trzyszcz/Langley/d37f30e9c8713a258894421d889f6000df29d495/Instruments/Vang/vang.dsp | faust | declare name "Vang";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 1);
gain = nentry("gain", 0.3, 0, 10, 0.01): si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01) : si.smoo;
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
LeftPush... | |
a8c375be42e2f1dba73765e35f344d7935428871b091514785050c4bcc9a829b | Trzyszcz/Langley | organ.dsp | declare name "Organ";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
LeftPush = bu... | https://raw.githubusercontent.com/Trzyszcz/Langley/25867936f5d0bf7b1b21969db6f58fc3a66c791b/Instruments/Organ/organ.dsp | faust | is x between y and z | declare name "Organ";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
LeftVertical = hslider("leftvertical", 0.5, 0, 1, 0.01);
LeftPush = bu... |
fa25be148c50e1549c8bcf28664f73dd557e055f2455dde5ff97eb6ae0999de0 | Trzyszcz/Langley | testmou2.dsp | declare name "TestMou2";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
initgain = nentry("initgain", 0.3, 0, 10, 0.01) : si.smoo;
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
Right... | https://raw.githubusercontent.com/Trzyszcz/Langley/21824b34f50f17ec2984ba9f1845a6ef4b3ac0ec/Instruments/TestMou2/testmou2.dsp | faust | is x between y and z | declare name "TestMou2";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
initgain = nentry("initgain", 0.3, 0, 10, 0.01) : si.smoo;
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
Right... |
5af789383c8c3fe790d5918fd6ab9330862d3ef6629a719c7a69770ff7bcbee3 | Trzyszcz/Langley | testmou.dsp | declare name "TestMou";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
Envel... | https://raw.githubusercontent.com/Trzyszcz/Langley/21824b34f50f17ec2984ba9f1845a6ef4b3ac0ec/Instruments/TestMou/testmou.dsp | faust | is x between y and z | declare name "TestMou";
declare nvoices "16";
import("stdfaust.lib");
freq = nentry("freq", 440, 20, 20000, 0.01);
gain = nentry("gain", 0.3, 0, 10, 0.01) : si.smoo;
gate = button("gate");
RightHorizontal = hslider("righthorizontal", 0.5, 0, 1, 0.01);
RightVertical = hslider("rightvertical", 0.5, 0, 1, 0.01);
Envel... |
2a1a7174da8f060039c6b9ad0dc1613a28ae9f67be267b309daca4d0fb9b957a | beataburreau/FAUST-signal-graphs-goes-Haskell | bell.dsp | declare filename "bellModel.dsp";
declare name "bellModel";
import("stdfaust.lib");
tf22(b0,b1,b2,a1,a2) = // tf2, direct-form 2:
_ : (((_,_,_:>_)~*(-a1)<:mem,*(b0))~*(-a2))
: (_<:mem,*(b1)),_ : *(b2),_,_ :> _;
modeFilter(freq,t60,gain) = tf22(b0,b1,b2,a1,a2)*gain
with{
b0 = 1;
b1 = 0;
b2 = -1;
w... | https://raw.githubusercontent.com/beataburreau/FAUST-signal-graphs-goes-Haskell/6f468716515a5047e290864b5af448c14d4c03d4/test/test-files/bell.dsp | faust | tf2, direct-form 2:
standardBellModel(nModes,exPos,t60) = _ <:
par(i,nModes,modeFilter(modesFreqs(i),modesT60s(i),modesGains(int(exPos),i)))
:> /(nModes) | declare filename "bellModel.dsp";
declare name "bellModel";
import("stdfaust.lib");
_ : (((_,_,_:>_)~*(-a1)<:mem,*(b0))~*(-a2))
: (_<:mem,*(b1)),_ : *(b2),_,_ :> _;
modeFilter(freq,t60,gain) = tf22(b0,b1,b2,a1,a2)*gain
with{
b0 = 1;
b1 = 0;
b2 = -1;
w = 2*ma.PI*freq/ma.SR;
r = pow(0.001,1/floa... |
654417800b99066c25481b4b12c1d9f07aeaffd72c15c4b19e8b0cce7186fa5b | beataburreau/FAUST-signal-graphs-goes-Haskell | bellModel_oneWave.dsp | declare filename "bellModel_oneWave.dsp";
declare name "bellModel_oneWave";
import("stdfaust.lib");
tf22(b0,b1,b2,a1,a2) = // tf2, direct-form 2:
_ : (((_,_,_:>_)~*(-a1) : + (1000) : - (1000) <:mem,*(b0))~*(-a2))
: (_<:mem,*(b1)),_ : *(b2),_,_ :> _;
modeFilter(freq,t60,gain) = tf22(b0,b1,b2,a1,a2)*gain
with{... | https://raw.githubusercontent.com/beataburreau/FAUST-signal-graphs-goes-Haskell/6f468716515a5047e290864b5af448c14d4c03d4/test/test-files/bellModel_oneWave.dsp | faust | tf2, direct-form 2:
standardBellModel(nModes,exPos,t60) = modeFilter(modesFreqs(0),modesT60s(0),modesGains(int(exPos),0))
standardBellModel(nModes,exPos,t60) = _ <:
par(i,nModes,modeFilter(modesFreqs(i),modesT60s(i),modesGains(int(exPos),i)))
:> /(nModes) | declare filename "bellModel_oneWave.dsp";
declare name "bellModel_oneWave";
import("stdfaust.lib");
_ : (((_,_,_:>_)~*(-a1) : + (1000) : - (1000) <:mem,*(b0))~*(-a2))
: (_<:mem,*(b1)),_ : *(b2),_,_ :> _;
modeFilter(freq,t60,gain) = tf22(b0,b1,b2,a1,a2)*gain
with{
b0 = 1;
b1 = 0;
b2 = -1;
w = 2*ma... |
5639c2c26de2f8c58a3cbc936091840410a685a255e374e584d797b8efcadd99 | SputnikStan5/Lua-Stk | midi_trigger.dsp | // midi-trigger.dsp
//
// Henrik von Coler
// 2020-05-17
import("stdfaust.lib");
freq = nentry("freq",200,40,2000,0.01) : si.polySmooth(gate,0.999,2);
gain = nentry("gain",1,0,1,0.01) : si.polySmooth(gate,0.999,2);
gate = button("gate") : si.smoo;
process = vgroup("synth",os.sawtooth(freq)*gain*gate <: _,_);
... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/sound_synthesis_faust/faust/Control/midi_trigger.dsp | faust | midi-trigger.dsp
Henrik von Coler
2020-05-17
import("stdfaust.lib");
freq =100;
hslider("frequency[midi:ctrl 48]",100,20,1000,0.1) : si.smoo;
trigger = 1 when MIDI key pressed
= 0 when released
trig = button("trigger[midi:key 0,1]");
process = os.osc(freq) * en.arfe(0.01, 1, 0,trig) <: _,_ ; |
import("stdfaust.lib");
freq = nentry("freq",200,40,2000,0.01) : si.polySmooth(gate,0.999,2);
gain = nentry("gain",1,0,1,0.01) : si.polySmooth(gate,0.999,2);
gate = button("gate") : si.smoo;
process = vgroup("synth",os.sawtooth(freq)*gain*gate <: _,_);
|
6bb38e678f1a6ae9656028d217c4cc0455116e1b66ae370eecc7831dac3f15b3 | SputnikStan5/Lua-Stk | feedback_minimal.dsp | import("stdfaust.lib");
process = + ~ (_*0.1) ; | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/sound_synthesis_faust/faust/Basics/feedback_minimal.dsp | faust | import("stdfaust.lib");
process = + ~ (_*0.1) ; | |
256060817f7439039e0aecd8e15d86187c0b580a322d84dd0cdbb5b5bec65ef9 | SputnikStan5/AudioLAB | sequential_example.dsp | import("stdfaust.lib");
freq = hslider("frequency",100, 10, 1000, 0.001) : si.smoo;
sig = 0.5*os.square(50);
filt = fi.lowpass(5,freq);
process = sig:filt;
| https://raw.githubusercontent.com/SputnikStan5/AudioLAB/c12684b16f4d27dc3c33e63986611923821117d2/Faust/Library/DSP/sound_synthesis_faust/faust/Basics/sequential_example.dsp | faust | import("stdfaust.lib");
freq = hslider("frequency",100, 10, 1000, 0.001) : si.smoo;
sig = 0.5*os.square(50);
filt = fi.lowpass(5,freq);
process = sig:filt;
| |
d2bcaf0b320dd6f80fd02164c0f5050b0ef705aae9b13f49b4f2ffb9579d1967 | SputnikStan5/AudioLAB | quad_spat.dsp | declare name "quad_spat";
declare author "HvC";
import("stdfaust.lib");
angle = hslider("angle", 0.0, 0, 1, 0.01);
distance = hslider("distance", 0.5, 0, 1, 0.01);
process = vgroup("quad_spat", sp.spat(4, angle, distance)); | https://raw.githubusercontent.com/SputnikStan5/AudioLAB/c12684b16f4d27dc3c33e63986611923821117d2/Faust/Library/sound_synthesis_faust/faust/Spatial/quad_spat.dsp | faust | declare name "quad_spat";
declare author "HvC";
import("stdfaust.lib");
angle = hslider("angle", 0.0, 0, 1, 0.01);
distance = hslider("distance", 0.5, 0, 1, 0.01);
process = vgroup("quad_spat", sp.spat(4, angle, distance)); | |
94e3662ed35a20673296cfcdea95167f9d512547e3660f7397bd1f1de30ff3c1 | SputnikStan5/Lua-Stk | feedback_example.dsp | import("stdfaust.lib");
// two parameters as horizontal sliders
gain = hslider("Gain",0, 0, 1, 0.01);
delay = hslider("Delay",0, 0, 10000, 1);
// source signal is a saw
sig = os.lf_imptrain(1);
// the processing function
process = sig : + ~ (gain * (_ ,delay : @)) ; | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/sound_synthesis_faust/faust/Basics/feedback_example.dsp | faust | two parameters as horizontal sliders
source signal is a saw
the processing function | import("stdfaust.lib");
gain = hslider("Gain",0, 0, 1, 0.01);
delay = hslider("Delay",0, 0, 10000, 1);
sig = os.lf_imptrain(1);
process = sig : + ~ (gain * (_ ,delay : @)) ; |
22841fb2b0cbef82d44b4a18d38ba4c678204fa79949e15b29867658fa805509 | SputnikStan5/Lua-Stk | midi_example.dsp | // midi-example.dsp
//
// Control a sine wave frequency with a MIDI controller.
//
// Henrik von Coler
// 2020-05-17
import("stdfaust.lib");
freq = hslider("frequency[midi:ctrl 48]",100,20,1000,0.1) : si.smoo;
process = os.osc(freq) <: _,_ ; | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Control/midi_example.dsp | faust | midi-example.dsp
Control a sine wave frequency with a MIDI controller.
Henrik von Coler
2020-05-17 |
import("stdfaust.lib");
freq = hslider("frequency[midi:ctrl 48]",100,20,1000,0.1) : si.smoo;
process = os.osc(freq) <: _,_ ; |
33b8b885d5fb375c8b28188eba2389bb1251ec18f41b73bba7b0aa5c1e720add | SputnikStan5/Lua-Stk | merging_example.dsp | import("stdfaust.lib");
// create four sine waves
// with arbitrary frequencies
s1 = 0.2*os.osc(120);
s2 = 0.2*os.osc(340);
s3 = 0.2*os.osc(1560);
s4 = 0.2*os.osc(780);
// merge them to two signals
process = s1,s2,s3,s4 :> _;
| https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Basics/merging_example.dsp | faust | create four sine waves
with arbitrary frequencies
merge them to two signals | import("stdfaust.lib");
s1 = 0.2*os.osc(120);
s2 = 0.2*os.osc(340);
s3 = 0.2*os.osc(1560);
s4 = 0.2*os.osc(780);
process = s1,s2,s3,s4 :> _;
|
574bb99e8a67f4bd67557a85f98e8670c3044deefd2e5cbdbd41c37b42dea060 | SputnikStan5/Lua-Stk | n_spat.dsp | import("stdfaust.lib");
speakers = (-45, 45, 135, -135);
n = 4;
angle = hslider("angle", 0.0, -180, 180, 0.01);
distance = hslider("distance", 0.5, 0, 10, 0.01);
process = _ <: par(i, n, *( scaler(i, n, angle, distance) : si.smooth(0.9999) ))
with {
scaler(i, n, angle, distance) = (distance/2.0+0.5)
... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Spatial/n_spat.dsp | faust | import("stdfaust.lib");
speakers = (-45, 45, 135, -135);
n = 4;
angle = hslider("angle", 0.0, -180, 180, 0.01);
distance = hslider("distance", 0.5, 0, 10, 0.01);
process = _ <: par(i, n, *( scaler(i, n, angle, distance) : si.smooth(0.9999) ))
with {
scaler(i, n, angle, distance) = (distance/2.0+0.5)
... | |
e725b8af300309cb813dced045f5456ec8dbca4b65e975e264f7f0132555fe68 | SputnikStan5/Lua-Stk | sine_example.dsp | // sine_example.dsp
//
// Henrik von Coler
// 2020-04-21
import("stdfaust.lib");
// input parameters with GUI elements
freq = hslider("frequency",100, 10, 1000, 0.001);
gain = hslider("gain[style:knob]",0.5, 0, 1, 0.001);
// a sine oscillator with controllable freuency and aplitude:
process = os.osc(freq)*gain; | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Basics/sine_example.dsp | faust | sine_example.dsp
Henrik von Coler
2020-04-21
input parameters with GUI elements
a sine oscillator with controllable freuency and aplitude: |
import("stdfaust.lib");
freq = hslider("frequency",100, 10, 1000, 0.001);
gain = hslider("gain[style:knob]",0.5, 0, 1, 0.001);
process = os.osc(freq)*gain; |
139b1d52361a466abef6d50e01134ba8fd1ee4a0556f77efa153ea7da4deaeef | SputnikStan5/Lua-Stk | sawtooth_filter.dsp | // sawtooth-filter.dsp
//
// First steps with a VCO-VCA-VCF setup.
// The three modules are connected in series.
//
// No anti-aliasing!
//
// - steady sound
// - control over f0, cutoff, resonance, gain
//
// Henrik von Coler
// 2020-05-17
import("stdfaust.lib");
////////////////////////////////////////////////////... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Subtractive/sawtooth_filter.dsp | faust | sawtooth-filter.dsp
First steps with a VCO-VCA-VCF setup.
The three modules are connected in series.
No anti-aliasing!
- steady sound
- control over f0, cutoff, resonance, gain
Henrik von Coler
2020-05-17
////////////////////////////////////////////////////////////////////////
Control Parameters
/////////... |
import("stdfaust.lib");
cutoff = hslider("Cutoff [midi:ctrl 48]", 100, 5, 6000, 0.001):si.smoo;
f0 = hslider("Pitch[midi:ctrl 49]", 100, 5, 500, 0.001):si.smoo;
q = hslider("Q[midi:ctrl 50]", 1, 0.1, 100, 0.01):si.smoo;
gain = hslider("Gain[midi:ctrl 5... |
6209aaf1211651b14b933ba1addfaf49cd7d28782a5ba38ff84872b37d0da1d1 | SputnikStan5/Lua-Stk | fm-simple.dsp | // fm-simple.dsp
//
// 2-operator FM synthesis
//
// - with trigger
// - dynamic modulation index
// through temporal envelope
//
// Henrik von Coler
// 2020-05-11
import("stdfaust.lib");
/////////////////////////////////////////////////////////
// UI ELEMENTS
/////////////////////////////////////////////////////... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Modulation/fm-simple/fm-simple.dsp | faust | fm-simple.dsp
2-operator FM synthesis
- with trigger
- dynamic modulation index
through temporal envelope
Henrik von Coler
2020-05-11
///////////////////////////////////////////////////////
UI ELEMENTS
///////////////////////////////////////////////////////
a slider for the first release time
a slider f... |
import("stdfaust.lib");
trigger = button("Trigger");
f_1 = hslider("OP 1 Frequency",100,0.01,1000,0.1);
f_2 = hslider("OP 2 Frequency",100,0.01,1000,0.1);
ind_1 = hslider("Modulation Index",0,0,1000,0.1);
r1 = hslider("Release 1",0.5,0.01,5,0.01);
r2 = hslider("Release 2",0.5,0.01,5,0.01);
am... |
e4142efcecf501c169929bb9130ad51442c12f9cc9c53f837d77202b08be37f7 | SputnikStan5/Lua-Stk | trigger_phasor.dsp | ///
// towards a hard-synced oscillator
//
// based on:
// Synchronous Programming in Audio Processing:
// A Lookup Table Oscillator Case Study
//
// no anti-aliasing
//
// HvC
// 2020-08-29
//import( "stdfaust.lib" ) ;
import( "all.lib" ) ;
// gate and single sample impulse
gater = button ("gater");
trig = pm.impu... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/sound_synthesis_faust/faust/Oscillators/trigger_phasor.dsp | faust | /
towards a hard-synced oscillator
based on:
Synchronous Programming in Audio Processing:
A Lookup Table Oscillator Case Study
no anti-aliasing
HvC
2020-08-29
import( "stdfaust.lib" ) ;
gate and single sample impulse
some basic stuff
define the waveform
from the paper:
phase ( freq ) = freq / float ( sr... |
import( "all.lib" ) ;
gater = button ("gater");
trig = pm.impulseExcitation(gater);
sr = SR;
twopi = 2.0*PI;
ts = 1<<16 ;
time = (+(1) ~ _ ) , 1 : - ;
sawwave = ((float(time) / float(ts)) *2 -1)*-1;
pulsewidth = hslider("pulsewidth", 0, 0, 1, 0.01);
sqaurewave = sawwave : >(0.0);
dec ( x ) = x - floor (x) ... |
138536e8bacf112c8ee8a1e30ae2ffccdb6e46adabd7eb14f2da229409291577 | SputnikStan5/Lua-Stk | am-ringmod.dsp | // am-ringmod.dsp
//
// Example for amplitude modulation
// and ringmodulation.
//
// - steady sound
// - adjustable frequencies
// - fader for morphing between am/ringmod
//
// Henrik von Coler
// 2020-05-11
import("stdfaust.lib");
f_x = hslider("Signal Frequency",100,0.01,1000,0.1);
f_m = hslider("Modulator Frequ... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/sound_synthesis_faust/faust/Modulation/am-ringmod/am-ringmod.dsp | faust | am-ringmod.dsp
Example for amplitude modulation
and ringmodulation.
- steady sound
- adjustable frequencies
- fader for morphing between am/ringmod
Henrik von Coler
2020-05-11 |
import("stdfaust.lib");
f_x = hslider("Signal Frequency",100,0.01,1000,0.1);
f_m = hslider("Modulator Frequency",100,0.01,1000,0.1);
m_off = hslider("Modulator Offset",0,0,0.5,0.01);
am(fx, fm) = os.osc(fx) * ((1-m_off) * os.osc(fm) + m_off);
process = am(f_x,f_m) <: _,_; |
b55b7883f6ffe41aea2d9bce51582092f4c1b624e973942c9e5b8e7e4dac10b4 | SputnikStan5/Lua-Stk | am-ringmod-trigger.dsp | // am-ringmod.dsp
//
//
//
// Henrik von Coler
// 2020-05-11
import("stdfaust.lib");
f_x = hslider("Signal Frequency",100,0.01,1000,0.1);
f_m = hslider("Modulator Frequency",100,0.01,1000,0.1);
m_off = hslider("Modulator Offset",0,0,0.5,0.01);
am(fx, fm) = os.osc(fx) * ((1-m_off) * os.osc(fm) + m_off);
// gener... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/sound_synthesis_faust/faust/Modulation/am-ringmod-trigger/am-ringmod-trigger.dsp | faust | am-ringmod.dsp
Henrik von Coler
2020-05-11
generate a single sine and apply the arfe envelope
the attack time is set to 0.01 |
import("stdfaust.lib");
f_x = hslider("Signal Frequency",100,0.01,1000,0.1);
f_m = hslider("Modulator Frequency",100,0.01,1000,0.1);
m_off = hslider("Modulator Offset",0,0,0.5,0.01);
am(fx, fm) = os.osc(fx) * ((1-m_off) * os.osc(fm) + m_off);
process = am(f_x,f_m) <: _,_; |
788e7200b0ad4d67e57c2ec426bcb020fcbd9634500a7baf83b31b30505f227b | SputnikStan5/Lua-Stk | fourier_series.dsp | // fourier_series.dsp
//
// Generate a square wave through Fourier series.
// - without control
//
// Henrik von Coler
// 2020-05-06
import("stdfaust.lib");
// define a fundamental frequency
f0 = 100;
// define the number of partials
n_partial = 50;
// partial function with one argument ()
partial(partIDX) = (4... | https://raw.githubusercontent.com/SputnikStan5/Lua-Stk/80cc99dce8648eccc2b065afdf170b8334091461/Faust/DSP/sound_synthesis_faust/faust/Additive/fourier_series/fourier_series.dsp | faust | fourier_series.dsp
Generate a square wave through Fourier series.
- without control
Henrik von Coler
2020-05-06
define a fundamental frequency
define the number of partials
partial function with one argument ()
arguments
the processing function,
running 50 partials parallel
mono output |
import("stdfaust.lib");
f0 = 100;
n_partial = 50;
partial(partIDX) = (4/ma.PI) * os.oscrs(f)*volume
with {
f = f0 * (2*partIDX+1);
volume = 1/(2*partIDX+1);
};
process = par(i, n_partial, partial(i)) :> +; |
8ae75686ec5a2f5f35c396500e265269938c4765371d189c1c7873b3f79a8ba8 | SputnikStan5/AudioLAB | ringmod-input.dsp | // ringmod-input.dsp
//
// Ringmodulator for audio input
//
// - fader for controlling modulator frequency
// - fader for controlling mix of ringmod
//
// Henrik von Coler
// 2020-05-12
import("stdfaust.lib");
f_m = hslider("Modulator Frequency",100,0.01,1000,0.1);
mix = hslider("Modulation Mix",0.5,0,1,0.... | https://raw.githubusercontent.com/SputnikStan5/AudioLAB/c12684b16f4d27dc3c33e63986611923821117d2/Faust/Library/sound_synthesis_faust/faust/Modulation/ringmod-input/ringmod-input.dsp | faust | ringmod-input.dsp
Ringmodulator for audio input
- fader for controlling modulator frequency
- fader for controlling mix of ringmod
Henrik von Coler
2020-05-12 |
import("stdfaust.lib");
f_m = hslider("Modulator Frequency",100,0.01,1000,0.1);
mix = hslider("Modulation Mix",0.5,0,1,0.01);
am(x, fm) = (1-mix) * x + mix * x * os.osc(fm);
process(x) = am(x,f_m) <: _,_; |
b3eaa20d6d280f7e6ed25553c896fff0553718120fff811aef6f5dc5bedcaad1 | SputnikStan5/LV2-Prototyper | svf.dsp | import("stdfaust.lib");
G = hslider("Gain", 0, -10, 10, 0.1);
F = hslider("Freq", 1000, 100, 10000, 1);
Q = hslider("Q", 1, 0.01, 100, 0.01);
process = _ : fi.svf.lp(F,Q,G) : _,_;
| https://raw.githubusercontent.com/SputnikStan5/LV2-Prototyper/14965bd2c5f042d3f11e9a11f9614b5089b99184/svf.dsp | faust | import("stdfaust.lib");
G = hslider("Gain", 0, -10, 10, 0.1);
F = hslider("Freq", 1000, 100, 10000, 1);
Q = hslider("Q", 1, 0.01, 100, 0.01);
process = _ : fi.svf.lp(F,Q,G) : _,_;
| |
9cec295c4623caed5ff47f654dd32f06de8aee1d9e1644fe95fadafd9a970b38 | SputnikStan5/GobyJIT | splitting_example.dsp | // splitting_example.dsp
//
// Henrik von Coler
// 2020-04-21
import("stdfaust.lib");
// a source signal
signal = os.imptrain(5);
// split signal to stereo in process function:
process = signal <: _,_,_,_,_,_,_,_; | https://raw.githubusercontent.com/SputnikStan5/GobyJIT/589bb827b5b85095d81558c21438d080951a94b5/Faust/DSP/sound_synthesis_faust/faust/Basics/splitting_example.dsp | faust | splitting_example.dsp
Henrik von Coler
2020-04-21
a source signal
split signal to stereo in process function: |
import("stdfaust.lib");
signal = os.imptrain(5);
process = signal <: _,_,_,_,_,_,_,_; |
db107c3d164ad4515be3de5b5d2b3b07d3e40efece1fa87f210c8fdcf14a9cc7 | jacktrip/jacktrip | zitarevdsp.dsp | import("stdfaust.lib");
// Modified version from Faust Libraries demos.lib
process = zita_rev1; // same as dm.zita_rev1 but for wetness control and some defaults
//process = zita_rev1 : _,attach(cout); // Not using this solution yet, but it works
//cout = ffunction (int cout(), <iostream>, ""); // dummy function to ... | https://raw.githubusercontent.com/jacktrip/jacktrip/821ba6436cd721a96c7a4877a3c3e5432d3811fc/faust-src/zitarevdsp.dsp | faust | Modified version from Faust Libraries demos.lib
same as dm.zita_rev1 but for wetness control and some defaults
process = zita_rev1 : _,attach(cout); // Not using this solution yet, but it works
cout = ffunction (int cout(), <iostream>, ""); // dummy function to force #include <iostream> in output
--------------------... | import("stdfaust.lib");
zita_rev1 = _,_ <: re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ : out_eq,_,_ :
wet_dry_2(wet) : out_level
with{
fdn_group(x) = hgroup(
"[0] Zita_Rev1 [tooltip: ~ ZITA REV1 FEEDBACK DELAY NETWORK (FDN) & SCHROEDER
ALLPASS-COMB REVERBERATOR (8x8). See Faust's reverbs.lib for docum... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.