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

📄 gcchg.m

📁 这是一个用于语音信号处理的工具箱
💻 M
字号:
% Script : change the gain value of the gain envelope displayed in Gcdis_f 
%
%    gcchg.m is a call_function executed by "env_chg" on figure(Gcset_f).


  % 1. secify the neighborhood of the mouse pointer 
  figure(Gcdis_f);
  [xx,yy]=ginput(1);

  % 2. find the knob in the neighborhood of the mouse pointer (cross hair)
  [dum,knob_idx]=min( abs(xx-knob_xx) );
  xx=knob_xx(knob_idx);
  o_yy=knob_yy(knob_idx);

  % 3. plot the selected point
  hold on;
  plot(xx,o_yy,'bo')
  hold off;

  set(env_up,'Visible','on');
  set(env_down,'Visible','on');

  clear xx;

⌨️ 快捷键说明

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