wh1te-star / RetroMusicPlayer

Best Material You Design music player for Android
https://retromusic.app
GNU General Public License v3.0
6 stars 1 forks source link

Lyric file color highlighting #7

Open wh1te-star opened 7 months ago

wh1te-star commented 7 months ago

Add the lyric highlight feature

wh1te-star commented 5 months ago
<Vocalists>
    <Vocalist name="ABC" color="00ff00"/>
    <Vocalist name="DEF" color="0000ff"/>
    <Vocalist name="GHI" color="ff0000"/>
</Vocalists>
<Lyrics>
    <Vocalist name="ABC">
        <LineTimestamp startTime="00:00.00" endTime="00:06.50">
            <WordTimestamp time="XX:XX.XX">When</WordTimestamp>
            <WordTimestamp time="00:00.16" color="00ffff">the</WordTimestamp>
            <WordTimestamp time="00:00.82">truth</WordTimestamp>
            <WordTimestamp time="00:01.29">is</WordTimestamp>
            <WordTimestamp time="00:01.63" color="00ffff">found</WordTimestamp>
            <WordTimestamp time="00:03.09">to</WordTimestamp>
            <WordTimestamp time="00:03.37">be</WordTimestamp>
            <WordTimestamp time="00:05.92">lies</WordTimestamp>
        </LineTimestamp>
    </Vocalist>
    <Vocalist name="DEF">
        <LineTimestamp startTime="00:00.00" endTime="00:05.50">
            <WordTimestamp time="XX:XX.XX">言えず</WordTimestamp>
            <WordTimestamp time="00:00.16" color="00ffff">に</WordTimestamp>
            <WordTimestamp time="00:00.82">隠してた</WordTimestamp>
            <WordTimestamp time="00:01.29">昏い</WordTimestamp>
            <WordTimestamp time="00:01.29">過去</WordTimestamp>
            <WordTimestamp time="00:01.63" color="00ffff">も</WordTimestamp>
        </LineTimestamp>
    </Vocalist>
</Lyrics>
wh1te-star commented 5 months ago

mistook