ESP8266Audio icon indicating copy to clipboard operation
ESP8266Audio copied to clipboard

(feature request) "ID3 Tag" support for AudioGeneratorMOD

Open softhack007 opened this issue 3 years ago • 0 comments

MOD files have some "meta data" that could be made available to users, maybe using the existing "AudioFileSourceID3" class. Actually i don't know if ID3 would be the right class to use for this, and I also have no idea what the typical "ID3Tags" are.

For example, the following metadata can be extracted easily from any MOD file:

**MOD song title: Chime 94** 
    sample # 0: Chime 94               --> vol=45; finetune=0; len=15008
    sample # 1: By Maelcum [KLF]       --> vol=45; finetune=0; len=8830
    sample # 2: Original: Orbital      --> vol=64; finetune=0; len=10134
    sample # 3: 4-16-94               
    sample # 4: ->               Chim  --> vol=64; finetune=0; len=15778
    sample # 5: -->             Chime  --> vol=64; finetune=0; len=12990
    sample # 6: --->           Chime   --> vol=64; finetune=0; len=9664
    sample # 7: ---->         Chime    --> vol=64; finetune=0; len=9854
    sample # 8: ----->       Chime     --> vol=64; finetune=0; len=11514
    sample # 9: ------>     Chime      --> vol=64; finetune=0; len=11758
    sample #10: ------->   Chime       --> vol=64; finetune=0; len=11150
    sample #11: --------> Chime        --> vol=64; finetune=0; len=9890
    sample #12: ---------> 94          --> vol=64; finetune=0; len=11920
    sample #13: ----------> 94         --> vol=64; finetune=0; len=14938
    sample #14: -----------> 94        --> vol=64; finetune=0; len=15942
    sample #15: ------------> 94       --> vol=64; finetune=0; len=18796
    sample #16: A KLF Production       --> vol=64; finetune=0; len=12022
    sample #17: Today!                 --> vol=64; finetune=0; len=10728
    sample #18: +1-908-820-0723        --> vol=64; finetune=0; len=10698
    sample #19: Call                   --> vol=64; finetune=0; len=10684
    sample #20: Trancentral II!        --> vol=64; finetune=0; len=10738
    sample #21: [email protected]  --> vol=64; finetune=0; len=5772

MOD filetype  : 8CHN
MOD #channels : 8

only total length (playtime) might be a bit tricky to compute, however its possible because other MOD players can do it.

softhack007 avatar Jan 06 '22 17:01 softhack007