Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: Random sample every 2 minute?

This topic is old and might contain outdated or incorrect information.

Baldy68PRO InfinityMember since 2019
Can anyone give me an example script to make the event scheduler to play a random sample every 2 minutes? I would be very happy :-)
 

Posted Fri 31 Jan 20 @ 5:35 pm
locoDogPRO InfinityModeratorMember since 2013
How many samples in your bank?
 

Posted Fri 31 Jan 20 @ 5:40 pm
Baldy68PRO InfinityMember since 2019
10 for the moment
 

Posted Fri 31 Jan 20 @ 7:34 pm
locoDogPRO InfinityModeratorMember since 2013
does it have to be the event scheduler? It can't do random samples so it would be a script any way

try this on a button, this isn't really random either, but it might do

repeat_start_instant 'rsiRandSample' ? repeat_stop 'rsiRandSample' & repeat_stop 'rsiPlaySample' & set 'samplerDO' 0 : repeat_start_instant 'rsiRandSample' 77ms & sampler_select +1 & var 'samplerDO' 0 ? set 'samplerDO' 1 & repeat_start 'rsiPlaySample' 120000ms -1 & sampler_play
 

Posted Fri 31 Jan 20 @ 9:25 pm


(Old topics and forums are automatically closed)