Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: [help] Directly jump to a song position without "cue points"

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

TexZKPRO InfinityMember since 2005
Doesn someone know a command to directly jump to a sample position, without using "cue points"? this could allow us to add more cue points trough a plugin... That's whan I'd like to do!
 

Posted Fri 10 Mar 06 @ 3:48 pm
djcelPRO InfinityModeratorMember since 2004
Use the function song_pos():
with no sign before the value, it works like a slider [0,4096]
with a sign before, it works with the samples (where vdj_sample_rate=44100 samples / second)
 

Posted Sat 11 Mar 06 @ 1:42 pm
TexZKPRO InfinityMember since 2005
So:
_ positive: raw jumpto position
_ negative: accurate per-sample jumpto position.

If I want to store the position when starting a plugin and coming back to there, I have to store the "int pos" and call "song_pos" with the negated stored variable (converted into samples)!
Thanks djcel, if I understood well, I would make several plugins using this command!!!
 

Posted Sat 11 Mar 06 @ 3:59 pm
TexZKPRO InfinityMember since 2005
Sorry, I was wrong! i've read the comments about, in the shortcut window, and I've seen the actions I need are "seek" and "seek_smart"!
However, thanks for the info!
 

Posted Sat 11 Mar 06 @ 8:19 pm


(Old topics and forums are automatically closed)