ti_pr_go.m

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

M
39
字号
%Callback function for the apply button in the property window

time_frame_len = round(get(time_fl_sl_h,'Value'));
overlap = round(get(ti_ov_fl_h,'Value'));
time_overlap = round(overlap*time_frame_len/100);
window_type = get(ti_win_type_h,'Value');
thresh = round(get(ti_thresh_fl_h,'Value'));

val=get(ti_pr_sel_h,'Value');
	if val == 1
		ti_mark_flag = 1;
	else
		ti_mark_flag = 0;
   end
   %time_pr_win_pos=get(time_pr_win_h,'position');
   
	val=get(ti_win_type_h,'Value');
	if val == 1
	   window_type=1;
	elseif val == 2
		window_type=2;
	elseif val == 3
		window_type=3;
	elseif val == 4
		window_type=4;
	elseif val == 5
		window_type=5;
	elseif val == 6
		window_type=6;
	elseif val == 7
		window_type=7;
	elseif val == 8
		window_type=8;
	end
   
close (time_pr_win_h);
clear time_pr_win_h;

⌨️ 快捷键说明

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