Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this a sensible way of sending ugen values in Utopia? #24

Open
madskjeldgaard opened this issue Jun 1, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@madskjeldgaard
Copy link

commented Jun 1, 2019

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');
@muellmusik

This comment has been minimized.

Copy link
Owner

commented Jun 1, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.