Undefined function or variable framing
이전 댓글 표시
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
Image Analyst
2018년 6월 6일
Why do you think such a function exists? Did someone give that function to you? A framing.m file I mean?
Stephen23
2018년 6월 7일
@May Thu: you will need to save the file with the name framing.m, somewhere on your MATLAB Search Path (e.g. in the current directory). Try this:
which framing -all
to see if MATLAB can find it. If MATLAB can't find it then you have not saved it using that name, or it is in a directory that is not on the MATLAB Search Path.
Walter Roberson
2018년 6월 7일
Could you post a link to the place you found it?
May Thu
2018년 6월 7일
May Thu
2018년 6월 7일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File 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!