Scripts - How To Program percentages of ANYOF

You have a question or need an advice about how to do something? Ask it here!
Post Reply
D3R3K
Posts: 44
Joined: 18 Aug 2020 00:29

Scripts - How To Program percentages of ANYOF

Post by D3R3K » 18 Aug 2020 00:36

I selected multiple libraries on a script line and want to set up percentages to schedule from each of those libraries.
Here's an example: [ANYOF: OLD 1, OLD 2, OLD 3] Want to set this script line to pick "OLD 1" 60% of time, "OLD 2" 30% of time, "OLD 3" 10% of time. Is this possible and if so, how to do it? Thanks for any help.

User avatar
radio42
Site Admin
Posts: 6383
Joined: 05 Apr 2012 16:26

Re: Scripts - How To Program percentages of ANYOF

Post by radio42 » 18 Aug 2020 07:45

This is not possible, as ANYOF selects randomly a Lib out of the given ones. There is also no plan to add such a feature to it.

Instead you can use the ‚Execute‘ mode, which executed a referenced script and returns a track as a result.
This referenced script might for example use the Random script mode (to randomly pick a script-line) and then contain as many script-lines as needed to reflect your percentage desired for the different Libs.
E.g. 3 script-lines to randomly pick from Lib A, 5 lines to randomly pick from Lib B, etc.

Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests