📄 test.m
字号:
function y=test
[s,fs] = wavread('1.wav');
pscale=0.7; %pitch scale ratio
tscale=1.5; %time scale ratio
pm = find_pmarks(s,fs); %determine pitch marks
plot_pmarks(s, pm); %plot pitch marks
[vuv]=detect_vuv(s,fs,pm); %voiced/unvoiced decision
y = tdpsola(s,fs,pscale,tscale,pm,vuv); %TD-PSOLA
soundsc([s; zeros(fs,1); y],fs);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -