freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

基于matlab的語(yǔ)音識(shí)別dtw算法設(shè)計(jì)-資料下載頁(yè)

2025-06-18 17:13本頁(yè)面
  

【正文】 tfile({39。*.wav39。,39。wavfiles(*.wav)39。39。*.*39。,39。Allfiles(*.*)39。},39。168。39。)。str=strcat(pathname,filename)。save(str,39。a39。)。wavwrite(a,16000,str)。guidata(hObject, handles)。% Executes on button press in pushbutton5.function pushbutton5_Callback(hObject, eventdata, handles)% hObject handle to pushbutton5 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global m1。global x1。global x2。[fname,L]=uigetfile({39。*.wav39。,39。All MATLAB Files(*.wav)39。39。*.*39。,39。Allfiles(*.*)39。},39。Pick a file39。,39。MultiSelect39。, 39。on39。)。file=[L,fname]。[S,fs]=wavread(file)。figuresubplot(2,1,1)。plot(S)。[x1,x2]=vad(S,fs)。%axes()。m1=mfcc(S)。%guidata(hObject, handles)。% Executes on button press in pushbutton11.function pushbutton11_Callback(hObject, eventdata, handles)% hObject handle to pushbutton11 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global b。fs=16000。t=2。b=wavrecord(t*fs,fs)。 =b。guidata(hObject, handles)。% Executes on button press in pushbutton12.function pushbutton12_Callback(hObject, eventdata, handles)% hObject handle to pushbutton12 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global b。[filename pathname]=uiputfile({39。*.wav39。,39。wavfiles(*.wav)39。39。*.*39。,39。Allfiles(*.*)39。},39。168。39。)。str=strcat(pathname,filename)。save(str,39。b39。)。wavwrite(b,16000,str)。guidata(hObject, handles)。% Executes on button press in pushbutton14.function pushbutton14_Callback(hObject, eventdata, handles)% hObject handle to pushbutton14 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global b。pause()。guidata(hObject, handles)。% Executes on button press in pushbutton13.function pushbutton13_Callback(hObject, eventdata, handles)% hObject handle to pushbutton13 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global b。wavplay(b,16000)。axes()。plot(b)。guidata(hObject, handles)。% Executes on button press in pushbutton15.function pushbutton15_Callback(hObject, eventdata, handles)% hObject handle to pushbutton15 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global m2。global x1。global x2。[fname,L]=uigetfile({39。*.wav39。,39。All MATLAB Files(*.wav)39。39。*.*39。,39。Allfiles(*.*)39。},39。39。)。file=[L,fname]。[S,fs]=wavread(file)。figure[x1,x2]=vad(S,fs)。%axes()。m2=mfcc(S)。%guidata(hObject, handles)。% Executes on button press in pushbutton16.function pushbutton16_Callback(hObject, eventdata, handles)% hObject handle to pushbutton16 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)global m1。global m2。global x1。global x2。global a1。global b1。fs=16000。for i=1:100fname=sprintf(39。D:\\design\\test\\%39。,i)。 try x=wavread(fname)。 [x1 x2]=vad(x,fs)。 %axes()。 m2=mfcc(x)。 m2=m2(x12:x22,:)。 test(i).mfcc=m2。 a1=i。 catch break end endfor i=1:100fname=sprintf(39。D:\\design\\model\\%39。,i)。try x=wavread(fname)。 [x1 x2]=vad(x,fs)。 %axes()。 m1=mfcc(x)。 m1=m1(x12:x22,:)。 ref(i).mfcc=m1。 b1=i。catch breakendenddist=zeros(a1,b1)。for i=1:a1for j=1:b1 dist(i,j)=dtw(test(i).mfcc,ref(j).mfcc)。endenddisp(dist)。disp(39。正在匹配……39。) for i=1:a1 [d,j]=min(dist(i,:))。 fprintf(39。測(cè)試模板%d的識(shí)別結(jié)果為:%d\n39。,i,j)。end%guidata(hObject, handles)。% Executes on button press in pushbutton17.function pushbutton17_Callback(hObject, eventdata, handles)% hObject handle to pushbutton17 (see GCBO)% eventdata reserved to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)close。第 28 頁(yè) 共 29 頁(yè)
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1