Entra:     


Forum: General Discussion

Topic: Selected Track Auto Loop?

Questo argomento è obsoleto e potrebbe contenere informazioni obsolete o errate.

V7 - Is there a way (by script) to have a particular track when selected; load, then automatically go to a cue point, and then loop a certain length from that cue point? Other tracks should load and play normally when they are selected.
I would like to use the above method instead of using the desired loop track as a sample.
Thanks in advance.
 

Inviato Thu 19 Mar 15 @ 2:49 pm
Sure you can map that to a button, but it won't execute automatically.

Try this:

browser_enter & goto_cue 1 & loop 8 & play


browser_enter will load the selected file to an empty/ not playing deck. You could change that if you want to load the file to a particular deck by replacing browser_enter with "deck 1 load".
 

Thanks PachN, I knew of that script but it would affect all tracks and not an individual track only.
I was thinking of a script that when a track is selected, VDJ will see that track's file name/file path and will know to loop this specific track at a certain cue point.
I am a real noob when it comes to scripting, and I know this won't work, but here is something that may give you the idea on what I was thinking of;
"get filepath & param_equal "C:/users/clay/desktop/tracks/call me.mp3" ? browser_enter & goto_cue 2 & loop 8 : browser_enter"
I would map the above to my browser button for loading tracks. It may not be possible, but just checking.
Thanks again.
 

I had something like the above on my drawing board but never got round to trying it.
The idea was to load a set of samples for a specific track, using the same "get_filepath & param_equal" method.

I'm curious to know if it would have worked.
 

Bump.
Any of you experienced scripters know if this is possible?
Thanks.
 

I tried reinstalling V7 but got a protection error but

get_filepath & param_equal "M:\Music\4 Hero - Les Fluer.mp3" ? deck 1 play : deck 1 pause

That worked on V8 and all that script is in V7 so it should work (haven't V7 tested)
So by rights you could do this, (btw, your script was almost right but needed back slashes and rearranging )
browser_enter & get_filepath & param_equal "C:\Folder\Tune1.mp3" ? goto_cue X & loop Y : param_equal "C:\Folder\Tune2.mp3" ? goto_cue X & loop Y : etc

The good thing (for V8 users) is there's param_contains, so one button and any thing from my hardtek folder will load my amen sample bank and anything from my jungle folder will load my gabba kick bank, Wall to wall jungletek! ;-)
 



(Vecchi argomenti e forum sono automaticamente chiusi)