Here's a tool to sort an abc file...

Hello, since no tool to sort an .abc file seems available, I just did a simple one. It runs on any Win32 machine. You specify the source abc file, you click on “execute” and you will see the result in a memo text field on the screen. If you’re happy with it, you click “save as” and save the sorted file. It didnt enable the option to sort on the music rythm yet (reel, horpipe, etc) but will do that eventually. I tested with a big .abc file with 2000 tunes and it worked just fine, and at last now I can browse easily with abcmus… I’m sure there’s lot of situations not handled by the application yet, but if you have a very standard abc file, with blank lines separating the tunes, it should work fine.

http://www.metayer.info/abcsort/AbcSort.zip

Heille whoa sâ marche pâ ton affâire - pâ paentoutte! Kanque chclicques sur le lien, ben amedit que ton ostie d’ostie n’existe pas, voyonsdonc!

Translation­: My dear Azalin, the link you have supplied doesn’t appear to work. Your host cannot be reached. Please clarify.

Haha, thanks for the translation! Well, the site was down, now I think it’s up again. Give it a try!

Seems to work well! Merci beaucoup…

Suggestions: You should program it to ignore the words “A”, “An” and “The” at the start of titles. Or allow this as an option.

When you select a new tune, it should clear the memo window, prompting you to save the sorted file if you have not done so already.

As well as sorting on rhythm (which has two "h"s in it by the way), you could sort by key signature. And allow subsorts, e.g., rhythm, key, title…

Also, you should be able to specify a default directory for source files and possibly a destination directory. Or at least it should remember the directory you last opened something in…

That’d be my initial wish list! Please have a crack…

Steve

On 2002-02-19 17:37, StevieJ wrote:
Heille whoa sâ marche pâ ton affâire - pâ paentoutte! Kanque chclicques sur le lien, ben amedit que ton ostie d’ostie n’existe pas, voyonsdonc!

Translation­: My dear Azalin, the link you have supplied doesn’t appear to work. Your host cannot be reached. Please clarify.

Hey, where is Ben? In posts of this sort of French, there has to be that particular gentlmen, Ben. You remember Ben, Steve?

Hey, where is Ben?

Ben oui. He’s there - look more carefully. Just next to his girlfriend Amedit.

Eh Stevie!

Fortunetaly you’re going to be quite busy soon enough, so that you won’t have the time to load me with homework! Good ideas for the abc sorter, I’ll give it a try!

On 2002-02-19 21:49, StevieJ wrote:

Hey, where is Ben?

Ben oui. He’s there - look more carefully. Just next to his girlfriend Amedit.

Doh! Missed both of them. :roll: