Open Selexo opened 7 months ago
Yes that's very doable, just ask your mp3player's developer :) Could be even more simple, they could just use a SendMessage(nameofcurrentsong) to MilkDrop3 when the music change, that's 3 lines of code to add to the player.
if they're too busy, I'll code my own mp3player soon ;D
Might be better to use a text subtitle format like SRT / WebVTT or TTML then you can use subtitle editor software or libs or tools (overview: https://matesub.com/resources/subtitle-file-formats)
I agree that having this as a separate app is nice and it shouldn't really need to be integrated as others have suggested. So the thought was that perhaps allowing Milkdrop3 monitor a folder for an expected CurrentSong.txt file or similar. This would allow an easy solution or compromise as other people could just then make a simple component or plugin that writes to a file the current playing song that Milkdrop could just read on "content changes" and display that data within milkdrop3. Nothing to maintain on your end other then the read file content or whatever extra lines you might expose to the end user to read in for visuals.
Others out there could probably take it further beyond the scope of the main point,
A more advance option for those who may want to DJ or stream with this or something would have Milkdrop3 find matching songname.xml lyrics of current song, if Milkdrop finds matching SongName.txt or XML This TXT file could have Lyrics of said song and vised out close to synced, with some basic timestamps that would need to handled on our end (probably better as an XML).
CurrentSong.txt
Song Name.XML that has the lyrics as such