Utopia
Utopia copied to clipboard
Is this a sensible way of sending ugen values in Utopia?
A fairly quick question: Is this the folllowing a sensible way of sending the contents of a control rate UGen graph via Utopia or is there a smarter way of doing that ? Thanks!
~updateFreq = 10;
// LFO1
Ndef(\lfo1, {|f=0.25|
var sig = SinOsc.kr(f.linexp(0.0,1.0,0.00001,100));
SendReply.kr(Impulse.kr(~updateFreq), '/mlfo1', sig);
});
OSCdef(\lfo1, {|msg, time, addr, port|
var val = msg[3];
~objSpace[\mlfo1] = val;
}, '/mlfo1');
That’s more or less how I’d do it. Utopia is mostly lang side.
On 1 Jun 2019, at 21:37, mads kjeldgaard [email protected] wrote:
A fairly quick question: Is this the folllowing a sensible way of sending the contents of a control rate UGen graph via Utopia or is there a smarter way of doing that ? Thanks!
~updateFreq = 10;
// LFO1 Ndef(\lfo1, {|f=0.25| var sig = SinOsc.kr(f.linexp(0.0,1.0,0.00001,100)); SendReply.kr(Impulse.kr(~updateFreq), '/mlfo1', sig); });
OSCdef(\lfo1, {|msg, time, addr, port| var val = msg[3]; ~objSpace[\mlfo1] = val; }, '/mlfo1');
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.