Undefined function or variable framing

조회 수: 5 (최근 30일)
May Thu
May Thu 2018년 6월 6일
편집: Walter Roberson 2018년 6월 7일
Hello! I am a beginner of using MATLAB. I make my thesis on signal processing to separate vocal and non-vocal from input wav audio file. When I frame the input signal, frame= framing(input, fs, f_d) there is an error of " Undefined function or variable framing". Can anyone help me please? input=10497966x1 double, fs=44100, fd=0.025. input file has size of 40MB. Do I need to segment the input audio? If so could you tell me please how to do segmentation?
Error in line no 4
[data, fs] = audioread('animal_clinic.wav'); % % read sound
data = data / abs(max(data)); % normalize data
f_d = 0.025; % do framing
frames = framing(data, fs, f_d);% it is like 0% overlap with rectangular window
  댓글 수: 5
May Thu
May Thu 2018년 6월 7일
I'm sorry, I said I got it from matlab Q&A session. My mistake. I got it from http://www.jcbrolabs.org/speech-processing Lesson 4 Framing, windowing and pre-emphasis of speech signal. I'm sorry again.. Could you tell me can I do framing 3 to 4 minutes long audio file? If I can, how can I do? and if not, what steps are needed? Could you or anyone answer me please?
May Thu
May Thu 2018년 6월 7일
@Stephen Cobeldick, I will try this, thanks.

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

채택된 답변

Walter Roberson
Walter Roberson 2018년 6월 7일
편집: Walter Roberson 2018년 6월 7일
There is a link to framing.m at the bottom of that page. It leads to https://drive.google.com/file/d/0B3qx_fO_3y2AVGV3bkloUl9oWXc/view
The code appears to do the same thing that buffer() from the Communications Systems Toolbox does.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio I/O and Waveform Generation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by