regarding .wav file
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hey
Is there any way to convert a .wav file into .txt file using MATLAB? Please help.
Thanks!
0 Commenti
Risposta accettata
Andreas Goser
il 23 Gen 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Audio and Video Data in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!