LyricConverter icon indicating copy to clipboard operation
LyricConverter copied to clipboard

OpenSong support

Open sonoftheking opened this issue 9 years ago • 6 comments

Please consider adding support for the OpenSong's [mostly] XML format: http://www.opensong.org/pages/song-file-format-specification.html

The non-XML bit is the text contained in between the tabs, eg: [V1] Verse 1 line 1 Verse 1 line 2 Verse 1 line 3

[P] Pre-Chorus line 1 Pre-Chorus line 2 Pre-Chorus line 3|| Pre-Chorus line 4 (on slide 2) Pre-Chorus line 5 (on slide 2) Pre-Chorus line 6 (on slide 2)

[C] Chorus line 1 Chorus line 2 Chorus line 3

[V2] Verse 2 line 1 Verse 2 line 2 Verse 2 line 3

[B] Bridge line 1 Bridge line 2 Bridge line 3

sonoftheking avatar Dec 10 '14 00:12 sonoftheking

Looking at this now, it seems the file format has greatly changed in the past few years! http://www.opensong.org/home/file-formats

However... I cannot find any sample songs at all, except for that one listed as a demo on that page. I see this page is supposed to give out songs in multiple languages: http://www.opensong.org/home/download However most of the links seem to be dead.

@sonoftheking do you have any information about this? Is OpenSong a format that's still in use anywhere? It seems pretty dead to me.

ChrisMBarr avatar May 27 '23 22:05 ChrisMBarr

Hey! I think OpenSong is still quite popular due to it's free-ness :)

Here's a sample song (i think this is royalty free)- natively there's no extension, but I added .txt because of the forum limitations.

O Come All Ye Faithful.txt

KevinFromUpThere avatar Jun 06 '23 18:06 KevinFromUpThere

Cool, thanks for the info. The format is a bit unknown to me. I took a look at your code repos @KevinFromUpThere and I see this: https://github.com/KevinFromUpThere/PraiseMusic/tree/master/OpenSong/Songs

That will probably be a good sampling and test bed for this if you don't mind me copying those files!

ChrisMBarr avatar Jun 06 '23 18:06 ChrisMBarr

Ha oh yeah I forgot I put those there... probably in no-no territory with copyrights?

On Tue, Jun 6, 2023 at 2:14 PM Chris Barr @.***> wrote:

Cool, thanks for the info. The format is a bit unknown to me. I took a look at your code repos @KevinFromUpThere https://github.com/KevinFromUpThere and I see this: https://github.com/KevinFromUpThere/PraiseMusic/tree/master/OpenSong/Songs

That will probably be a good sampling and test bed for this if you don't mind me copying those files!

— Reply to this email directly, view it on GitHub https://github.com/FiniteLooper/LyricConverter/issues/5#issuecomment-1579240255, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCR5O2Y6CEEJXNSM5ASHBTXJ5XPLANCNFSM4AYZTPEA . You are receiving this because you were mentioned.Message ID: @.***>

-- Kevin Archibald

KevinFromUpThere avatar Jun 06 '23 20:06 KevinFromUpThere

Lol, well I won't tell anyone. If I used them it would simply be for testing purposes to make sure it can read the format correctly.

I will get to it at some point though. Currently LyricConverter can read and write 2 different XML based file formats (ProPresenter and OpenLyrics), this one shouldn't be any harder really. I recently moved my OpenLyrics parser into its own NPM package which makes it more modular and easier to implement inside of LyricConverter. When I get around to OpenSong I'd like to do something similar.

ChrisMBarr avatar Jun 06 '23 20:06 ChrisMBarr

Nice, that's very cool. The one kind of strange thing OpenSong does is lines with chords that start with a dot (.) ... a bunch of apps convert this format, like OpenLP brings in an entire folder of OpenSong, but not much OUTPUTS to OpenSong.

You may have noticed I wrote a little script to convert someone's scanning of our 500 song hymnbook into OpenSong... this was pretty brute force line-by-line stuff. I considered doing another for UltimateGuitar copy-pastes.... that would definitely be a useful thing, but a very different non-xml format.

On Tue, Jun 6, 2023 at 4:58 PM Chris Barr @.***> wrote:

Lol, well I won't tell anyone. If I used them it would simply be for testing purposes to make sure it can read the format correctly.

I will get to it at some point though. Currently LyricConverter can read and write 2 different XML based file formats (ProPresenter and OpenLyrics), this one shouldn't be any harder really. I recently moved my OpenLyrics parser into its own NPM package https://github.com/FiniteLooper/openlyrics-parser which makes it more modular and easier to implement inside of LyricConverter. When I get around to OpenSong I'd like to do something similar.

— Reply to this email directly, view it on GitHub https://github.com/FiniteLooper/LyricConverter/issues/5#issuecomment-1579442009, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCR5OYQWQ6J6TWYHZATOK3XJ6KWPANCNFSM4AYZTPEA . You are receiving this because you were mentioned.Message ID: @.***>

-- Kevin Archibald

KevinFromUpThere avatar Jun 07 '23 14:06 KevinFromUpThere