_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 |
|---|---|---|---|---|---|---|---|
f0088ef5204d29857fb109737b876170a8505ecf2731bbf02b8b378da3573811 | Kutalia/react-webaudio-5150 | kpp_tubeamp.dsp | /*
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program i... | https://raw.githubusercontent.com/Kutalia/react-webaudio-5150/2a0e35435dbe22ad8dd26d3aa5925d0797b86b30/public/kpp_tubeamp.dsp | faust |
* Copyright (C) 2018-2020 Oleg Kapitonov
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is ... |
declare name "kpp_tubeamp";
declare author "Oleg Kapitonov";
declare license "GPLv3";
declare version "1.2";
import("stdfaust.lib");
process = preamp_amp with {
drive = vslider("drive", 100, 0, 100, 0.01);
volume = vslider("volume", 5, 0, 11, 0.001);
mastergain = vslider("mastergain", 50, 0, 100, 0.01)... |
1b2ab428858b098b8c89700ea9510c3f92f3aa3f7eaaba526734c00275a272ef | JuanSaudio/Blog | EnvComp.dsp | import("stdfaust.lib");
eGroup(x) = hgroup("Envelope Follower", x);
inGroup(x) = eGroup(vgroup("[0]Input", x));
inGain = inGroup(hslider("[0]InGain[style:knob]",0,-20,0,1) : ba.db2linear : si.smoo);
outGain = inGroup(hslider("[1]OutGain[style:knob]",-20,-20,0,1) : ba.db2linear : _ * outGate: si.smoo);
outGate = checkb... | https://raw.githubusercontent.com/JuanSaudio/Blog/62ed00a8beccea4d6e6b8b3e69d0f65069038ad3/Compression/Faust/EnvComp.dsp | faust | import("stdfaust.lib");
eGroup(x) = hgroup("Envelope Follower", x);
inGroup(x) = eGroup(vgroup("[0]Input", x));
inGain = inGroup(hslider("[0]InGain[style:knob]",0,-20,0,1) : ba.db2linear : si.smoo);
outGain = inGroup(hslider("[1]OutGain[style:knob]",-20,-20,0,1) : ba.db2linear : _ * outGate: si.smoo);
outGate = checkb... | |
4dc3d21300ee466fc74a6f1930d277c7c36ddac1efcd6785465db2e2293c03a6 | JuanSaudio/Blog | CompFull.dsp | import("stdfaust.lib");
//=================================== GUI ====================================//
cGroup(x) = hgroup("Compressor", x);
inGroup(x) = cGroup(vgroup("[0]Input", x));
inGain = inGroup(hslider("[0]InGain[style:knob]",0,-20,0,1) : ba.db2linear : si.smoo);
outGain = inGroup(hslider("[1]OutGain[style... | https://raw.githubusercontent.com/JuanSaudio/Blog/62ed00a8beccea4d6e6b8b3e69d0f65069038ad3/Compression/Faust/CompFull.dsp | faust | =================================== GUI ====================================//
=================================== DSP ====================================//
1
2
3
4
5
6
7
8
9
10
11 | import("stdfaust.lib");
cGroup(x) = hgroup("Compressor", x);
inGroup(x) = cGroup(vgroup("[0]Input", x));
inGain = inGroup(hslider("[0]InGain[style:knob]",0,-20,0,1) : ba.db2linear : si.smoo);
outGain = inGroup(hslider("[1]OutGain[style:knob]",-20,-20,0,1) : ba.db2linear : _ * outGate: si.smoo);
outGate = checkbox("... |
1eecdd0c5d5c99692a04e64ff4556167f533af6e02d9318b3212149ce6cec391 | spaskalev/karpsichord | karpsichord.dsp | /*
This file is part of the karpsichord project
at https://github.com/spaskalev/karpsichord
Copyright (C) 2022 Stanislav Paskalev <spaskalev@protonmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Fo... | https://raw.githubusercontent.com/spaskalev/karpsichord/b1ad2ffed723aa08035bfd69aafe9959358546a4/karpsichord.dsp | faust |
This file is part of the karpsichord project
at https://github.com/spaskalev/karpsichord
Copyright (C) 2022 Stanislav Paskalev <spaskalev@protonmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foun... |
declare options "[midi:on][nvoices:32]";
import("basics.lib");
import("filters.lib");
import("delays.lib");
import("maths.lib");
import("noises.lib");
import("envelopes.lib");
import("stdfaust.lib");
import("compressors.lib");
import("reverbs.lib");
midi_gate = button("gate");
input_midi_freq = hslider("freq",440,10... |
369420ddf7978d4ca6d447e4f753ba052dd78d213eb6cc98711797ce71fb6fbd | Tonton-Blax/supasynth | socisse.dsp | import("stdfaust.lib");
import("basics.lib");
import("signals.lib");
import("oscillators.lib");
oscsaw = signal with {
osc_group(x) = vgroup("[0] VIRTUAL ANALOG OSCILLATORS
[tooltip: See Faust's oscillator.lib for documentation and references]",x);
// Signals
saw = (amp/3) *
(sawtooth(sfreq) + sawtoot... | https://raw.githubusercontent.com/Tonton-Blax/supasynth/1f1053a0fd38a07894ea8b1121f4cfe8618fe688/faust/socisse.dsp | faust | Signals
Signal controls:
Signal Parameters
piano key 49 = A440 (also defined in effect.lib)
process=oscsaw; | import("stdfaust.lib");
import("basics.lib");
import("signals.lib");
import("oscillators.lib");
oscsaw = signal with {
osc_group(x) = vgroup("[0] VIRTUAL ANALOG OSCILLATORS
[tooltip: See Faust's oscillator.lib for documentation and references]",x);
saw = (amp/3) *
(sawtooth(sfreq) + sawtooth(sfreq*detun... |
e7c230c2d7fde9904231c531a9640ac707490ffeeb2cc347ffebf36023b67649 | SMERM/BN-Tedesco | FEEDBACK_CONTROLLER.dsp | /*FEEDBACK CONTROLLER*/
import("stdfaust.lib");
//Pitch Guessing function
//pitchguess= ;
/*PANIC BUTTONS SECTION*/
//button to reset DSP in case the Feedback explode with interpolation
panic_in = *(button("Panic Interpolated")) : si.smoo;
//button to reset DSP in case the Feedback explode instantaneously
panic = *... | https://raw.githubusercontent.com/SMERM/BN-Tedesco/2a77e1707f7e64c512dd40d58d29c0db8092463d/COME-02/Lezioni_in_Compresenza/20200512/FEEDBACK_CONTROLLER.dsp | faust | FEEDBACK CONTROLLER
Pitch Guessing function
pitchguess= ;
PANIC BUTTONS SECTION
button to reset DSP in case the Feedback explode with interpolation
button to reset DSP in case the Feedback explode instantaneously
GAIN SECTION
be cautious with it
FILTERS SECTION
filters = ; | import("stdfaust.lib");
panic_in = *(button("Panic Interpolated")) : si.smoo;
panic = *(button("Panic"));
process = vgroup("FEEDBACK CONTROLLER",_*gain <: (-(panic_in)<: -(panic)) :> _);
|
207de4699ae93f84480982f910ff45435a1cc44b753841f1b79181d75a8582a4 | SMERM/BN-Tedesco | biquad.dsp | import("stdfaust.lib");
/*as
a0 = 0.9;
a1 = 0.1;
a2 = 0.1;
b1 = 0.2;
b2 = 0.2;
preInHistory = _ <: _*a0, _*((@(1)*a1):(@(2)*a2)) :> _;
preOutHistory = @(1) <: _*b1, @(2)*b2 :> _ ;
biquad1 = _ <: preInHistory : (-~preOutHistory) :> _;
*/
a0c = vslider("a0[style:knob]",0,0,1,0.01);
a1c = vslider("a1[style:knob]",0,0,... | https://raw.githubusercontent.com/SMERM/BN-Tedesco/2a77e1707f7e64c512dd40d58d29c0db8092463d/COME-01/20200605/biquad.dsp | faust | as
a0 = 0.9;
a1 = 0.1;
a2 = 0.1;
b1 = 0.2;
b2 = 0.2;
preInHistory = _ <: _*a0, _*((@(1)*a1):(@(2)*a2)) :> _;
preOutHistory = @(1) <: _*b1, @(2)*b2 :> _ ;
biquad1 = _ <: preInHistory : (-~preOutHistory) :> _;
a = a0(0.9), a1(0.1), a2(0.1);
b = b1(0.2), b2(0.2); | import("stdfaust.lib");
a0c = vslider("a0[style:knob]",0,0,1,0.01);
a1c = vslider("a1[style:knob]",0,0,1,0.01);
a2c = vslider("a2[style:knob]",0,0,1,0.01);
b1c = vslider("b1[style:knob]",0,0,1,0.01);
b2c = vslider("b2[style:knob]",0,0,1,0.01);
a0(a0c) = *(a0c);
a1(a1c) = @(1) : *(a1c);
a2(a2c) = @(2) : *(a2c);
... |
1bedf4e1f24ab0c8c42c92e10569b663b81cd54bbfda79b8c400e1c82d61f111 | SMERM/BN-Tedesco | osc2vcs3DT.dsp | import("stdfaust.lib");
osc2_g(x) = hgroup("[002]OSCILLATOR 2", x);
freq = osc2_g(vslider("[001]FREQUENCY[style:knob][scale:exp]", 100,1,10000,0.01) : si.smoo);
//knob non è infinito, come un encoder
shape = osc2_g(vslider("[002]SHAPE[style:knob][scale:exp]", 5,0,10,0.01)/10 : si.smoo);
amplitude = osc2_g(vslider("[0... | https://raw.githubusercontent.com/SMERM/BN-Tedesco/2a77e1707f7e64c512dd40d58d29c0db8092463d/COME-01/20200408/osc2vcs3DT.dsp | faust | knob non è infinito, come un encoder
quadra e triangolare sono in relazione tra di loro in un modo particolare
da correggere
da correggere
da correggere
importante per dire che l'oscillatore ha pomelli che sono delle entrate | import("stdfaust.lib");
osc2_g(x) = hgroup("[002]OSCILLATOR 2", x);
freq = osc2_g(vslider("[001]FREQUENCY[style:knob][scale:exp]", 100,1,10000,0.01) : si.smoo);
shape = osc2_g(vslider("[002]SHAPE[style:knob][scale:exp]", 5,0,10,0.01)/10 : si.smoo);
amplitude = osc2_g(vslider("[003]AMPLITUDE[style:knob][scale:exp]", 0... |
24695a9db398ba2ffa738e9a7c48f0a3e181d2843f0aa55749ec84ed45bf2221 | SMERM/BN-Tedesco | biquad_silvi.dsp | import("stdfaust.lib");
//a0c = vslider("a0[style:knob]",0,0,1,0.01);
//a1c = vslider("a1[style:knob]",0,0,1,0.01);
//a2c = vslider("a2[style:knob]",0,0,1,0.01);
//b1c = vslider("b1[style:knob]",0,0,1,0.01);
//b2c = vslider("b2[style:knob]",0,0,1,0.01);
a0(a0c) = *(a0c);
a1(a1c) = @(1) : *(a1c);
a2(a2c) = @(2) : *... | https://raw.githubusercontent.com/SMERM/BN-Tedesco/2a77e1707f7e64c512dd40d58d29c0db8092463d/COME-01/20200605/biquad_silvi.dsp | faust | a0c = vslider("a0[style:knob]",0,0,1,0.01);
a1c = vslider("a1[style:knob]",0,0,1,0.01);
a2c = vslider("a2[style:knob]",0,0,1,0.01);
b1c = vslider("b1[style:knob]",0,0,1,0.01);
b2c = vslider("b2[style:knob]",0,0,1,0.01);
b1(b1c) = @(1) : *(b1c); // il @1 su una linea ricorsiva equivale a 2 campioni di ritardo, uno ... | import("stdfaust.lib");
a0(a0c) = *(a0c);
a1(a1c) = @(1) : *(a1c);
a2(a2c) = @(2) : *(a2c);
b1(b1c) = *(b1c);
b2(b2c) = @(1) : *(b2c);
a(a0c,a1c,a2c) = _ <: a0(a0c), (a1(a1c), a2(a2c)) :> _;
b(b1c,b2c) = _ <: b1(b1c), b2(b2c) :> _ ;
biquad(a0c,a1c,a2c,b1c,b2c) = _ <: a(a0c,a1c,a2c) : (-~b(b1c,b2c)) :> _;
process = biqu... |
a701195d0f6a7405f34c09835dda6a2764ef0809231d8db05204f5a21df8d026 | SMERM/BN-Tedesco | guitarLive_v1.dsp | /*guitarLive_v1*/
/*Pitch tracker, feedback controller, distortion, amplification*/
import("stdfaust.lib");
/*PITCH TRACKER SECTION*/
ptrack(a,x) = tng(x)
with{
xcr = (x' < 0) & (x >= 0);
xcnt = +(xcr)~ %(int(a));
wnd = xcr & (xcnt == a);
cnt = (+(1) : *(1 - wnd)) ~ _;
SH(trig,x) = (*(1 - trig) + x * trig) ~... | https://raw.githubusercontent.com/SMERM/BN-Tedesco/2a77e1707f7e64c512dd40d58d29c0db8092463d/COME-02/Lezioni_in_Compresenza/20200616/guitarLive_v1.dsp | faust | guitarLive_v1
Pitch tracker, feedback controller, distortion, amplification
PITCH TRACKER SECTION
FEEDBACK SECTION
button to reset DSP in case the Feedback explode with interpolation
button to reset DSP in case the Feedback explode instantaneously
DISTORTION SECTION
ccrma.stanford.edu/~jos/pasp/Cubic_Soft_Clipper.html]... | import("stdfaust.lib");
ptrack(a,x) = tng(x)
with{
xcr = (x' < 0) & (x >= 0);
xcnt = +(xcr)~ %(int(a));
wnd = xcr & (xcnt == a);
cnt = (+(1) : *(1 - wnd)) ~ _;
SH(trig,x) = (*(1 - trig) + x * trig) ~ _;
nvl = SH(cnt == 0, cnt' + 1);
tng(x) = a*ma.SR/max(nvl,1) - a*ma.SR*(nvl==0);
};
fptrack(x,a) = x : fi... |
7cb1f4e660496e793839b72b8559cd12c64b19011532c0a696c0d3aecc3cae6c | SMERM/EIME | 1987-NONO-PPLPD.dsp | //--------------------------------------------------------------------------------------------------
// 1987 - LUIGI NONO - POST PREAE LUDIUM PER DONAU
//--------------------------------------------------------------------------------------------------
declare name "NONO - POST-PRAE-LUDIUM PER DONAU";
declare version ... | https://raw.githubusercontent.com/SMERM/EIME/388c46d00527222082c77973c532ddafeead7a5d/1987-NONO-POST-PRAE-LUDIUM-PER-DONAU/1987-NONO-PPLPD.dsp | faust | --------------------------------------------------------------------------------------------------
1987 - LUIGI NONO - POST PREAE LUDIUM PER DONAU
--------------------------------------------------------------------------------------------------
import("effect.lib");
-------------------------------------------------
... |
declare name "NONO - POST-PRAE-LUDIUM PER DONAU";
declare version "0.1";
declare author "Giuseppe Silvi";
declare copyright "Giuseppe Silvi 2018";
declare license "BSD";
declare reference "giuseppesilvi.com";
declare description "AMBIENTE D'ESECUZIONE";
import("stdfaust.lib");
import("basics.lib");
import("delays.lib... |
65f9287b52da4cd762ed96b62cfa56377bbf17ba737173477b8b3e8a132d64a7 | kofigumbs/typebeat | insert.dsp | import("stdfaust.lib");
scaled = library("scaled.lib");
gate = button("gate");
note = button("note");
duckRelease = button("duckRelease") : smooth;
sampleType = nentry("sampleType", 0, 0, 4, 1);
synth1Type = nentry("synth1Type", 0, 0, 4, 1);
synth2Type = nentry("synth2Type", 0, 0, 4, 1);
synth3Type = nentry("synth3... | https://raw.githubusercontent.com/kofigumbs/typebeat/ce39da4b4200b1677f7759e8d6d4ddcad3025311/src/effects/insert.dsp | faust | used in `smooth`
volume-ducking sidechain based on the previous `duck_mix`
https://github.com/grame-cncm/faustlibraries/blob/b54a01fa5ef0ac1f4939f78a88d318f1db85cc0a/signals.lib#L116 | import("stdfaust.lib");
scaled = library("scaled.lib");
gate = button("gate");
note = button("note");
duckRelease = button("duckRelease") : smooth;
sampleType = nentry("sampleType", 0, 0, 4, 1);
synth1Type = nentry("synth1Type", 0, 0, 4, 1);
synth2Type = nentry("synth2Type", 0, 0, 4, 1);
synth3Type = nentry("synth3... |
c546568aae8564f57de548b6708ae7d6deecea2315552ddf80d01bbbf10cb511 | rmichon/faustwebui | newUI3.dsp | import("stdfaust.lib");
// Declaring a "UI" allows to specify UI element metadatas outside of their
// regular declaration (i.e., UI primitive). They're accessed through their
// address as suggested by Albert.
metadata
"/synth/freq"
"[type: knob][midi: ctrl 1][acc: 0 0 -10 0 10]
[css:
.{
color: rgb... | https://raw.githubusercontent.com/rmichon/faustwebui/beefaa788c3d67201f30054213b09d516a4fa3dc/newUI/newUI3.dsp | faust | Declaring a "UI" allows to specify UI element metadatas outside of their
regular declaration (i.e., UI primitive). They're accessed through their
address as suggested by Albert.
If the generated Faust object has a web UI, the appearance of its various
elements can be configured via CSS. Each element in the UI has ... | import("stdfaust.lib");
metadata
"/synth/freq"
"[type: knob][midi: ctrl 1][acc: 0 0 -10 0 10]
[css:
.{
color: rgb(25,36,98);
width: 50%;
}
. > .tip{
background-color: red;
}
]";
metadata
"/synth/gain"
"[midi: ctrl 2][acc: 1 0 -10 0 10]";
metadata
""
""
import("sy... |
1656c6104c6e471b1d22836edda279e75dc98d6e26a4ccd0ebc1f0ca186d6975 | rmichon/midiHackathon | pmb.dsp | import("stdfaust.lib");
N = 30;
modeFilter(f,t60) = fi.tf2(b0,b1,b2,a1,a2)
with{
b0 = 1;
b1 = 0;
b2 = -1;
w = 2*ma.PI*f/ma.SR;
r = pow(0.001,1/float(t60*ma.SR));
a1 = -2*r*cos(w);
a2 = r^2;
};
fc = (70,72,74,76,78,80,82,84);
freqs(i) = ba.take(i+1,fc)-14 : ba.midikey2hz;
gain = hslider("gain",1,0,1,0.01);
f... | https://raw.githubusercontent.com/rmichon/midiHackathon/9758b340666653dd7995b9ae9df304757105552a/faust/pmb.dsp | faust | ctl = hslider("ctl%i[acc: 0 0 -10 0 10]",0,0,1,0.01); | import("stdfaust.lib");
N = 30;
modeFilter(f,t60) = fi.tf2(b0,b1,b2,a1,a2)
with{
b0 = 1;
b1 = 0;
b2 = -1;
w = 2*ma.PI*f/ma.SR;
r = pow(0.001,1/float(t60*ma.SR));
a1 = -2*r*cos(w);
a2 = r^2;
};
fc = (70,72,74,76,78,80,82,84);
freqs(i) = ba.take(i+1,fc)-14 : ba.midikey2hz;
gain = hslider("gain",1,0,1,0.01);
f... |
d50c8cf3950a373c7fb7dc683d76ddc24673e22b70cc3c6a660e755403a924d9 | rmichon/multiKeyboard | sawSynthMIDI.dsp | declare interface "SmartKeyboard{
'nKeyb':'1',
'maxKeybPoly':'-1',
'keyb0_nKeys':'1'
}";
import("stdfaust.lib");
freq = hslider("v:synth/v:standardParams/freq",300,50,2000,0.01) : si.polySmooth(gate,0.999,1);
gain = hslider("v:synth/v:standardParams/gain",1,0,1,0.01);
gate = button("v:synth/v:standardParams/gate"... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/sawSynthMIDI.dsp | faust | filtered sawtooth | declare interface "SmartKeyboard{
'nKeyb':'1',
'maxKeybPoly':'-1',
'keyb0_nKeys':'1'
}";
import("stdfaust.lib");
freq = hslider("v:synth/v:standardParams/freq",300,50,2000,0.01) : si.polySmooth(gate,0.999,1);
gain = hslider("v:synth/v:standardParams/gain",1,0,1,0.01);
gate = button("v:synth/v:standardParams/gate"... |
85c5a0d6eff47d8a52a3de4dd147472182dbdffe69c57c14ec04068c79710e7b | rmichon/faustwebui | newUI2.dsp | import("stdfaust.lib");
// Declaring a "UI" allows to specify UI element metadatas outside of their
// regular declaration (i.e., UI primitive). They're accessed through their
// address as suggested by Albert.
declare UI "
/synth/freq{
type: knob;
midi: ctrl 1;
acc: 0 0 -10 0 10;
}
/synth/gain{
... | https://raw.githubusercontent.com/rmichon/faustwebui/beefaa788c3d67201f30054213b09d516a4fa3dc/newUI/newUI2.dsp | faust | Declaring a "UI" allows to specify UI element metadatas outside of their
regular declaration (i.e., UI primitive). They're accessed through their
address as suggested by Albert.
If the generated Faust object has a web UI, the appearance of its various
elements can be configured via CSS. Each element in the UI has ... | import("stdfaust.lib");
declare UI "
/synth/freq{
type: knob;
midi: ctrl 1;
acc: 0 0 -10 0 10;
}
/synth/gain{
midi: ctrl 2;
acc: 1 0 -10 0 10;
}
";
declare CSS "
#synth-freq{
color: rgb(25,36,98);
width: 50%;
}
#synth-freq > .tip{
background-color: red;
}
";
import("sy... |
caf279907e61ea80993e83dd8773bf5923d89783669d556e9e76b2062c62b715 | rmichon/mi_faust | PhysicalLFO.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
gateT = button("gate"):ba.impulsify;
in1 = gateT * 0.1;
OutGain = 0.1;
str_M = 1.0;
str_K = 0.000001;
str_Z = 0.0001;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/PhysicalLFO.dsp | faust | import("stdfaust.lib");
import("../../faust/mi.lib");
gateT = button("gate"):ba.impulsify;
in1 = gateT * 0.1;
OutGain = 0.1;
str_M = 1.0;
str_K = 0.000001;
str_Z = 0.0001;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M... | |
6f49ad0556e29ec962e975d4c014008d7f78e6270e54caf1ae5862820ebc658c | rmichon/multiKeyboard | sawSynth.dsp | declare interface "SmartKeyboard{
'nKeyb':'5',
'maxKeybPoly':'10',
'interKeybSlideAllowed':'1',
'monoMode':'1',
'keyb0_nKeys':'13',
'keyb1_nKeys':'13',
'keyb2_nKeys':'13',
'keyb3_nKeys':'13',
'keyb4_nKeys':'13',
'keyb0_lowestKey':'77',
'keyb1_lowestKey':'72',
'keyb2_lowestKey':'67',
'keyb3_lowestKey':'62',... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/sawSynth.dsp | faust | filtered sawtooth | declare interface "SmartKeyboard{
'nKeyb':'5',
'maxKeybPoly':'10',
'interKeybSlideAllowed':'1',
'monoMode':'1',
'keyb0_nKeys':'13',
'keyb1_nKeys':'13',
'keyb2_nKeys':'13',
'keyb3_nKeys':'13',
'keyb4_nKeys':'13',
'keyb0_lowestKey':'77',
'keyb1_lowestKey':'72',
'keyb2_lowestKey':'67',
'keyb3_lowestKey':'62',... |
98daae3d2bba3a28612f511549ff2f497d31eb6b850e5ec39f867c089a7937ca | rmichon/midiHackathon | pm.dsp | import("stdfaust.lib");
N = 30;
modeFilter(f,t60) = fi.tf2(b0,b1,b2,a1,a2)
with{
b0 = 1;
b1 = 0;
b2 = -1;
w = 2*ma.PI*f/ma.SR;
r = pow(0.001,1/float(t60*ma.SR));
a1 = -2*r*cos(w);
a2 = r^2;
};
fc = (0, 2, 4, 5, 7, 9, 11, 12,
0, 2, 3, 5, 7, 8, 11, 12,
0, 2, 4, 6, 8, 10, 12, 14,
-5, 0, 2, 4, 7, 9, 12, 14,
-5, 0... | https://raw.githubusercontent.com/rmichon/midiHackathon/9758b340666653dd7995b9ae9df304757105552a/faust/pm.dsp | faust |
fc = (70,72,74,76,78,80,82,84);
freqs(i) = ba.take(i+1,fc) : ba.midikey2hz;
ctl = hslider("ctl%i[acc: 0 0 -10 0 10]",0,0,1,0.01); | import("stdfaust.lib");
N = 30;
modeFilter(f,t60) = fi.tf2(b0,b1,b2,a1,a2)
with{
b0 = 1;
b1 = 0;
b2 = -1;
w = 2*ma.PI*f/ma.SR;
r = pow(0.001,1/float(t60*ma.SR));
a1 = -2*r*cos(w);
a2 = r^2;
};
fc = (0, 2, 4, 5, 7, 9, 11, 12,
0, 2, 3, 5, 7, 8, 11, 12,
0, 2, 4, 6, 8, 10, 12, 14,
-5, 0, 2, 4, 7, 9, 12, 14,
-5, 0... |
fddb9d5f6c707ee9fd3647fdd30646432d1449ff4a64afdf96c2745ba1b5cf7a | rmichon/multiKeyboard | ex1.dsp | //###################################### ex1.dsp ########################################
// Simple Faust instrument specifically designed with `faust2smartkeyb` where 2
// parallel piano keyboards are used to control a polyphonic synthesizer.
//
// ## Compilation Instructions
//
// This Faust code will compile fine wi... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/doc/misc/ex1.dsp | faust | ###################################### ex1.dsp ########################################
Simple Faust instrument specifically designed with `faust2smartkeyb` where 2
parallel piano keyboards are used to control a polyphonic synthesizer.
## Compilation Instructions
This Faust code will compile fine with any of the ... |
declare interface "SmartKeyboard{
'Number of Keyboards':'2',
'Keyboard 0 - Number of Keys':'13',
'Keyboard 1 - Number of Keys':'13',
'Keyboard 0 - Lowest Key':'72',
'Keyboard 1 - Lowest Key':'60'
}";
import("stdfaust.lib");
freq = nentry("freq",200,40,2000,0.01);
gain = nentry("gain",1,0,1,0.01)... |
4920e4fc7932b64e7081d3ca89bbc5d4e3ef48af920b50e2c6c3bce7669150ce | rmichon/multiKeyboard | guitar.dsp | declare interface "SmartKeyboard{
'nKeyb':'5',
'maxKeybPoly':'1',
'interKeybSlideAllowed':'1',
'monoMode':'1',
'keyb0_nKeys':'13',
'keyb1_nKeys':'13',
'keyb2_nKeys':'13',
'keyb3_nKeys':'13',
'keyb4_nKeys':'13',
'keyb0_lowestKey':'72',
'keyb1_lowestKey':'67',
'keyb2_lowestKey':'62',
'keyb3_lowestKey':'57',
... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/guitar.dsp | faust | simple ks
'
pick position delay | declare interface "SmartKeyboard{
'nKeyb':'5',
'maxKeybPoly':'1',
'interKeybSlideAllowed':'1',
'monoMode':'1',
'keyb0_nKeys':'13',
'keyb1_nKeys':'13',
'keyb2_nKeys':'13',
'keyb3_nKeys':'13',
'keyb4_nKeys':'13',
'keyb0_lowestKey':'72',
'keyb1_lowestKey':'67',
'keyb2_lowestKey':'62',
'keyb3_lowestKey':'57',
... |
54b88ea68c83167bba23c186aae8e60238937497ed915bad5894fff31473433e | rmichon/multiKeyboard | guitarMajor.dsp | declare interface "SmartKeyboard{
'nKeyb':'5',
'maxKeybPoly':'1',
'interKeybSlideAllowed':'1',
'monoMode':'1',
'keyb0_nKeys':'8',
'keyb1_nKeys':'8',
'keyb2_nKeys':'8',
'keyb3_nKeys':'8',
'keyb4_nKeys':'8',
'keyb0_lowestKey':'88',
'keyb1_lowestKey':'76',
'keyb2_lowestKey':'64',
'keyb3_lowestKey':'52',
'key... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/guitarMajor.dsp | faust | simple ks
'
pick position delay | declare interface "SmartKeyboard{
'nKeyb':'5',
'maxKeybPoly':'1',
'interKeybSlideAllowed':'1',
'monoMode':'1',
'keyb0_nKeys':'8',
'keyb1_nKeys':'8',
'keyb2_nKeys':'8',
'keyb3_nKeys':'8',
'keyb4_nKeys':'8',
'keyb0_lowestKey':'88',
'keyb1_lowestKey':'76',
'keyb2_lowestKey':'64',
'keyb3_lowestKey':'52',
'key... |
18a180da6002c71653fde400be6d0134451ebe5ba2d2434b970b4e9fa0ab0065 | rmichon/multiKeyboard | trumpet.dsp | //################################### trumpet.dsp #####################################
// A simple trumpet app... (for large screens).
//
// ## Compilation Instructions
//
// This Faust code will compile fine with any of the standard Faust targets. However
// it was specifically designed to be used with `faust2smartke... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/trumpet.dsp | faust | ################################### trumpet.dsp #####################################
A simple trumpet app... (for large screens).
## Compilation Instructions
This Faust code will compile fine with any of the standard Faust targets. However
it was specifically designed to be used with `faust2smartkeyb`. For best ... |
import("stdfaust.lib");
declare interface "SmartKeyboard{
'Number of Keyboards':'5',
'Max Keyboard Polyphony':'1',
'Inter-Keyboard Slide':'1',
'Mono Mode':'1',
'Keyboard 0 - Number of Keys':'13',
'Keyboard 1 - Number of Keys':'13',
'Keyboard 2 - Number of Keys':'13',
'Keyboard 3 - Number of Keys':'13',
'Keyb... |
fecdfdd052c2bf06c5db6b6de7352314b6b3123fbfba2146900004b72e1f2af8 | rmichon/multiKeyboard | djembe.dsp | declare interface "SmartKeyboard{
'nKeyb':'2',
'keyb0_nKeys':'2',
'keyb1_nKeys':'1',
'keyb0_keybMode':'0',
'keyb1_keybMode':'0'
}";
import("stdfaust.lib");
freq = hslider("v:synth/v:standardParams/freq",300,50,2000,0.01) : si.polySmooth(gate,0.999,1);
gain = hslider("v:synth/v:standardParams/gain",1,0,1,0.01);
... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/djembe.dsp | faust | djembe physical model
'
pick position delay | declare interface "SmartKeyboard{
'nKeyb':'2',
'keyb0_nKeys':'2',
'keyb1_nKeys':'1',
'keyb0_keybMode':'0',
'keyb1_keybMode':'0'
}";
import("stdfaust.lib");
freq = hslider("v:synth/v:standardParams/freq",300,50,2000,0.01) : si.polySmooth(gate,0.999,1);
gain = hslider("v:synth/v:standardParams/gain",1,0,1,0.01);
... |
c5af8e08f69972096505e145d879f0a4d0e15f1fdc0d07c6ab346b66dae3b4d5 | rmichon/multiKeyboard | synthMulti.dsp | import("stdfaust.lib");
freq = hslider("v:synth/v:standardParams/freq",300,50,2000,0.01) : si.polySmooth(gate,0.999,1);
gain = hslider("v:synth/v:standardParams/gain",1,0,1,0.01);
gate = button("v:synth/v:standardParams/gate");
x = hslider("v:synth/v:standardParams/x",1,0,1,0.001);
y = hslider("v:synth/v:standardPara... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/full/synthMulti.dsp | faust | filtered sawtooth
filtered square
simple ks
'
pick position delay
djembe physical model
'
pick position delay | import("stdfaust.lib");
freq = hslider("v:synth/v:standardParams/freq",300,50,2000,0.01) : si.polySmooth(gate,0.999,1);
gain = hslider("v:synth/v:standardParams/gain",1,0,1,0.01);
gate = button("v:synth/v:standardParams/gate");
x = hslider("v:synth/v:standardParams/x",1,0,1,0.001);
y = hslider("v:synth/v:standardPara... |
5867e20cc018704d43f5e7bbf9a46f80d7445d6a3424ee9c2a39b71e869f3485 | rmichon/multiKeyboard | toy.dsp | //##################################### toy.dsp #######################################
// Faust sound toy specifically designed for `faust2smartkeyb` where a funny
// synth can be controlled using several fingers on the screen and the built-in
// accelerometer.
//
// ## `SmartKeyboard` Use Strategy
//
// We just want ... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/toy.dsp | faust | ##################################### toy.dsp #######################################
Faust sound toy specifically designed for `faust2smartkeyb` where a funny
synth can be controlled using several fingers on the screen and the built-in
accelerometer.
## `SmartKeyboard` Use Strategy
We just want a blank screen w... |
declare interface "SmartKeyboard{
'Number of Keyboards':'1',
'Max Keyboard Polyphony':'0',
'Keyboard 0 - Number of Keys':'1',
'Keyboard 0 - Send Freq':'0',
'Keyboard 0 - Piano Keyboard':'0',
'Keyboard 0 - Count Fingers':'1'
}";
import("stdfaust.lib");
x0 = hslider("x0",0.5,0,1,0.01) : si.smoo;
y0 = hslider("y0... |
16d6b98e64424d8862067f8cf67af6390c53e2c7dd6e46cda46336da9f2fee13 | rmichon/multiKeyboard | elecGuitar.dsp | //################################### elecGuitar.dsp #####################################
// Faust instruments specifically designed for `faust2smartkeyb` where an electric
// guitar physical model is controlled using an isomorphic keyboard. Rock on!
//
// ## `SmartKeyboard` Use Strategy
//
// we want to create an is... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/elecGuitar.dsp | faust | ################################### elecGuitar.dsp #####################################
Faust instruments specifically designed for `faust2smartkeyb` where an electric
guitar physical model is controlled using an isomorphic keyboard. Rock on!
## `SmartKeyboard` Use Strategy
we want to create an isomorphic keybo... |
declare interface "SmartKeyboard{
'Number of Keyboards':'6',
'Max Keyboard Polyphony':'1',
'Keyboard 0 - Number of Keys':'13',
'Keyboard 1 - Number of Keys':'13',
'Keyboard 2 - Number of Keys':'13',
'Keyboard 3 - Number of Keys':'13',
'Keyboard 4 - Number of Keys':'13',
'Keyboard 5 - Number of Keys':'13',
'Ke... |
fdfc5a6ab7d110ad07161c7cae33985434859f4d197bca35a5d1a60467ff5478 | rmichon/multiKeyboard | 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/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/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 - Piano Keyboard':'0',
'Keyboard 1 - Piano Keyboard':'0',
'Keyboard 0 - Key 0 - Label':'High',
'Keyboar... |
3207ec6f11a6f662536f060c4b4e66bd61940eb9c41b12bc184ad91bb68e31f6 | rmichon/multiKeyboard | crazyGuiro.dsp | //################################### crazyGuiro.dsp #####################################
// A simple smart phone "Guiro" where the touch screen is used to drive the instrument and
// select its pitch and where the x and y axis of the accelerometer control the
// resonance properties of the instrument.
//
// ## `Sma... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/crazyGuiro.dsp | faust | ################################### crazyGuiro.dsp #####################################
A simple smart phone "Guiro" where the touch screen is used to drive the instrument and
select its pitch and where the x and y axis of the accelerometer control the
resonance properties of the instrument.
## `SmartKeyboard` ... |
import("stdfaust.lib");
declare interface "SmartKeyboard{
'Number of Keyboards':'8',
'Keyboard 0 - Number of Keys':'16',
'Keyboard 1 - Number of Keys':'16',
'Keyboard 2 - Number of Keys':'16',
'Keyboard 3 - Number of Keys':'16',
'Keyboard 4 - Number of Keys':'16',
'Keyboard 5 - Number of Keys':'16',
'Keyboa... |
615bf32ff5aa4e0809c5fcf2bfaefde2cf482659d71c085ca95a15d02bb2d038 | rmichon/multiKeyboard | turenas.dsp | //################################### turenas.dsp ########################################
// A simple smart phone percussion based on an additive synthesizer.
//
// ## `SmartKeyboard` Use Strategy
//
// Since the sounds generated by this synth are very short, the strategy here is to take
// advantage of the polyphony ... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/turenas.dsp | faust | ################################### turenas.dsp ########################################
A simple smart phone percussion based on an additive synthesizer.
## `SmartKeyboard` Use Strategy
Since the sounds generated by this synth are very short, the strategy here is to take
advantage of the polyphony capabilities o... |
declare name "turenas";
import("stdfaust.lib");
declare interface "SmartKeyboard{
'Number of Keyboards':'10',
'Keyboard 0 - Number of Keys':'18',
'Keyboard 1 - Number of Keys':'18',
'Keyboard 2 - Number of Keys':'18',
'Keyboard 3 - Number of Keys':'18',
'Keyboard 4 - Number of Keys':'18',
'Keyboard 5 - Numbe... |
d0f20d8f742dc12022014abc18c7fbaf705810a304580faf8f178ab15f873ef9 | rmichon/mi_faust | Resonator.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = _;
OutGain = 10.;
str_M = 1.0;
str_K = vslider("pitch",0.3,0.001, 0.5,0.0001) : si.smoo;
str_Z = vslider("damping",0.01,0.0001, 0.5,0.0001) : si.smoo;
model = (RoutingLinkToMass:
ground(0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/Resonator.dsp | faust | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = _;
OutGain = 10.;
str_M = 1.0;
str_K = vslider("pitch",0.3,0.001, 0.5,0.0001) : si.smoo;
str_Z = vslider("damping",0.01,0.0001, 0.5,0.0001) : si.smoo;
model = (RoutingLinkToMass:
ground(0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass... | |
1b99241e4d0178b1d78b37df963ab57fcecc03f38c26368458e783020fca7140 | rmichon/multiKeyboard | djembe_effect.dsp | import("stdfaust.lib");
myZita = _,_ <: re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ : out_eq,_,_ :
dry_wet : out_level
with{
fsmax = 48000.0; // highest sampling rate that will be used
fdn_group(x) = hgroup(
"[0] Zita_Rev1 [tooltip: ~ ZITA REV1 FEEDBACK DELAY NETWORK (FDN) & SCHROEDER
ALLPASS... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/djembe_effect.dsp | faust | highest sampling rate that will be used
Zolzer style peaking eq (not used in zita-rev1) (filters.lib):
pareq_stereo(eqf,eql,Q) = peak_eq(eql,eqf,eqf/Q), peak_eq(eql,eqf,eqf/Q);
Regalia-Mitra peaking eq with "Q" hard-wired near sqrt(g)/2 (filters.lib):
tan(PI*B/SR), B bw in Hz (Q^2 ~ g/4)
peak frequency in rad/sam... | import("stdfaust.lib");
myZita = _,_ <: re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ : out_eq,_,_ :
dry_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 document... |
80a7af03aed3aa5ede540ab21a131eb0e3d895fc3215aa143d2d1e611a11f52b | rmichon/multiKeyboard | guitarMajor_effect.dsp | import("stdfaust.lib");
myZita = _,_ <: re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ : out_eq,_,_ :
dry_wet : out_level
with{
fsmax = 48000.0; // highest sampling rate that will be used
fdn_group(x) = hgroup(
"[0] Zita_Rev1 [tooltip: ~ ZITA REV1 FEEDBACK DELAY NETWORK (FDN) & SCHROEDER
ALLPASS... | https://raw.githubusercontent.com/rmichon/multiKeyboard/7d04f591fac974a91e4b322c3cb757b8cbb50443/faust/examples/demoNAMM/guitarMajor_effect.dsp | faust | highest sampling rate that will be used
Zolzer style peaking eq (not used in zita-rev1) (filters.lib):
pareq_stereo(eqf,eql,Q) = peak_eq(eql,eqf,eqf/Q), peak_eq(eql,eqf,eqf/Q);
Regalia-Mitra peaking eq with "Q" hard-wired near sqrt(g)/2 (filters.lib):
tan(PI*B/SR), B bw in Hz (Q^2 ~ g/4)
peak frequency in rad/sam... | import("stdfaust.lib");
myZita = _,_ <: re.zita_rev1_stereo(rdel,f1,f2,t60dc,t60m,fsmax),_,_ : out_eq,_,_ :
dry_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 document... |
f5980cc913d5b7ceab59d21d9f0ac5ff37d052ef973efdf3a499d15c2c23b80d | rmichon/mi_faust | BowedString.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = hslider("pos",1,-1,1,0.0001) : si.smoo; //write a specific position input signal operation here
OutGain = 200.;
low_M = 1.0;
low_K = hslider("stiffess",0.1,0.001,0.5,0.0001) : si.smoo;
low_Z = 0.001;
nlZ = hslider("nlZ",0.1,0.001,0.5,0.0001) : si.smoo;
nls... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/BowedString.dsp | faust | write a specific position input signal operation here | import("stdfaust.lib");
import("../../faust/mi.lib");
OutGain = 200.;
low_M = 1.0;
low_K = hslider("stiffess",0.1,0.001,0.5,0.0001) : si.smoo;
low_Z = 0.001;
nlZ = hslider("nlZ",0.1,0.001,0.5,0.0001) : si.smoo;
nlscale = 0.00005;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(low_M,0., 0.),
mass(low_M,0.... |
2960c88c0e5c16c31c54873742a962b68275dcd6661977823c9c84f3c8c2f61e | rmichon/mi_faust | PluckedHarmonics.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = vslider("pos",1,-1,1,0.0001) : si.smoo;
in2 = vslider("pos2",1,-1,1,0.0001) : si.smoo;
in3 = vslider("pos3",1,-1,1,0.0001) : si.smoo;
in4 = vslider("pos4",1,-1,1,0.0001) : si.smoo;
OutGain = 10.;
low_M = 1.0;
low_K = 0.5;
low_Z = 0.01;
nlK = 0.1;
nlscale = ... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/PluckedHarmonics.dsp | faust | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = vslider("pos",1,-1,1,0.0001) : si.smoo;
in2 = vslider("pos2",1,-1,1,0.0001) : si.smoo;
in3 = vslider("pos3",1,-1,1,0.0001) : si.smoo;
in4 = vslider("pos4",1,-1,1,0.0001) : si.smoo;
OutGain = 10.;
low_M = 1.0;
low_K = 0.5;
low_Z = 0.01;
nlK = 0.1;
nlscale = ... | |
c522beb59464f0f5319b7e32d4bb278710b978b2af72dd8d0296b8aeeafc3170 | rmichon/mi_faust | LargeTriangleMesh.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = vslider("pos",1,-1,1,0.0001) : si.smoo;
in2 = vslider("pos2",1,-1,1,0.0001) : si.smoo;
in3 = vslider("pos3",1,-1,1,0.0001) : si.smoo;
in4 = vslider("pos4",1,-1,1,0.0001) : si.smoo;
OutGain = 50;
nlK = 0.1;
nlscale = 0.03;
tri_M = 1.0;
tri_K = 0.1;
tri_Z = ... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/LargeTriangleMesh.dsp | faust | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = vslider("pos",1,-1,1,0.0001) : si.smoo;
in2 = vslider("pos2",1,-1,1,0.0001) : si.smoo;
in3 = vslider("pos3",1,-1,1,0.0001) : si.smoo;
in4 = vslider("pos4",1,-1,1,0.0001) : si.smoo;
OutGain = 50;
nlK = 0.1;
nlscale = 0.03;
tri_M = 1.0;
tri_K = 0.1;
tri_Z = ... | |
344e9d8f494562a96ea3367bf4cb572821b8a68b97ce3ad7f23311b1eab524ea | rmichon/mi_faust | 1000massString.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = vslider("pos",1,-1,1,0.0001) : si.smoo;
OutGain = 10.;
nlK = 0.1;
nlscale = 0.05;
str_M = 1.0;
str_K = 0.1;
str_Z = 0.01;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/1000massString.dsp | faust | import("stdfaust.lib");
import("../../faust/mi.lib");
in1 = vslider("pos",1,-1,1,0.0001) : si.smoo;
OutGain = 10.;
nlK = 0.1;
nlscale = 0.05;
str_M = 1.0;
str_K = 0.1;
str_Z = 0.01;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.),
mass(str_M,0., 0.... | |
42e0df5e9668b860d2156eb90008fd3ba6db7b59d3cd705f7ad606e56b227329 | rmichon/mi_faust | 20x30mesh.dsp | import("stdfaust.lib");
import("../../faust/mi.lib");
gateT = button("gate") : ba.impulsify;
in1 = gateT * 0.1;
OutGain = 0.5;
mesh_M = 1.0;
mesh_K = 0.1;
mesh_Z = 0.01;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(mesh_M,0., 0.),
mass(mesh_M,0., 0.),
mass(mesh_M,0., 0.),
mass(mesh_M,0., 0.),
mass(mes... | https://raw.githubusercontent.com/rmichon/mi_faust/9af43428a4809894b539a2e1457ad9d2bc0d67fb/examples/faust/20x30mesh.dsp | faust | import("stdfaust.lib");
import("../../faust/mi.lib");
gateT = button("gate") : ba.impulsify;
in1 = gateT * 0.1;
OutGain = 0.5;
mesh_M = 1.0;
mesh_K = 0.1;
mesh_Z = 0.01;
model = (RoutingLinkToMass:
ground(0.),
ground(0.),
mass(mesh_M,0., 0.),
mass(mesh_M,0., 0.),
mass(mesh_M,0., 0.),
mass(mesh_M,0., 0.),
mass(mes... | |
a2dbfd43ef0b99953b3f70de8327ede5543a0d4d9263f9862c92e955981d3d9a | TobiasKozel/GuitarD | ParametricEq.dsp | import("stdfaust.lib");
minb = -50;
maxb = 30;
maxq = 4000;
maxf = 20000;
minf = 20;
highf = vslider("highF", minf, minf, maxf, 1) : si.smooth(0.999);
highq = vslider("highQ", 1, 0.1, 5, 0.1) : si.smooth(0.999);
peak1 = vslider("peak1", 0, minb, maxb, 1) : si.smooth(0.999);
f1 = vslider("f1", 300, minf, maxf, 1) : s... | https://raw.githubusercontent.com/TobiasKozel/GuitarD/80d5b8e6fa2eab99bbee80e6dacb5f0f482bbb52/src/nodes/paramerticeq/ParametricEq.dsp | faust | import("stdfaust.lib");
minb = -50;
maxb = 30;
maxq = 4000;
maxf = 20000;
minf = 20;
highf = vslider("highF", minf, minf, maxf, 1) : si.smooth(0.999);
highq = vslider("highQ", 1, 0.1, 5, 0.1) : si.smooth(0.999);
peak1 = vslider("peak1", 0, minb, maxb, 1) : si.smooth(0.999);
f1 = vslider("f1", 300, minf, maxf, 1) : s... | |
5f3d724ff7cd1b153edb5045f4ff3feb1e72efedaac465a2ca5d3f1e9fc063a5 | TobiasKozel/GuitarD | PhaseTool.dsp | import("stdfaust.lib");
maxdelay = 1;
samplerate = ma.SR;
maxdelaySamples = samplerate * maxdelay;
scaleL = vslider("Left", 1, -1, 1, 2) : si.smooth(0.999);
scaleR = vslider("Right", 1, -1, 1, 2) : si.smooth(0.999);
phaseOffsetFine = vslider("Phase Fine", 0, 0, 0.010, 0.00001) * samplerate : si.smooth(0.999);
phaseOf... | https://raw.githubusercontent.com/TobiasKozel/GuitarD/80d5b8e6fa2eab99bbee80e6dacb5f0f482bbb52/src/nodes/phasetool/PhaseTool.dsp | faust | import("stdfaust.lib");
maxdelay = 1;
samplerate = ma.SR;
maxdelaySamples = samplerate * maxdelay;
scaleL = vslider("Left", 1, -1, 1, 2) : si.smooth(0.999);
scaleR = vslider("Right", 1, -1, 1, 2) : si.smooth(0.999);
phaseOffsetFine = vslider("Phase Fine", 0, 0, 0.010, 0.00001) * samplerate : si.smooth(0.999);
phaseOf... | |
7b53cd04f01c8082e896fa0154bfd6fc31b99726caa4ab93b202a9ed00d9225a | TobiasKozel/GuitarD | ReverseDelay.dsp | // Stolen from this gist
// https://gist.github.com/tomoyanonymous/d527fca58e929de6a021565505589406
//
// Tomoya Matsuura (github) tomoyanonymous
import("stdfaust.lib");
MAX_DELAY = 48000;
phasor_phase(dtime,phase)= ((os.lf_rawsaw(dtime)+phase)% dtime) :int; //phase shift in sample
indexphasor(dtime,phase) = phaso... | https://raw.githubusercontent.com/TobiasKozel/GuitarD/80d5b8e6fa2eab99bbee80e6dacb5f0f482bbb52/src/nodes/reverse_delay/ReverseDelay.dsp | faust | Stolen from this gist
https://gist.github.com/tomoyanonymous/d527fca58e929de6a021565505589406
Tomoya Matsuura (github) tomoyanonymous
phase shift in sample
folded triangle
init have to be 0.0 floating point
ping pong effect is little weird, maybe feedback occur when spread is close to 1 |
import("stdfaust.lib");
MAX_DELAY = 48000;
delay_module(dtime,phase) = rwtable(MAX_DELAY,0.0,indexphasor(dtime,phase):int,_,indexphasor(dtime,phase+1):int):window with{
window = *( sin(0.5*ma.PI* phasor_phase(dtime,phase)/dtime));
reversedelay_mono(dtime) = _<:delay_module(dtime,0),delay_module(dtime,dtime/2):>_;... |
6e2029ed5b814611361f5d66e0ec5620eab4b61621a4acbea0655a743463a7a5 | TobiasKozel/GuitarD | Fuzz.dsp | // TODO replace with own implemenation
// generated automatically
// DO NOT MODIFY!
declare id "fuzzface";
declare name "Fuzz Face";
declare category "Fuzz";
declare description "J Hendrix Fuzz Face simulation";
declare insert_p "clipper";
import("stdfaust.lib");
fuzz = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b... | https://raw.githubusercontent.com/TobiasKozel/GuitarD/80d5b8e6fa2eab99bbee80e6dacb5f0f482bbb52/src/nodes/fuzz/Fuzz.dsp | faust | TODO replace with own implemenation
generated automatically
DO NOT MODIFY!
clip = tranystage(TB_7199P_68k,86.0,2700.0,3.571981) : tranystage(TB_7199P_68k,86.0,2700.0,3.571981) ; |
declare id "fuzzface";
declare name "Fuzz Face";
declare category "Fuzz";
declare description "J Hendrix Fuzz Face simulation";
declare insert_p "clipper";
import("stdfaust.lib");
fuzz = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with {
Inverted(b, x) = ba.if(b, 1 - x,... |
6e3677bd619c290edd3d51d1d2b2dd292705b42e33939bfc4261f0ba5123d9e6 | bluenote10/RustFaustExperiments | reverb.dsp | import("stdfaust.lib");
process = dm.zita_light;
| https://raw.githubusercontent.com/bluenote10/RustFaustExperiments/23dab88f47cff4f3ad9efe0119b2d32ed1b5559b/Benchmarks/dsp/reverb.dsp | faust | import("stdfaust.lib");
process = dm.zita_light;
| |
96e3dbfdb913526240e59b9ded7de16ed01405473c948b6503c6546f973fea6d | bluenote10/RustFaustExperiments | splitter.dsp | import("stdfaust.lib");
panner = _ : *(level) <: *(1-g), *(g)
with {
level = hslider("level", 0.5, 0.0, 1.0, 0.01);
g = hslider("pan", 0.5, 0.0, 1.0, 0.01);
};
process = panner;
| https://raw.githubusercontent.com/bluenote10/RustFaustExperiments/23dab88f47cff4f3ad9efe0119b2d32ed1b5559b/Benchmarks/dsp/splitter.dsp | faust | import("stdfaust.lib");
panner = _ : *(level) <: *(1-g), *(g)
with {
level = hslider("level", 0.5, 0.0, 1.0, 0.01);
g = hslider("pan", 0.5, 0.0, 1.0, 0.01);
};
process = panner;
| |
c24278f88160ad70c2ce09c07b12954b21f70f1d34db2317314593f01e3dd921 | theGuen/unbeatable-zig | multifx2.dsp |
import("stdfaust.lib");
echo(d,f) = +~de.delay(48000,del)*f
with {
del = d*ma.SR;
};
pitchGroup(x) = vgroup("Pitch",x);
sw_transpose = pitchGroup(nentry("sw_pitch",1,0,1,1));
tr_semis = pitchGroup(nentry("pi_semis",0,-12,12,1));
echoGroup(x) = vgroup("Delay",x);
sw_echo=echoGroup(nentry("sw_echo",1,0,1,1));
ec_del... | https://raw.githubusercontent.com/theGuen/unbeatable-zig/82e3bda7c1790ad11c54f73941dae5c73db1b7fe/multifx/multifx2.dsp | faust |
import("stdfaust.lib");
echo(d,f) = +~de.delay(48000,del)*f
with {
del = d*ma.SR;
};
pitchGroup(x) = vgroup("Pitch",x);
sw_transpose = pitchGroup(nentry("sw_pitch",1,0,1,1));
tr_semis = pitchGroup(nentry("pi_semis",0,-12,12,1));
echoGroup(x) = vgroup("Delay",x);
sw_echo=echoGroup(nentry("sw_echo",1,0,1,1));
ec_del... | |
387e3cda46e9dfd25706bfc980fcc0a7d35d702447bf8c1343a02d76125ce279 | sonosaurus/sonobus | parametric_eq.dsp |
import("stdfaust.lib");
parametric_eq = fi.low_shelf(LL,FL) : fi.peak_eq(LP1,FP1,BP1) : fi.peak_eq(LP2,FP2,BP2) : fi.high_shelf(LH,FH)
with{
eq_group(x) = hgroup("[0] parametric eq [tooltip: See Faust's filters.lib
for info and pointers]",x);
ls_group(x) = eq_group(vgroup("[1] low she... | https://raw.githubusercontent.com/sonosaurus/sonobus/52cb09f046b94ba2d5d9d47e85c8d9789d86c96e/scripts/parametric_eq.dsp | faust |
import("stdfaust.lib");
parametric_eq = fi.low_shelf(LL,FL) : fi.peak_eq(LP1,FP1,BP1) : fi.peak_eq(LP2,FP2,BP2) : fi.high_shelf(LH,FH)
with{
eq_group(x) = hgroup("[0] parametric eq [tooltip: See Faust's filters.lib
for info and pointers]",x);
ls_group(x) = eq_group(vgroup("[1] low she... | |
88a371c2ddb23f29c89156e94cd9cc619ef337506222162142d8a09c7c7d6dec | bgaster/aa_examples | ADSR.dsp | declare aavoices "1";
import("stdfaust.lib");
gain = hslider("gain", 0.5, 0, 1, 0.01): si.smoo;
waveforms = piano, fantasy, violin, flute,
guitar1, guitar2, horn, electro1,
electro2, electro3 : ba.selectn(10, wave)
with {
wave = nentry("/Waveform", 0, 0, 9, 1);
freq = hslider("freq", 440, 50, 2000... | https://raw.githubusercontent.com/bgaster/aa_examples/98d70668d6784b426726366148a74109b682ec4f/vl1/dsp/ADSR.dsp | faust | declare aavoices "1";
import("stdfaust.lib");
gain = hslider("gain", 0.5, 0, 1, 0.01): si.smoo;
waveforms = piano, fantasy, violin, flute,
guitar1, guitar2, horn, electro1,
electro2, electro3 : ba.selectn(10, wave)
with {
wave = nentry("/Waveform", 0, 0, 9, 1);
freq = hslider("freq", 440, 50, 2000... | |
8e108c14f1ae743660f2c2c83eda7c62136af9e904c90d63cc3af1e92ad2c2bb | bgaster/aa_examples | reflect.dsp | /*
Black Hole Reverb for the OTTO -- By Jonatan Midtgaard
Adapted by with permission from the "OWLGAZER" modules by Xavier Godart (Empirical Noises).
To-Do:
- Perhaps adjust allpass values to be closer to freeverb?
- Add stereo spread. Are some delay lines for left/right?? Modulation for this?
- Look at shimmer. More ... | https://raw.githubusercontent.com/bgaster/aa_examples/98d70668d6784b426726366148a74109b682ec4f/reflect/dsp/reflect.dsp | faust |
Black Hole Reverb for the OTTO -- By Jonatan Midtgaard
Adapted by with permission from the "OWLGAZER" modules by Xavier Godart (Empirical Noises).
To-Do:
- Perhaps adjust allpass values to be closer to freeverb?
- Add stereo spread. Are some delay lines for left/right?? Modulation for this?
- Look at shimmer. More mo... |
import("stdfaust.lib");
blackhole(decay,shape,pitchmix,spread) =
_ <:
(
(si.bus(N*2) :> networkline)~(feedbackline)
) : si.bus(N) <: (par(i, N, *(1-spread)), (ro.cross(N) : par(i,N,*(1+spread))))
:> ef.gate_stereo(gate_amount*64-60,0.001,0.01,0.04)
with {
hicut = 10000;
MAXDELAY = 8192... |
c770c460841b048dd0059b4625b536c62ae32c0e573bbcf4fe9e9464cd23133a | bgaster/aa_examples | nuke.dsp | // An analog style synth with ringmod and hardsync.
// Based on an earlier Faust synth from OTTO
declare aavoices "2";
import("stdfaust.lib");
process = vgroup("voices", par(n, 2, vgroup("aavoice%n", voice))) :> _ ;
voice = hgroup("midi", ( multi_osc(osc1_freq) , multi_osc(osc2_freq) ) <: mixer :> VCF : *(envelope... | https://raw.githubusercontent.com/bgaster/aa_examples/98d70668d6784b426726366148a74109b682ec4f/nuke/dsp/nuke.dsp | faust | An analog style synth with ringmod and hardsync.
Based on an earlier Faust synth from OTTO
Filter
Oscillators--------------------------
Waveform modifiers
Amount of hardsync of the saw-wave
Duty cycle in the pulse wave
Master osc. for hardsync
Zero-mean sawtooth
Hard-syncable anti-alialised saw
---------------------... |
declare aavoices "2";
import("stdfaust.lib");
process = vgroup("voices", par(n, 2, vgroup("aavoice%n", voice))) :> _ ;
voice = hgroup("midi", ( multi_osc(osc1_freq) , multi_osc(osc2_freq) ) <: mixer :> VCF : *(envelope) )
with {
midigate = button ("gate"): si.smoo;
midifreq = hslider("freq", 440, 20, 1000, 1);... |
9358c92eb65823cb8e065deef2c8af01d7f7f4431f9df0efaa6338c726f3eda1 | tomara-x/magi | trashcake.dsp | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.lydian, 3);
N = outputs(scale);
trig = ba.beat(80*4);
z = ba.counter(trig : ba.resetCtr(4,1))%8;
x = ba.counter(trig : ba.resetCtr(8,1))%N;
y = ba.counter(trig)%8;
num(i,j,k) = f(j)+g(j)*i+h(j)*... | https://raw.githubusercontent.com/tomara-x/magi/045f3c4126861e481ba71fec2197b34a1f3bbeb8/practice/trashcake.dsp | faust | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.lydian, 3);
N = outputs(scale);
trig = ba.beat(80*4);
z = ba.counter(trig : ba.resetCtr(4,1))%8;
x = ba.counter(trig : ba.resetCtr(8,1))%N;
y = ba.counter(trig)%8;
num(i,j,k) = f(j)+g(j)*i+h(j)*... | |
0f6b036340689b09513675da611823b721ba3f7ba1382703e3c88e5c443df905 | tomara-x/magi | bluegirl.dsp | //thank you aria <3, thank you mog <3
import("stdfaust.lib");
trig = ba.beat(132*4); //quarter notes at 132 bpm
x = ba.counter(trig)%16; //16 steps
y = hslider("y",0,0,64,1);
z = hslider("z",0,0,64,1);
index(i,j,k) = f(i) +g(i)*j +h(i)*k
with {
f(x) = rdtable(waveform{0,0,2,0,5,0,7,3,6,3,1,0,5,3,7,2},x);
g(... | https://raw.githubusercontent.com/tomara-x/magi/c4667df41afc67b87f4a3c2ac660835e87958703/practice/bluegirl.dsp | faust | thank you aria <3, thank you mog <3
quarter notes at 132 bpm
16 steps
frq = midc*rat : qu.quantize(midc,qu.lydian); |
import("stdfaust.lib");
y = hslider("y",0,0,64,1);
z = hslider("z",0,0,64,1);
index(i,j,k) = f(i) +g(i)*j +h(i)*k
with {
f(x) = rdtable(waveform{0,0,2,0,5,0,7,3,6,3,1,0,5,3,7,2},x);
g(x) = rdtable(waveform{1,0,0,0,1,0,0,2,0,7,0,1,0,0,1,0},x);
h(x) = rdtable(waveform{1,6,5,2,1,9,1,3,0,0,0,0,4,9,0,7},x);
... |
8952b33ec21bb22118eddb317b25966828af5dd4eb78de2e811dd6ad98362cb2 | tomara-x/magi | guitar.dsp | import("stdfaust.lib");
sek = (0.5,2,4,7.5,0,9+12,6.25,4.5); //go back to ints for 12tet
gate = ba.pulsen(S*0.25,S) with{S=ba.sec2samp(1/((128)/60));};
env = en.adsr(0.005,0.05,.5,0.01,gate);
cnt = ba.counter(gate)%outputs(sek);
step = sek : ba.selectn(outputs(sek),cnt);
rat = ba.semi2ratio(step);
midc = 261.626;
frq... | https://raw.githubusercontent.com/tomara-x/magi/bcf22a4ef23899cd8ce3bf5e08e374994907f81a/practice/guitar.dsp | faust | go back to ints for 12tet
what if you want a long thin string (high freq and resonates long)
: fi.resonlp(12000,8,2);
process = frq : os.osc*0.1*env <: _,_; | import("stdfaust.lib");
gate = ba.pulsen(S*0.25,S) with{S=ba.sec2samp(1/((128)/60));};
env = en.adsr(0.005,0.05,.5,0.01,gate);
cnt = ba.counter(gate)%outputs(sek);
step = sek : ba.selectn(outputs(sek),cnt);
rat = ba.semi2ratio(step);
midc = 261.626;
frq = midc*rat;
process = sig : aa.clip(-.5,.5) <: _,_;
|
0a75eec9f2eb2e30eb5079e61caf3b8956ad49f8165fd21bc8e803511f113557 | tomara-x/magi | res.dsp | //trans rights
//don't even need a "multiplied clock" you can just delay signaals by values!
import("stdfaust.lib");
trig2gate(t,time) = t : ba.peakholder(ba.sec2samp(time));
bpm = 86;
htrig = ba.beat(bpm*3);
hbeat = ba.cycle(12, htrig) : _,!,!,!,_,!,!,!,_,!,!,! :> _;
hat = sy.hat(3100,18e3,0.0005,0,hbeat);
ktrig ... | https://raw.githubusercontent.com/tomara-x/magi/43f5af6acb97973b3b82004f433925851b44d7d0/practice/res.dsp | faust | trans rights
don't even need a "multiplied clock" you can just delay signaals by values!
play the 4, then a delayed by 8th version
: *(5) : aa.sine2 : *(5) : aa.cubic1 : *(0.5)
aim, you're dirty | import("stdfaust.lib");
trig2gate(t,time) = t : ba.peakholder(ba.sec2samp(time));
bpm = 86;
htrig = ba.beat(bpm*3);
hbeat = ba.cycle(12, htrig) : _,!,!,!,_,!,!,!,_,!,!,! :> _;
hat = sy.hat(3100,18e3,0.0005,0,hbeat);
ktrig = ba.beat(bpm*4);
kick = sy.kick(44, 0.002, 0.0005, .1, 1, trig2gate(kbeat,0.05));
|
20da80d490830cda76cac2c79db8b33efc49da873dac59da189e91b022c4f24e | tomara-x/magi | pm.dsp | //trans rights
import("stdfaust.lib");
modAmp = hslider("[0]mod amp",1,0,10,0.001) : si.smoo;
carAmp = hslider("[1]car amp",0.1,0,1,0.001) : si.smoo;
modFrq = hslider("[2]mod frq",220,20,2e4,1) : si.smoo;
carFrq = hslider("[3]car frq",440,20,2e4,1) : si.smoo;
modFB = hslider("[4]mod feedback",0,0,100,0.001) : si.smoo;... | https://raw.githubusercontent.com/tomara-x/magi/59260e0b967aee001302b56c9758d49d0a63b919/practice/pm.dsp | faust | trans rights | import("stdfaust.lib");
modAmp = hslider("[0]mod amp",1,0,10,0.001) : si.smoo;
carAmp = hslider("[1]car amp",0.1,0,1,0.001) : si.smoo;
modFrq = hslider("[2]mod frq",220,20,2e4,1) : si.smoo;
carFrq = hslider("[3]car frq",440,20,2e4,1) : si.smoo;
modFB = hslider("[4]mod feedback",0,0,100,0.001) : si.smoo;
carFB = hslide... |
cdf7776157c9ae2ce4b745df255129abe754e728a05c458e41b93ba538b876b3 | tomara-x/magi | schedule.dsp | import("stdfaust.lib");
// schedule(in,p2,p3) = ba.if(ba.time < ba.sec2samp(p2+p3), in@(ba.sec2samp(p2)), 0);
// outputs input signal delayed by `start` seconds for `dur` seconds
schedule(in,start,dur) = in@(ba.sec2samp(start)) * gate
with {
gate = 1 + -1@(ba.sec2samp(start+dur));
};
// start and dur in samples
s... | https://raw.githubusercontent.com/tomara-x/magi/1160f577269e5c82565cda06170cd954222ba905/practice/schedule.dsp | faust | schedule(in,p2,p3) = ba.if(ba.time < ba.sec2samp(p2+p3), in@(ba.sec2samp(p2)), 0);
outputs input signal delayed by `start` seconds for `dur` seconds
start and dur in samples
i think the muted signal will still be computed, so this is nothing like a csound schedule | import("stdfaust.lib");
schedule(in,start,dur) = in@(ba.sec2samp(start)) * gate
with {
gate = 1 + -1@(ba.sec2samp(start+dur));
};
scheduleSamp(in,start,dur) = in@(start) * gate
with {
gate = 1 + -1@(start+dur);
};
process = scheduleSamp(no.pink_noise,44100,2*44100);
|
cd182ed664f1b58fa959922d13f3f5f14b8c70b676ca659b0f0bc7db59193b91 | tomara-x/magi | non-par-sequence.dsp | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.eolian, 2);
trig = ba.beat(128);
x = ba.counter(trig : ba.resetCtr(8,1))%14;
y = ba.counter(trig)%8;
num(i,j) = f(j)+g(j)*i
with {
f(x) = rdtable(waveform{1,4,5,6,7,2,5,1},x);
g(x) = rdt... | https://raw.githubusercontent.com/tomara-x/magi/bcf22a4ef23899cd8ce3bf5e08e374994907f81a/practice/non-par-sequence.dsp | faust | sure you can table the scale | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.eolian, 2);
trig = ba.beat(128);
x = ba.counter(trig : ba.resetCtr(8,1))%14;
y = ba.counter(trig)%8;
num(i,j) = f(j)+g(j)*i
with {
f(x) = rdtable(waveform{1,4,5,6,7,2,5,1},x);
g(x) = rdt... |
58b770524f46d712c86e4fc658359b5117b744b32dd6db8a4f9cc3eeb429d909 | tomara-x/magi | poly.dsp | //trans rights
import("stdfaust.lib");
trig2gate(t,time) = t : ba.peakholder(ba.sec2samp(time));
bpm = 96;
//polyriddim
htrig = ba.beat(bpm*3);
hbeat = ba.cycle(12, htrig) : _,!,!,!,_,!,!,!,_,!,!,! :> _;
hat = sy.hat(3100,18e3,0.0005,0,hbeat);
ktrig = ba.beat(bpm*4);
kbeat = ba.cycle(16, ktrig) : _,!,!,!,_,!,!,!,... | https://raw.githubusercontent.com/tomara-x/magi/43f5af6acb97973b3b82004f433925851b44d7d0/practice/poly.dsp | faust | trans rights
polyriddim
//polymeter
htrig = ba.beat(bpm*4);
hbeat = ba.cycle(12, htrig) : _,_,!,!,_,!,!,!,_,!,!,! :> _;
hat = sy.hat(3100,18e3,0.0005,0,hbeat);
ktrig = ba.beat(bpm*4);
kbeat = ba.cycle(16, ktrig) : _,_,!,!,_,!,!,!,_,!,!,!,_,!,!,! :> _;
kick = sy.kick(44, 0.01, 0.001, .6, 1, trig2gate(kbeat,0.05));
| import("stdfaust.lib");
trig2gate(t,time) = t : ba.peakholder(ba.sec2samp(time));
bpm = 96;
htrig = ba.beat(bpm*3);
hbeat = ba.cycle(12, htrig) : _,!,!,!,_,!,!,!,_,!,!,! :> _;
hat = sy.hat(3100,18e3,0.0005,0,hbeat);
ktrig = ba.beat(bpm*4);
kbeat = ba.cycle(16, ktrig) : _,!,!,!,_,!,!,!,_,!,!,!,_,!,!,! :> _;
kick =... |
cc34d85828e9d682711d27b60a8b3b3b1275701a330c517122f6f4bd42eaa1b2 | tomara-x/magi | 16x4.dsp | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.lydian,4);
N = outputs(scale);
trig = ba.beat(110*4);
z = ba.counter(trig : ba.resetCtr(N*4,1))%16;
x = ba.counter(trig : ba.resetCtr(8,1))%N;
y = ba.counter(trig)%8;
num(i,j,k) = f(j) +g(j)*i +... | https://raw.githubusercontent.com/tomara-x/magi/3c6d8955bd97df4312d9ce0bfdd88e8f5dd930ce/practice/16x4.dsp | faust | not sure | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.lydian,4);
N = outputs(scale);
trig = ba.beat(110*4);
z = ba.counter(trig : ba.resetCtr(N*4,1))%16;
x = ba.counter(trig : ba.resetCtr(8,1))%N;
y = ba.counter(trig)%8;
num(i,j,k) = f(j) +g(j)*i +... |
dc12b942e9bf041723ee6e1cc02322358d5f5c4e903063fe6400c5adabf71195 | tomara-x/magi | bricks.dsp | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.lydian,4); //4 octaves of the scale
N = outputs(scale); //number of notes in selected range
trig1 = ba.beat(110*4); //quarter notes at 110 bpm
trig2 = trig1 : ba.resetCtr(16,1); //pulse every 16... | https://raw.githubusercontent.com/tomara-x/magi/37cf21ae35d717fee9899faed16359efff3e7cd7/practice/bricks.dsp | faust | 4 octaves of the scale
number of notes in selected range
quarter notes at 110 bpm
pulse every 16th trig1
pulse every 8th trig2
16 steps | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
y = ba.counter(trig2)%N;
z = ba.counter(trig3)%32;
index(i,j,k) = f(i) +g(i)*j +h(i)*k
with {
f(x) = rdtable(waveform{0,0,2,0,5,0,7,3,6,3,1,0,5,3,7,2},x);
g(x) = rdtable(waveform{2,3,1,3,1,2,0,2,0,8,3,1,0... |
0bba4e761007ebb4d4ea709749b20cf692ba95219128d0944f5acbc273ecba8e | tomara-x/magi | brickgirl.dsp | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
scale = scaleRep(qu.lydian,4); //4 octaves of the scale
N = outputs(scale); //number of notes in selected range
trig1 = ba.beat(110*4); //quarter notes at 110 bpm
trig2 = trig1 : ba.resetCtr(16,1); //pulse every 16... | https://raw.githubusercontent.com/tomara-x/magi/7719ba50f5262137187a242bf3b38c5e36674e0f/practice/brickgirl.dsp | faust | 4 octaves of the scale
number of notes in selected range
quarter notes at 110 bpm
pulse every 16th trig1
pulse every 4th trig2
16 steps
y = ba.counter(trig2)%N;
z = ba.counter(trig3)%8;
mel = frq/2 : os.square*0.1*(env+0.1) : ve.moog_vcf(0.1,midc*8*(env+0.5));
mel = frq/2 : os.square*env*0.1 : ve.moog_vcf(0.9,midc*... | import("stdfaust.lib");
scaleRep(scal,octs) = par(i,octs,par(j,outputs(scal),ba.take(j+1,scal)*(i+1)));
y = hslider("y",0,0,64,1);
z = hslider("z",0,0,64,1);
index(i,j,k) = f(i) +g(i)*j +h(i)*k
with {
f(x) = rdtable(waveform{0,0,2,0,5,0,7,3,6,3,1,0,5,3,7,2},x);
g(x) = rdtable(waveform{1,0,0,0,1,0,0,2,0,7,0,... |
f738f67423e5c7fe4f4513e680e23e64696aaf89a33c83fec3770566988509c9 | tomara-x/magi | uvgirl.dsp | // this is a very unfaithful replication of one aspeect of msr [https://aria.dog/modules]
// thank you aria <3
import("stdfaust.lib");
N = 16; //number of steps
index(t,x,y,z) = f(t) +g(t)*x +h(t)*y +i(t)*z
with {
//quarter tones enough?
f(n) = hgroup("[3]t val", par(j,N, nentry("[%2j] %2j",0,-24,24,0.5))) :... | https://raw.githubusercontent.com/tomara-x/magi/8d2cbf25c960afe0d69929d30d2a43669ed3c31d/practice/uvgirl.dsp | faust | this is a very unfaithful replication of one aspeect of msr [https://aria.dog/modules]
thank you aria <3
number of steps
quarter tones enough?
commiting crimes since 2012
make those db |
import("stdfaust.lib");
index(t,x,y,z) = f(t) +g(t)*x +h(t)*y +i(t)*z
with {
f(n) = hgroup("[3]t val", par(j,N, nentry("[%2j] %2j",0,-24,24,0.5))) : ba.selectn(N,n);
g(n) = hgroup("[4]x mod", par(j,N, nentry("[%2j] %2j",0,-24,24,0.5))) : ba.selectn(N,n);
h(n) = hgroup("[5]y mod", par(j,N, nentry("[%2j] %... |
12915103dd1ff74625f845d4826e11595633813e599c28a5f98b747f2ab1ecc6 | tomara-x/magi | purplegirl.dsp | // this is a very unfaithful replication of one aspeect of msr [https://aria.dog/modules]
// thank you aria <3
import("stdfaust.lib");
N = 16; //number of steps
mode = qu.lydian;
index(t,x,y,z) = f(t) +g(t)*x +h(t)*y +i(t)*z
with {
f(n) = hgroup("[3]t val", par(j,N, nentry("[%2j] %2j",0,-14,14,1))) : ba.selectn(... | https://raw.githubusercontent.com/tomara-x/magi/8d2cbf25c960afe0d69929d30d2a43669ed3c31d/practice/purplegirl.dsp | faust | this is a very unfaithful replication of one aspeect of msr [https://aria.dog/modules]
thank you aria <3
number of steps
commiting crimes since 2012
make those db |
import("stdfaust.lib");
mode = qu.lydian;
index(t,x,y,z) = f(t) +g(t)*x +h(t)*y +i(t)*z
with {
f(n) = hgroup("[3]t val", par(j,N, nentry("[%2j] %2j",0,-14,14,1))) : ba.selectn(N,n);
g(n) = hgroup("[4]x mod", par(j,N, nentry("[%2j] %2j",1,-14,14,1))) : ba.selectn(N,n);
h(n) = hgroup("[5]y mod", par(j,N, n... |
10d6f3ee1ac3262005dd03042cae2278b3d8ea484e4783cd1aa8fc96c8326d68 | tomara-x/magi | adhesivegirl.dsp | //trans rights
declare name "adhesivegirl";
declare author "amy universe";
declare version "0.11";
declare license "WTFPL";
declare options "[midi:on][nvoices:8]";
import("stdfaust.lib");
//TODO: meditate on the hz shift
N = 16; //oscillators per group
//frequency of each partial, making sure it's in range [10 to ... | https://raw.githubusercontent.com/tomara-x/magi/4eb4d7540a5d6df447873f1e661c3f9ffc44a312/source/adhesivegirl.dsp | faust | trans rights
TODO: meditate on the hz shift
oscillators per group
frequency of each partial, making sure it's in range [10 to sr/2] Hz,
going into oscillators, mult by 0 for inactive ones, mult by envelopes and velocity,
then summed into filter (tracking key), and divided for loudness
midi key frequency, shifted by gro... |
declare name "adhesivegirl";
declare author "amy universe";
declare version "0.11";
declare license "WTFPL";
declare options "[midi:on][nvoices:8]";
import("stdfaust.lib");
group(x) = par(i,N, frq(i) : max(10) : min(ma.SR/2) :
os.osc *(i<m) * env(i) * vel) :> fi.svf.lp(min(frq(0)+offset,ma.SR/2),q)/N
w... |
850e920768821c1c40eeaf379f211e154414b45a675a96d43863698a89043ecd | tomara-x/magi | amaranthgirl.dsp | //trans rights
//dedicated to the girl jamming with this <3
declare name "amaranthgirl";
declare author "amy universe";
declare version "10.05";
declare license "WTFPL";
import("stdfaust.lib");
N = 16; //number of steps
// t val x offset y offset z offset abc offset
semis(ta,tb,... | https://raw.githubusercontent.com/tomara-x/magi/d7c8c6b959f4685e86230266f01d00f5fa3f1535/amaranthgirl.dsp | faust | trans rights
dedicated to the girl jamming with this <3
number of steps
t val x offset y offset z offset abc offset
output nth 3 signals of the 9 inputs
sorry! this way we go N,1,2,...,N-1 |
declare name "amaranthgirl";
declare author "amy universe";
declare version "10.05";
declare license "WTFPL";
import("stdfaust.lib");
semis(ta,tb,tc,mx,my,mz,ma,mb,mc) = t(ta) +x(ta)*mx +y(ta)*my +z(ta)*mz +a(ta)*ma,
t(tb) +x(tb)*mx +y(tb)*my +z(tb)*mz +b(tb)*mb,
... |
e4cfe57d015b037076c667671e1e6707832257eb15c373519146000fa2b4cd98 | tomara-x/magi | quamarotorgirl.dsp | //trans rights
declare name "quamarotorgirl";
declare author "amy universe";
declare version "0.05";
declare license "WTFPL";
import("stdfaust.lib");
//amaranth connected to quadrotorgirl
//but frequency a controls the grain frequency, b controls gate 1, and c controls gate 2
N = 16; //number of steps
bi2uni = _ :... | https://raw.githubusercontent.com/tomara-x/magi/9ee1006664c4079af687649ce43fdbf2b65c7a9b/source/quamarotorgirl.dsp | faust | trans rights
amaranth connected to quadrotorgirl
but frequency a controls the grain frequency, b controls gate 1, and c controls gate 2
number of steps
t val x offset y offset z offset abc offset
output nth 3 signals of the 9 inputs |
declare name "quamarotorgirl";
declare author "amy universe";
declare version "0.05";
declare license "WTFPL";
import("stdfaust.lib");
bi2uni = _ : +(1) : /(2) : _;
semis(ta,mx,my,mz,ma,mb,mc) = t(ta) +x(ta)*mx +y(ta)*my +z(ta)*mz +a(ta)*ma,
t(ta) +x(ta)*mx +y(ta)*my +z(ta)*mz +b(ta... |
67473aedb5090d60c8ec901c6141ac85d21bd57f09fb22e757627f1b5e78f4b8 | ml-wo/VirtualGuitarAmp-Guitarix | vibe_lfo_triangle.dsp | import("guitarix.lib");
import("stdfaust.lib");
rawsaw_stereo(periodsamps, phasesamps) = rawsaw(periodsamps) <: _, shift(phasesamps) with {
shift(x) = _+x, periodsamps : fmod;
};
triangle_stereo(periodsamps, phasesamps) = rawsaw_stereo(periodsamps, phasesamps) : os.triangle with {
triangleshaper = 2 * _ / per... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/vibe_lfo_triangle.dsp | faust | import("guitarix.lib");
import("stdfaust.lib");
rawsaw_stereo(periodsamps, phasesamps) = rawsaw(periodsamps) <: _, shift(phasesamps) with {
shift(x) = _+x, periodsamps : fmod;
};
triangle_stereo(periodsamps, phasesamps) = rawsaw_stereo(periodsamps, phasesamps) : os.triangle with {
triangleshaper = 2 * _ / per... | |
592a5ab4965011e8e8d6640fa80e90bd0d079cca6ec8a7d53da4d958d30be279 | ml-wo/VirtualGuitarAmp-Guitarix | gxtubedelay.dsp | declare name "Tube Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
level = vslider("level[style:knob]", 0, 0, 1, 0.1):LogPot(1):smoothi(0.993);
feedback = vslider("feedback[style:knob]", 0, 0.0,... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxtubedelay.dsp | faust | for a 2.5 sec de.delay
added a de.delay bypass output to get a real tape de.delay,
and a low/fi.highpass filter section in the feedback loop
to avoid self oscillation | declare name "Tube Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
level = vslider("level[style:knob]", 0, 0, 1, 0.1):LogPot(1):smoothi(0.993);
feedback = vslider("feedback[style:knob]", 0, 0.0,... |
8c1bea0bd2ee6726146a5bf8eb3d07e55d170b531a2d9b6107bcdb40402de9c2 | ml-wo/VirtualGuitarAmp-Guitarix | bmfp.dsp | declare id "bmpf";
declare name "BigMuffFuzzPadel";
declare shortname "FuzzPadel";
declare category "Distortion";
declare description "BigMuffFuzzPadel";
import("guitarix.lib");
import("stdfaust.lib");
bigmuff = _<: filter1,filter2:>_ with {
tone = vslider("tone",0.5,0,1,0.01);
filter1 = fi.highpass( 1,... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/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");
bigmuff = _<: filter1,filter2:>_ with {
tone = vslider("tone",0.5,0,1,0.01);
filter1 = fi.highpass( 1,... |
da38ec25f424f4b51aa2320dbfd4899f2b5320425c3fbae72172abd5f5dd012d | ml-wo/VirtualGuitarAmp-Guitarix | switched_tremolo.dsp | //------------------------------------
//Inspired by:Line 6 POD-3
//Found this effect somewhere here
//------------------------------------
//------------------------------------
//Description:
//The modulated signal got using 4 oscillations,
//which are switched.
//
//Parameters description:
//steps - number of oscil... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/switched_tremolo.dsp | faust | ------------------------------------
Inspired by:Line 6 POD-3
Found this effect somewhere here
------------------------------------
------------------------------------
Description:
The modulated signal got using 4 oscillations,
which are switched.
Parameters description:
steps - number of oscillators in bank
sw_freq ... |
import("stdfaust.lib");
steps = hslider("Steps", 4, 1, 4, 1);
sw_freq = hslider("Switch Freq", 1, 0.25, 5, 0.25);
freq0 = hslider("Freq 0", 1, 0.25, 15, 0.5);
freq1 = hslider("Freq 1", 1, 0.25, 15, 0.5);
freq2 = hslider("Freq 2", 1, 0.25, 15, 0.5);
freq3 = hslider("Freq 3", 1, 0.25, 15, 0.5);
depth = hslider("Depth"... |
1cf57f00e876da6eac2df774a74708dec15309bb9b7084a705187e359f579f9c | ml-wo/VirtualGuitarAmp-Guitarix | gx_chump.dsp | declare id "Redeye Chump"; // in amp tube ba.selector
declare name "Redeye Chumo";
declare category "Amplifier";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
**
** SHP : Experiment with t... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_chump.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
**
** SHP : Experiment with the presence control as a feedback loop
** Created a loop with high shelf filter cutting around 1khz and up
** pot controls the amount of cut 0 > -70dB
** I... | declare name "Redeye Chumo";
declare category "Amplifier";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
process = chumpPreamp:*(0.1):poweramp:transformer :*(volume) with{
volume = vslider("Volume[alias][style:knob]",0.5,0,1,0.01):smoothi(0.999);
poweramp = fi.lowpass(1,6531.0):tubestage(... |
5f559acdd3c46e1741793fcb7c18f82e7e9284b199cca53e7b188efafb26327c | ml-wo/VirtualGuitarAmp-Guitarix | bigmuff.dsp | // Big Muff tone model
//
import("stdfaust.lib");
// Is basically 2 filters mixed together with a knob.
//Top filter is 39K( R1 ) -> 0.01u( C2 ) to ground - 408Hz fi.lowpass
// Bottom filter is 3900pF( C1 ) -> 22k( R2 ) to ground - 1855.9Hz
// Seems OK but does not create the 1K dip seen on real thing
// assume ... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/bigmuff.dsp | faust | Big Muff tone model
Is basically 2 filters mixed together with a knob.
Top filter is 39K( R1 ) -> 0.01u( C2 ) to ground - 408Hz fi.lowpass
Bottom filter is 3900pF( C1 ) -> 22k( R2 ) to ground - 1855.9Hz
Seems OK but does not create the 1K dip seen on real thing
assume that the tone pot needs better model as mu... |
import("stdfaust.lib");
bigmuff = _<: filter1,filter2:>_ with {
tone = vslider("tone[style:knob]",0.5,0,1,0.01);
filter1 = fi.highpass( 1, 1856):*(tone) ;
filter2 = fi.lowpass( 1, 408 ) :*(1-tone ) ;
};
process = bigmuff ;
|
e4c3a801d7c29e76472a38d9883345ebb08886747ca9b5433c600df363da2683 | ml-wo/VirtualGuitarAmp-Guitarix | jconv_post.dsp | declare id "jconv";
import("stdfaust.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:de.delay left or right channel by the specified amoun... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/jconv_post.dsp | faust |
** We want to move the sound source to the right
** with increasing values of deltadelay; this means
** we have to de.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("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:de.delay left or right channel by the specified amoun... |
419f67c83b22462b7f052ce0ea32f128e8b51bfcbce02d11825c956f0cd0a045 | ml-wo/VirtualGuitarAmp-Guitarix | expander.dsp |
/* Expander unit. */
/* This is pretty much the same as compressor.dsp, but here the given ratio is
applied to *attenuate* levels *below* the threshold. */
declare name "Expander";
declare category "Guitar Effects";
declare description "expander unit";
declare author "Albert Graef";
declare version "1.0";
impor... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/expander.dsp | faust | Expander unit.
This is pretty much the same as compressor.dsp, but here the given ratio is
applied to *attenuate* levels *below* the threshold.
Controls.
: max(ba.db2linear(-70)) : ba.linear2db; |
declare name "Expander";
declare category "Guitar Effects";
declare description "expander unit";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
rd = library("reducemaps.lib");
ratio = nentry("ratio", 2, 1, 20, 0.1);
threshold = nentry("threshold", -40, -96, 10, 0.1);
knee = nentr... |
45543a70fedeaede37ef9b4f27a6f3215f6e6c44ffd6c3978a4c59ecd5f84c9a | ml-wo/VirtualGuitarAmp-Guitarix | gxamp12.dsp | declare id "pre 6DJ8/ master 6V6"; // in amp tube ba.selector
declare name "pre 6DJ8/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
a = 0.75;
r(x) = x-sym_clip(a*0... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp12.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 "pre 6DJ8/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
a = 0.75;
r(x) = x-sym_clip(a*0.88);
soft_clip(x) = x:sym_clip(a*0.75) <:+(r(x)*0.333);
hard_clip = sym_clip(0.88);
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1... |
6a662af60ee3831d515e7fc0540597d1048ec22e160940324a9210b64db84375 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp15.dsp | declare id "pre 12AT7/ master 6V6"; // in amp tube ba.selector
declare name "pre 12AT7/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> master 6V6
*/
a = 0... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp15.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> master 6V6
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 "pre 12AT7/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
a = 0.75;
r(x) = x-sym_clip(a*0.88);
soft_clip(x) = x:sym_clip(a*0.75) <:+(r(x)*0.333);
hard_clip = sym_clip(0.88);
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage... |
6cb07f0c039fba954d33105a04b09e98dab8c4cb68c284b6a1cb61f3fafd90b5 | ml-wo/VirtualGuitarAmp-Guitarix | gxtubetremelo.dsp | declare name "Tube Tremolo";
declare category "Modulation";
/*
** Model of a vactrol tremolo unit by "transmogrify"
** c.f. http://sourceforge.net/apps/phpbb/guitarix/viewtopic.php?f=7&t=44&p=233&hilit=transmogrifox#p233
** http://transmogrifox.webs.com/vactrol.m
*/
import("stdfaust.lib");
import("guitarix.lib");
im... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxtubetremelo.dsp | faust |
** Model of a vactrol tremolo unit by "transmogrify"
** c.f. http://sourceforge.net/apps/phpbb/guitarix/viewtopic.php?f=7&t=44&p=233&hilit=transmogrifox#p233
** http://transmogrifox.webs.com/vactrol.m
vactrol model
os.triangle oscillator (not bandlimited, frequency is approximate)
tremolo unit, using os.triangle... | declare name "Tube Tremolo";
declare category "Modulation";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
R1 = 2700;
Ra = 1e6;
Rb = 300;
b = exp(log(Ra)/log(Rb)) - exp(1);
dTC = 0.06;
minTC = log(0.005/dTC);
cds = ((_ <: _,_),_ : _+(1-alpha)*_) ~ (_<:*(alpha)) with {
iSR = 1/ma.SR;
... |
853d02c9dc7dc34460c188b5e28672804ac9b3c956330e17cb515a46770295f5 | ml-wo/VirtualGuitarAmp-Guitarix | gx_bigchump.dsp | declare name "Redeye Big Chump";
declare category "Amplifier";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
trannie = coil1,coil2:>_ with {
coil1 = fi.lowpass( 1, ( 8075 ) ):fi.highpass( 1, 84):*(0.98) ;
coil2 = fi.lowpass( 1, 8925 ):fi.highpass( 1, 76) ;
};
process = chumpPreamp:*(0.1... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_bigchump.dsp | faust | Look into these so we can more accurately copy PP 6V6 design
This splits positive and negative signals and sends each to different valves
This is bodge for transformer simple low and high pass roll off | declare name "Redeye Big Chump";
declare category "Amplifier";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
trannie = coil1,coil2:>_ with {
coil1 = fi.lowpass( 1, ( 8075 ) ):fi.highpass( 1, 84):*(0.98) ;
coil2 = fi.lowpass( 1, 8925 ):fi.highpass( 1, 76) ;
};
process = chumpPreamp:*(0.1... |
60845aeb17b0990df8a6783e37e7a3e2f4ef59ef545ae390d3d9ba3f7913e16e | ml-wo/VirtualGuitarAmp-Guitarix | gxamp6.dsp | declare id "pre 6DJ8/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 6DJ8/ push-pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
peak1 = fi.allpassn(4,(-0.... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp6.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 "pre 6DJ8/ push-pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,we... |
b69c365ba1e2a65313d124a8ecbd245f4f9766531fa80ef8289edb936487926c | ml-wo/VirtualGuitarAmp-Guitarix | buzz.dsp | // generated automatically
// DO NOT MODIFY!
declare id "buzz";
declare name "Buzz Box";
declare category "Fuzz";
declare shortname "Buzz Box";
declare description "Buzz Box";
import("stdfaust.lib");
import("trany.lib");
process = pre : _<:*(dry),(*(wet) : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) : clip)... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/buzz.dsp | faust | generated automatically
DO NOT MODIFY! | declare id "buzz";
declare name "Buzz Box";
declare category "Fuzz";
declare shortname "Buzz Box";
declare description "Buzz Box";
import("stdfaust.lib");
import("trany.lib");
process = pre : _<:*(dry),(*(wet) : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) : clip):>_ with {
LogPot(a, x) = ba.if(a, (exp(a... |
f5d346e8939f12b959ae2c7cf4f682ed20b653edd9f05c7ee4455204ec12f1b1 | ml-wo/VirtualGuitarAmp-Guitarix | duck_delay.dsp | declare id "duckDelay";
declare name "Duck Delay";
declare category "Echo / Delay";
//------------------------------------
//Inspired by:
//http://www.gvst.co.uk/gduckdly.htm
//Axe-FX II Owner's manual:5.6
//------------------------------------
//------------------------------------
//Description:
//The delayed sig... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/duck_delay.dsp | faust | ------------------------------------
Inspired by:
http://www.gvst.co.uk/gduckdly.htm
Axe-FX II Owner's manual:5.6
------------------------------------
------------------------------------
Description:
The delayed signal added to output dependent of input signal amplitude.
If the input signal is high. The delayed signa... | declare id "duckDelay";
declare name "Duck Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
p_time = hslider("time[name:Delay]", 500, 1, 2000, 1):si.smooth(ba.tau2pole(0.1));
p_feedback = hslider("feedback[name:Feedback]", 0, 0, 1, 0.05);
p_attack_time = hslider("attack[name:Attack]", 0.1, 0.05, 0... |
bd30936381b740708a86db3f49c5011e9bf63ccf9e1e023d86dfe959f90db3f8 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp8.dsp | declare id "pre 12AU7/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 12AU7/ push-pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 -> pusch pull 6V6
... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp8.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 -> pusch pull 6V6
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.... | declare name "pre 12AU7/ push-pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,w... |
8d8357e42a48167c016f77e2179c524d5d3810d0b12c9f1af7589166aca78359 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp7.dsp | declare id "pre 12ax7/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 12ax7/ push-pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 -> pusch pull... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp7.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 -> pusch pull 6V6
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoot... | declare name "pre 12ax7/ push-pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1)
: component("gxdistortion.dsp")... |
2a3fda7a490010aa2cb37d6b1cb661c9b5cafa855c20d68614ed61784ceb626b | ml-wo/VirtualGuitarAmp-Guitarix | gxamp16.dsp | declare id "pre 12AT7/ push pull 6V6"; // in amp tube ba.selector
declare name "pre 12AT7/ push pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> push pull 6V6
... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp16.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> push pull 6V6
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.9... | declare name "pre 12AT7/ push pull 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,w... |
96b71806f501a8bb7a8003193cb4046597d3b220a6036df9ed8332e8ba8dc6c0 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp7_stereo.dsp | declare id "pre 12ax7/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 12ax7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 -> pusch pull 6V6
*/
peak1 = fi.allpass... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp7_stereo.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 -> pusch pull 6V6
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoot... | declare name "pre 12ax7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
amp = hgroup("stage1", stage1)
: component("gxdistortion.dsp").dist2(drive,wet_dry)
... |
b81b0c6dcbe20ede6a35c909dab6d6343151de159e622d024129caa40e858de8 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp8_stereo.dsp | declare id "pre 12AU7/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 12AU7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 -> pusch pull 6V6
*/
peak1 = fi.allpassn(4,(... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp8_stereo.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 -> pusch pull 6V6
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.... | declare name "pre 12AU7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
amp = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,wet_dry) :
hgroup("sta... |
084d00e2aee4d4c25e904b2269a3e3cc82d4740e41dcd658088b153ed5d80470 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp7.dsp | declare id "pre 12ax7/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 12ax7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 -> pusch pull 6V6
*/
peak1 = fi.allpass... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp7.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12ax7 -> pusch pull 6V6
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100, 1) : /(100) : smoot... | declare name "pre 12ax7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1)
: component("gxdistortion.dsp").dist2(drive,wet_dry)
... |
afdf28405aa72078377352bf570fdd8f876a16de4e6651e4d335d6311e62a4da | ml-wo/VirtualGuitarAmp-Guitarix | gxamp8.dsp | declare id "pre 12AU7/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 12AU7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 -> pusch pull 6V6
*/
peak1 = fi.allpassn(4,(... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp8.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
* 12AU7 -> pusch pull 6V6
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.... | declare name "pre 12AU7/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,wet_dry) :
hgroup(... |
07c2ba966094009e058a59e946d22f43b1f175c354b1442f30390246f8af79ff | ml-wo/VirtualGuitarAmp-Guitarix | gxamp16_stereo.dsp | declare id "pre 12AT7/ push pull 6V6"; // in amp tube ba.selector
declare name "pre 12AT7/ push pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> push pull 6V6
*/
peak1 = fi.allpassn(4,(-... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp16_stereo.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> push pull 6V6
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.9... | declare name "pre 12AT7/ push pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
amp = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,wet_dry) :
hgroup("sta... |
10bbe93cdf7c13452334839548165d8994302b34ea6e374b0f3c16e33e60cfe0 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp6_stereo.dsp | declare id "pre 6DJ8/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 6DJ8/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_driv... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp6_stereo.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 "pre 6DJ8/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
amp = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,wet_dry) :
hgroup("stag... |
fbae0a046e0aec39c786aa49cd1f46a38a7c0d4ed533701afe452b36878a7f8e | ml-wo/VirtualGuitarAmp-Guitarix | duck_delay.dsp | declare id "duckDelay";
declare name "Duck Delay";
declare category "Echo / Delay";
//------------------------------------
//Inspired by:
//http://www.gvst.co.uk/gduckdly.htm
//Axe-FX II Owner's manual:5.6
//------------------------------------
//------------------------------------
//Description:
//The delayed sig... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/duck_delay.dsp | faust | ------------------------------------
Inspired by:
http://www.gvst.co.uk/gduckdly.htm
Axe-FX II Owner's manual:5.6
------------------------------------
------------------------------------
Description:
The delayed signal added to output dependent of input signal amplitude.
If the input signal is high. The delayed signa... | declare id "duckDelay";
declare name "Duck Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
p_time = hslider("time", 500, 1, 2000, 1):si.smooth(ba.tau2pole(0.1));
p_feedback = hslider("feedback", 0, 0, 1, 0.05);
p_attack_time = hslider("attack", 0.1, 0.05, 0.5, 0.05);
p_release_time = hslider("rel... |
7e6b6dbd3c595e884f31f09f3724203eec7ba5cef7ee99b9608e7eaac1eec750 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp16.dsp | declare id "pre 12AT7/ push pull 6V6"; // in amp tube ba.selector
declare name "pre 12AT7/ push pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> push pull 6V6
*/
peak1 = fi.allpassn(4,(-... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp16.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube amp Emulation stage 1 - 2 - 3
* 12AT7 -> push pull 6V6
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.9... | declare name "pre 12AT7/ push pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,wet_dry) :
hgroup(... |
7428af11a21a42420fd03365ad7506a19954acf35f30fdae754f8ced08086576 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp6.dsp | declare id "pre 6DJ8/ push-pull 6V6"; // in amp tube ba.selector
declare name "pre 6DJ8/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_driv... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxamp6.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 "pre 6DJ8/ push-pull 6V6";
import("stdfaust.lib");
import("guitarix.lib");
peak1 = fi.allpassn(4,(-0.2, 0.3, 0.4, 0.5));
gx_drive(drive) = _ <: _ + nonlin(4,4,0.125) * drive * 10 ;
process = hgroup("stage1", stage1) :
component("gxdistortion.dsp").dist2(drive,wet_dry) :
hgroup("... |
35739e6577ff3f29b12fe728a00c541a7edfdc477573695b4248940eae76c858 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp4.dsp | declare id "pre 12AU7/ master 6V6"; // in amp tube ba.selector
declare name "pre 12AU7/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
bifilter = fi.tf2(b0,b1,b2,a1... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp4.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
b0 = 1;
b1 = -1.01;
b2 = 0;
a1 = -1.84;
a2 = 0.846416;
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100... | declare name "pre 12AU7/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
bifilter = fi.tf2(b0,b1,b2,a1,a2) with
{
c = 1.059;
R = 0.9221;
lc0 = 0.00506158;
lc1 = 0.06446806;
lc2 = 0.27547621;
lc3 = 0.43359433;
lc4 = 1.31282248;
lc5 = 0.0723888... |
c05ce0f52deb3ef3eda2fff20c2f29ba53158bf7ce84ae07a407fc18a07860b0 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp5.dsp | declare id "pre 12ax7/ master 6V6"; // in amp tube ba.selector
declare name "pre 12ax7/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
bifilter = fi.tf2(b0,b1,b2,a1... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp5.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
b0 = 1;
b1 = -1.01;
b2 = 0;
a1 = -1.84;
a2 = 0.846416;
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100... | declare name "pre 12ax7/ master 6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
bifilter = fi.tf2(b0,b1,b2,a1,a2) with
{
c = 1.059;
R = 0.9221;
lc0 = 0.00506158;
lc1 = 0.06446806;
lc2 = 0.27547621;
lc3 = 0.43359433;
lc4 = 1.31282248;
lc5 = 0.0723888... |
c0adf3f84b745acad3e128e7bf7e1b41080df697704a58bd0cbf4961bffee64c | ml-wo/VirtualGuitarAmp-Guitarix | gxtubevibrato.dsp | /*
Attempt at a true vibrato
And it works well!
Sounds very sweet with tubes wrapped
Need
LFO to modulate de.delay - LFO 5 - 14Hz
speed and depth
*/
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
/* os.triangle oscillator (not bandlimited, frequency is approximate) */
trianglewave(freq) = _ ~... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxtubevibrato.dsp | faust |
Attempt at a true vibrato
And it works well!
Sounds very sweet with tubes wrapped
Need
LFO to modulate de.delay - LFO 5 - 14Hz
speed and depth
os.triangle oscillator (not bandlimited, frequency is approximate)
vibrato unit, using os.triangle or sine oscillator as lfo
to modulate the de.delay time
max(0) bec... | import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
trianglewave(freq) = _ ~ (_ <: _ + hyst) : /(periodsamps) with {
if(c,t,e) = select2(c,e,t);
hyst(x) = if(_ > 0, 2 * (x < periodsamps) - 1, 1 - 2 * (x > 0)) ~ _;
periodsamps = int(ma.SR / (2*float(freq)));
};
vibrato = ((( lfo + 1 ) *... |
5240f9929eb9ab8b967dac5d166df13d4c5ecb72cbc1fcd26171dc5ad7af8e36 | ml-wo/VirtualGuitarAmp-Guitarix | tremolo.dsp | declare name "Tremolo";
declare category "Modulation";
declare gladefile "tremolo_ui.glade";
/*
** Model of a vactrol tremolo unit by "transmogrify"
** c.f. http://sourceforge.net/apps/phpbb/guitarix/viewtopic.php?f=7&t=44&p=233&hilit=transmogrifox#p233
** http://transmogrifox.webs.com/vactrol.m
*/
import("stdfaust.l... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/tremolo.dsp | faust |
** Model of a vactrol tremolo unit by "transmogrify"
** c.f. http://sourceforge.net/apps/phpbb/guitarix/viewtopic.php?f=7&t=44&p=233&hilit=transmogrifox#p233
** http://transmogrifox.webs.com/vactrol.m
vactrol model
transcendental functions in fast signal path:
** cds: 2 exp() (2 alpha containing each 1 exp())
** v... | declare name "Tremolo";
declare category "Modulation";
declare gladefile "tremolo_ui.glade";
import("stdfaust.lib");
R1 = 2700;
Ra = 1e6;
Rb = 300;
b = exp(log(Ra)/log(Rb)) - exp(1);
dTC = 0.06;
minTC = log(0.005/dTC);
cds = ((_ <: _,_),_ : _+(1-alpha)*_) ~ (_<:*(alpha)) with {
iSR = 1/ma.SR;
dRC = dTC * ... |
e8caf2329c5c50d4189ff21a53995bf7f4ba04a94953d696cb6930cf8ac3424f | ml-wo/VirtualGuitarAmp-Guitarix | thick_distortion.dsp | declare id "thick_distortion";
declare name "Thick Distortion";
declare category "Distortion";
declare author "Viacheslav Lotsmanov";
declare license "BSD";
declare copyright "(c) 2018 Viacheslav Lotsmanov";
/*
This effect was written first in Haskell as standalone JACK application.
Can be found h... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/thick_distortion.dsp | faust |
This effect was written first in Haskell as standalone JACK application.
Can be found here: https://github.com/unclechu/haskell-audio-dsp
There's simple idea behind this distortion effect.
Main thing is that current sample depends on previous one, "Thickness" value
is a coefficient of how much previous sample wi... | declare id "thick_distortion";
declare name "Thick Distortion";
declare category "Distortion";
declare author "Viacheslav Lotsmanov";
declare license "BSD";
declare copyright "(c) 2018 Viacheslav Lotsmanov";
import("stdfaust.lib");
gain
= vslider("input_gain[name:Input][tooltip:Gain (dB)]", 0, 0,... |
133867e538409c6cf85f9fe27c21379368e8a44e3561db25ce69c443c8cf2dc5 | ml-wo/VirtualGuitarAmp-Guitarix | gxamp2.dsp | declare id "6V6"; // in amp tube ba.selector
declare name "6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
*/
bifilter = fi.tf2(b0,b1,b2,a1,a2) with
{
c = 1.059;
R = 0... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxamp2.dsp | faust | in amp tube ba.selector
***************************************************************
** Tube Preamp Emulation stage 1 - 2
b0 = 1;
b1 = -1.01;
b2 = 0;
a1 = -1.84;
a2 = 0.846416;
drive = vslider(".gxdistortion.drive[alias]",0.35, 0, 1, 0.01);
wet_dry = vslider(".gxdistortion.wet_dry[alias]", 100, 0, 100... | declare name "6V6";
declare samplerate "96000";
import("stdfaust.lib");
import("guitarix.lib");
bifilter = fi.tf2(b0,b1,b2,a1,a2) with
{
c = 1.059;
R = 0.9221;
lc0 = 0.00506158;
lc1 = 0.06446806;
lc2 = 0.27547621;
lc3 = 0.43359433;
lc4 = 1.31282248;
lc5 = 0.07238887;
fc = 1200 :... |
1ce6ac6bc8eed242c38ef696de65ba2d6a0d0ef972deff9fb91155258f81de93 | ml-wo/VirtualGuitarAmp-Guitarix | dunwah.dsp | declare id "dunwah";
declare name "DunWah";
import("stdfaust.lib");
dunwah = *(gs) : fi.tf2(1,-1,0,a1s,a2s)
with {
// calculated by dunwah1.py
theta2pi = (1892.75 - 1 / (((0.000927476*wah+-0.00197293)*wah+0.002474)*wah+-0.00152132))/ma.SR;
Q = ((-12.1248*wah+21.9241)*wah+-33.2116)*wah+25.8564;
g = 0.0... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/dunwah.dsp | faust | calculated by dunwah1.py
biquad coeff
biquad coeff
dezippering of slider-driven signals:
smoothing parameter (one-fi.pole fi.pole location)
wah = vslider("wah", 0, 0, 1, 0.01) : *(9) : +(1) : log10;
calculated by dunwah2.py
dezippering of slider-driven signals:
smoothing parameter (one-fi.pole fi.pole location)... | declare id "dunwah";
declare name "DunWah";
import("stdfaust.lib");
dunwah = *(gs) : fi.tf2(1,-1,0,a1s,a2s)
with {
theta2pi = (1892.75 - 1 / (((0.000927476*wah+-0.00197293)*wah+0.002474)*wah+-0.00152132))/ma.SR;
Q = ((-12.1248*wah+21.9241)*wah+-33.2116)*wah+25.8564;
g = 0.025 - 1 / ((((-127.479*wah+387.41... |
ff203f49a7a3c08d6dd5c2d77b579a1a4fdb001afc66f218b514c0c25ada2e9c | ml-wo/VirtualGuitarAmp-Guitarix | duck_delay_st.dsp | declare id "duckDelaySt";
declare name "Duck Delay St";
declare category "Echo / Delay";
//------------------------------------
//Description:
//The delayed signal added to output dependent of input signal amplitude.
//If the input signal is high. The delayed signall turned off, and vise versa.
//The switching cont... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/duck_delay_st.dsp | faust | ------------------------------------
Description:
The delayed signal added to output dependent of input signal amplitude.
If the input signal is high. The delayed signall turned off, and vise versa.
The switching controlled by envelope follower
(parameters: "attack", "release", and main - "amount", what is controls e... | declare id "duckDelaySt";
declare name "Duck Delay St";
declare category "Echo / Delay";
import("stdfaust.lib");
p_time = hslider("time", 500, 1, 2000, 1):si.smooth(ba.tau2pole(0.1));
p_feedback = hslider("feedback", 0, 0, 1, 0.05);
p_pingpong = hslider("pingpong", 0, 0, 1, 0.05);
coloration = hslider("coloration"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.