Hello there. I would like to create a mapping for my cue points. I would like to act like hotcues if playing and if not jump at cue and play while pressed. I have create a lot of different combinations but none of them seems to work. The closer I have get is the following, witch doesn’t work well when multiple cues are combined
deck 1 play ? deck 1 slip_mode ? deck 1 hot_cue 1 : deck 1 cue 1 : deck 1 hot_cue 1 ? deck 1 cue_stop 1 ? deck 1 cue_stop 1 : deck 1 pause_stop : deck 1 set_cue 1
Also the while_pressed command isn’t working if placed at a mapping which contains "?"
for example mapping
play ? hot_cue 1 : hot_cue 1 while_pressed
Should worked but it doesn’t' t for some reason.
I don’t think that this mapping can be created with the current VDJ Script but I was wondering if anyone else have tried it
Any ideas ?
deck 1 play ? deck 1 slip_mode ? deck 1 hot_cue 1 : deck 1 cue 1 : deck 1 hot_cue 1 ? deck 1 cue_stop 1 ? deck 1 cue_stop 1 : deck 1 pause_stop : deck 1 set_cue 1
Also the while_pressed command isn’t working if placed at a mapping which contains "?"
for example mapping
play ? hot_cue 1 : hot_cue 1 while_pressed
Should worked but it doesn’t' t for some reason.
I don’t think that this mapping can be created with the current VDJ Script but I was wondering if anyone else have tried it
Any ideas ?
Posted Wed 11 Sep 13 @ 8:47 pm
the logic to do that is impossible with basic mapping, The reason is that if you have the track paused and you want it to play while_pressed, you have no flag to tell you that the track was previously paused because now the track is playing eg this logic
play ? hot_cue 1 : goto_cue 1 & play while_pressed
You would need to create a variable on your play button and reference that on all of your hot cues eg.
Play Button
var 'paused' ? set 'paused' 0 & play : set 'paused' & pause
then on your hot_cue you have the 'paused' variable that you can now use, but you need to remember that the 'paused' variable needs to be attached with anything that will be used to stop the tracks including; stop, brake and backspin effects. And you can't let the track finish on it's own otherwise your variable will be off when you want it on
hotcue
var 'paused' ? down ? goto_cue 1 & play : var '$shift' ? set 'paused' 0 : goto_cue 1 & pause : var '$shift' ? delete_cue 1 : hot_cue 1
The problem with this is that there is no easy way to continue playing, I had to make it so that if you are holding a hot cue down, then press your shift button, you can release the hot_cue without going back to the cue point
play ? hot_cue 1 : goto_cue 1 & play while_pressed
You would need to create a variable on your play button and reference that on all of your hot cues eg.
Play Button
var 'paused' ? set 'paused' 0 & play : set 'paused' & pause
then on your hot_cue you have the 'paused' variable that you can now use, but you need to remember that the 'paused' variable needs to be attached with anything that will be used to stop the tracks including; stop, brake and backspin effects. And you can't let the track finish on it's own otherwise your variable will be off when you want it on
hotcue
var 'paused' ? down ? goto_cue 1 & play : var '$shift' ? set 'paused' 0 : goto_cue 1 & pause : var '$shift' ? delete_cue 1 : hot_cue 1
The problem with this is that there is no easy way to continue playing, I had to make it so that if you are holding a hot cue down, then press your shift button, you can release the hot_cue without going back to the cue point
Posted Thu 12 Sep 13 @ 12:17 am
You're making this far more complex than it needs to be:
down ? play ? hot_cue 1 & set 'GB1' 0 : goto_cue 1 & play & set 'GB1' 1 : var_equal 'GB1' 0 ? nothing : stop
PS: The while_pressed command doesn't always work as it should on KEYBOARD commands because keyboards keep sending the button press all the time.
That's why "isrepeat" verb exists on VDJScript.
down ? play ? hot_cue 1 & set 'GB1' 0 : goto_cue 1 & play & set 'GB1' 1 : var_equal 'GB1' 0 ? nothing : stop
PS: The while_pressed command doesn't always work as it should on KEYBOARD commands because keyboards keep sending the button press all the time.
That's why "isrepeat" verb exists on VDJScript.
Posted Thu 12 Sep 13 @ 12:51 am
that's a much more elegant solution phantom, nice work!
Posted Thu 12 Sep 13 @ 1:14 am
I have accomplished so:
hot_cue 1 ? pause ? goto_cue 1 & cue 1 : cue 1 : hot_cue 1
hot_cue 1 ? pause ? goto_cue 1 & cue 1 : cue 1 : hot_cue 1
Posted Thu 12 Sep 13 @ 3:41 am
Thanks guys for all the help. Here I modified Georges script in order to create a cue point if it doesn' t exist.
down ? play ? hot_cue 1 & set 'GB1' 0 : hot_cue 1 ? goto_cue 1 & play & set 'GB1' 1 : set_cue 1 : var_equal 'GB1' 0 ? nothing : stop
also Sadims' script worked fine as well :) Ty :)
down ? play ? hot_cue 1 & set 'GB1' 0 : hot_cue 1 ? goto_cue 1 & play & set 'GB1' 1 : set_cue 1 : var_equal 'GB1' 0 ? nothing : stop
also Sadims' script worked fine as well :) Ty :)
Posted Thu 12 Sep 13 @ 10:37 am