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

Zone Cycle Round Robin

Discussion in 'Scripting Workshop' started by foundation77, Jul 13, 2019.

  1. foundation77

    foundation77 NI Product Owner

    Messages:
    147
    Hi guys and Gals!
    I'm trying to achieve a round robin within the same group by using different zones (2 samples within a group).
    How do we get to something like this.

    I have looked up round robins cycling through groups, but yet to come accross anything that says we can cycle zones...
    I have also been able to round robins per velocity, any help appreciated!

    As an example C2 would cycle with C1 (if you see what I mean)
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Just means you'd need to swap which note gets played every other time, seems fairly simple. Have a counter that increments itself like so:

    counter := (counter + 1) mod 2

    This will always flip between 0 and 1. Now you can multiply this value to create an offset in which note needs to play.
     
    • Like Like x 1