regarding .wav file
1 次查看(过去 30 天)
显示 更早的评论
Hey
Is there any way to convert a .wav file into .txt file using MATLAB? Please help.
Thanks!
0 个评论
采纳的回答
Andreas Goser
2012-1-23
% Create WAV file in current folder for this test
load handel.mat
hfile='handel.wav';
wavwrite(y, Fs, hfile)
clear y Fs
% Read the data back into MATLAB
[y, Fs, nbits, readinfo] = wavread(hfile);
% Save as ASCII text file
save('handel.txt', 'y', '-ASCII')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!