필터 지우기
필터 지우기

one frame of audio

조회 수: 1 (최근 30일)
seyed
seyed 2014년 11월 4일
댓글: seyed 2014년 11월 4일
hi with run audioread ([y,Fs]=audioread('1.mp3')) in matlab y is contains several thousand of value now what is one of frame from y? Each of these values (from y) what they say? is it one frame?

채택된 답변

Jeffrey Girard
Jeffrey Girard 2014년 11월 4일
편집: Jeffrey Girard 2014년 11월 4일
info = audioinfo('1.mp3');
[y,Fs] = audioread('1.mp3');
Let's say that 1.mp3 is a stereo (i.e., two channel) audio file that is 10 seconds long and has a sampling frequency of 44,100Hz. You can tell this from the info structure that you created with audioinfo(). In this case, Fs will equal 44100 and y will be a 441000x2 single-precision matrix (44100Hz*10sec = 441000samples). Each row of y will correspond to a particular sample and each column will correspond to one of the audio channels. For an mp3 file, the data range of y is -1.0 to +1.0. For other types of files, you can check the documentation by typing doc audioread into MATLAB.
  댓글 수: 1
seyed
seyed 2014년 11월 4일
Thank you so much For a good description the audio mp3 is mono, 10' and Fs=44100 total of samples is 441000 (overlab=0,rowofbuffer=1) now we are 441000 frame? Given the samples, what is frame?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by