Quick Sign In:  

Forum: Wishes and new features

Topic: [Request VDJ Script] goto x frame

Dieses Thema ist veraltet und kann veraltete oder falsche Informationen enthalten.

ChacklPRO InfinityMember since 2007
Hello!

I just wanted to request something that is not realy possible but verry necercarry in my eyes.
In Virtual DJ 5 sdk it was parrible to catch up a script that could move the songpos on every frame (44100 steps per second)

Now in SDK 6 this script is now called "goto". But goto just lets me edit thise things:
goto 4 (goto [int]) - Goto to nth beat called in [int]
goto 20% - gets to songposition on 20% on the track
goto 2000ms - gets me to songpos on 2000ms

My Slipmode is now built with the "goto Xms" - so if you send ms - you will lose 44.1 frame-steps per ms. Ok actualy this semm not to be a big problem but at the moment i can not edit the songpos exactly is it would be needet.

So i wanted to ask about the possibility to add this feature:
goto 88200frame - gets the song to the nth frame (1s=44100frames)

Slipmode got now over 2.000 downloads in the last month - and i allways feel a little pain if i see that it is not verry accurate at the moment.
Im using a goto now in 2 effects that i programm and a 3rd is planed so i actualy wanted now to request it ;)

Would this be possible?

C.Hackl
 

geposted Thu 15 Nov 12 @ 3:33 am
ChacklPRO InfinityMember since 2007
Well i got a funtion in C++ that will get it nearly fixed.

Built in in Prvate:
Needs DSP Header!!!!
	HRESULT goto_pos(int frame)
{
char cmd_pos[128];
double beat_pos;
beat_pos = double(frame) / double(SongBpm);
_snprintf_s (cmd_pos, (size_t)255, "%s %.20f", "goto", beat_pos);
SendCommand(cmd_pos,0);
return S_OK;
}


Call if you need it:
int frame_number;
frame_number = 88200;
goto_pos(frame_number)


This code will jump to exact 2 sec


Well there are again probles with the accuracy but the are reduced to 2 on every 10th sample.

Regards
 

geposted Thu 15 Nov 12 @ 4:38 am


(Alte Themen und Foren werden automatisch geschlossen)