From: Will Knight on
Hello everyone,

I've been experimenting in MATLAB, attempting to create a flanger type effect. I'm fairly certain that the flanger is already included in a toolbox but I would like to create one on my own for personal satisfaction. I've been reading up on flanger operation but I've had trouble recreating the effect. I know that the flanger takes the input signal and adds a delayed version of the same signal producing the output. The delay varies, creating the effect.

I'm still pretty new to MATLAB and I finally was able to get my computer to produce a tone based on a sinusoid. My flanger still doesn't work though. I created two variables to hold the input signal and the delayed input signal. I added these two signals together and stored them in another variable. When I played the new signal, It just sounded like the original input signal with no audible differences. I realize that I delayed the second signal by a fixed but not varying amount. I still thought I would get some sort of echo effect.

Can anyone offer any insight or advice?

Thanks for your time.
From: Alan B on
"Will Knight" <srt-4kid(a)hotmail.com> wrote in message <hv9c54$9td$1(a)fred.mathworks.com>...
> Hello everyone,
>
> I've been experimenting in MATLAB, attempting to create a flanger type effect. I'm fairly certain that the flanger is already included in a toolbox but I would like to create one on my own for personal satisfaction. I've been reading up on flanger operation but I've had trouble recreating the effect. I know that the flanger takes the input signal and adds a delayed version of the same signal producing the output. The delay varies, creating the effect.
>
> I'm still pretty new to MATLAB and I finally was able to get my computer to produce a tone based on a sinusoid. My flanger still doesn't work though. I created two variables to hold the input signal and the delayed input signal. I added these two signals together and stored them in another variable. When I played the new signal, It just sounded like the original input signal with no audible differences. I realize that I delayed the second signal by a fixed but not varying amount. I still thought I would get some sort of echo effect.
>
> Can anyone offer any insight or advice?
>
> Thanks for your time.

Did you use your pure sinusoid as the input signal? If so, then the output signal is a sum of two sinusoids at the same frequency, which is equivalent to a single sinusoid at the same frequency, but with a change in amplitude and phase. You can not hear a phase difference in a pure tone, and the amplitude change might be very small depending on your delay value.