⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gif_main.m

📁 这是一个用于语音信号处理的工具箱
💻 M
字号:
%
% Callback function for GIF button in the Analysis window
% Author : Minkyu Lee
% Date : 4-Feb-1995
% Modified by Karthik May 28 1997
% Modified by D. G. Childers

% If the end points of analysis frame is not defined, return
if exist('LEFT') ~=1 | exist('RIGHT') ~= 1
	disp('Please load an input speech first');
	return;
end

NEW_LEFT = 1;
NEW_RIGHT = length(SPEECH);
NEW_LEN = length(SPEECH);

gif_mark_flag=0;
gif_num_poles=14;
gif_num_zeros=4;
gif_frame_len = 256;
gif_overlap = 56;

% Set position and size of analysis window
PV=[2 225 188 166];
s2 = 'Glottal Inverse Filtering';
% Open analysis window
while exist('gif_an_win_h')==1
   try1 = 'get(gif_an_win_h,''position'');';
   eval(try1,catch2);
   if check ==0
      clear gif_an_win_h;
      check = 1;
      break;
   end
   s1 = get(gif_an_win_h,'Name');
   if ~strcmp(s1,s2)
      clear gif_an_win_h;
      break;
   end
   figure(gif_an_win_h);
   break;
end;

if exist('gif_an_win_h')~=1;
   gif_an_win_h=figure('Position',PV,...
      'Resize','on',...
      'Numbertitle','off',...
      'color',BACK_COLOR,...
      'Name',s2);
   
   gif_po_method_h=uicontrol('Style','popup',...
      'Position',[10 120 150 30],...
      'String','Pitch sync(Manual)|Pitch async(Manual)|Asynchronous Analysis|Iterative Analysis',...
      'Callback', 'gif_go');
   
   gif_pb_prop_h=uicontrol('Style','pushbutton',...
      'Position',[10 70 150 30],...
      'String','Property',...
      'Callback','gif_pr');
     
   gif_pb_can_h=uicontrol('Style','Pushbutton',...
      'Position',[10 20 150 30],...
      'String','Cancel',...
      'Callback','gif_ok');
end;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -