📄 source_modify.m
字号:
%Callback function for modify specified source
%Author : Karthik
%Used functions written by Albert Hsiao
% Modified by D. G. Childers 2/25/98
segment_no =1;
if file_flag == 1 %An excitation waveform has been specified
%Create features for adding noise to the excitation and changing gain
% create temporary variables
Pitch1=Pitch;
Ncof1 = Ncof;
Vgain1 = Vgain;
Ngain1 = Ngain;
excitation1 = excitation;
file_modify;
elseif file_flag == 0
excitation1 = excitation;
segment_no = 1;
Pitch1=Pitch;
Ncof1 = Ncof;
Lcof1 = Lcof;
Vgain1 = Vgain;
Ngain1 = Ngain;
uvindicate = ones(Nframe,1); %Default is to treat each segment as voiced
new_modify_v_uv;
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -