>> clear >> [y, Fs] = audioread('a_hisa.mp3'); %% y是音频数据m*n的矩阵,Fs是采样率。n是通道数。 >> x = y(:, 1); >> sound(x, Fs); %%播放 >> clear sound %%关闭
MATLAB播放音频sound
猜你喜欢
转载自www.cnblogs.com/tangjicheng/p/9142878.html
今日推荐
周排行