Performance: simple control of a circular curve

Home Forums Scripts Performance: simple control of a circular curve

Viewing 15 posts - 1 through 15 (of 48 total)
  • Author
    Posts
  • #2268 Reply
    Anonymous
    Inactive

    Hi there!

    Just getting started in this wonderful software. I got a problem, and i can’t seem to find the solution in the existing performance script example (a-z)2

    What i want to do is simple. Control the size of a circular curve with a korg nano control fader. I got the following script running, which seems logical to me, but it doesn’t work. Hope someone sees a solution!


    //Script "New Script"
    //Insert requests for global variables:
    function onConfigure() {
    //title("enter title here");
    //ask("prompt", "groupName", "variableName", defaultValue);
    }

    //Insert code to create score:
    function onCreate() {
    run (" add curve 1 ")
    run (" setpos current 0 0 0 ")
    run (" setpointsellipse current 1 1 ")
    run (" add cursor 2 ")
    run (" setcurve current lastCurve ")
    }

    //If a message is received
    function onMessage(protocol, host, port, destination, values) {
    if((protocol == "midi") && (destination == "cc") && (values.length > 2)) {
    var channel = parseInt(values[0]);
    var cc = parseInt(values[1]);
    var val = parseInt(values[2]);
    var sizer = val;
    run (" setpointsellipse" + "1" + sizer + sizer);
    }
    }
    #2816 Reply
    Anonymous
    Inactive

    Hi !

    The mistake is here :

    run ("setpointsellipse" + "1" + sizer + sizer); 

    should be

    run ("setpointsellipse " + " 1 " + sizer + " " + sizer); 

    (be careful with spaces!)

    #145940 Reply
    CletusAcume
    Guest

    ivermectin injectable for cattle: how often to give ivermectin for mange – ivermectin dose for covid

    #147162 Reply
    Donaldteasy
    Guest

    Swerte99 login: Swerte99 app – Swerte99 slots

    #147551 Reply
    Donaldteasy
    Guest

    Pinco kazino: Uduslar? tez c?xar Pinco il? – Yeni az?rbaycan kazino sayt?

    #147930 Reply
    ScottAmoli
    Guest

    Ðang ký GK88: Nhà cái uy tín Vi?t Nam – Link vào GK88 m?i nh?t

    #148083 Reply
    RobertSmode
    Guest

    https://betawinindo.top/# Withdraw cepat Beta138

    #148814 Reply
    Donaldteasy
    Guest

    Abutogel login: Situs togel online terpercaya – Bandar togel resmi Indonesia

    #148883 Reply
    Rodneykew
    Guest

    Link alternatif Abutogel: Abutogel login – Situs togel online terpercaya

    #149247 Reply
    RobertSmode
    Guest

    https://abutowin.icu/# Situs togel online terpercaya

    #149829 Reply
    Donaldteasy
    Guest

    Jollibet online sabong: Jollibet online sabong – jollibet casino

    #149967 Reply
    Rodneykew
    Guest

    Abutogel: Abutogel – Situs togel online terpercaya

    #150462 Reply
    RobertSmode
    Guest
    #150855 Reply
    ScottAmoli
    Guest

    Casino online GK88: GK88 – Rút ti?n nhanh GK88

    #150913 Reply
    Donaldteasy
    Guest

    Situs judi resmi berlisensi: Slot gacor hari ini – Slot gacor hari ini

Viewing 15 posts - 1 through 15 (of 48 total)
Reply To: Performance: simple control of a circular curve
Your information:





© IanniX Association

What is IanniX? | Download | Showcase | Forums | Research | About