[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-users] Env.circle strangeness
Just noticed with the SynthDef from
http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/very-heavy-click-problem-with-this-synth-routine-td7606381.html
that Env.circle is not doing the same as Env( ... ).circle
Implementation shows that for the same result I'd have to invent an extra time 0 -
but not an extra level, which looks odd.
Is this intended ? Made for a specific use case ?
*circle { arg levels, times, curve = \lin;
times = times.asArray.wrapExtend(levels.size);
curve = curve.asArray.wrapExtend(levels.size);
^this.new(levels, times.drop(-1), curve.drop(-1)).circle(times.last, curve.last);
}
Regards
Daniel
-----------------------------
www.daniel-mayer.at
-----------------------------
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/