electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to delay *.wav in matlab


Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> How to delay *.wav in matlab
Author Message
karper1986



Joined: 13 Mar 2009
Posts: 37


Post20 Sep 2009 16:34   

How to delay *.wav in matlab


Hi friends,

How can i delay some *.wav in matlab (for example on 20 ms or so). please help.

Best regards,
Karper.
Back to top
Google
AdSense
Google Adsense




Post20 Sep 2009 16:34   

Ads




Back to top
nf_767



Joined: 13 Jul 2009
Posts: 2
Helped: 1
Location: india


Post02 Nov 2009 12:55   

How to delay *.wav in matlab


Suppose the no of values in ur wav file after taking it into malab (using wavread) is 5000( call that variable A), initialize another variable with around 7500 with all zeros(call it B). Copy the first 5000 values of A into B starting from 2501 to 7500. Now you have to add A and B, but size of A is lesser than B so pad 2500 zeros towards the end of A to make it 7500. Now add A + .5*B. The multiplication with .5 will reduce the amplitude giving an echo like effect. You have to experiment with adding the number of zeros to get a good output.

Cheers.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital Signal Processing -> How to delay *.wav in matlab
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
How to simulate a delay in matlab (3)
filter .wav sound file using scilab or matlab (1)
how to calculate group delay in matlab? (1)
How to Provide delay in Bit Sequence in MATLAB? (8)
Help me in Matlab and Wav File ** Will donate 100 points ** (18)
How to calculate the group delay of LTI system in Matlab (1)
ABOUT 8BIT WAV FILE CONVERT 6BIT OR 4BIT WAV FILE (1)
How is a Standalone CD Drive capable of playing WAV CDs? (7)
how to read a wav or Mp3 file and play it in java???? (2)
How I send big binary file(ie. MP3, WAV etc)to serial port ? (3)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS