Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • in reply to: Supercollider Drum Machine #335


    Hi Lowell. Sorry about the late answer.

    I think the problem is with these characteres: }, -> ‘ <- /wek/outputs -> ’ <- ).permanent_(true);

    change them to -> ‘
    Or maybe -> ”

    I don’t have how to test it right now. Or of the two should solve the problem.

    Please tell me if you do it, and which was the right one and I’ll edit the post.

    best regards,

  • in reply to: SuperCollider example #295


    Hi Rebecca, hi Tate.

    Rebecca, sorry about the late reply. Feel free to share the code I did or any that I may make. I’m on the side of those who believe that sharing knowledge is important and necessary. Just like you, as I can notice.

    Tate, you will find the answer to your question in the section “Example output programs”. It makes more sense to post it there.

    Best regards,

  • in reply to: SuperCollider example #277


    Replying to myself

    I got some really valuable advise from a SuperCollider Meister!
    He said “if your receiver program chokes on too much data or you just want to refine your code a bit, here are some techniques for limiting your network throughput…”

    So here it goes the improved version:

    // create a network address and assign it to a global variable
    ~toWekinator = NetAddr(“localhost”, 6448);

    // test sending a message
    ~toWekinator.sendMsg(‘/wek/inputs’, 0.0, 0.4, 0.8);

    //boot the server. It is needed for inner OSC msgs flow

    // the arguments to be used in the Ndef GUI
    Spec.add(\val1, [0, 1, \lin]);
    Spec.add(\val2, [0, 1, \lin]);
    Spec.add(\val3, [0, 1, \lin]);

    // the SendReply inside the Ndef uses the arguments as values and send them (still inside SuperCollider) together as an array
    Ndef(\oscValues, {|val1 = 0, val2 = 0, val3 = 0|
    var data= [val1,val2,val3];
    var trig= +; // trigger when some value changed + “updater” at 1/second, ‘/innerOscFlow’, data);

    OSCdef(\myRouter, {|msg| msg.postln}, ‘/innerOscFlow’); //just post for debugging

    // GUI for everybody!

    // get the array of values from SendReply, explode them as individual floats and send them trough the network address
    msg[3..].postln; //debug
    ~toWekinator.sendMsg(‘/wek/inputs’, *msg[3..]);
    }, ‘/innerOscFlow’);

Viewing 3 posts - 1 through 3 (of 3 total)