hello!
I am trying to import an audio sample into matlab and get matlab to tell me the length of the sample. Please can someone help me with this ,
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help , Finance Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
Just in case you got a wave file
[y, Fs, nbits] = wavread(filename) %load the wav [m d] = wavfinfo(filename) %get the wav information
Another way to get the length in seconds is:
siz = wavread(filename,'size') %siz = [samples channels] siz(1)/Fs %should give you the length in seconds
SEE COMPLETE ANSWER CLICK THE LINK
Comments
Post a Comment