Hi,
I want to map a key so that it does the following:
a) If the track is playing it skips to Cue 1 and continues playing
b) If the track is not playing it skips to Cue 1 and plays while the key is pressed
I have tried using the following mapping: play ? goto_cue 1 : goto_cue 1 & play while_pressed
but it doesn't seem to work - if the key is kept pressed the track keeps repeatedly jumping back to Cue 1.
Any ideas?
Many thanks
I want to map a key so that it does the following:
a) If the track is playing it skips to Cue 1 and continues playing
b) If the track is not playing it skips to Cue 1 and plays while the key is pressed
I have tried using the following mapping: play ? goto_cue 1 : goto_cue 1 & play while_pressed
but it doesn't seem to work - if the key is kept pressed the track keeps repeatedly jumping back to Cue 1.
Any ideas?
Many thanks
Posted Fri 11 Apr 14 @ 3:06 pm
here you go.. I added a shift functionality so if you are stopped and press the button it will stutter the cue, but if you hold shift before releasing it will allow the track to keep playing. if you don't want that functionality just delete the red part
play ? goto_cue 1 : down ? goto_cue 1 & play : var '$shift' ? nothing : goto_cue 1 & pause
play ? goto_cue 1 : down ? goto_cue 1 & play : var '$shift' ? nothing : goto_cue 1 & pause
Posted Fri 11 Apr 14 @ 3:17 pm
Give this a whirl, might be close:
down ? isrepeat ? nothing : play ? hot_cue 1 : set 'cuecheck' 1 & hot_cue 1 : var 'cuecheck' ? goto_cue 1 & pause & set 'cuecheck' 0
Edit: Bah, beaten to it by a better solution ;)
down ? isrepeat ? nothing : play ? hot_cue 1 : set 'cuecheck' 1 & hot_cue 1 : var 'cuecheck' ? goto_cue 1 & pause & set 'cuecheck' 0
Edit: Bah, beaten to it by a better solution ;)
Posted Fri 11 Apr 14 @ 3:26 pm
actually I think mine may not work as the first condition will interrupt the second, Scott's is probably the one to use, here is a different version of it with the shift functionality
down ? goto_cue 1 & play ? set 'cueing' 0 & play : set 'cueing' 1 & play : var 'cueing' ? var '$shift' ? nothing : goto_cue 1 & pause : nothing
down ? goto_cue 1 & play ? set 'cueing' 0 & play : set 'cueing' 1 & play : var 'cueing' ? var '$shift' ? nothing : goto_cue 1 & pause : nothing
Posted Fri 11 Apr 14 @ 4:18 pm
Hi Synthetic and Scott,
Thanks for the help. I'm using Scotts version - now just trying to understand why it works! :-)
Thanks for the help. I'm using Scotts version - now just trying to understand why it works! :-)
Posted Sat 12 Apr 14 @ 2:55 am





