Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by antonywilliams

  1. antonywilliams

    [b]Implementation of an ADSR envelope, help needed! [/b]

    Superb guys! Everything's working as intended. Thanks for the help, it's actually quite easy when someone explains it to me... Cheers!
  2. antonywilliams

    [b]Implementation of an ADSR envelope, help needed! [/b]

    Thanks for the post but I should add that I'm really new to Matlab and don't really know what I'm doing. Here's my note that I've synthesised: close all; clear all; rate=20000; duration=4; length=duration*rate; t=linspace(0,duration,length); A1=exp(-0.1*t)*1; A2=exp(-0.7*t)*0.907...
  3. antonywilliams

    [b]Implementation of an ADSR envelope, help needed! [/b]

    Guys, I'm trying to implement an ADSR envelope to a piano note that I have synthesised. I basically just want to apply the envelope to the final signal 'y'. Anyone done this before or have and code/ideas on how to get it to work? Thanks in advance!
  4. antonywilliams

    Basic Gui Problem

    Another very basic question... This should be very easy but I've been trying to get this to work all a day, and it's slowly driving me mad! Basically I want a slider and an text box next to it that displays the value of the slider (1 - 6 steps). I'm using this code for the callback part...
  5. antonywilliams

    Acoustics related matlab question......

    Thanks for the replys guys, it all seems good apart from obtaining p, the measured pressure. How can I get that from the .wav file? Is this just an average pressure for the entire duration of the file? I guess using the 'wavread' function is going to be the best way get it into matlab, this...
  6. antonywilliams

    Acoustics related matlab question......

    Please bear in mind that I am a complete newbie to Matlab... I need to find the Leq (equivalent continous noise level) of a .wav file using Matlab. I was wondering if anyone knows if this is a simple function within one of the toolboxes or even if there is actually a way to implement this...

Part and Inventory Search