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

📄 demo2.m

📁 最全的ASR工具集合
💻 M
字号:
disp('Mini-Projet: Automatic Speaker Recognition');
disp('By Christian Cornaz & Urs Hunkeler (SC)');
disp('Responsible Assistant:  Vladan Velisavljevic');
disp(' ');
disp(' ');
[s1 fs1]=wavread('data\train\s1.wav');
[s2 fs2]=wavread('data\train\s2.wav');

%Question 2
disp('> Question 2');
t1 = 0:1/fs1:(length(s1) - 1)/fs1;
subplot(121);
plot(t1, s1), axis([0, (length(s1) - 1)/fs1 -0.4 0.5]);
title('Plot of signal s1.wav');
xlabel('Time [s]');
ylabel('Amplitude (normalized)')
t2=0:1/fs2:(length(s2)-1)/fs2;
subplot(122);
plot(t2,s2);axis([0,(length(s1)-1)/fs1 -0.4 0.5]);
title('plot of signal s2.wav');


pause
close all

⌨️ 快捷键说明

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