Is there a way to play mp3 files or files other than .wav in Matlab?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Seetha Rama Raju Sanapala
am 22 Mai 2015
Beantwortet: Star Strider
am 22 Mai 2015
I could play .wav files using sound or audioplayer commands. But these can not play mp3 or other files. Is there a way to play them in MATLAB? Can we convert mp3 files to wav files?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 22 Mai 2015
You have to read them first, and the audioread function can read them. (See specifically Input Arguments filename.) You then need to create an audioplayer object to play it.
I don’t have an .mp3 file that I can find on this machine to test this, so you may have to experiment.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!