1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Help with script Arpeggiator free from sync

Discussion in 'KONTAKT' started by ehoff, Oct 17, 2012.

  1. ehoff

    ehoff New Member

    Messages:
    13
    Hi there,

    I was wondering if anyone has a script of a "rate free" Arpeggiator that changes in milliseconds rather then musical intervals a bit like the re-trigger script?

    P.S, I know nothing about writing scripts but enjoy using them:D
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
  3. ehoff

    ehoff New Member

    Messages:
    13
    Thank you so much mate, you're a star!
     
  4. xques

    xques New Member

    Messages:
    4
    Hi there, i edit the script, but doen't work the arp. what's wrong? i put in "on mode" like the original arp of kontakt
     
  5. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    What exactly did you edit? You're not giving an awful lot of information here...
     
  6. xques

    xques New Member

    Messages:
    4
    I copy and paste the "script" in your link, and then apply the modificated script pusshing the aply button
     
  7. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    OK, that works over here just fine.

    What might be confusing you is that the script initializes with the empty velocity table. Fill it up with all steps at 100% and it'll work :)
     
  8. Sarahl

    Sarahl New Member

    Messages:
    1
    Hey EvilDragon, How Would you incorporate a pitchdisplay with this very same script you wrote out, so you would be able to change the the pitch by
    -12-12 cents on the user UI Control? ive been trying but am coming up short.
     
    Last edited: Dec 27, 2016
  9. Cal545

    Cal545 New Member

    Messages:
    19
    Hi, I know this is a post from 2016 lol but I used your arp and I like what you've done to it compared to the Kontakt version, just one thing I was moving the features around to fit into my kontakt layout due to the wallpaper however since moving the sync rate/ms button everytime I press sync the button moves unsure to why other than because I presume its layered over each other and moving it has caused some disturbance within the code, I've tried sorting it out in the move_control section but again doesn't seem to be doing anything but allowing it to move away from where I want it, I presume its related to this? can u help?
    Thanks
     
  10. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Yeah the button swaps between two different knobs, so you need to adjust the positioning of both those knobs. This is the code that does it:

    Code:
       move_control($SyncRate,1 * $TempoSync,2 * $TempoSync)
       move_control($msRate,1 * (1 - $TempoSync),2 * (1 - $TempoSync))
    If you're positioning things in pixels, then instead of this you need to position both $SyncRate and $msRate to the same position in pixels, and then make $TempoSync hide one, show the other based on its value.
     
  11. Cal545

    Cal545 New Member

    Messages:
    19
    Hey, Yeah I saw this and I was able to move the said button but no matter what else I changed it kept moving, so was lost with which area to change below is what I changed it to

    (not using pixels either)

    I tried changing the (1 - $TempoSync) parts to no avail either, I feel like I've tried every combination

    thanks
     
  12. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    That part is found in more than one place (init callback too). Gotta catch 'em all :)
     
  13. Cal545

    Cal545 New Member

    Messages:
    19
    Awesome, didn't realise that, appreciate it, Ill have a look through tomorrow and fingers crossed
    thanks again