Performance: simple control of a circular curve

Home Forums Scripts Performance: simple control of a circular curve

  • This topic is empty.
Viewing 15 posts - 1 through 15 (of 101 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!)

    #183388 Reply
    Floydrip
    Guest

    medicinali generici a basso costo [url=https://farmaciafacileit.shop/#]spedizione rapida farmaci Italia[/url] farmaci senza prescrizione disponibili online

    #183401 Reply
    Davidces
    Guest

    comprar medicinas online sin receta médica: pedir fármacos por Internet – comprar medicinas online sin receta médica

    #183409 Reply
    Josephglolf
    Guest

    slot a tema fattoria Italia: casino online italiani con Chicken Road – vincite e bonus gioco Chicken Road

    #183598 Reply
    ScottSwarp
    Guest

    giocare Chicken Road gratis o con soldi veri: giocare Chicken Road gratis o con soldi veri – casino online italiani con Chicken Road

    #183599 Reply
    DavidLoyar
    Guest

    mobile Chicken Road slot app [url=https://chickenroadslotindia.shop/#]free demo Chicken Road game[/url] play Chicken Road casino online

    #183641 Reply
    Josephnus
    Guest

    real money slot Chicken Road UK: casino promotions Chicken Road game – real money slot Chicken Road UK

    #183723 Reply
    BriceSpoft
    Guest

    https://chickenroadslotindia.com/# mobile Chicken Road slot app

    #183816 Reply
    DavidLoyar
    Guest

    mobile Chicken Road slot app [url=https://chickenroadslotindia.com/#]play Chicken Road casino online[/url] how to win Chicken Road slot game

    #183854 Reply
    Josephnus
    Guest

    giri gratis Chicken Road casino Italia: giocare Chicken Road gratis o con soldi veri – Chicken Road slot machine online

    #184265 Reply
    DavidLoyar
    Guest

    casino online italiani con Chicken Road [url=https://chickenroadslotitalia.shop/#]vincite e bonus gioco Chicken Road[/url] slot a tema fattoria Italia

    #184450 Reply
    ScottSwarp
    Guest

    how to win Chicken Road slot game: secure online gambling India – bonus spins Chicken Road casino India

    #184495 Reply
    WilliamStymn
    Guest

    https://tadalmedspharmacy.shop/# Generic Cialis without a doctor prescription

    #184501 Reply
    Timothylaf
    Guest

    Sildenafil 100mg price [url=https://truevitalmeds.shop/#]Buy sildenafil online usa[/url] Sildenafil 100mg

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





© IanniX Association

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