Entra:     


Forum: VirtualDJ Plugins

Topic: Echo stop

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

This is a very common effect on Pioneer CD's / Mixers.

Basically what it does is to activate an echo effect (echo length equals one beat) and then it stops the song playing, leaving only the sound of the echo audible.

I would like to write such a plugin since it doesn't seems like someone has written something like this.

What I would like to know is the algorithm of it...

I don't know how to handle the sound and create such an effect. If someone can help me on how to create an echo plugin, I believe the rest job is easy... Use GetInfo to get the current BPM, translate it into echo length, echo the sound, turn on asynchronous mode and stop the player!

Anyone willing to help?
 

Inviato Thu 18 Sep 08 @ 4:42 am
As written by DJ Cel:

djcel wrote :
You can create "asynchronous" sound plugin (the sound plugin still works even if the button stop is pushed) by using the following flag:
infos->Flag=VDJPLUGINFLAG_PROCESSSCRATCH;

In this case, the input audio buffer is called after the pitch instead of before. So such a plugin has directly access to the final buffer which has a constant size of "latency" samples (except during loop where the buffer size is 64 samples)


Regards,

Scott
 

Thanks Scot.
I have seen this before I post my thread.
However my question remains the same:

What's the algorithm of an echo plug-in?

I believe it should be something like:

1. Read audio buffer for X time
2. Repeat the buffer for Y times
3. Fade out the sound for X*Y time

But I'm not quite sure if this a proper way to create an echo plug-in!
 

You should read courses about audio filters (FIR, ...). See my blog
 

when i use this on my 64 bit it crashes my VDJ. but when i use it on my 32 bit it works fine. any help?
 

It also crashes VDJ on my Vista32bit system, hmmm..............
 

well i downloaded it along time ago. its works fine but i just downloaded it from here and it doesn't work on my 64 bit. then i just copied the files i downloaded along time ago and tried them on my 64 bit and still nothing.
 



(Vecchi argomenti e forum sono automaticamente chiusi)