How to get musical genre from an audio file

3 visualizaciones (últimos 30 días)
Davide Miani
Davide Miani el 4 de Nov. de 2016
Comentada: Walter Roberson el 5 de Nov. de 2016
Hello,
recently, I got familiar with MATLAB built-in functions audioinfo, audioread etc. However, I need to load in my code the information about genre, and other properties not reported by audioinfo. How can I get them?
Thanks to all!
Davide

Respuestas (1)

Walter Roberson
Walter Roberson el 4 de Nov. de 2016
Musical genre is not often stored with the file.
Because there is no standard for storing genre (when it is there), you need to know which method has been used for the files of interest to you; with a specific method, we might be able to identify a method of retrieving the information, possibly.
  2 comentarios
Davide Miani
Davide Miani el 4 de Nov. de 2016
Editada: Davide Miani el 4 de Nov. de 2016
My script load information from my musical library created by iTunes. All audio files are stored with .m4a extension and all of them contains title, artist, year and also genre and album cover (another fields unaccessible with MATLAB). I hope this complete informations about my problem. However, thanks for your reply!
Walter Roberson
Walter Roberson el 5 de Nov. de 2016
Would parsing the itunes XML file be acceptable? In particular "iTunes Music Library.xml" inside the ~/Music/iTunes directory

Iniciar sesión para comentar.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by