Implementing a flanger in MATLAB

  • Context: MATLAB 
  • Thread starter Thread starter CE Trainee
  • Start date Start date
  • Tags Tags
    Matlab
CE Trainee
Messages
14
Reaction score
0
Hello everyone,

I've been experimenting in MATLAB, attempting to create a flanger type effect. I would assume 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. Here is a link that discusses the flanger for those not familiar: http://en.wikipedia.org/wiki/Flanging"

Can anyone offer any insight, advice or tips? Also, any links to info/tutorials on working with audio inside MATLAB would be appreciated.

Also, atm I can't seem to find my code that I had used. I will post later if I can find it.

Thanks for your time.
 
Last edited by a moderator:
It won't sound like a flanger until the first few cacellation notches come down around 500 hz or so which means a couple milliseconds or more of delay between the signals.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K