main_artm_old.m

来自「这是一个用于语音信号处理的工具箱」· M 代码 · 共 97 行

M
97
字号
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% main.m
%
% This is the main funtion for the articulatory synthesizer
% 
% Written by : John Wu
% Date : March 2, 1997
% modified by D. G. Childers 7/1/98, 7/14/98
% 
% This window was called artm.
% 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
close all;
clear;
clc;



%path(path,'.\data');
%path(path,'.\synthesis');
%path(path,'.\inverse_filter');
%path(path,'.\excitation');
path('.\data',path);
path('.\synthesis',path);
path('.\inverse_filter',path);
path('.\excitation',path);

global BACK_COLOR TEXT_COLOR LINE_COLOR;
global TESTFMRK;

%color_flag=0;          % Black background and white text
color_flag=1;           % White background and black text

if color_flag == 1
	BACK_COLOR=[1 1 1];%white
   TEXT_COLOR=[0 0 0];%black
   LINE_COLOR=[0 0 1];%blue
else
	BACK_COLOR=[0 0 0];
   TEXT_COLOR=[1 1 1];
   LINE_COLOR=[0 0 1];%blue
end
% Define some character strings
o_fname='';
o_fmname='';
o_pname='';
o_mkname='';

catch1 = 'break;';



main_h=figure('Units','Normalized',...
   'Position',[0.01 0.9 0.8 0.01], 'Resize', 'off',...
   'NumberTitle','off','MenuBar','none','color','white', ...
   'Name','Articulatory Speech Synthesizer (Main Window)');

m1_1_h=uimenu(main_h,'Label','    File     ');

m1_1_1_h=uimenu(m1_1_h,'Label','Load');
	 	uimenu(m1_1_1_h,'Label','Formant Tracks','Callback','fm_load');
	 	uimenu(m1_1_1_h,'Label','Articulatory parameters ','Callback','loadarar');
	 	uimenu(m1_1_1_h,'Label','Fant Area','Callback','loadfant');
    
m1_1_2_h=uimenu(m1_1_h,'Label','Save');
		uimenu(m1_1_2_h,'Label','Articulatory parameters','Callback','savearar');

m1_2_h=uimenu(main_h,'Label','    Shape     ');

m1_2_1_h=uimenu(m1_2_h,'Label','Shape Settings','Callback','sh_set');

m1_3_h=uimenu(main_h,'Label','    Optimize     ');
      uimenu(m1_3_h,'Label','Setup Initialization','Callback','opt_set');
      uimenu(m1_3_h,'Label','Simulated Annealing Optimization','Callback','sa_set');
       
m1_4_h=uimenu(main_h,'Label','    Excitation     ');       
		uimenu(m1_4_h,'Label','LF model','Callback','exc_sou');

m1_5_h=uimenu(main_h,'Label','    Synthesize     ','Callback','syn_win');

m1_6_h=uimenu(main_h,'Label','    Quit     ','Callback','close_main_artm');


main1_h=figure('Units','Normalized',...
   'Position',[0.01 0.27 0.8 0.5], 'Resize', 'on',...
   'NumberTitle','off','color','white',...
   'Name','Canvas for Articulatory Speech Synthesizer (Main Window)');








⌨️ 快捷键说明

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