source_modify.m

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

M
34
字号
%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 + =
减小字号Ctrl + -
显示快捷键?