_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 |
|---|---|---|---|---|---|---|---|
dc494fc3a1c73ae8e7019505ffa124b97559d0f90be4e858982c2553687fa146 | 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/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[name:Delay]", 500, 1, 2000, 1):si.smooth(ba.tau2pole(0.1));
p_feedback = hslider("feedback[name:Feedback]", 0, 0, 1, 0.05);
p_pingpong = hslider("pingpong[name:Ping Pong]", 0, 0, ... |
4239a42308c2871419eb056c0909193d267a37d90f52cf2ae01d26d45de00248 | ml-wo/VirtualGuitarAmp-Guitarix | mbdel.dsp | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/mbdel.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ... |
ff9fb6aa5b8770b2ef43e687a8774925eef1792d6e970490f54f3db549efa02e | ml-wo/VirtualGuitarAmp-Guitarix | mbe.dsp | declare id "mbe";
declare name "MultiBand Echo";
declare shortname "MB Echo";
declare category "Echo / Delay";
declare description "Multi Band Echo";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 ,... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/mbe.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbe";
declare name "MultiBand Echo";
declare shortname "MB Echo";
declare category "Echo / Delay";
declare description "Multi Band Echo";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ,80 ,... |
8f7948023260bcb02d19e84b894935eff5d3449f05602fd3f291af2c3288791d | ml-wo/VirtualGuitarAmp-Guitarix | gx_vibrochump.dsp | declare id "Redeye Vibro Chump"; // in amp tube ba.selector
declare name "Redeye Vibro Chumo";
declare category "Amplifier";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
/****************************************************************
** Tube Preamp Emulation stage 1 - 2
**
** SHP : Experi... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_vibrochump.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 Vibro Chumo";
declare category "Amplifier";
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;... |
fd613e98fb93816dee9fb354d2b035b621134c328cf6a37bd39312d0a0ee1efd | ml-wo/VirtualGuitarAmp-Guitarix | mbd.dsp | declare id "mbd";
declare name "MultiBand Distortion";
declare shortname "MB Distortion";
declare category "Distortion";
declare description "MultiBand Distortion";
import("stdfaust.lib");
import("reducemaps.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hsl... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/mbd.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbd";
declare name "MultiBand Distortion";
declare shortname "MB Distortion";
declare category "Distortion";
declare description "MultiBand Distortion";
import("stdfaust.lib");
import("reducemaps.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hsl... |
f82803c1031c2157b43fc4010e70bcb0e01a42940c0e5255a43ac3139bda8e4a | ml-wo/VirtualGuitarAmp-Guitarix | graphiceq.dsp | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
rd = library("reducemaps.lib");
//geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.));
geq = fi.filterbank(3, (44., 88., 177., 354., 707... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/graphiceq.dsp | faust | geq = fi.filterbank(3, (31.25, 62.5, 125., 250., 500., 1000., 2000., 4000., 8000., 16000.)); | declare id "graphiceq";
declare name "Graphic EQ";
declare category "Tone Control";
declare description "Graphic EQ";
import("stdfaust.lib");
rd = library("reducemaps.lib");
geq = fi.filterbank(3, (44., 88., 177., 354., 707., 1414., 2828., 5657., 11384., 18110.));
g1 = vslider("g1[tooltip:gain (dB) below 31.25 Hz]",... |
13ae2d1bd903f5287eeb2641c0e0ed51bbc3e15e311dfb3b02744dbde8e4ef5f | ml-wo/VirtualGuitarAmp-Guitarix | mbclipper.dsp | declare id "mbclip";
declare name "MultiBand Clipper";
declare shortname "MB Clipper";
declare category "Distortion";
declare description "MultiBand Clipper";
import("stdfaust.lib");
import("reducemaps.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hslider("... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/mbclipper.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbclip";
declare name "MultiBand Clipper";
declare shortname "MB Clipper";
declare category "Distortion";
declare description "MultiBand Clipper";
import("stdfaust.lib");
import("reducemaps.lib");
anti_denormal = pow(10,-20);
anti_denormal_ac = 1 - 1' : *(anti_denormal) : + ~ *(-1);
hifr1 =hslider("... |
db4028f98147444d074945af9bc262ee3ad14b190c437ad77f30f026d976deeb | ml-wo/VirtualGuitarAmp-Guitarix | gx_studiopre.dsp | // Yet another tube preamp experiment
// So far so good :
// Bright bypass must not do fi.zero division
// Look at actual gain of tube stages in real preamp
// and maybe adjust stage1 outpu to reflect as at present with gain at 0dB get very
// little distortion/overload
// Also look at relative loss in tonestack
// s... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_studiopre.dsp | faust | Yet another tube preamp experiment
So far so good :
Bright bypass must not do fi.zero division
Look at actual gain of tube stages in real preamp
and maybe adjust stage1 outpu to reflect as at present with gain at 0dB get very
little distortion/overload
Also look at relative loss in tonestack
stage1 gain is 30... |
import("stdfaust.lib");
import("guitarix.lib");
studiopre( tone, gain ) = stage1:*(10):tone:gain:stage2 with{
};
process =studiopre( tone_l,gain_l) with{
volume_l = vslider("Volume_L[alias][style:knob]",5,0,10,0.1)/10;
tstack_l = component("tonestack.dsp");
tone_l = tstack_l[tse=tstack_l.ts.fender_default;
t... |
476e7d76e01817909f9252de98c6abb3cbd0741c79dd769847f6fb0c5e988746 | ml-wo/VirtualGuitarAmp-Guitarix | ruin.dsp | // generated automatically
// DO NOT MODIFY!
declare id "ruin";
declare name "Ruiner";
declare category "Fuzz";
declare shortname "Ruiner";
declare description "Devi Ever Dark Boost";
declare drywetbox "true";
declare samplerate "96000";
import("stdfaust.lib");
import("trany.lib");
ruinerp1 = pre : fi.iir((b0/a0,b1/a... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/ruin.dsp | faust | generated automatically
DO NOT MODIFY!
clip(x) = ((exp(x*4)-exp(-x*4*1.2))/(exp(x*4)+exp(-x*4)))/4; | declare id "ruin";
declare name "Ruiner";
declare category "Fuzz";
declare shortname "Ruiner";
declare description "Devi Ever Dark Boost";
declare drywetbox "true";
declare samplerate "96000";
import("stdfaust.lib");
import("trany.lib");
ruinerp1 = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with {
LogPot(a, ... |
1d5fd708a0bce0e8678568c54cfbe4ad82f44f62ff3177d8ab0b9752ae5ef9a6 | ml-wo/VirtualGuitarAmp-Guitarix | uniBar.dsp | declare name "Nonlinear Banded Waveguide Models";
declare author "Romain Michon";
declare copyright "Romain Michon (rmichon@ccrma.stanford.edu)";
declare version "1.0";
declare licence "STK-4.3"; // Synthesis Tool Kit 4.3 (MIT style license);
declare description "This instrument uses banded pm.waveguide. For more infor... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/uniBar.dsp | faust | Synthesis Tool Kit 4.3 (MIT style license);
==================== GUI SPECIFICATION ================
==================== MODAL PARAMETERS ================
==================== SIGNAL PROCESSING ================
----------------------- Synthesis parameters computing and functions declaration ---------------------------... | declare name "Nonlinear Banded Waveguide Models";
declare author "Romain Michon";
declare copyright "Romain Michon (rmichon@ccrma.stanford.edu)";
declare version "1.0";
declare description "This instrument uses banded pm.waveguide. For more information, see Essl, G. and Cook, P. Banded Waveguides: Towards Physical Mode... |
53d1b890e938104298489e6ddd7e6f9924d62e3590fa27ecbc5cb85dec30bac7 | ml-wo/VirtualGuitarAmp-Guitarix | compressor.dsp | declare name "Compressor";
declare category "Guitar Effects";
/* Compressor unit. */
//declare name "compressor -- compressor/limiter unit";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("guitarix.lib");
rd = library("reducemaps.lib");
/* Controls. */
// partition the control... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/compressor.dsp | faust | Compressor unit.
declare name "compressor -- compressor/limiter unit";
Controls.
partition the controls into these three groups
compressor controls: ratio, threshold and knee size
attack and release controls; clamped to a minimum of 1 sample
gain controls: make-up gain, compression gain meter
Compute the envel... | declare name "Compressor";
declare category "Guitar Effects";
declare author "Albert Graef";
declare version "1.0";
import("stdfaust.lib");
import("guitarix.lib");
rd = library("reducemaps.lib");
comp_group(x) = hgroup("1-compression", x);
env_group(x) = vgroup("2-envelop", x);
gain_group(x) = vgroup("3-gain", x);... |
c65c5bb58127f8d3bee86319752e4facf7fcb41f3781172da70180c219039316 | ml-wo/VirtualGuitarAmp-Guitarix | mbchor.dsp | declare id "mbchor";
declare name "Multi Band Chorus";
declare shortname "MB Chorus";
declare category "Modulation";
declare description "Multi Band Chorus";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/mbchor.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbchor";
declare name "Multi Band Chorus";
declare shortname "MB Chorus";
declare category "Modulation";
declare description "Multi Band Chorus";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency... |
895c6951cce216eae701fbd4763dec78a525bd15d12bfb8984f7cb21afa78be8 | ml-wo/VirtualGuitarAmp-Guitarix | mbdel.dsp | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/mbdel.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db; | declare id "mbdel";
declare name "MultiBand Delay";
declare shortname "MB Delay";
declare category "Echo / Delay";
declare description "Multi Band Delay";
import("stdfaust.lib");
import("reducemaps.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.bandpass frequency]" ... |
7a4a6093472102f9b30befd1bdc27b9795773a5f5173966b6b9976d6009153ea | ml-wo/VirtualGuitarAmp-Guitarix | gx_studiopre_st.dsp | // Yet another tube preamp experiment
// So far so good :
// Bright bypass must not do fi.zero division
// Look at actual gain of tube stages in real preamp
// and maybe adjust stage1 outpu to reflect as at present with gain at 0dB get very
// little distortion/overload
// Also look at relative loss in tonestack
// s... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_studiopre_st.dsp | faust | Yet another tube preamp experiment
So far so good :
Bright bypass must not do fi.zero division
Look at actual gain of tube stages in real preamp
and maybe adjust stage1 outpu to reflect as at present with gain at 0dB get very
little distortion/overload
Also look at relative loss in tonestack
stage1 gain is 30... |
import("stdfaust.lib");
import("guitarix.lib");
studiopre( tone, gain ) = stage1:*(10):tone:gain:stage2 with{
};
process =studiopre( tone_l,gain_l),studiopre(tone_r, gain_r) with{
volume_l = vslider("Volume_L[alias][style:knob]",5,0,10,0.1)/10;
volume_r = vslider("Volume_R[alias][style:knob]",5,0,10,0.1)/10;... |
a0c3c7d5142645bee12614250414444df2b7e61f778622e0b7ec5ea3d0b8ec70 | ml-wo/VirtualGuitarAmp-Guitarix | mbreverb.dsp | declare id "mbe";
declare name "MultiBand Reverb";
declare shortname "MB Reverb";
declare category "Reverb";
declare description "Multi Band Reverb";
import("stdfaust.lib");
import("reducemaps.lib");
import("guitarix.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.b... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/mbreverb.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
-----------------------------------------------
freeverb by "Grame"
-----------------------------------------------
Filter Parameters
Reverb components
---------------------------------------------------------------- | declare id "mbe";
declare name "MultiBand Reverb";
declare shortname "MB Reverb";
declare category "Reverb";
declare description "Multi Band Reverb";
import("stdfaust.lib");
import("reducemaps.lib");
import("guitarix.lib");
hifr1 =hslider("crossover_b1_b2 [log][name:Crossover B1-B2 (hz)][tooltip: Crossover fi.b... |
162834ec5b9f91943d4090abf968cc8291822c03263ce8267f0fe9b848935b80 | ml-wo/VirtualGuitarAmp-Guitarix | cstb.dsp | // generated automatically
// DO NOT MODIFY!
declare id "cstb";
declare name "Colorsound Tone Blender";
declare category "Distortion";
declare shortname "CS Toneblender";
declare description "Colorsound Tone Blender";
import("stdfaust.lib");
import("trany.lib");
process = pre : _<:*(dry),(*(wet) : fi.iir((b0/a0,b1/a0... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/cstb.dsp | faust | generated automatically
DO NOT MODIFY!
clip(x) = 0.3 * (min(0.7514,max(-0.4514,x))); | declare id "cstb";
declare name "Colorsound Tone Blender";
declare category "Distortion";
declare shortname "CS Toneblender";
declare description "Colorsound Tone Blender";
import("stdfaust.lib");
import("trany.lib");
process = pre : _<:*(dry),(*(wet) : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0,a2/a0,a3/a0,a4/a0)... |
154dc822a99d0b0e5182de72d9684cf8ba95a4e75cf8dd5122bd51c130156dbf | ml-wo/VirtualGuitarAmp-Guitarix | tonecontroll.dsp | declare id "tonemodul";
declare name "3 Band EQ";
declare category "Tone Control";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = 600; //nentry("split_low_freq", 250, 20, 600, 10... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/tonecontroll.dsp | faust | nentry("split_low_freq", 250, 20, 600, 10);
nentry("split_middle_freq", 650, 600, 1250, 10);
nentry("split_high_freq", 1250, 1250, 12000, 10);
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************... | declare id "tonemodul";
declare name "3 Band EQ";
declare category "Tone Control";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx)... |
8a5e6af2d6fbe88a90314bfc6ad06082925d1471f853d790211abafd7a6a0ddc | ml-wo/VirtualGuitarAmp-Guitarix | bfuzz.dsp | // generated automatically
// DO NOT MODIFY!
declare id "bfuzz";
declare name "Bass Fuzz Pedal";
declare category "Fuzz";
declare shortname "Bass Fuzz";
declare description "Bass Fuzz Pedal";
import("stdfaust.lib");
import("trany.lib");
process = pre : _<:*(dry),(*(wet) : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/bfuzz.dsp | faust | generated automatically
DO NOT MODIFY! | declare id "bfuzz";
declare name "Bass Fuzz Pedal";
declare category "Fuzz";
declare shortname "Bass Fuzz";
declare description "Bass Fuzz Pedal";
import("stdfaust.lib");
import("trany.lib");
process = pre : _<:*(dry),(*(wet) : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0),(a1/a0,a2/a0,a3/a0,a4/a0)) : clip):>_ with {
Lo... |
6bc90925fc7c7432e2ad6765fa0abcd514e93b8455c9f68d54ab3164691da213 | ml-wo/VirtualGuitarAmp-Guitarix | gxechocat.dsp | declare name "Tape Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
/*
HEAD SPACING
I have lold Selmer unit where playback heads are 1.5 inches apart
and record head is 1.8 inches from last playback so :
record - play4 - play 3 - play 2 - play 1
1.8 ... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxechocat.dsp | faust |
HEAD SPACING
I have lold Selmer unit where playback heads are 1.5 inches apart
and record head is 1.8 inches from last playback so :
record - play4 - play 3 - play 2 - play 1
1.8 - 1.5 - 1.5 - 1.5 - 1.5
Se we have record -1.8inches - head1, 2.3 to head2, 3.8 to head3 5.3 to head 4 !
Or at 15ips head1 120ms h... | declare name "Tape Delay";
declare category "Echo / Delay";
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
bpm = hgroup( "Echo", vslider("BPM[style:knob]", 120, 24, 360, 0.1)) ;
wow = sine( freq) * depth ;
speed = ( 72/(2*bpm)) ;
tapespeed = hgroup( "Tape Control",speed + wow );
echo = h... |
2a2853af311ee9b92fdb24bf4e6e85a92398912db20d5e00425be8d3ec82ba03 | ml-wo/VirtualGuitarAmp-Guitarix | gxdistortion.dsp | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = 300; //nentry("split_low_freq", 250, 20, 600, 10);
F1 = 1200; //nentry("split_middle_freq", 650, 600, 1250, 10);
F2 = 3200... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/gxdistortion.dsp | faust | nentry("split_low_freq", 250, 20, 600, 10);
nentry("split_middle_freq", 650, 600, 1250, 10);
nentry("split_high_freq", 1250, 1250, 12000, 10);
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************... | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1, xs) = x... |
5d4a23c81f68f7458d56aa30a499cad77680c8b84cdc4ceba87bea240f092dba | ml-wo/VirtualGuitarAmp-Guitarix | bmp.dsp | // generated automatically
// DO NOT MODIFY!
declare id "bmp";
declare name "BigMuffPi";
declare category "Fuzz";
declare shortname "BMP";
declare description "BigMuffPi";
declare samplerate "96000";
import("stdfaust.lib");
bpmin = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with {
LogPot(a, x) = ba.if(a, (ex... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/bmp.dsp | faust | generated automatically
DO NOT MODIFY! | declare id "bmp";
declare name "BigMuffPi";
declare category "Fuzz";
declare shortname "BMP";
declare description "BigMuffPi";
declare samplerate "96000";
import("stdfaust.lib");
bpmin = pre : fi.iir((b0/a0,b1/a0,b2/a0),(a1/a0,a2/a0)) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
Inverte... |
86276e3346983998e545f691d182cc54924e7f188339f44ab8fd5e2f20060716 | ml-wo/VirtualGuitarAmp-Guitarix | fuzzfacerm.dsp | // generated automatically
// DO NOT MODIFY!
declare id "fuzzfacerm";
declare name "Fuzz Face Mayer";
declare category "Fuzz";
declare shortname "FF Mayer";
declare description "Roger Mayer Fuzz Face simulation";
declare insert_p "tranyclipper3";
import("stdfaust.lib");
import("trany.lib");
process = fi.iir((b0/a0,b1... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/fuzzfacerm.dsp | faust | generated automatically
DO NOT MODIFY!
clip = tranystage(TB_KT88_68k,86.0,2700.0,5.562895) : tranystage(TB_KT88_68k,86.0,2700.0,5.562895) ; | declare id "fuzzfacerm";
declare name "Fuzz Face Mayer";
declare category "Fuzz";
declare shortname "FF Mayer";
declare description "Roger Mayer Fuzz Face simulation";
declare insert_p "tranyclipper3";
import("stdfaust.lib");
import("trany.lib");
process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) with {... |
839ab4ec5d864fec8de8fd3e3d0447234179c5732104dcc5a95089f89af5dc9f | ml-wo/VirtualGuitarAmp-Guitarix | distortion.dsp | //declare name "distortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = nentry("split_low_freq", 250, 20, 600, 10);
F1 = nentry("split_middle_freq", 650, 600, 1250, 10);
F2 = nentry("split_hig... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/faust/distortion.dsp | faust | declare name "distortion";
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************************************************************
------------------------------ ba.count and ba.take -------------... | declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = nentry("split_low_freq", 250, 20, 600, 10);
F1 = nentry("split_middle_freq", 650, 600, 1250, 10);
F2 = nentry("split_high_freq", 1250, 1250, 12000, 10)... |
87518ea1ac0f7a786392c01f2effc1146f7dbb12e6bc7780f00c68ac19810974 | ml-wo/VirtualGuitarAmp-Guitarix | tapesim.dsp | // Tape compression/saturation and frequency response
// Add wow & flutter and we have tape emulation - needsa to modulate the frequency
// which means basically vibrato
// So far so good - tubes may not be needed
// Need to work out better levels of saturation as current range too distorted
// wow at 1% is 0.15 inchs ... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/tapesim.dsp | faust | Tape compression/saturation and frequency response
Add wow & flutter and we have tape emulation - needsa to modulate the frequency
which means basically vibrato
So far so good - tubes may not be needed
Need to work out better levels of saturation as current range too distorted
wow at 1% is 0.15 inchs per second >... |
import("stdfaust.lib");
import("guitarix.lib");
import("redeye.lib");
wow = de.sdelay(N, interp, delaytime) with{
freq = hgroup( "Wow Control",vslider("wowfreq[style:knob]",0.0,0.0,4.0,0.1) );
depth = hgroup( "Wow Control",vslider("wowdepth[style:knob]",0.0,0.0,0.03,0.001) );
delaytime = modulation * ma.SR/100... |
15536806f215201122dd303e5fc9f74e0deb7bb74c7bb1eb7e609054ce0978e3 | ml-wo/VirtualGuitarAmp-Guitarix | gxdistortion.dsp | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
F = 300; //nentry("split_low_freq", 250, 20, 600, 10);
F1 = 1200; //nentry("split_middle_freq", 650, 600, 1250, 10);
F2 = 3200... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxdistortion.dsp | faust | nentry("split_low_freq", 250, 20, 600, 10);
nentry("split_middle_freq", 650, 600, 1250, 10);
nentry("split_high_freq", 1250, 1250, 12000, 10);
*********************************************************************
*** this part is included here for backward compatibility from 0.9.27 to
*** 0.9.24
**********************... | declare id "gxdistortion";
declare version "0.01";
declare author "brummer";
declare license "BSD";
declare copyright "(c)brummer 2008";
import("stdfaust.lib");
import("guitarix.lib");
countN ((xs, xxs)) = 1 + countN(xxs);
countN (xx) = 1;
takeN (1, (xs, xxs)) = xs;
takeN (1, xs) = x... |
a502e6c65d97ef6aa085c87816a865c2887a5c0e55eef942c24e23f13598834d | ml-wo/VirtualGuitarAmp-Guitarix | gx_w20.dsp | // generated automatically
// DO NOT MODIFY!
declare id "w20";
declare name "Westbury W-20";
declare category "External";
import("stdfaust.lib");
process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)):*(0.1) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_w20.dsp | faust | generated automatically
DO NOT MODIFY! | declare id "w20";
declare name "Westbury W-20";
declare category "External";
import("stdfaust.lib");
process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)):*(0.1) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
Inverted(b, x) = ba.if(b, 1 - x, x);
... |
af57f321b5bb1deccf3b3fc78eb23e316294400ccee1e5233b7df898ad17b866 | ml-wo/VirtualGuitarAmp-Guitarix | mbc.dsp | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Comp";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reducemaps.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[nomidi:no]", -70, +5));
vmet... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/mbc.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
Mono
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
Low end headsets: 13,10,4,8,11 (split... | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Comp";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reducemaps.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[nomidi:no]", -70, +5));
vmet... |
d1b9a336d457b8428344b3e46ef5364bae4beeaf39951df67a752e8b1b4c383b | ml-wo/VirtualGuitarAmp-Guitarix | mbcs.dsp | declare id "mbcs";
declare name "Multi Band Compressor Stereo";
declare shortname "MB Comp St";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reducemaps.lib");
sel1 = hslider("Mode1[enum:Compress|Bypass|Mute][tooltip: Co... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/mbcs.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
Stereo
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
Low end headsets: 13,10,4,8,11 (spl... | declare id "mbcs";
declare name "Multi Band Compressor Stereo";
declare shortname "MB Comp St";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reducemaps.lib");
sel1 = hslider("Mode1[enum:Compress|Bypass|Mute][tooltip: Co... |
5962360d6465b78e380b7807204e703cea16a192eb51dc6f5b10496e58e8a196 | ml-wo/VirtualGuitarAmp-Guitarix | mbc.dsp | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Compressor";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reducemaps.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[tooltip:no]", -70, +5)... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/mbc.dsp | faust | : max(ba.db2linear(-70)) : ba.linear2db;
Mono
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
threshold-=push ; makeup+=push
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
makeup-=safe
Low end headsets: 13,10,4,8,11 (split... | declare id "mbc";
declare name "Multi Band Compressor";
declare shortname "MB Compressor";
declare category "Guitar Effects";
declare description "Multi Band Compressor contributed by kokoko3k";
import("stdfaust.lib");
import("reducemaps.lib");
vmeter1(x) = attach(x, envelop(x) : vbargraph("v1[tooltip:no]", -70, +5)... |
70f36d91ebe4c58e6c254bdcbfaedfabb9b8a440b6e6d2541a2ee071dfd1f425 | ml-wo/VirtualGuitarAmp-Guitarix | fuzzfacefm.dsp | // generated automatically
// DO NOT MODIFY!
declare id "fuzzfacefm";
declare name "Fuzz Face Fuller";
declare category "Distortion";
declare shortname "Fuzz Face FM";
declare description "Micke Fuller Fuzz Face simulation";
import("stdfaust.lib");
import("trany.lib");
process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/fuzzfacefm.dsp | faust | generated automatically
DO NOT MODIFY! | declare id "fuzzfacefm";
declare name "Fuzz Face Fuller";
declare category "Distortion";
declare shortname "Fuzz Face FM";
declare description "Micke Fuller Fuzz Face simulation";
import("stdfaust.lib");
import("trany.lib");
process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0),(a1/a0,a2/a0,a3/a0)) : clip with {
LogPot(a, x... |
3baa831c53d57fed5aa69d8a2ea882380bbd7d646c2b633c3f45169192e05fc6 | ml-wo/VirtualGuitarAmp-Guitarix | tonestack_bm.dsp | //tonestack ba.selector
declare id "tonestack_bm";
import("stdfaust.lib");
/****************************************************************
** Equalisation 3 bandes
** C1
** IN >---------||---------
** | |
** | | R4 | | R1 Tre... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/tonestack_bm.dsp | faust | tonestack ba.selector
***************************************************************
** Equalisation 3 bandes
** C1
** IN >---------||---------
** | |
** | | R4 | | R1 Treble
** | | | |<------< Out
** ... |
declare id "tonestack_bm";
import("stdfaust.lib");
ts = environment {
k = *(1e3);
M = *(1e6);
nF = *(1e-9);
pF = *(1e-12);
R1 = 250:k;
R2 = 1:M;
R3 = 25:k;
R4 = 56:k;
C1 = 250:pF;
C2 = 20:nF;
C3 = 20:nF;
};
R1 = 250:k;
... |
43a5323dc9de820b362133fa8c3c965733a50840918554c983548ac7ec3bea9f | ml-wo/VirtualGuitarAmp-Guitarix | gxtilttone.dsp | declare id "tiltdrive";
declare name "Tilt Tone Pro";
declare category "External";
import("stdfaust.lib");
import("redeye.lib");
process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
Inverted(b, x) = ba... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gxtilttone.dsp | faust | declare id "tiltdrive";
declare name "Tilt Tone Pro";
declare category "External";
import("stdfaust.lib");
import("redeye.lib");
process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
Inverted(b, x) = ba... | |
20724cbbac9a2021728fe18aed1ef6f3e43e283fedef60a6a6b53fe9a7ab2656 | ml-wo/VirtualGuitarAmp-Guitarix | cstb.dsp | // generated automatically
// DO NOT MODIFY!
declare id "cstbt1";
declare name "Colorsound Tone Blender";
declare category "Fuzz";
declare shortname "CS Tone";
declare description "Colorsound Tone Blender";
declare insert_p "tranyclipper3";
declare drywetbox "true";
import("stdfaust.lib");
import("trany.lib");
proces... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/plugins/cstb.dsp | faust | generated automatically
DO NOT MODIFY!
clip = tranystage(TB_KT88_68k,86.0,2700.0,5.562895) : tranystage(TB_KT88_68k,86.0,2700.0,5.562895) ; | declare id "cstbt1";
declare name "Colorsound Tone Blender";
declare category "Fuzz";
declare shortname "CS Tone";
declare description "Colorsound Tone Blender";
declare insert_p "tranyclipper3";
declare drywetbox "true";
import("stdfaust.lib");
import("trany.lib");
process = fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/... |
7e928205b296776f59ddc441cfb38145329415282e872db0d4e994817a1ee8cb | ml-wo/VirtualGuitarAmp-Guitarix | gx_alembic.dsp | declare id "alembic";
declare name "Alembic Preamp";
declare category "External";
import("stdfaust.lib");
process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)):*(0.1) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
Inverted(b, x) = ba.if(b, 1 - x, x)... | https://raw.githubusercontent.com/ml-wo/VirtualGuitarAmp-Guitarix/b4f4caaed9caba9826af7d2862f7789a26e730be/trunk/src/LV2/faust/gx_alembic.dsp | faust | declare id "alembic";
declare name "Alembic Preamp";
declare category "External";
import("stdfaust.lib");
process = pre : fi.iir((b0/a0,b1/a0,b2/a0,b3/a0,b4/a0,b5/a0),(a1/a0,a2/a0,a3/a0,a4/a0,a5/a0)):*(0.1) with {
LogPot(a, x) = ba.if(a, (exp(a * x) - 1) / (exp(a) - 1), x);
Inverted(b, x) = ba.if(b, 1 - x, x)... | |
149a590aa14583d2bd6426f38e7c4d160cf1df5986064d858d0826e352f4a36c | reverbrick/contour | contour.dsp | import("stdfaust.lib");
freq = hslider("freq",440,0,2000,0.0001) : si.smoo;
ctFreq = hslider("cutoff",500,50,10000,0.01) : si.smoo;
q = hslider("q",5,1,30,0.1) : si.smoo;
gain = hslider("gain",1,0,1,0.01) : si.smoo;
duty = hslider("duty",0.5,0,1,0.01) : si.smoo;
gate = button("gate") : si.smoo;
process = os.pulsetrain(... | https://raw.githubusercontent.com/reverbrick/contour/7f7926311cbe0bbcefe16a7641ad70bf6f10c945/FAUST/contour.dsp | faust | import("stdfaust.lib");
freq = hslider("freq",440,0,2000,0.0001) : si.smoo;
ctFreq = hslider("cutoff",500,50,10000,0.01) : si.smoo;
q = hslider("q",5,1,30,0.1) : si.smoo;
gain = hslider("gain",1,0,1,0.01) : si.smoo;
duty = hslider("duty",0.5,0,1,0.01) : si.smoo;
gate = button("gate") : si.smoo;
process = os.pulsetrain(... | |
eef6cfcb205a913ac27c096159fa5d5958f14e2c10ba0110f5a57214f1790993 | reverbrick/contour | contour.dsp | import("stdfaust.lib");
freq = hslider("freq",440,0,2000,0.0001);// : si.smoo;
bend = hslider("bend",0,0,1,0.01);// : si.smoo;
detune1 = hslider("detune1",0,0,1,0.01);// : si.smoo;
detune2 = hslider("detune2",0,0,1,0.01);// : si.smoo;
ctFreq = hslider("cutoff",10000,50,10000,0.01);// : si.smoo;
q = hslider("q",1,1,30,0... | https://raw.githubusercontent.com/reverbrick/contour/7f7926311cbe0bbcefe16a7641ad70bf6f10c945/Programs/contour/contour.dsp | faust | : si.smoo;
: si.smoo;
: si.smoo;
: si.smoo;
: si.smoo;
: si.smoo; | import("stdfaust.lib");
q = hslider("q",1,1,30,0.1) : si.smoo;
gain = hslider("gain",1,0,1,0.01) : si.smoo;
duty = hslider("duty",0.5,0,1,0.01) : si.smoo;
release = hslider("release",0.2,0,5,0.01) : si.smoo;
drone = checkbox("drone");
osc1 = os.pulsetrain(freq+bend+detune1,duty) * 0.5;
osc2 = os.square(freq+bend+detun... |
d1a200450471b213af6ec73507bbcb768873258c94e97440c540e1813ac5f480 | reverbrick/contour | AdditiveSynth.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Additive synthesizer, must be used with OSC message to program sound.
// It as 8 harmonics. Each have it's own volume envelop.
//
///////////////////////////////////////////////////////////... | https://raw.githubusercontent.com/reverbrick/contour/7f7926311cbe0bbcefe16a7641ad70bf6f10c945/FAUST/AdditiveSynth.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Additive synthesizer, must be used with OSC message to program sound.
It as 8 harmonics. Each have it's own volume envelop.
//////////////////////////////////////////////////////////////////////////////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = nentry("gain", 0.5, 0, 10, 0.01);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
gFreq = midifreq * bend;
partiel(rang) = os.oscrs(gFreq*(rang+1))*volume
with {
vol... |
370105fe51141436c4a477e87ad13795fc77ba7f20e653dc264aa2fb709bda68 | reverbrick/contour | WaveSynth.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
// It's possible to add more tables step.
//
/////////////////////////////////////////////////////////... | https://raw.githubusercontent.com/reverbrick/contour/7f7926311cbe0bbcefe16a7641ad70bf6f10c945/FAUST/WaveSynth.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
It's possible to add more tables step.
////////////////////////////////////////////////////////////////////////////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = nentry("gain", 0.5, 0, 1, 0.01);
waveTravel = hslider("waveTravel [midi:ctrl]",0,0,1,0.01);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
gFreq = midifreq * bend;
lfoDepth = h... |
b8d65a659f596b3af11de04d672ae55102c78419116d47d75efb942df46c77a6 | reverbrick/contour | KarplusStrong.dsp | process = vgroup("Kisana",environment{declare name "Kisana";
declare author "Yann Orlarey";
//Modifications GRAME July 2015
/* ========= DESCRITPION =============
- Kisana : 3-loops string instrument (based on Karplus-Strong)
- Head = Silence
- Tilt = High frequencies
- Front = High + Medium frequencies
- Bottom... | https://raw.githubusercontent.com/reverbrick/contour/7f7926311cbe0bbcefe16a7641ad70bf6f10c945/FAUST/KarplusStrong.dsp | faust | Modifications GRAME July 2015
========= DESCRITPION =============
- Kisana : 3-loops string instrument (based on Karplus-Strong)
- Head = Silence
- Tilt = High frequencies
- Front = High + Medium frequencies
- Bottom = High + Medium + Low frequencies
- Left = Minimum brightness
- Right = Maximum birghtness
- Front =... | process = vgroup("Kisana",environment{declare name "Kisana";
declare author "Yann Orlarey";
import("stdfaust.lib");
process = kisana;
kisana = vgroup("Kisana", harpe(C,11,48), harpe(C,11,60), (harpe(C,11,72) : *(1.5), *(1.5))
:>*(l))
with {
C = hslider("[2]Brightness[acc:0 1 -10 0 10]", 0.2, 0, 1, 0.... |
af2516e0d6f490ecfc222d2685d305e47e108a2e053f5bd3926cc4403b8270d9 | dariosanfilippo/modified_lotka-volterra_B | modified_LV_B.dsp | // =============================================================================
// Modified Lotka-Volterra complex generator (B)
// =============================================================================
//
// Complex sound generator based on modified Lotka-Volterra equations.
// The model is structurall... | https://raw.githubusercontent.com/dariosanfilippo/modified_lotka-volterra_B/5f6a8c62525794d50a4c82ac4d772d9f69412f8a/modified_LV_B.dsp | faust | =============================================================================
Modified Lotka-Volterra complex generator (B)
=============================================================================
Complex sound generator based on modified Lotka-Volterra equations.
The model is structurally-stable thr... |
import("stdfaust.lib");
declare name "Modified Lotka-Volterra complex generator (B)";
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2021 Dario Sanfilippo
<sanfilippo.dario@gmail.com>";
declare version "1.1";
declare license "GPL v3.0 license";
lotkavolterra(L, a, b, c, d, e, f, x_0, y_0) =... |
4f02f6a87b02357e83f3e0577ff6795020a0ec0d7d6fc3e06fa3db9fae0eb376 | dariosanfilippo/maximiser | maximiser.dsp | /*******************************************************************************
********** Eight-band loudness maximiser ****************************
********************************************************************************
*
* This is an eight-band loudness maximiser based on IIR peak limiters and a... | https://raw.githubusercontent.com/dariosanfilippo/maximiser/686e91735466490d5cf3cfab200929860bc8da3c/maximiser.dsp | faust | ******************************************************************************
********** Eight-band loudness maximiser ****************************
********************************************************************************
*
* This is an eight-band loudness maximiser based on IIR peak limiters and an
... |
import("stdfaust.lib");
declare maximiserMono author "Dario Sanfilippo";
declare maximiserMono copyright
"Copyright (C) 2022 Dario Sanfilippo <sanfilippo.dario@gmail.com>";
declare version "0.0";
declare maximiserMono license "MIT-style STK-4.3 license";
peakHold(t, x) = loop ~ _
with {
loop(fb) = ba.s... |
77d5492ce4f93d6295499494e43036ed0983a0132e58a8262a8fb9b2a532655a | dariosanfilippo/concatenative_granulation | cgp.dsp | // =============================================================================
// Live concatenative granular processing
// =============================================================================
//
// This software implements non-overlapping granulation with rectangular
// windowing, i.e., concatenative ... | https://raw.githubusercontent.com/dariosanfilippo/concatenative_granulation/5be63aa727beef38ed2c94c0b32ba398bb47a36b/cgp.dsp | faust | =============================================================================
Live concatenative granular processing
=============================================================================
This software implements non-overlapping granulation with rectangular
windowing, i.e., concatenative granular pro... |
import("stdfaust.lib");
declare name "Concatenative Granular Processing";
declare author "Dario Sanfilippo";
declare copyright "Copyright (C) 2021 Dario Sanfilippo
<sanfilippo.dario@gmail.com>";
declare version "1.0";
declare license "MIT license";
lagrange_h(N, x_vals, idx) = par(n, N + 1, prod(k, N + 1, f(n, ... |
e7256e88fb61dc945b3a80d0149f913bee5c0eb9c26c7d33e21c1c8df6a73030 | dariosanfilippo/limiterStereo | limiterStereo.dsp | /*******************************************************************************
********** Look-ahead IIR stereo limiter ****************************
********************************************************************************
*
* Yet another look-ahead limiter.
*
* The novel aspect of this limiter is ... | https://raw.githubusercontent.com/dariosanfilippo/limiterStereo/da1c38cc393f08b5dd79e56ffd4e6256af07a708/limiterStereo.dsp | faust | ******************************************************************************
********** Look-ahead IIR stereo limiter ****************************
********************************************************************************
*
* Yet another look-ahead limiter.
*
* The novel aspect of this limiter is th... |
import("stdfaust.lib");
declare limiterStereo author "Dario Sanfilippo";
declare limiterStereo copyright
"Copyright (C) 2022 Dario Sanfilippo <sanfilippo.dario@gmail.com>";
declare version "0.4.0";
declare limiterStereo license "MIT-style STK-4.3 license";
sdelay(maxDelay, interpolationLen, delayLen, x) =
loo... |
a2756ee7c78ea90cab4c16edf8e0c6a479aa69e6790752b90fc6f0a9f66f029d | SpotlightKid/faustfilters | diodeladder.dsp | declare name "DiodeLadder";
declare description "FAUST Diode Ladder 24 dB LPF";
declare author "Christopher Arndt";
declare license "MIT-style STK-4.3 license";
import("stdfaust.lib");
//------------------`diodeLadder`-----------------
// 4th order virtual analog diode ladder filter. In addition to the individual
// ... | https://raw.githubusercontent.com/SpotlightKid/faustfilters/8dfb35de7b83935806abe950187e056623b6c01a/faust/diodeladder.dsp | faust | ------------------`diodeLadder`-----------------
4th order virtual analog diode ladder filter. In addition to the individual
states used within each independent 1st-order filter, there are also additional
feedback paths found in the block diagram. These feedback paths are labeled
as connecting states. Rather than s... | declare name "DiodeLadder";
declare description "FAUST Diode Ladder 24 dB LPF";
declare author "Christopher Arndt";
declare license "MIT-style STK-4.3 license";
import("stdfaust.lib");
declare diodeLadder author "Eric Tarr";
declare diodeLadder license "MIT-style STK-4.3 license";
diodeLadder(freq,Q) = ef.cubicnl(1,0... |
16567998b4166ab58da55d22c932739ca9350d21946168b4c2aaa9e51065f321 | unicornsasfuel/satuverb | satuverb.dsp | import("stdfaust.lib");
//declare dattorro_rev author "Jakob Zerbian";
//declare dattorro_rev licence "MIT-style STK-4.3 license";
declare latency_samples "7679";
Q = .71;
stereo_wetdry(wet_percent, l1, r1, l2, r2) = l1 * wet_percent + l2 * (1-wet_percent), r1 * wet_percent + r2 * (1-wet_percent);
mod_datto... | https://raw.githubusercontent.com/unicornsasfuel/satuverb/c650abdfebad0a646e3e6a0aabcdb0319d69bc96/satuverb.dsp | faust | declare dattorro_rev author "Jakob Zerbian";
declare dattorro_rev licence "MIT-style STK-4.3 license";
allpass using delay with fixed size
input pre-delay and diffusion
reverb tail effects
reverb loop
Reverb parameters
we want to shape this ourselves
no damping, we want to do our own shaping
EQ sliders
... | import("stdfaust.lib");
declare latency_samples "7679";
Q = .71;
stereo_wetdry(wet_percent, l1, r1, l2, r2) = l1 * wet_percent + l2 * (1-wet_percent), r1 * wet_percent + r2 * (1-wet_percent);
mod_dattorro_rev(pre_delay, bw, i_diff1, i_diff2, decay, d_diff1, d_diff2, damping, highpass_freq, lowpass_freq, peak_... |
730bd7349d0a66c375f48169f5e19b94aef1a115970cea231a055a98b8aef223 | HMaxime/CONDUCT | sine_synth.dsp | // tosc.dsp - test simple oscillator + MIDI bindings
import("stdfaust.lib");
process = g * a * os.oscrs(f*b) <: _,_;
a = hslider("gain [midi:ctrl 7]",1,0,1,0.001);
f = hslider("freq",392.0,200.0,450.0,0.01);
b = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.001));
g = button("gate");
| https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/SAM/sine_synth/sine_synth.dsp | faust | tosc.dsp - test simple oscillator + MIDI bindings | import("stdfaust.lib");
process = g * a * os.oscrs(f*b) <: _,_;
a = hslider("gain [midi:ctrl 7]",1,0,1,0.001);
f = hslider("freq",392.0,200.0,450.0,0.01);
b = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.001));
g = button("gate");
|
6511ff0b00a6fd5144757bfe32204251fbbdad5e9d6a23d732ad5aeaad296e6c | HMaxime/CONDUCT | AdditiveSynth_Analog.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Additive synthesizer, must be used with OSC message to program sound.
// It as 8 harmonics. Each have it's own volume envelope.
//
//////////////////////////////////////////////////////////... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/AdditiveSynth_Analog.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Additive synthesizer, must be used with OSC message to program sound.
It as 8 harmonics. Each have it's own volume envelope.
/////////////////////////////////////////////////////////////////////////////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = nentry("gain", 0.5, 0, 10, 0.01);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
gFreq = midifreq * bend;
partiel(rang) = os.oscrs(gFreq*(rang+1))*volume
with {
vol... |
ad9a985064d0227dd3507a988ccb81877ddaa3affc7babad0a9dc3622c994661 | HMaxime/CONDUCT | 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/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/smartKeyboard/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',
'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',
'Keyboard 4 - Number of Keys':'13'... |
9bd4608fedf3414e8a6b48a4093dcd036dbbc5cfd379145eb54fb800b49de856 | HMaxime/CONDUCT | WoodenKeyboard.dsp | process = vgroup("WoodenKeyboard",environment{declare name "WoodenKeyboard";
declare author "ER";
import("stdfaust.lib");
instrument = library("instruments.lib");
//d'apres les enveloppes de John Chowning utilisees dans Turenas
/* =============== DESCRIPTION ================= :
- Wooden keyboard
- Head = Echo/Silen... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/example_romann/WoodenKeyboard.dsp | faust | d'apres les enveloppes de John Chowning utilisees dans Turenas
=============== DESCRIPTION ================= :
- Wooden keyboard
- Head = Echo/Silence
- Rocking = striking across the keyboard from low frequencies (Left) to high frequencies (Right)
- Back + Rotation = long notes
- Front + Rotation = short notes
----... | process = vgroup("WoodenKeyboard",environment{declare name "WoodenKeyboard";
declare author "ER";
import("stdfaust.lib");
instrument = library("instruments.lib");
marimkey(n) = os.osc(octave(n)) * (0.1)
*(trigger(n+1) : enveloppe : fi.lowpass(1,500));
process = hand <: par(i, 10, marimkey(i)) :> echo *(3);
... |
9f383217ab19e9fc0175de2496af2f52fef6f2c773b5152f444f56fbb358a8bc | HMaxime/CONDUCT | WaveSynth_Analog.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
// It's possible to add more tables step.
//
/////////////////////////////////////////////////////////... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/WaveSynth_Analog.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
It's possible to add more tables step.
////////////////////////////////////////////////////////////////////////////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = nentry("gain", 0.5, 0, 1, 0.01);
waveTravel = hslider("waveTravel[BELA: ANALOG_0]",0,0,1,0.01);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
gFreq = midifreq * bend;
lfoDepth... |
cb0b73d082bdf436eea65e995cfc064b33150e5caa1ac85450aef0e47e41c9da | HMaxime/CONDUCT | simpleFX_Analog.dsp | import("stdfaust.lib");
//
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Simple FX chain build for a mono synthesizer.
// It control general volume and pan.
// FX Chaine is:
// Drive
// Flanger
// Reverberation
//
// This version use ANALOG IN to controle s... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/simpleFX_Analog.dsp | faust |
/////////////////////////////////////////////////////////////////////////////////////////////////
Simple FX chain build for a mono synthesizer.
It control general volume and pan.
FX Chaine is:
Drive
Flanger
Reverberation
This version use ANALOG IN to controle some of the parameters.
Other parameters conti... | import("stdfaust.lib");
drive = hslider ("drive[BELA: ANALOG_4]",0.3,0,1,0.001);
curdel = hslider("flangDel[midi:ctrl 13]",4,0.001,10,0.001);
fb = hslider("flangFeedback[midi:ctrl 94]",0.7,0,1,0.001);
fldw = hslider("dryWetFlang[BELA: ANALOG_5]",0.5,0,1,0.001);
flanger = efx
with {
fldel = (curdel + (os.lf_triang... |
9aba3425fd6c83e900d5a091d0ba60ffcf48acc70e7c4716b78261258fd5e4a8 | HMaxime/CONDUCT | crossDelay2.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Stereo Delay with feedback and crossfeedback (L to R and R to L feedback).
// And pitch shifting on feedback.
// A pre-delay without feedback is added for a wider stereo effect.
//
// Desig... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/crossDelay2.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Stereo Delay with feedback and crossfeedback (L to R and R to L feedback).
And pitch shifting on feedback.
A pre-delay without feedback is added for a wider stereo effect.
Designed to use the Analog Input for paramet... | import("stdfaust.lib");
preDelL = ba.sec2samp(hslider("preDelL[BELA: ANALOG_0]", 1,0,2,0.001)):si.smoo;
preDelR = ba.sec2samp(hslider("preDelR[BELA: ANALOG_1]", 1,0,2,0.001)):si.smoo;
delL = ba.sec2samp(hslider("delL[BELA: ANALOG_2]", 1,0,2,0.001)):si.smoo;
delR = ba.sec2samp(hslider("delR[BELA: ANALOG_3]", 1,0,2,0.0... |
84a241359aa20268decc1d6037ca50f6372c91b4370dc643f91e80e91d77b027 | HMaxime/CONDUCT | simpleSynth.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// A very simple subtractive synthesizer with 1 VCO 1 VCF.
// The VCO Waveform is variable between Saw and Square
// The frequency is modulated by an LFO
// The envelope control volum and filt... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/simpleSynth.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
A very simple subtractive synthesizer with 1 VCO 1 VCF.
The VCO Waveform is variable between Saw and Square
The frequency is modulated by an LFO
The envelope control volum and filter frequency
///////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
wfFade = hslider("waveform[midi:ctrl 70]",0.5,0,1,0.001):si.smoo;
res = hslider("resonnance[midi:ctrl 71]",0.5,0,1,0.001):si.smoo;
fr = hslid... |
2527a6762ebbc572b5573581ac8a4a33ccace2e4ad7ad415922c85fd298f91a1 | HMaxime/CONDUCT | midiOnly.dsp | //################################### midiOnly.dsp ######################################
// Faust instrument specifically designed for `faust2smartkeyb` implementing a MIDI
// controllable app where the mobile device's touch screen is used to control
// specific parameters of the synth continuously using two separate ... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/smartKeyboard/midiOnly.dsp | faust | ################################### midiOnly.dsp ######################################
Faust instrument specifically designed for `faust2smartkeyb` implementing a MIDI
controllable app where the mobile device's touch screen is used to control
specific parameters of the synth continuously using two separate X/Y cont... |
declare interface "SmartKeyboard{
'Number of Keyboards':'1',
'Keyboard 0 - Number of Keys':'2',
'Keyboard 0 - Send Freq':'0',
'Keyboard 0 - Piano Keyboard':'0',
'Keyboard 0 - Static Mode':'1',
'Keyboard 0 - Send Key X':'1',
'Keyboard 0 - Key 0 - Label':'Mod Index',
'Keyboard 0 - Key 1 - Label':'Mod Freq'
}";
... |
356225e5e1dedc0f1468a9bf6ee2f1bbf75d928dbc37b4b13b59a0f58ef4a7db | HMaxime/CONDUCT | multiSynth.dsp | //################################### multiSynth.dsp ######################################
// Faust instrument specifically designed for `faust2smartkeyb` where 4 keyboards
// are used to control 4 independent synths.
//
// ## `SmartKeyboard` Use Strategy
//
// The `SmartKeyboard` configuration is relatively simple fo... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/smartKeyboard/multiSynth.dsp | faust | ################################### multiSynth.dsp ######################################
Faust instrument specifically designed for `faust2smartkeyb` where 4 keyboards
are used to control 4 independent synths.
## `SmartKeyboard` Use Strategy
The `SmartKeyboard` configuration is relatively simple for this example... |
declare interface "SmartKeyboard{
'Number of Keyboards':'4',
'Rounding Mode':'2',
'Inter-Keyboard Slide':'0',
'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 0 - Lowest Key':'60',
'Keyboard 1 - Lowest Key... |
ecb66cceb482db66750504aab40957735d722d60d26d5ea58e86d7ba494c7801 | HMaxime/CONDUCT | WaveSynth_FX_Analog.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
// It's possible to add more tables step.
//
/////////////////////////////////////////////////////////... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/WaveSynth_FX_Analog.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
Simple demo of wavetable synthesis. A LFO modulate the interpolation between 4 tables.
It's possible to add more tables step.
////////////////////////////////////////////////////////////////////////////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
midigain = nentry("gain", 0.5, 0, 1, 0.01);
waveTravel = hslider("waveTravel[BELA: ANALOG_0]",0,0,1,0.01);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
gFreq = midifreq * bend;
lfoDepth... |
712e1fb1f67e8c7a382ce19a85cc6021bb257bfa3b6a8ac29197925f6d5e50b6 | HMaxime/CONDUCT | simpleSynth_FX_Analog.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// A very simple subtractive synthesizer with 1 VCO 1 VCF.
// The VCO Waveform is variable between Saw and Square
// The frequency is modulated by an LFO
// The envelope control volum and filt... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/simpleSynth_FX_Analog.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
A very simple subtractive synthesizer with 1 VCO 1 VCF.
The VCO Waveform is variable between Saw and Square
The frequency is modulated by an LFO
The envelope control volum and filter frequency
///////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
wfFade = hslider("waveform[BELA: ANALOG_0]",0.5,0,1,0.001):si.smoo;
res = hslider("resonnance[BELA: ANALOG_2]",0.5,0,1,0.001):si.smoo;
fr = h... |
90a22945b13044306e3bdbd50be621231972f983d1a67a85c0d58bb32b09fd18 | HMaxime/CONDUCT | simpleSynth_FX.dsp | import("stdfaust.lib");
///////////////////////////////////////////////////////////////////////////////////////////////////
//
// A very simple subtractive synthesizer with 1 VCO 1 VCF.
// The VCO Waveform is variable between Saw and Square
// The frequency is modulated by an LFO
// The envelope control volum and filt... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/bela/simpleSynth_FX.dsp | faust | /////////////////////////////////////////////////////////////////////////////////////////////////
A very simple subtractive synthesizer with 1 VCO 1 VCF.
The VCO Waveform is variable between Saw and Square
The frequency is modulated by an LFO
The envelope control volum and filter frequency
///////////////////////... | import("stdfaust.lib");
midigate = button("gate");
midifreq = nentry("freq[unit:Hz]", 440, 20, 20000, 1);
bend = ba.semi2ratio(hslider("bend [midi:pitchwheel]",0,-2,2,0.01));
wfFade = hslider("waveform[midi:ctrl 70]",0.5,0,1,0.001):si.smoo;
res = hslider("resonnance[midi:ctrl 71]",0.5,0,1,0.001):si.smoo;
fr = hslid... |
6386344256ca61f7007afe2ef02775bedd281edfbd46afaa505d6e63b00ad711 | HMaxime/CONDUCT | virtualAnalogWithEffectsForBrowser.dsp | import("stdfaust.lib");
// These are now in a separate file ./effects.dsp
// echo = echog(component("echo.dsp")); // ./echo.dsp
// flanger = flg(component("flanger.dsp")); // ./flanger.dsp
// chorus = chg(component("chorus.dsp")); // ./chorus.dsp
// reverb = rg(component("freeverb.dsp"));
process = main <: _,_; // No... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/SAM/virtualAnalog/virtualAnalogWithEffectsForBrowser.dsp | faust | These are now in a separate file ./effects.dsp
echo = echog(component("echo.dsp")); // ./echo.dsp
flanger = flg(component("flanger.dsp")); // ./flanger.dsp
chorus = chg(component("chorus.dsp")); // ./chorus.dsp
reverb = rg(component("freeverb.dsp"));
Now separate: : echo : flanger : chorus : reverb;
masterVolume... | import("stdfaust.lib");
main = (signal + attach(extInput,amp) : filters : *(ampScaling)) ~ _;
signal = oscs + noise * noiseOff * namp;
oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _;
detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001));
waveSelect(1) = osc1(v... |
f00dbbddd5a5e2ea65d8e153284aa02eeaf480703447add94023e9ac034784cd | HMaxime/CONDUCT | virtualAnalog.dsp | import("stdfaust.lib");
// These are now in a separate file ./effects.dsp
// echo = echog(component("echo.dsp")); // ./echo.dsp
// flanger = flg(component("flanger.dsp")); // ./flanger.dsp
// chorus = chg(component("chorus.dsp")); // ./chorus.dsp
// reverb = rg(component("freeverb.dsp"));
process = main <: _,_; // No... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/SAM/virtualAnalog/virtualAnalog.dsp | faust | These are now in a separate file ./effects.dsp
echo = echog(component("echo.dsp")); // ./echo.dsp
flanger = flg(component("flanger.dsp")); // ./flanger.dsp
chorus = chg(component("chorus.dsp")); // ./chorus.dsp
reverb = rg(component("freeverb.dsp"));
Now separate: : echo : flanger : chorus : reverb;
masterVolume... | import("stdfaust.lib");
main = (signal + extInput : filters : *(ampScaling)) ~ _;
signal = oscs + noise * noiseOff * namp;
oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _;
detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001));
waveSelect(1) = osc1(vslider("[3] ... |
38861cb36ec63ee2009887404f362f9c2b432876c1fe7f01ebf2cdd40514b5c9 | HMaxime/CONDUCT | virtualAnalogForBrowser.dsp | import("stdfaust.lib");
// These are now in a separate file ./effects.dsp
// echo = echog(component("echo.dsp")); // ./echo.dsp
// flanger = flg(component("flanger.dsp")); // ./flanger.dsp
// chorus = chg(component("chorus.dsp")); // ./chorus.dsp
// reverb = rg(component("freeverb.dsp"));
process = main <: _,_; // No... | https://raw.githubusercontent.com/HMaxime/CONDUCT/a70e4ab8db098cf38fb32d9fa948eb3c2939f07e/Faust%26PureData/old/faust-master-dev/examples/SAM/virtualAnalog/virtualAnalogForBrowser.dsp | faust | These are now in a separate file ./effects.dsp
echo = echog(component("echo.dsp")); // ./echo.dsp
flanger = flg(component("flanger.dsp")); // ./flanger.dsp
chorus = chg(component("chorus.dsp")); // ./chorus.dsp
reverb = rg(component("freeverb.dsp"));
Now separate: : echo : flanger : chorus : reverb;
masterVolume... | import("stdfaust.lib");
main = (signal + attach(extInput,amp) : filters : *(ampScaling)) ~ _;
signal = oscs + noise * noiseOff * namp;
oscs = par(i,3,(oscamp(i+1)*osc(i+1))) :> _;
detuneOctaves(1) = osc1(vslider("[2] DeTuning1 [units:Octaves] [midi:ctrl 24] [style:knob]",0.0,-1.0,1.0,0.001));
waveSelect(1) = osc1(v... |
2a7a14454aabea1409f71258b70a8c53cb8a91dfd3db7a73f394a81e5160c08b | Rickr922/Faust-FDS | trialStuff.dsp | import("stdfaust.lib");
inPoint=hslider("input point", floor(nPoints/2),0,nPoints-1,1);
outPoint=hslider("output point",floor(nPoints/2),0,nPoints-1,1);
nPoints=3;
force = os.osc(440):ba.selectoutn(nPoints,inPoint);//1 <: par(i, nPoints, *(i==inPoint));
process = force:ba.selectn(nPoints,outPoint);
| https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stiffStringDamp/trialStuff.dsp | faust | 1 <: par(i, nPoints, *(i==inPoint)); | import("stdfaust.lib");
inPoint=hslider("input point", floor(nPoints/2),0,nPoints-1,1);
outPoint=hslider("output point",floor(nPoints/2),0,nPoints-1,1);
nPoints=3;
process = force:ba.selectn(nPoints,outPoint);
|
e82f9e3084630b6112fcefbb3702c1ccad107ceb3b89832afd950b39f649c708 | Rickr922/Faust-FDS | hammerTrial.dsp | import("stdfaust.lib");
k = 1/ma.SR;
excit = button("click me"):ba.impulsify*0.006;
KH = 1000;
mH = 0.9;
omega0SqrH = KH/mH;
sigma0H = 14;
alpha = 2.5;
nlHammer(omega0Sqr,sigma0,kH,alpha,K,offset,fIn) =
(hammerForce<:hammerModel(fIn,K,offset,_),_)~_:_,!
with
{
hammerModel(in,K,offset) =
(_,_,_*force... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/hammerTrial.dsp | faust | import("stdfaust.lib");
k = 1/ma.SR;
excit = button("click me"):ba.impulsify*0.006;
KH = 1000;
mH = 0.9;
omega0SqrH = KH/mH;
sigma0H = 14;
alpha = 2.5;
nlHammer(omega0Sqr,sigma0,kH,alpha,K,offset,fIn) =
(hammerForce<:hammerModel(fIn,K,offset,_),_)~_:_,!
with
{
hammerModel(in,K,offset) =
(_,_,_*force... | |
ec3efbe38cf533102edf19643c2c722b47fb9b32f124b4f809e4ba011f8a9e56 | Rickr922/Faust-FDS | 1dDampedWaveEquation.dsp | import("stdfaust.lib");
import("fds.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 100;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
lambda = c*k/h;
//----------------------------------Equations--------------------------------//
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
A... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/library/1dDampedWaveEquation.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Force---------------------------------//
-----------... | import("stdfaust.lib");
import("fds.lib");
nPoints = 100;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
lambda = c*k/h;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
A = 2*(1-lambda*lambda)/C1;
B = lambda*lambda/C1;
C = C2/C1;
midCoeff = B,A,B;
midCoeffDel = 0,C,0;
r=1;
t=1;
scheme(points) = par(i,points,midCoeff,midCoeffD... |
75e3bb3e77007d2bc4a717ceb520a0715f143c35ac9c7a2b8de8c65f44696d66 | Rickr922/Faust-FDS | 1dWaveWithLibrary.dsp | import("stdfaust.lib");
/*
u_l^n+1 = 2(1-lambda^2)u_l^n - u_l^n-1 + lambda^2(u_l+1^n + u_l-1^n)
*/
k=1/ma.SR;
c=344;
h=c*k;
lambda=c*k/h;
A = 2*(1-lambda^2);
B = lambda^2;
C = -1;
r=1; t=1;
midCoeff = B,A,B;
midCoeffDel = 0,C,0;
/*
u_l^n+1 = 2(1-lambda^2)u_l^n - u_l^n-1 + 2*lambda^2(u_l+... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/FaustPM_Workshop_2021/1dWaveWithLibrary.dsp | faust |
u_l^n+1 = 2(1-lambda^2)u_l^n - u_l^n-1 + lambda^2(u_l+1^n + u_l-1^n)
u_l^n+1 = 2(1-lambda^2)u_l^n - u_l^n-1 + 2*lambda^2(u_l+1^n) | import("stdfaust.lib");
k=1/ma.SR;
c=344;
h=c*k;
lambda=c*k/h;
A = 2*(1-lambda^2);
B = lambda^2;
C = -1;
r=1; t=1;
midCoeff = B,A,B;
midCoeffDel = 0,C,0;
D = 2*lambda^2;
leftCoeff = 0,A,D;
scheme(points) = leftCoeff,midCoeffDel,par(i,points-1,midCoeff,midCoeffDel);
play = button("... |
964aa95a4008fcbfabf291eb462a7f7dbe0f5f71ca458ca32f8e23a432f2f22f | Rickr922/Faust-FDS | jamesString.dsp |
import("stdfaust.lib");
// simple loopback
straight2(X) = par(i, X*3, _);
// surface4i(X,Y,x,y): creates the connections for a surface of X*Y nodes with 3 inputs and 3 outputs
// one left, one right and one injection into itself
// with an injection point of coord x,y.
surface2i(X, x0) = route(X*3+1, X*3... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/dampedString/jamesString.dsp | faust | simple loopback
surface4i(X,Y,x,y): creates the connections for a surface of X*Y nodes with 3 inputs and 3 outputs
one left, one right and one injection into itself
with an injection point of coord x,y.
additional input for signal injection
Physical parameters for the system
"precomputed" parameters for the upd... |
import("stdfaust.lib");
straight2(X) = par(i, X*3, _);
surface2i(X, x0) = route(X*3+1, X*3,
par(x, X, connections(x)),
in, C(x0),
in, C(x0)
)
with {
connectio... |
7cb5e7ec0ca4a181f3e625d8b7aef86428dfddd6c7de40e72d1a6564255780ee | Rickr922/Faust-FDS | 2dWave.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
lambda = c*k/h;
nInputs = inputs(schemeMidPoint);
routing(X, Y, x0, y0) = route(X*Y*4+1, X*Y*4,
par(x, X, par(y, Y, connections(x,y))),
in, C(x0,y0))
with {
in = X*Y*4 + 1... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/2dWave/2dWave.dsp | faust | additional input for signal injection | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
lambda = c*k/h;
nInputs = inputs(schemeMidPoint);
routing(X, Y, x0, y0) = route(X*Y*4+1, X*Y*4,
par(x, X, par(y, Y, connections(x,y))),
in, C(x0,y0))
with {
connections(x,... |
fb23327a7e619a1320760e14282143ea82202babc6076745ae6cb21a5b2a757e | Rickr922/Faust-FDS | 1dWaveNoLibrary.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c=344;
h=c*k;
lambda=c*k/h;
/*
u_l^n+1 = 2(1-lambda^2)u_l^n - u_l^n-1 + lambda^2(u_l+1^n + u_l-1^n)
*/
updateEq(fIn, u_w, u, u_e) = 2*(1-lambda^2)*u - u' + lambda^2*(u_w+u_e) + fIn;
nPoints= 3;
build1DScheme(points) = par(i,points,updateEq);
routing = route(6,12... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/FaustPM_Workshop_2021/1dWaveNoLibrary.dsp | faust |
u_l^n+1 = 2(1-lambda^2)u_l^n - u_l^n-1 + lambda^2(u_l+1^n + u_l-1^n)
| import("stdfaust.lib");
k = 1/ma.SR;
c=344;
h=c*k;
lambda=c*k/h;
updateEq(fIn, u_w, u, u_e) = 2*(1-lambda^2)*u - u' + lambda^2*(u_w+u_e) + fIn;
nPoints= 3;
build1DScheme(points) = par(i,points,updateEq);
routing = route(6,12, (1,3), (1,6), (2,4), (2,7), (2,10), (3,8), (3,11), (4,1), (5,5), (6,9), (0,2... |
5c9fb4b7a61835e97ac53ca5b3c66e9d5a1da9c677b457992bb79470cf4b1513 | Rickr922/Faust-FDS | 1dDampedWaveEquation.dsp | import("stdfaust.lib");
declare name "1dDampedWaveEquation";
declare description "1D wave equation with added frequency independent damping.";
declare author "Riccardo Russo";
//--------------------------------Model Settings-----------------------------//
nPoints = 100;
k = 1/ma.SR;
c = 344;
h = c*k;
sig... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ead5c05c0eced6ed111dcfd8eeea14d313f74ef6/library/CorrectExamples/1dDampedWaveEquation.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Force---------------------------------//
-------... | import("stdfaust.lib");
declare name "1dDampedWaveEquation";
declare description "1D wave equation with added frequency independent damping.";
declare author "Riccardo Russo";
nPoints = 100;
k = 1/ma.SR;
c = 344;
h = c*k;
sigma0 = 5;
lambda = c*k/h;
A = 2*(1-lambda^2)/C1;
B = lambda^2/C1;
C = C2/C1;... |
1e8de9937f00e057ed4bfa867cc7da065fd56dd6eaf6d82b082bc4575e4e027a | Rickr922/Faust-FDS | 2dWave_oldMatrixOrder.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
nInputs = inputs(schemeMidPoint)-2;
routing(X, Y, x0, y0) = route(X*Y+1, X*Y*nInputs,
par(x, X, par(y, Y, connections(x,y))),
in, C(x0,y0))
wit... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/2dWave/2dWave_oldMatrixOrder.dsp | faust | additional input for signal injection
process=model(3,3); | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
nInputs = inputs(schemeMidPoint)-2;
routing(X, Y, x0, y0) = route(X*Y+1, X*Y*nInputs,
par(x, X, par(y, Y, connections(x,y))),
in, C(x0,y0))
wit... |
90795ef0946be5487e2309468d5917efe1cdae80500d4739672d8750566ddee5 | Rickr922/Faust-FDS | schemePointTrialSelector.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 4;
nPointsY = 3;
lambda = c*k/h;
alpha = lambda*lambda;
beta = 2*(1-2*lambda*lambda);
midCoeff = 0,alpha,0,
alpha,beta,alpha,
0,alpha,0;
... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/schemePointTrialSelector.dsp | faust | --------------------------------Model Settings-----------------------------//
WITH selector
process = 10,par(i,(2*r+1)^2,i):schemePoint2D(r,t,coefficients); | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 4;
nPointsY = 3;
lambda = c*k/h;
alpha = lambda*lambda;
beta = 2*(1-2*lambda*lambda);
midCoeff = 0,alpha,0,
alpha,beta,alpha,
0,alpha,0;
midCoeffDelay1 = 0,0,0,
0,-1,0,
0,0,0;
r=1;
t=1... |
3b2c32d6b94709642441fc6b2db526e3c75d7bc82dd8a41bd1ec7f8deaf7f9ce | Rickr922/Faust-FDS | 2dWaveFIN.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 30;
nPointsY = 30;
lambda = c*k/h;
nInputs = inputs(schemeMidPoint);
routing(X, Y, x0, y0) = route(X*Y*2, X*Y*nInputs,
par(x, X, par(y, Y, connections(x,y))))
with {
in = X*Y + 1; // additional inp... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/2dWave/2dWaveFIN.dsp | faust | additional input for signal injection
process=model(3,3); | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 30;
nPointsY = 30;
lambda = c*k/h;
nInputs = inputs(schemeMidPoint);
routing(X, Y, x0, y0) = route(X*Y*2, X*Y*nInputs,
par(x, X, par(y, Y, connections(x,y))))
with {
connections(x,y) = P(x,y) + X*... |
ba001f50ed8c6b54657b06ca85366f4d537bc068c319ed7882a097e8d7353573 | Rickr922/Faust-FDS | damped1dWave.dsp | /*
NOTE: There is an error both in the slides and in the code used in the video: the coefficients C1 and C2 are wrong, here you can find the correct ones.
There is not much perceptual difference, but it's error in the discretization of the PDE.
*/
import("stdfaust.lib");
k=1/ma.SR;
c=344;
h=c*k;
lambda=c*k/... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/FaustPM_Workshop_2021/damped1dWave.dsp | faust |
NOTE: There is an error both in the slides and in the code used in the video: the coefficients C1 and C2 are wrong, here you can find the correct ones.
There is not much perceptual difference, but it's error in the discretization of the PDE.
u_l^n+1 = 2(1-lambda^2)/C1 u_l^n +C2/C1 u_l^n-1 + lambda^2/C1 (u_l+1^n ... |
import("stdfaust.lib");
k=1/ma.SR;
c=344;
h=c*k;
lambda=c*k/h;
play = button("Play") : ba.impulsify;
inPoint = hslider("Input Point", floor(nPoints/2),0,nPoints-1,0.01);
outPoint = hslider("Output Point", floor(nPoints/2),0,nPoints-1,0.01);
process = play<:fd.linInterp1D(nPoints,inPoint):fd.model1D(nPoi... |
6134ba90cd9cbadcfa8cd4d585a627ea725ba0e519db8ff6a42e304226c18f5f | Rickr922/Faust-FDS | StiffString.dsp | import("stdfaust.lib");
import("fds.lib");
//----------------------------------String Settings---------------------------//
//nPoints=int(Length/h);
nPoints = 100;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 150; // Tensio... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/library/StiffString.dsp | faust | ----------------------------------String Settings---------------------------//
nPoints=int(Length/h);
Stability condition
Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness parameter
Wave speed
Frequency dependent damping
Frequency inde... | import("stdfaust.lib");
import("fds.lib");
nPoints = 100;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1*k*h^2-4*K^2*k^2)/... |
f05ac7be2ac54568f754e592ffadd3997618ec48cd6c8c83e0cdc7a9e78ce56d | Rickr922/Faust-FDS | dampedString.dsp | import("stdfaust.lib");
nInputs = 3;
surface4i(X, x0) = route(X*nInputs+1, X*nInputs,
par(x, X, connections(x)),
in, C(x0))
with {
in = X*nInputs + 1; // additional input for signal injection
connections(x) = W(x), E(x-1),
... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/dampedString/dampedString.dsp | faust | additional input for signal injection
west,
par (x, X-2, node),
east
model(4,4, _, node); //listen4(3,3, 1,1); //surface4(2,2); //surface4i(4,4,1,1);
0 1 2
q
3 4 5
6 7 8
0 1
2 3
| import("stdfaust.lib");
nInputs = 3;
surface4i(X, x0) = route(X*nInputs+1, X*nInputs,
par(x, X, connections(x)),
in, C(x0))
with {
connections(x) = W(x), E(x-1),
C(x), C(x),
E(x)... |
4be13184cd489f772dfde6bd9bb0adb83b6192ed652061c876b75f6df06a4e25 | Rickr922/Faust-FDS | schemePointTrialTake.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 4;
nPointsY = 3;
lambda = c*k/h;
alpha = 1;// lambda*lambda;
beta = 2; //2*(1-2*lambda*lambda);
midCoeff = 0,alpha,0,
alpha,beta,alpha,
0,... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/schemePointTrialTake.dsp | faust | --------------------------------Model Settings-----------------------------//
lambda*lambda;
2*(1-2*lambda*lambda);
coeff(x,y) = ba.subseq(coeffs,int((x*pointsY+y)*coeffLength),coeffLength);
process = 10,par(i,(2*r+1)^2,i):schemePoint2D(r,t,midCoeff);
process = ba.take(20,scheme(nPointsX,nPointsY));
process=ba.count(s... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 4;
nPointsY = 3;
lambda = c*k/h;
midCoeff = 0,alpha,0,
alpha,beta,alpha,
0,alpha,0,
0,0,0,
0,-1,0,
0,0,0;
r=1;
t=1;
scheme(pointsX,pointsY) = par (i, pointsX,
... |
37f3b838807c119347e04384451f1d888bdefff4055b4178da134b0bab22a6b5 | Rickr922/Faust-FDS | string1_D_route.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
lambda = c*k/h;
string1dMidPoint(fIn, uSide_l, uSide_r) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*(uSide_l-2*u+uSide_r) + fIn;
};
updatePoint(fIn, uSide_l, uSide_r) = string1dMidPoint(fIn, uSide_l, uSide_r)<:_,_; //u_(l-1)=uSide_l, u_(l+1)=uSide_r
up... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/string/string1_D_route.dsp | faust | u_(l-1)=uSide_l, u_(l+1)=uSide_r
u_(l-1)=uSide_l, u_(l+1)=uSide_r
out 8 is left free for the force in->everything else jumps one place
force in
routeOut
out signal->routed to last slot | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
lambda = c*k/h;
string1dMidPoint(fIn, uSide_l, uSide_r) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*(uSide_l-2*u+uSide_r) + fIn;
};
fixedPoint(uSide) = 0;
freePoint(uSide) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*2*(uSide - u);
};
hit = button("hi... |
161909eee016181827f0395954c674509b15becc24be731ff6b7c7f6ed6b70d0 | Rickr922/Faust-FDS | hammeredString.dsp | import("stdfaust.lib");
import("fds.lib");
//nPoints=int(Length/h);
nPoints = 100;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 150; // Tension [N]
radius = 3.5560e-04; // Radius (0.016 gauge) [m]
rho = 8.05*10^3; //... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/hammeredString.dsp | faust | nPoints=int(Length/h);
Stability condition
Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness parameter
Wave speed
Frequency dependent damping
----------------------------------Equations--------------------------------//
----------------... | import("stdfaust.lib");
import("fds.lib");
nPoints = 100;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1*... |
9b3e3674e1c6eeef37589bd71305383a2744e261cb8c625b5c0ccf856aa6269f | Rickr922/Faust-FDS | BowedString.dsp | import("stdfaust.lib");
import("fds.lib");
//----------------------------------String Settings---------------------------//
// Generic string
//nPoints=int(Length/h);
nPoints = 100;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 150; ... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/library/BowedString.dsp | faust | ----------------------------------String Settings---------------------------//
Generic string
nPoints=int(Length/h);
Stability condition
Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness parameter
Wave speed
Frequency dependent damping... | import("stdfaust.lib");
import("fds.lib");
nPoints = 100;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1... |
3e79031ae232b7bde01dd22a3b4ec9c6530d55a93283f6a2c99986c0a808b381 | Rickr922/Faust-FDS | CelloBowedString.dsp | import("stdfaust.lib");
import("fds.lib");
//----------------------------------String Settings---------------------------//
// Data:
// https://www.gamutmusic.com/cello-equal-tensioned/
L = 0.67; //[m]
//nPoints=int(Length/h);
nPoints = 200;
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((c... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/CelloBowedString.dsp | faust | ----------------------------------String Settings---------------------------//
Data:
https://www.gamutmusic.com/cello-equal-tensioned/
[m]
nPoints=int(Length/h);
Stability condition
Tension [N]
Radius [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness parameter
Wave sp... | import("stdfaust.lib");
import("fds.lib");
nPoints = 200;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
mass = Area*L*rho;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sig... |
0cc1f2818a969c4b4153ef09e9d429daa1ac3443549fcf305a3a93df6536883d | Rickr922/Faust-FDS | 2dKirchhoffThinPlate.dsp | /*
WARNING:
- At the moment, 2D models with more than 30x20 points might crash the c++
compiler.
- 2D models need to be compiled with the command line compiler, the online
compiler might not work.
*/
import("stdfaust.lib");
import("fds.lib");
//--------------------------------Model Settings----------------------... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/library/2dKirchhoffThinPlate.dsp | faust |
WARNING:
- At the moment, 2D models with more than 30x20 points might crash the c++
compiler.
- 2D models need to be compiled with the command line compiler, the online
compiler might not work.
--------------------------------Model Settings-----------------------------//
Plate stiffness parameter
Frequency indep... |
import("stdfaust.lib");
import("fds.lib");
nPointsX = 20;
nPointsY = 10;
k = 1/ma.SR;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coeff+16*K*K*k*k)));
lambda = c*k/h;
mu=K*K*k*k/(h^4);
den = 1+s0*k;
A = 2*(1-10*mu-2*lambda*lambda-4*s1*k*k)/den;
B = (s0*k+4*k*k-1)/den;
C = (8*mu + lambda*lambda + 2*s1*k*k)/... |
ea05a44ae7e6b28164513ac121aea062964084e315e593ef2cab9a9953ce6edc | Rickr922/Faust-FDS | 2dWaveV2.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 30;
nPointsY = 10;
lambda = c*k/h;
//----------------------------------Equations--------------------------------//
schemeMidPoint(fIn,u_n,u_s,u,u_w,u_e) = u*2*(1... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/2dWave/2dWaveV2.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Interpolation---------------------------------//
---... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 30;
nPointsY = 10;
lambda = c*k/h;
schemeMidPoint(fIn,u_n,u_s,u,u_w,u_e) = u*2*(1-2*lambda*lambda) - u' + lambda*lambda*(u_e+u_w+u_n+u_s) + fIn;
buildScheme(X,Y) = par (x, X,
par(y,Y, schemeMidPoint));
inPointX=hslider("in... |
5cdbf9535643d79a42e5d4a94320df8e9155c268b8a95f3e5a03b1c98ee87fd5 | Rickr922/mobile-vocoder | VocoderGUI.dsp | /*Polyphony limited to 2 because smartphone is not powerful enough*/
declare interface "SmartKeyboard{
'Number of Keyboards':'3',
'Rounding Mode':'0',
'Rounding Cycles':'3',
'Max Keyboard Polyphony':'2'
'Keyboard 0 - Orientation':'1',
'Keyboard 2 - Orientation':'1',
'Keyboard 0 - Number of Keys':'... | https://raw.githubusercontent.com/Rickr922/mobile-vocoder/3d61ab782b9e46dd64a6bd5a93e9eb6c6e18e186/VocoderGUI.dsp | faust | Polyphony limited to 2 because smartphone is not powerful enough
2^(1/12) semitone
bend = hslider("bend[acc: 0 0 -100 0 100]",1,(1/maxBend),maxBend,0.001):si.polySmooth(t,0.999,1); //DEBUG
bend = 1; //DEBUG
| declare interface "SmartKeyboard{
'Number of Keyboards':'3',
'Rounding Mode':'0',
'Rounding Cycles':'3',
'Max Keyboard Polyphony':'2'
'Keyboard 0 - Orientation':'1',
'Keyboard 2 - Orientation':'1',
'Keyboard 0 - Number of Keys':'13',
'Keyboard 1 - Number of Keys':'4',
'Keyboard 2 - Number of ... |
ce9aa143061535c019091591536c6957f7e6198bd4aa8c070d787b32f090536c | Rickr922/Faust-FDS | 2dKirchhoffThinPlate.dsp | import("stdfaust.lib");
/*
WARNING:
- At the moment, 2D models with more than 30x20 points might crash the c++
compiler.
- 2D models need to be compiled with the command line compiler, the online
compiler might not work.
*/
declare name "2dKirchhoffThinPlate";
declare description "Linear plate model with impulse... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/e6f6db399332dc26ad2904e47971f302b9a8fc63/library/CorrectExamples/2dKirchhoffThinPlate.dsp | faust |
WARNING:
- At the moment, 2D models with more than 30x20 points might crash the c++
compiler.
- 2D models need to be compiled with the command line compiler, the online
compiler might not work.
--------------------------------Model Settings-----------------------------//
Plate stiffness parameter
Frequency indep... | import("stdfaust.lib");
declare name "2dKirchhoffThinPlate";
declare description "Linear plate model with impulse excitation based on Kirchhoff-Love plates theory with added damping.";
declare author "Riccardo Russo";
nPointsX = 20;
nPointsY = 10;
k = 1/ma.SR;
coeff = c^2*k^2+4*s1*k;
h = sqrt((coeff+sqrt(coeff*coe... |
5fc4e63f94ef8274e0e661fbe6b3f847ee1ddd03a0c31f5745c5f90ee4a68a75 | Rickr922/Faust-FDS | HammeredString.dsp | import("stdfaust.lib");
declare name "HammeredString";
declare description "Linear string model coupled with a hammer model for excitation.";
declare author "Riccardo Russo";
//----------------------------------String Settings---------------------------//
//nPoints=int(Length/h);
nPoints = 100;
k = 1/ma.SR... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ead5c05c0eced6ed111dcfd8eeea14d313f74ef6/library/CorrectExamples/HammeredString.dsp | faust | ----------------------------------String Settings---------------------------//
nPoints=int(Length/h);
Stability condition
Tension [N]
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness parameter
Wave speed
Frequency dependent damping
Fr... | import("stdfaust.lib");
declare name "HammeredString";
declare description "Linear string model coupled with a hammer model for excitation.";
declare author "Riccardo Russo";
nPoints = 100;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h = sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
den = 1+sigma0*k;... |
8b0478f941236229cb37a8fcec2e754660a1a347bb6624c29aa408d0b4b11585 | Rickr922/Faust-FDS | stringDampedAuto.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 4;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
//----------------------------------Equations--------------------------------//
s... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDampedAuto.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
----------------------------------Equations--------------------------------//
n° of spatial side points needed by the update eq
u_(l-1)=uSide_l,u_(l+1)=uSide_r
modelType: 1->free-fixe... | import("stdfaust.lib");
nPoints = 4;
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
}<:par(i,spaceDep,_);
stringDampFreePoint(fIn,uSide) = u
... |
3bb4c56b703fcced189f3377229340a3ada96ca15b1f73234ab960472918448e | Rickr922/Faust-FDS | dampedStringv2.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 5;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
//----------------------------------Equations--------------------------------//
lambda = c*k/h;
nInputs = inputs(sch... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/dampedString/dampedStringv2.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Force---------------------------------//
-----------... | import("stdfaust.lib");
nPoints = 5;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
nInputs = inputs(schemeMidPoint);
schemeMidPoint(u_w,u,u_e) = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(u_w+u_e)/C1<:_,_,_;
hit = button("hit"):ba.impulsify;
stop = butto... |
7fcc38f9187f9b55d37197a09d91e587e235b623c71a7b8c67a73aa92da58ba9 | Rickr922/Faust-FDS | PianoHammeredString.dsp | import("stdfaust.lib");
import("fds.lib");
//----------------------------------String Settings---------------------------//
/* Data:
Music wire ASTM A 228
https://materials.gelsonluz.com/2020/09/astm-a228-properties-chem-mech-rankings.html
A. Stulov,
Physical modelling of the piano string scale,
Applied Acoustics,
V... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/library/PianoHammeredString.dsp | faust | ----------------------------------String Settings---------------------------//
Data:
Music wire ASTM A 228
https://materials.gelsonluz.com/2020/09/astm-a228-properties-chem-mech-rankings.html
A. Stulov,
Physical modelling of the piano string scale,
Applied Acoustics,
Volume 69, Issue 11,
2008,
Pages 977-984,
ISSN 00... | import("stdfaust.lib");
import("fds.lib");
nPoints = 77;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
mass = Area*L*rho;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigm... |
71c02a1a3c4eb509595c3456bab380b10834b78239a0fcb9500cd95d474967b1 | Rickr922/Faust-FDS | stringDampedOutSelector.dsp | import("stdfaust.lib");
/*Number of points: 19*/
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
nPoints = 19;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
//------------------------------------------Equations--------------------------
nSpatialDependency = 2; //n° of spatial side points needed by the updat... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDampedOutSelector.dsp | faust | Number of points: 19
------------------------------------------Equations--------------------------
n° of spatial side points needed by the update eq
u_(l-1)=uSide_l, u_(l+1)=uSide_
----------------------------------------Controls-----------------------------
because every module has 2 outs, except
the boundaries-> -2
-... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
nPoints = 19;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
}<:_,_;
stringDampFreePoint(uSide) = u
letrec
{
'u = u*2*(1-lambd... |
667ad97ecb1c2ec74a306ffe43a729f76b4e17e9ec4b8a0463cc56a828bd9379 | Rickr922/Faust-FDS | stringDampedOptim.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 4;
//modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
//----------------------------------Equations--------------------------------//
s... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDampedOptim.dsp | faust | --------------------------------Model Settings-----------------------------//
modelType: 1->free-fixed; 2->fixed-free; else->fixed-fixed
----------------------------------Equations--------------------------------//
n° of spatial side points needed by the update eq
u_(l-1)=uSide_l,u_(l+1)=uSide_r
modelType: 1->free-fixe... | import("stdfaust.lib");
nPoints = 4;
modelType = 0;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
nPointInputs = inputs(stringDampMidPoint);
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
};
stringDampFre... |
4548ae0d5b1adc5d8c733285867c3590d3ef8f999893770ba9451ee002f8d5f6 | Rickr922/Faust-FDS | dampedStringFIN.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 60;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
//----------------------------------Equations--------------------------------//
lambda = c*k/h;
nInputs = inputs(sc... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/dampedString/dampedStringFIN.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
west=left, east=right
----------------------------------Controls---------------------------------//
----------------------------------Force-------------------------... | import("stdfaust.lib");
nPoints = 60;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
nInputs = inputs(schemeMidPoint);
schemeMidPoint(fIn,u_w,u,u_e) =
u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(u_w+u_e)/C1 + fIn;
schemeFreePointWest(fIn,u_w,u,u_e)... |
2e2e73a6ffe7be79e619a395f7f2a8c0d8ea28bea03f01c40eff7e735b47a24c | Rickr922/Faust-FDS | 2dWaveOldAutoRoute.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
r=1;
alpha = lambda*lambda;
beta = 2*(1-2*lambda*lambda);
scheme(pointsX,pointsY) = par (i, pointsX,
... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/2dWaveOldAutoRoute.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
----------------------------------Interpolation---------------------------------//
----... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 3;
nPointsY = 3;
lambda = c*k/h;
r=1;
alpha = lambda*lambda;
beta = 2*(1-2*lambda*lambda);
scheme(pointsX,pointsY) = par (i, pointsX,
par(j,pointsY, coefficients));
inPointX=hslider("input point x", floor(n... |
580d53e79737fc204e3d99bd14815b1d4871eb040fc81ab1a8e27f48c6aed6f6 | Rickr922/Faust-FDS | string1_D.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
lambda = c*k/h;
string1dMidPoint(fIn, uSide_l, uSide_r) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*(uSide_l-2*u+uSide_r) + fIn;
};
updatePoint(fIn, uSide_l, uSide_r) = string1dMidPoint(fIn, uSide_l, uSide_r)<:_,_; //u_(l-1)=uSide_l, u_(l+1)=uSide_r
up... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/string/string1_D.dsp | faust | u_(l-1)=uSide_l, u_(l+1)=uSide_r
u_(l-1)=uSide_l, u_(l+1)=uSide_r
NOTATION: u_n_m
n indicates the number of element (update or fixed point)
m indicates the connection: 1 is left connection, 2 is right connections
Ex: the extreme left point 0 gives out only x02 because it only has a right
connection, a generi... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
lambda = c*k/h;
string1dMidPoint(fIn, uSide_l, uSide_r) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*(uSide_l-2*u+uSide_r) + fIn;
};
fixedPoint(uSide) = 0;
freePoint(uSide) = u
letrec
{
'u = 2*u-u'+ lambda*lambda*2*(uSide - u);
};
routeOut(
u... |
8b2bf4d5f9edf40dd410cb8a4ba652a343a5ec620a8656092c4dd6f393707ce6 | Rickr922/Faust-FDS | stringDamped.dsp | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
stringDampMidPoint(fIn, uSide_l, uSide_r) = u //u_(l-1)=uSide_l, u_(l+1)=uSide_
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
};
//---... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/oldRoute/stringDamped/stringDamped.dsp | faust | u_(l-1)=uSide_l, u_(l+1)=uSide_
------------------------------------------Boundaries--------------------------------------
out 18 left free for the force in->everything else jumps one place
force in
routeOut
out signal->routed to last slot | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 1000;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
lambda = c*k/h;
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(uSide_l+uSide_r)/C1 + fIn;
};
stringDampFreePoint(uSide) = u
letrec
{
'u = u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lam... |
09883a94bbd346541206de6c41ef514267b49ea104b5a4d505e46fe4447c52d4 | Rickr922/Faust-FDS | stiffString.dsp | import("stdfaust.lib");
nPoints = 10;
L = 0.1; // String length [m]
//nPoints=int(L/h);
k = 1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 150; // Tension [N]
//T = hslider("Tension",150,10,1000,0.1);
radius = 3.556... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/stiffString/stiffString.dsp | faust | String length [m]
nPoints=int(L/h);
Stability condition
Tension [N]
T = hslider("Tension",150,10,1000,0.1);
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness parameter
Wave speed
Frequency dependent damping
----------------------------------Equati... | import("stdfaust.lib");
nPoints = 10;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1*k*h^2-4*K^2*k^2)/den... |
e06ebe1e0b446036d61124e08f3f10bd52ec389af39421d078da94f60d00d261 | Rickr922/Faust-FDS | 1dDampedWave.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 6;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
lambda = c*k/h;
//----------------------------------Equations--------------------------------//
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
A = 2*(1-lambda*lambd... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/1dDampedWave/1dDampedWave.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Equations--------------------------------//
//west=left, east=right
schemeMidPoint(fIn,u_w,u,u_e) =
u*2*(1-lambda*lambda)/C1+u'*C2/C1+ lambda*lambda*(u_w+u_e)/C1 + fIn;
schemeFreePointWest(fIn,u_w,u... | import("stdfaust.lib");
nPoints = 6;
k = 1/ma.SR;
c = 344;
h = c*k;
s0 = 500;
lambda = c*k/h;
C1 = 1+(2*s0*k*k/h);
C2 = (2*s0*k*k/h)-1;
A = 2*(1-lambda*lambda)/C1;
B = lambda*lambda/C1;
C = C2/C1;
midCoeff = B,A,B;
midCoeffDel = 0,C,0;
r=1;
t=1;
scheme(points) = par(i,points,midCoeff,midCoeffDel);
play = button... |
9e972d7d9d9b8073418cc8abe5a958cd0d3d7277b63b5862c5c2542fcd140d5d | Rickr922/Faust-FDS | 2dWaveNewSchemePoint.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 10;
nPointsY = 10;
lambda = c*k/h;
A = lambda*lambda;
B = 2*(1-2*lambda*lambda);
C = -1;
midCoeff = 0,A,0,
A,B,A,
0,A,0;
midCoeffDelay1 =... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/2dWaveNewSchemePoint.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
----------------------------------Interpolation---------------------------------//
----... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 10;
nPointsY = 10;
lambda = c*k/h;
A = lambda*lambda;
B = 2*(1-2*lambda*lambda);
C = -1;
midCoeff = 0,A,0,
A,B,A,
0,A,0;
midCoeffDelay1 = 0,0,0,
0,C,0,
0,0,0;
r=1;
t=1;
coefficients... |
37c92fe96094daa237ccd3fcb636d3d4ef4e768f25f8e770f5e3bf85b3196dd1 | Rickr922/Faust-FDS | stiffStringAutoRoute.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
nPoints = 100;
L = 0.1; // String length [m]
//nPoints=int(L/h);
k = 1/48000;//1/ma.SR;
//Stability condition
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
T = 1... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/newRoute/stiffString/stiffStringAutoRoute.dsp | faust | --------------------------------Model Settings-----------------------------//
String length [m]
nPoints=int(L/h);
1/ma.SR;
Stability condition
Tension [N]
T = hslider("Tension",150,10,1000,0.1);
Radius (0.016 gauge) [m]
Density [kg/m^3];
Area of string section
Moment of Inertia
Young modulus [Pa]
Stiffness para... | import("stdfaust.lib");
nPoints = 100;
coeff = c^2*k^2 + 4*sigma1*k;
h =sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
sigma0 = 0.0005;
nInputs = inputs(schemeMidPoint);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigm... |
cf388787e209e2d545509d8a7f253a9f59b9896ee81df62e2a35b27fbbd756e1 | Rickr922/Faust-FDS | 2dWaveNewRoute.dsp | import("stdfaust.lib");
//--------------------------------Model Settings-----------------------------//
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 10;
nPointsY = 10;
lambda = c*k/h;
A = lambda*lambda;
B = 2*(1-2*lambda*lambda);
C = -1;
midCoeff = 0,A,0,
A,B,A,
0,A,0;
midCoeffDelay1 =... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/caRoute/2dWave/2dWaveNewRoute.dsp | faust | --------------------------------Model Settings-----------------------------//
----------------------------------Controls---------------------------------//
----------------------------------Library---------------------------------//
----------------------------------Interpolation---------------------------------//
----... | import("stdfaust.lib");
k = 1/ma.SR;
c = 344;
h = c * k*sqrt(2);
nPointsX = 10;
nPointsY = 10;
lambda = c*k/h;
A = lambda*lambda;
B = 2*(1-2*lambda*lambda);
C = -1;
midCoeff = 0,A,0,
A,B,A,
0,A,0;
midCoeffDelay1 = 0,0,0,
0,C,0,
0,0,0;
r=1;
t=1;
coefficients... |
9b12169157f15ec0dce62e64856078551192713c4f7fe318cbbdbb0c86e89cef | Rickr922/Faust-FDS | ControllableNonPhysicalString.dsp | import("stdfaust.lib");
/*DISCLAMER:
This is a creative "non physical" finite difference scheme physical model
of a string, intended to show how changing the different physical
parameters has an impact on the sounding characteristics of the string.
I have to say that to make things physically cor... | https://raw.githubusercontent.com/Rickr922/Faust-FDS/ada5dcf25eceaac3c2b5d13de55f2a37c9e7a34e/library/ControllableNonPhysicalString.dsp | faust | DISCLAMER:
This is a creative "non physical" finite difference scheme physical model
of a string, intended to show how changing the different physical
parameters has an impact on the sounding characteristics of the string.
I have to say that to make things physically correct, the number of
st... | import("stdfaust.lib");
nPoints = 100;
k = 1/ma.SR;
coeff = c^2*k^2 + 4*sigma1*k;
h = sqrt((coeff + sqrt((coeff)^2 + 16*k^2*K^2))/2);
den = 1+sigma0*k;
A = (2*h^4-2*c^2*k^2*h^2-4*sigma1*k*h^2+6*K^2*k^2)/den/h^4;
B = (sigma0*k*h^2-h^2+4*sigma1*k)/den/h^2;
C = (c^2*k^2*h^2+2*sigma1*k*h^2-4*K^2*k^2)/den/h^4;
D = -2*s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.