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

Re: [sc-dev] Ugen creation q

this single ugen should be an LFPulse oscillator
it takes an input, sets its frequency to the value of the input,
and changes its frequency once everytime its own trigger happens.

it can't be done by patching ugens together because you can't patch its
output into its own input.

since neither the nose nor the butt exists yet,
it can't sniff its own butt.

On Tuesday, January 7, 2003, at 02:23 PM, James McCartney wrote:

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.

sc-dev mailing list