regarding .wav file
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hey
Is there any way to convert a .wav file into .txt file using MATLAB? Please help.
Thanks!
0 comentarios
Respuesta aceptada
Andreas Goser
el 23 de En. de 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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Audio and Video Data en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!