Hi,
I would like to get a very fast *staccato* sound using just *ASR* ou *ADSR*
envelop.
I tried a lot of values but the sound continues the same (*legato*).
I think that my problem is how apply the envelop in the final "process".
My code:
==================
import ("music.lib");
import("instrument.lib");
freq = nentry("freq", 440, 20, 20000, 1); // Hz
gain = nentry("gain", 1, 0, 10, 0.01); // %
gate = button("gate") : smooth(0.999); // 0/1
sine = osc(freq) * gain;
Attack = hslider("Attack",0.1,0,2,0.01);
Decay = hslider("Decay",0.1,0,2,0.01);
Sustain = hslider("Sustain",0.1,0,2,0.01);
Release = hslider("Release",0.1,0,2,0.01);
ASR_env = asr(Attack, Sustain, Release, gate) * 0.5;
ADSR_env = adsr(Attack, Decay, Sustain, Release, gate) * 0.5;
process = (sine * ASR_env) * gate <: _, _;
//process = (sine * ADSR_env) * gate <: _, _;
====================
Could you help me?
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users