Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have Milkdrop Monitor a textfile for title data vis splash? #51

Open
Selexo opened this issue Feb 2, 2024 · 2 comments
Open

Have Milkdrop Monitor a textfile for title data vis splash? #51

Selexo opened this issue Feb 2, 2024 · 2 comments

Comments

@Selexo
Copy link

Selexo commented Feb 2, 2024

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

Bla Bla & Garfunkel
The Sound of Silence

Song Name.XML that has the lyrics as such

<lyrics>
    <verse time="0">
        Hello, darkness, my old friend
    </verse>
    <verse time="10">
        I've come to talk with you again
    </verse>
    <verse time="20">
        Because a vision softly creeping
    </verse>
    <verse time="30">
        Left its seeds while I was sleeping
    </verse>
    <verse time="40">
        And the vision that was planted in my brain
    </verse>
    <verse time="50">
        Still remains
    </verse>
    <verse time="60">
        Within the sound of silence
    </verse>
</lyrics>

@milkdrop2077
Copy link
Owner

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

@DejayRezme
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants