Sign In:     


Forum: General Discussion

Topic: VDJ Scripting help

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

I'm wondering if someone with a better understanding of the VDJ scripting language then i can help me wth the following coding that i wish to accomplish. The task i want to acheive is as follows:

when the cue button is pressed i want it to initially assign a cue point.

if a cue point has been set and cursor is not at that point, reset cue point

if cue point is set and song is cued i want to preview the track (play while pressed)

during this play while pressed action is occuring if the play/pause button is pressed i want the track to continue playing on release of the cue button.

psedo code

if (cue = pressed){
switch

case 1: no cuePoint
set cuePoint to current cursor position
break

case 2: cue point present, not at cursor
set cuePoint to current cursor position
break

case 3: cue point present, at cursor
play while pressed
if (play button = pressed)
play
break

}


Can someone please help me acheive this?




 

Posted Thu 22 Oct 09 @ 8:24 am


(Old topics and forums are automatically closed)