add_2_database.m
来自「this code is in Matlab.and this code od 」· M 代码 · 共 21 行
M
21 行
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Speaker Recognition System %
% %
% Project mmembers: (1) Habib ur Rehn=man %
% (2) Abdul Basit %
% Date: 12-05-2003 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This program record samples for %
% database database %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
m=1;%0;
n=5; %0;
No_pts=12948; % No of points to be recorded
fss=22050; %sampling rate
s1 = wavrecord(No_pts*2, fss);
wavwrite(s1, 'test\s1.wav '); % Target directory
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?