电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

基于MATLAB-GUI语音信号的采集分析系统VIP免费

基于MATLAB-GUI语音信号的采集分析系统_第1页
1/18
基于MATLAB-GUI语音信号的采集分析系统_第2页
2/18
基于MATLAB-GUI语音信号的采集分析系统_第3页
3/18
基于MATLABGUI的语音信号采集分析系统前一阵子用MATLABGUI做了一个语音信号采集与分析的界面。功能包括录音、播放、时域、频域分析吧。也导入本地文件进行分析。效果如下:源码如下:functionvarargout=GUI_1(varargin)%GUI_1MATLABcodeforGUI_1.fig%GUI_1,byitself,createsanewGUI_1orraisestheexisting%singleton*.%%H=GUI_1returnsthehandletoanewGUI_1orthehandleto%theexistingsingleton*.%%GUI_1('CALLBACK',hObject,eventData,handles,...)callsthelocal%functionnamedCALLBACKinGUI_1.Mwiththegiveninputarguments.%%GUI_1('Property','Value',...)createsanewGUI_1orraisesthe%existingsingleton*.Startingfromtheleft,propertyvaluepairsare%appliedtotheGUIbeforeGUI_1_OpeningFcngetscalled.An%unrecognizedpropertynameorinvalidvaluemakespropertyapplication%stop.AllinputsarepassedtoGUI_1_OpeningFcnviavarargin.%%*SeeGUIOptionsonGUIDE'sToolsmenu.Choose"GUIallowsonlyone%instancetorun(singleton)".%%Seealso:GUIDE,GUIDATA,GUIHANDLES%EdittheabovetexttomodifytheresponsetohelpGUI_1%LastModifiedbyGUIDEv2.525-May-201520:52:27%Begininitializationcode-DONOTEDITgui_Singleton=1;gui_State=struct('gui_Name',mfilename,...'gui_Singleton',gui_Singleton,...'gui_OpeningFcn',@GUI_1_OpeningFcn,...'gui_OutputFcn',@GUI_1_OutputFcn,...'gui_LayoutFcn',[],...'gui_Callback',[]);ifnargin&&ischar(varargin{1})gui_State.gui_Callback=str2func(varargin{1});endifnargout[varargout{1:nargout}]=gui_mainfcn(gui_State,varargin{:});elsegui_mainfcn(gui_State,varargin{:});end%Endinitializationcode-DONOTEDIT%---ExecutesjustbeforeGUI_1ismadevisible.functionGUI_1_OpeningFcn(hObject,~,handles,varargin)%Thisfunctionhasnooutputargs,seeOutputFcn.%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%varargincommandlineargumentstoGUI_1(seeVARARGIN)%ChoosedefaultcommandlineoutputforGUI_1set(handles.axes_t_m,'visible','off');set(handles.axes_fft_m,'visible','off');set(handles.axes_t_w,'visible','off');set(handles.axes_fft_w,'visible','off');globallocal_yn;local_yn=0;%a=imread('yanda.jpg');%axes(handles.axes_t_m)%image(a);handles.output=hObject;%Updatehandlesstructureguidata(hObject,handles);%UIWAITmakesGUI_1waitforuserresponse(seeUIRESUME)%uiwait(handles.figure1);ha=axes('units','normalized','position',[0011]);uistack(ha,'down')II=imread('暖色.JPG');image(II)colormapgrayset(ha,'handlevisibility','off','visible','off');%---Outputsfromthisfunctionarereturnedtothecommandline.functionvarargout=GUI_1_OutputFcn(~,~,handles)%varargoutcellarrayforreturningoutputargs(seeVARARGOUT);%hObjecthandletofigure%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%Getdefaultcommandlineoutputfromhandlesstructurevarargout{1}=handles.output;%---Executesonbuttonpressinpushbutton_luyin.functionpushbutton_luyin_Callback(hObject,~,handles)%hObjecthandletopushbutton_luyin(seeGCBO)%eventdatareserved-tobedefinedinafutureversionofMATLAB%handlesstructurewithhandlesanduserdata(seeGUIDATA)%globalrecObj;%keyboard;%globalsex_flag%switchsex_flag%case0%set(handles.axes_t_m,'visible','on');%set(handles.axes_fft_m,'visible','on');%set(handles.axes_t_w,'visible','off');%set(handles.axes_fft_w,'visible','off');%case1%set(handles.axes_t_m,'visible','off');%set(handles.axes_fft_m,'visible','off');%set(handles.axes_t_w,'visible','off');%set(handles.axes_fft_w,'visible','off');%case...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

基于MATLAB-GUI语音信号的采集分析系统

您可能关注的文档

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部