X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/1059e1cc0c2ecfa237406949aa26155b6a5b9154..66f23d4fabf89ad09adbd4dfc15ac6b5b2b7da83:/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2pd/examples/seqdemo/organ.dsp diff --git a/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2pd/examples/seqdemo/organ.dsp b/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2pd/examples/seqdemo/organ.dsp deleted file mode 100644 index cfe43c6..0000000 --- a/interpretor/preprocessor/faust-0.9.47mr3/tools/faust2pd/examples/seqdemo/organ.dsp +++ /dev/null @@ -1,24 +0,0 @@ - -declare name "organ -- a simple additive synth"; -declare author "Albert Graef"; -declare version "1.0"; - -import("music.lib"); - -// control variables - -vol = hslider("vol", 0.3, 0, 10, 0.01); // % -pan = hslider("pan", 0.5, 0, 1, 0.01); // % -attack = hslider("attack", 0.01, 0, 1, 0.001); // sec -decay = hslider("decay", 0.3, 0, 1, 0.001); // sec -sustain = hslider("sustain", 0.5, 0, 1, 0.01); // % -release = hslider("release", 0.2, 0, 1, 0.001); // sec -freq = nentry("freq", 440, 20, 20000, 1); // Hz -gain = nentry("gain", 0.3, 0, 10, 0.01); // % -gate = button("gate"); // 0/1 - -// additive synth: 3 sine oscillators with adsr envelop - -process = (osc(freq)+0.5*osc(2*freq)+0.25*osc(3*freq)) - * (gate : vgroup("1-adsr", adsr(attack, decay, sustain, release))) - * gain : vgroup("2-master", *(vol) : panner(pan));