audio - How to extract the raw data from a mp3 file using python? -


i have got homework regarding audio data analysis using python. wonder there module me use extract raw data mp3 file. mean raw data, not metadata, id3 tags.

i know how use wave module process .wav files. can readframes raw data. don't know how mp3. have searched lot on google , stackoverflow , find eyed3. unfortunately documentation rather frustrating , version 0.7.1, different examples can find on internet.

is there module can extract raw data mp3? if there documentation eyed3, good.

if understand question, can try using pydub (a library wrote) audio data so:

from pydub import audiosegment  sound = audiosegment.from_mp3("test.mp3")  # sound._data bytestring raw_data = sound._data 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -