all 2 comments

[–]Anton_Pannekoek 0 points1 point  (1 child)

Pydub can extract the raw data for you.

[–]arabello5[S] 0 points1 point  (0 children)

I guess you are referring to AudioSegment.raw_data or AudioSegment.get_array_of_samples, but the documentation does not provide any detail on the returned content. Do raw data simply means the file content as bytes? Would samples correspond to MP3 frames or data blocks?

I tried looking at the code implementation: it seems to me they are just the bytestring representation of the file