快速登录:  

Forum: VirtualDJ Plugins

话题: How does it work ?

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Te-DeumHome userMember since 2004
Hi,

I want to try to devellop some scratch plugin for VirtualDJ, but I can't test it because I don't brought it. Is-it possible to test my plugin with a special version or with another software ?

Could you explain what are the value that contain soundbuffer and speedbuffer. Because I think that buffsize is the size of soundbuffer and speedbuffer array(I have read your example) and desk is the value for the desk that is scratching (is the value -1,0 or 0,1 or 1,2 or anything else ?)

Is it possible to modify the buffer array to made an auto scratch ?

Thank's for your response.
 

发表时间 Thu 21 Oct 04 @ 4:44 pm
 

发表时间 Thu 21 Oct 04 @ 7:14 pm
Te-DeumHome userMember since 2004
Thank's for the information, I'm just about the beginning of my VirtualDJ Demo. I don't know how it work, but I will see it.

Could somebody explain me wich data is stored in soundbuffer and speedbuffer array ?
I don't have information about these array.

Thank's.
 

发表时间 Fri 22 Oct 04 @ 8:21 am
Soundbuffer stores the samples you have to process; speedbuffer stores a float value for each sample, giving you the approximate scratch speed at that sample. Thus, to cut any samples when going backwards:

for(int i = 0; i < nb_samples; i++)
{
if( speedbuffer < 0 ) // going backwards
soundbuffer = 0; // mute this sample
}

macourteau
 

发表时间 Fri 22 Oct 04 @ 10:56 am


(陈旧帖子或论坛版块会自动关闭)