Closed colinbdclark closed 7 years ago
The flock.ugen.asr unit generator seems to output silence when a user specifies a very short attack time. In informal testing, anything faster than about 0.0001 seconds will cause the envelope to not correctly trigger. Here's an example:
flock.ugen.asr
flock.synth({ synthDef: { ugen: "flock.ugen.sinOsc", freq: 440, mul: { ugen: "flock.ugen.asr", attack: 0, sustain: 0.25, release: 0.1, gate: { ugen: "flock.ugen.mouse.click" } } } });
Similarly, fast attack times cause the envelope to never fully close:
flock.synth({ synthDef: { ugen: "flock.ugen.sinOsc", freq: 440, mul: { ugen: "flock.ugen.asr", attack: 0.01, sustain: 0.25, release: 0, gate: { ugen: "flock.ugen.mouse.click" } } } });
This means, among other things, that square envelopes aren't possible.
The
flock.ugen.asr
unit generator seems to output silence when a user specifies a very short attack time. In informal testing, anything faster than about 0.0001 seconds will cause the envelope to not correctly trigger. Here's an example:Similarly, fast attack times cause the envelope to never fully close:
This means, among other things, that square envelopes aren't possible.