Quick Sign In:  

Forum: VirtualDJ Plugins

Topic: Echo stop

This topic is old and might contain outdated or incorrect information.

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?
 

Posted Thu 18 Sep 08 @ 4:42 am
SBDJPRO Infinity Member since 2006
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
 

Posted Fri 19 Sep 08 @ 7:45 am
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!
 

Posted Sat 20 Sep 08 @ 9:48 am
djcelPRO InfinityModeratorMember since 2004
You should read courses about audio filters (FIR, ...). See my blog
 

Posted Thu 25 Sep 08 @ 3:42 pm
DJAJ01PRO InfinityMember since 2008
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?
 

Posted Thu 01 Jul 10 @ 10:56 pm
It also crashes VDJ on my Vista32bit system, hmmm..............
 

Posted Thu 01 Jul 10 @ 11:21 pm
DJAJ01PRO InfinityMember since 2008
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.
 

Posted Fri 02 Jul 10 @ 12:16 am


(Old topics and forums are automatically closed)