regarding .wav file
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hey
Is there any way to convert a .wav file into .txt file using MATLAB? Please help.
Thanks!
0 commentaires
Réponse acceptée
Andreas Goser
le 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!