Filter löschen
Filter löschen

splitting audio in a frames

4 Ansichten (letzte 30 Tage)
vijay rao
vijay rao am 25 Dez. 2011
Hi currently i am working on audio watermarking project in matlab and i dont know how to split audio (wav) file into frames and frame should be 90ms in duration..so will you please tell me how can i split any wav audio file into frames and how can i implement it in a matlab will you please provide a code for the same? and how can i use linear predictive coding function in a matlab in order to split audio file into frames... please its very urgent help me thanks.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 25 Dez. 2011
When you use wavread you can specify the range of sample numbers to return.
90 ms would be 90/1000 * Fs samples, where Fs is the sampling frequency. You can find Fs by using
[sample1, Fs] = wavread(FileName, [1 1]);
LPC might be useful for determining where sound or silence is, but it is not suitable for dividing the data in to frames, as "frames" implies that division in to portions that are the same size (except perhaps the last one.)

Weitere Antworten (1)

shivangi patel
shivangi patel am 20 Mai 2013
If you are using DCT for watermarking, you can simply read the wav file,group the samples into frames such that number of frames = size of image to be embeded and apply DCT on each frame.. it really works

Kategorien

Mehr zu Audio Processing Algorithm Design finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by