speechtoolboxes专门的语音处理工具-speech_toolboxes2.rar
speechtoolboxes专门的语音处理工具-speech_toolboxes2.rar speech_toolboxes专门的语音处理工具 其中主程序mainspeechgui.m为: % Main GUI window for speech toolboxes in Childers' Speech book % This GUI window is designed to run in the Matlab runtime server % mode. From this window the user can call any of the software % applications in the Speech book. % Author : D. G. Childers % Date : 12/18/98 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% close all; clear; clc; path; path; path; path; path; path; path; path; path; path; %path; %path; %path; %path; %path; %path; %path; %path; %path; %path; % Define some global variables check = 1; %Variable used for proper closing and opening of windows catch2 = 'check = 0;'; catch1 = 'break;'; %color_flag=0; % Black background and white text color_flag=1; % White background and black text global BACK_COLOR TEXT_COLOR; if color_flag == 1 BACK_COLOR=[1 1 1]; TEXT_COLOR=[0 0 0]; else BACK_COLOR=[0 0 0]; TEXT_COLOR=[1 1 1]; end % Define some character strings o_fname=''; o_pname=''; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Set position and size of analysis window PV=[10 40 180 463]; s2 = 'Speech GUI'; % Open analysis window while exist==1 try1 = 'get;'; eval; if check ==0 clear m_gui_win_h; check = 1; break; end s1 = get; if ~strcmp clear m_gui_win_h; break; end figure; break; end; if exist~=1; m_gui_win_h=figure('Position',PV,... 'Resize','on',... 'Numbertitle','off',... 'color',BACK_COLOR,... 'Name',s2); m_gui_pb_displays_h=uicontrol('Style','pushbutton',... 'Position',[10 420 165 30],... 'String','Chapter 1: display_speech_1',... 'Callback','display_speech_1_path'); m_gui_pb_analysis_h=uicontrol('Style','pushbutton',... 'Position',[10 380 165 30],... 'String','Chapter 2: analysis',... 'Callback','analysis_path'); m_gui_pb_speechegg_h=uicontrol('Style','pushbutton',... 'Position',[10 340 165 30],... 'String','Chapter 4: display_speech_egg ',... 'Callback','display_speech_egg_path'); m_gui_pb_formant_h=uicontrol('Style','pushbutton',... 'Position',[10 300 165 30],... 'String','Chapter 6: formant ',... 'Callback','formant_path'); m_gui_pb_vocos_h=uicontrol('Style','pushbutton',... 'Position',[10 260 165 30],... 'String','Chapter 7: vocos ',... 'Callback','vocos_path'); m_gui_pb_displaysp_h = uicontrol('Style','pushbutton',... 'Position',[10 220 165 30],... 'String','Chapter 7: display_speech',... 'Callback','display_speech_path'); m_gui_pb_time_h=uicontrol('Style','pushbutton',... 'Position',[10 180 165 30],... 'String','Chapter 8: time',... 'Callback','time_path'); m_gui_pb_vocalfold_h=uicontrol('Style','pushbutton',... 'Position',[10 140 165 30],... 'String','Chapter 9: vocal_fold',... 'Callback','vocal_fold_path'); m_gui_pb_formanttrk_h=uicontrol('Style','pushbutton',... 'Position',[10 100 165 30],... 'String','Chapter 10: formant_track',... 'Callback','formant_track_path'); m_gui_pb_artm_h=uicontrol('Style','pushbutton',... 'Position',[10 60 165 30],... 'String','Chapter 10: artm',... 'Callback','artm_path'); m_gui_pb_cancel_h=uicontrol('Style','pushbutton',... 'Position',[10 20 165 30],... 'String','Close/Cancel/Quit',... 'Callback','close_main_speechgui'); end; 运行这个程序后将出现一个主界面,我运行后的演示图片如:Untitled.fig\Untitled1.fig\Untitled2.fig, 当然你也可以自己演示更多的效果的,这个东东真的很有用的,
- 1
- 2
- 3
- 4
- 5
- 粉丝: 448
- 资源: 1万+
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助