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?
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?
发表时间 Thu 18 Sep 08 @ 4:42 am
As written by DJ Cel:
Regards,
Scott
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)
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
发表时间 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!
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!
发表时间 Sat 20 Sep 08 @ 9:48 am
You should read courses about audio filters (FIR, ...). See my blog
发表时间 Thu 25 Sep 08 @ 3:42 pm
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?
发表时间 Thu 01 Jul 10 @ 10:56 pm
It also crashes VDJ on my Vista32bit system, hmmm..............
发表时间 Thu 01 Jul 10 @ 11:21 pm
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.
发表时间 Fri 02 Jul 10 @ 12:16 am