⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pitchshiftingbytimestretchingresampling.m

📁 matlab code for discrete time signal processing overlay and a
💻 M
字号:
% Pitch Shifting by Time Stretching and Resampling (7.4.2)
[x,f_s,nbits]=wavread('brass_jazz.wav');

y=zeros(1,length(x));

m=pitch_detector(x);
alpha=1.5;
beta=1;

y=psola(x,m,alpha,beta);
y=resample(y,length(x),length(y));

wavwrite(y, f_s, '7_4_2_brass_jazz-high.wav');

alpha=0.75;
beta=1;

y=psola(x,m,alpha,beta);
y=resample(y,length(x),length(y));

wavwrite(y, f_s, '7_4_2_brass_jazz-low.wav');

⌨️ 快捷键说明

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