Connexion rapide:  

Forum: General Discussion

Sujet Actions regardless of POI

Ce topic est ancien et peut contenir des informations obselètes ou incorrectes.

Is there any way to make an "action" happen at the start of any song regardless of whether it has POI's or not?
 

Posté Tue 20 Aug 19 @ 9:44 pm
locoDogPRO InfinityModeratorMember since 2013
Yes but tell me what to want to happen.
 

Posté Tue 20 Aug 19 @ 9:59 pm
I would like the action to "push" an OS2L button at the start of every song.
 

Posté Tue 20 Aug 19 @ 10:07 pm
locoDogPRO InfinityModeratorMember since 2013
This could be on a custom button to have this automatic behaviour switched.
deck master repeat_start 'rsPulseWatch' ? deck master repeat_stop 'rsPulseWatch' : deck master repeat_start 'rsPulseWatch' 190ms & deck 1 load_pulse ? deck 2 load_pulse ? nothing : actionForDeck2 : actionForDeck1 & deck 2 load_pulse ? nothing : actionForDeck2

Or it could be added to Oninit of your controller/keyboard mapping [but can't be switched
deck master repeat_start 'rsPulseWatch' 190ms & deck 1 load_pulse ? deck 2 load_pulse ? nothing : actionForDeck2 : actionForDeck1 & deck 2 load_pulse ? nothing : actionForDeck2

A repeating script is called every 190ms and looks for load_pulse going false [load_pulse switches to false for 200ms when a deck is loaded], when false it calls the action.
 

Posté Tue 20 Aug 19 @ 10:11 pm
Thanks! I'm going to give this a try.
 

Posté Tue 20 Aug 19 @ 10:18 pm
locoDogPRO InfinityModeratorMember since 2013
Good good, if you find that load_pulse doesn't give the results you want there's always, load_pulse_active [same kind of thing but returns true when a loaded track first goes into the mix] the script would have to be juggled with a little but it's the same sort of thing.
 

Posté Tue 20 Aug 19 @ 10:37 pm


(Les anciens sujets et forums sont automatiquement fermés)