1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Creating Flange or Variable Delay DSP model

  1. Mar 5, 2012 #1
    1. The problem statement, all variables and given/known data

    Im trying to model this in simulink. Im 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



    2. Relevant equations

    N/A

    3. 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. Im told that it should do the trick. However it doesn't. Im not sure where im going wrong. Any hints or tips would be greatly appreciated!

    Thank you,

    E
     

    Attached Files:

  2. jcsd
  3. Mar 7, 2012 #2

    I like Serena

    User Avatar
    Homework Helper

    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?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Creating Flange or Variable Delay DSP model
  1. Flange Rating (Replies: 2)

Loading...