file_load_save.m
来自「这是一个用于语音信号处理的工具箱」· M 代码 · 共 83 行
M
83 行
%
% Callback function for file
% Author : D. G. Childers
% Date : 5/29/99
%
%
% Set position and size of analysis window
PV=[100 100 700 450];
if exist('file_load_sv_win_h')~=1;
file_load_sv_win_h=figure('Position',PV,...
'Resize','on',...
'Numbertitle','off',...
'color',[1 1 1],...
'Name','File menu');
file_load_sv_for_h=uicontrol('Style','pushbutton',...
'Position',[10 400 160 30],...
'String','Load Formant Tracks',...
'Callback','fm_load');
file_load_sv_art_h=uicontrol('Style','pushbutton',...
'Position',[190 400 160 30],...
'String','Load Articulatory Parameters',...
'Callback','loadarar');
file_load_sv_fant_h=uicontrol('Style','pushbutton',...
'Position',[370 400 160 30],...
'String','Load Fant Area',...
'Callback','loadfant');
file_load_sv_save_h=uicontrol('Style','pushbutton',...
'Position',[10 360 260 30],...
'String','Save articulatory parameter file after optimization',...
'Callback','savearar');
file_load_sv_close_h=uicontrol('Style','pushbutton',...
'Position',[10 320 260 30],...
'String','Close if make a mistake, and select File again',...
'Callback','close_file_load_save');
axis('off');
s=sprintf('Instructions');
text(0.4,28/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('If you make a mistake in the following, then close the Mark window & close the File menu window and start again');
text(-0.1,26/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('On occasion you may have to Quit ARTM and start again');
text(-0.1,24/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Load Formant Tracks/ Add Mark(s)/ optional: Save mark file/ Done ');
text(-0.1,22/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf(' optional: Unmark and start Add Mark(s) again ');
text(-0.1,20/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Load Formant Tracks/ Load Mark file/ optional: Save mark file/ Done ');
text(-0.1,18/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf(' optional: Add Mark(s)-- this option must follow the load Mark file, not before');
text(-0.1,16/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf(' optional:Unmark and start Add Mark(s) again ');
text(-0.1,14/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Load Articulatory Parameters file and follow message window instructions ');
text(-0.1,12/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Load Fant Area file and follow message window instructions ');
text(-0.1,10/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Save Articulatory Parameters file after optimization ');
text(-0.1,8/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('When saving articultory parameters, the full file name must be typed, including the extension, such as name.art ');
text(-0.1,6/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('When saving a mark file, the full file name must also be type, including extension, such as name__fmrk.mrk ');
text(-0.1,4/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Close File menu window if you make a mistake and if left open after done ');
text(-0.1,2/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('Do not select a load option and then not load a file, for example cancel the load window.');
text(-0.1,0/40,s, 'color',[0 0 1], 'Fontsize', 10);
s=sprintf('This will cause and error. Instead load a file and then close and start again.');
text(-0.1,-2/40,s, 'color',[0 0 1], 'Fontsize', 10);
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?