[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] Ugen creation q



No the difference is that the frequency is latched when the lfpulse outputs a pulse, so it requires access to its own output. This is easy to do in a ugen.

On Tuesday, January 7, 2003, at 05:07 AM, Julian Rohrhuber wrote:

just for my understanding: what you attempted was a ugen that has
two inputs, a control and a trigger and you awanted it to only
return the latest control value if it was triggered?

LFPulse.kr(Latch.kr(aControl, aTrigger)) didn't work.

James, what is the difference to

LFPulse.kr(Latch.kr(aUGen, aTrigger)) ?

--
--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.16.sea.hqx>