I'm trying to extract some metadata from *.mp3 files such as BMP and Genre information.
I have made a very short test song (attachment) where the Genre is "Pop" and the BPM is "92".
Looking at this audio file with an hex editor, here is what I get:

So, the apparently header for Genre is "TCON" and the one for BMP is "TBPM".
Code: Select all
OPEN DefaultDir$ + "\TestSong.mp3" FOR binary AS #TITLE
FOR i = 0 TO 100
PRINT INPUT$(#TITLE, 1);
NEXT i
WAIT
This code will give different results when run in LB or LBB.
Here in LB:

Here in LBB:

I'm always using LBB but I get more usable results with LB because LBB won't find the Genre or "TCON" header.
Is there a better way to extract this type of data with LBB please?