Ingreso rápido:  

Forum: VirtualDJ Plugins

Tema: How does it work ?

Este tópico es antiguo y puede contener información incorrecta para la nueva versión.

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.
 

Mensajes Thu 21 Oct 04 @ 4:44 pm
 

Mensajes 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.
 

Mensajes 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
 

Mensajes Fri 22 Oct 04 @ 10:56 am


(Los tópicos y foros antiguos son automáticamente cerrados)