Accesso rapido:  

Forum: VirtualDJ Plugins

Topic: Change the song position

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

TexZKPRO InfinityMember since 2005
How is it possible to change the song position by passing the sample number/ID? I tried with "ChangePosition()", but it is only for visualization, not for the actual needle position...
 

Inviato Tue 15 Mar 11 @ 3:16 am
djcelPRO InfinityModeratorMember since 2004
I would say SendCommand() with the function "song_pos" or "goto"
 

Inviato Tue 15 Mar 11 @ 1:43 pm
TexZKPRO InfinityMember since 2005
I've tried them, but it looks like I cannot pass the position in absolute samples, "only" as percent or relative (excellent for skins though).
 

Inviato Tue 15 Mar 11 @ 2:03 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
I'm not plugin expert, but i think that if you know the songpos in relative (as a percentage) and the length of the song, can't you calculate the exact position in time?
 

Inviato Tue 15 Mar 11 @ 9:47 pm
you can use "goto 50000ms" as a command and it WILL work as an absolute position (not as a relative position) but I don't know if this is accurate enough for you...

BTW: 44100 samples per sec = 1000 ms per sec => 1 ms = 44.1 Samples
If you need more accuracy "goto" won't stand up to your needs!
 

Inviato Wed 16 Mar 11 @ 7:27 am
TexZKPRO InfinityMember since 2005
Yup, I was already thinking about using milliseconds. I'll make some tests to see if they're enough precise for my purpose, and I think they will be :-)
 

Inviato Wed 16 Mar 11 @ 7:46 am


(Vecchi argomenti e forum sono automaticamente chiusi)