?? d_init.m
字號:
%
%code struct
%ls:line spectrum
%jt:jitter
%fm:fourier magnitudes
%pitch:pitch
%G:2 gains
%vp:voice power
%定義全局常量
global FMCQ_CODEBOOK;
global stage1;
global stage2;
global melp_firs;
global Cup Cdown;
coeff;
stage;
codebook_fmcq1; %傅立葉譜幅度碼本(256)
codebook_fmcq2;
d_pdfs;
Cup=0.0337435;
Cdown=0.135418;
%定義變量
t0=1;
%global G2p u1 ls1 fm1 jt1 p1 ;
%global G1 G2 u2 ls2 fm2 jt2 vp2 p2 T;
%global G2p_error;
G2p_error=0;
p1=0;
ls1=[0.2567 0.4953 0.8229 1.2324 1.6116 2.0507 2.4330 2.7962 3.2184 3.5410];
G2pt=22;
G2p=20;
u1=0;
jt1=0;
fm1(1:10)=1;
vp1=[];
u1=0;
Gno=20;
%初始化普通變量
v=[]; %initial the state of the voice signal.
v_nase=[];
state_pul(1:30)=0;
state_noi(1:30)=0;
state_ase(1:10)=0;
state_syn(1:10)=0;
state_disp(1:64)=0;
state_tilt=0;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -