regarding .wav file

5 ビュー (過去 30 日間)
Aparna
Aparna 2012 年 1 月 23 日
Hey
Is there any way to convert a .wav file into .txt file using MATLAB? Please help.
Thanks!

採用された回答

Andreas Goser
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')
  5 件のコメント
Aparna
Aparna 2012 年 1 月 24 日
Ok thank you very much for your help! :)
Aparna
Aparna 2012 年 3 月 13 日
I am sorry to disturb you on this query again but i am not very clear about what y is in the wavwrite step..
Can you kindly let me know about this?
Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAudio and Video Data についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by