Reverse delay audio effect?

Status
Not open for further replies.

manatee

Active member
Hi there!

Whoud it be possible to have a reverse delay effect based on the teensy deley schetch on git hub?
I'm not quite sure where to mess in the code, if some one could point me the right direction wold be great!

Best,
Manatee
 
Yes.

You can't really do a pre-emptive reverse delay effect easily unless your sample is smaller than AUDIO_BLOCK_SAMPLES, I'm sure it could be done I suppose, just need to add another stream fetch on the same audio source in reverse order.

By far the easiest starting point is try inverting the audio sample index in the delay effect.

Try changing
Index = position[channel] / AUDIO_BLOCK_SAMPLES;

to


Index = (AUDIO_BLOCK_SAMPLES - (position[channel] / AUDIO_BLOCK_SAMPLES));

it it should simply reverse the order it plays each tap sample buffer.

should.

it might not work at all and I don't think it's even close to a proper reverse delay. You'll have understand how the effects work first though so achieving this is a good first step.
 
Status
Not open for further replies.
Back
Top