Performance: simple control of a circular curve

Accueil Forums Scripts Performance: simple control of a circular curve

  • Ce sujet contient 46 réponses, 2 participants et a été mis à jour pour la dernière fois par AntonioLen, le il y a 15 minutes.
15 sujets de 1 à 15 (sur un total de 47)
  • Auteur
    Messages
  • #2268 Répondre
    Anonyme
    Inactif

    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 Répondre
    Anonyme
    Inactif

    Hi !

    The mistake is here :

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

    should be

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

    (be careful with spaces!)

    #145940 Répondre
    CletusAcume
    Invité

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

    #147162 Répondre
    Donaldteasy
    Invité

    Swerte99 login: Swerte99 app – Swerte99 slots

    #147551 Répondre
    Donaldteasy
    Invité

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

    #147930 Répondre
    ScottAmoli
    Invité

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

    #148083 Répondre
    RobertSmode
    Invité

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

    #148814 Répondre
    Donaldteasy
    Invité

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

    #148883 Répondre
    Rodneykew
    Invité

    Link alternatif Abutogel: Abutogel login – Situs togel online terpercaya

    #149247 Répondre
    RobertSmode
    Invité

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

    #149829 Répondre
    Donaldteasy
    Invité

    Jollibet online sabong: Jollibet online sabong – jollibet casino

    #149967 Répondre
    Rodneykew
    Invité

    Abutogel: Abutogel – Situs togel online terpercaya

    #150462 Répondre
    RobertSmode
    Invité
    #150855 Répondre
    ScottAmoli
    Invité

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

    #150913 Répondre
    Donaldteasy
    Invité

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

15 sujets de 1 à 15 (sur un total de 47)
Répondre à : Performance: simple control of a circular curve
Vos informations :





© IanniX Association

Qu'est-ce que IanniX ? | Téléchargement | Showcase | Forum | Recherche | À propos