regarding .wav file
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hey
Is there any way to convert a .wav file into .txt file using MATLAB? Please help.
Thanks!
0 Kommentare
Akzeptierte Antwort
Andreas Goser
am 23 Jan. 2012
% 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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!