Creating Flange or Variable Delay DSP model

Click For Summary
SUMMARY

This discussion focuses on creating a variable delay model in Simulink to implement a flanger effect. The flanger effect is defined by combining an original signal with a delayed version, where the delay is modulated by a specific equation involving a fixed delay (D) and a flanging frequency (fd). The user is attempting to replicate the mathematical model using the Variable Fractional Delay block in Simulink but is encountering issues with the implementation. The community is providing insights and troubleshooting tips to resolve the user's challenges.

PREREQUISITES
  • Understanding of audio signal processing concepts, specifically flanging effects.
  • Familiarity with Simulink for modeling dynamic systems.
  • Knowledge of difference equations in digital signal processing.
  • Experience with variable delay techniques in audio applications.
NEXT STEPS
  • Research the implementation of the Variable Fractional Delay block in Simulink.
  • Study the mathematical foundations of flanging effects in audio processing.
  • Explore troubleshooting techniques for Simulink models to identify common issues.
  • Learn about the effects of different flanging frequencies on audio output.
USEFUL FOR

Audio engineers, digital signal processing students, and anyone interested in creating audio effects using Simulink will benefit from this discussion.

Evo8
Messages
168
Reaction score
0

Homework Statement



Im trying to model this in simulink. I am having a little trouble getting things to work. I need to create a variable delay model or basically implement a "flanger" effect.

Flange
A flange is an audio effect, which is achieved by combining two identical signals with each other; the original and delayed signal by a gradually changing amount. The difference equation for the flange effect is given by:
$$x(n)a*[x(n)+x(n-d(n))]$$

Where the time varying delay is given by
$$d(n)=D+\frac{D}{2}[1-sin(\frac{2 \pi f_{d} n}{f_{s}})]$$

Where
- D is a fixed delay,
- fd is the flanging frequency



Homework Equations



N/A

The Attempt at a Solution



So this is what I have right now.
attachment.php?attachmentid=44754&stc=1&d=1330989285.png


The parameters of the Variable fractional delay block are here:
attachment.php?attachmentid=44755&stc=1&d=1330989285.png


Im basically trying to mimic that equation with math operators. I am told that it should do the trick. However it doesn't. I am not sure where I am going wrong. Any hints or tips would be greatly appreciated!

Thank you,

E
 

Attachments

  • Flange_simulation.png
    Flange_simulation.png
    19.5 KB · Views: 889
  • Variable_fractional_delay.png
    Variable_fractional_delay.png
    18.1 KB · Views: 953
Physics news on Phys.org
I do not have much experience with simulink, but it seems to me that your model should work.

What does it do now?
Or what exactly doesn't it do?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 11 ·
Replies
11
Views
13K
  • · Replies 12 ·
Replies
12
Views
11K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K