Lyrics & Knowledge Personal Pages Record Shop Auction Links Radio & Media Kids Membership Help
The Mudcat Cafemuddy

Post to this Thread - Sort Descending - Printer Friendly - Home


convert ABC to Finale???help

GUEST,meneermalik 17 Nov 09 - 10:10 AM
GUEST,leeneia 17 Nov 09 - 03:35 PM
Joe Offer 17 Nov 09 - 05:49 PM
Jack Campin 17 Nov 09 - 05:57 PM
Mick Pearce (MCP) 17 Nov 09 - 09:06 PM
GUEST 18 Nov 09 - 03:37 AM
JohnInKansas 18 Nov 09 - 04:02 AM
meneermalik 18 Nov 09 - 09:25 AM
Mick Pearce (MCP) 18 Nov 09 - 04:11 PM
Joe Offer 18 Nov 09 - 04:17 PM
meneermalik 18 Nov 09 - 05:33 PM
meneermalik 18 Nov 09 - 11:11 PM
Anglo 19 Nov 09 - 12:44 AM
Weasel 19 Nov 09 - 03:27 AM
meneermalik 19 Nov 09 - 07:54 AM
Mick Pearce (MCP) 19 Nov 09 - 12:22 PM
GUEST 19 Nov 09 - 01:14 PM
GUEST,leeneia 19 Nov 09 - 01:45 PM
Mick Pearce (MCP) 19 Nov 09 - 01:54 PM
Mick Pearce (MCP) 19 Nov 09 - 02:02 PM
Geoff the Duck 19 Nov 09 - 03:53 PM
Mick Pearce (MCP) 19 Nov 09 - 04:20 PM
meneermalik 19 Nov 09 - 05:07 PM
Geoff the Duck 19 Nov 09 - 05:21 PM
Geoff the Duck 19 Nov 09 - 05:31 PM
Mick Pearce (MCP) 19 Nov 09 - 06:21 PM
Artful Codger 19 Nov 09 - 11:19 PM
Geoff the Duck 20 Nov 09 - 06:02 PM
Chris Partington 21 Nov 09 - 05:36 AM
meneermalik 21 Nov 09 - 02:36 PM
GUEST,leeneia 21 Nov 09 - 02:55 PM
meneermalik 22 Nov 09 - 04:53 PM
meneermalik 24 Nov 09 - 10:29 AM
Jack Campin 24 Nov 09 - 11:17 AM
Mick Pearce (MCP) 24 Nov 09 - 11:52 AM
MikeM 24 Nov 09 - 12:16 PM
meneermalik 24 Nov 09 - 01:04 PM
George Seto - af221@chebucto.ns.ca 24 Nov 09 - 01:13 PM
meneermalik 24 Nov 09 - 03:34 PM
Mick Pearce (MCP) 24 Nov 09 - 06:39 PM
Geoff the Duck 28 Nov 09 - 06:11 AM
Share Thread
more
Lyrics & Knowledge Search [Advanced]
DT  Forum
Sort (Forum) by:relevance date
DT Lyrics:



Subject: convert ABC to Finale???help
From: GUEST,meneermalik
Date: 17 Nov 09 - 10:10 AM

Hi everyone. I need help. I have this fairly large book in ABC format that I need to convert to Finale for a publisher. I've been putting this off for some time but time is running out. I remember (or thought I did) Finale being able to read ABC but that doesnt seem to be the case now. I have Finale 2009. What seems to work so far is opening a single abc tune with Harmony Assistant, exporting it as a MusicXML file and then importing that in Finale. Needless to say, it's a bit time consuming. Is there any software out there that will convert ABC straight to a Finale? And is there any software that allows you to process/convert an abc file that has many tunes in it as oppose to working one tune at a time?

Thanks for any help.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: GUEST,leeneia
Date: 17 Nov 09 - 03:35 PM

I don't know the answer. If time is running out, I suggest you talk to the technical staff at Finale and see what they recommend.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Joe Offer
Date: 17 Nov 09 - 05:49 PM

Hi -
There are several people around here who are very knowledgeable about this sort of thing. Keep checking this thread over the next few days, and I'm sure somebody will come up with a good answer.
If you'd like to be notified about new messages, send me an e-mail.
All the best to you.

-Joe Offer, forum Moderator-
joe@mudcat.org


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Jack Campin
Date: 17 Nov 09 - 05:57 PM

Why can't the publisher just accept PDFs generated from your ABC?


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 17 Nov 09 - 09:06 PM

As far as I know there is no direct way to import abc to Finale; musicXML is the way I would go.

One thing you could do instead of using HA to process one file at a time is to use abc2xml in a batch/script file to process all your abc tunes to xml in one hit. (If they're all in one abc tune file you'll need to split them first, but there are programs that can do that for you). I think you'd still have to import them into Finale one at a time though (or is there a batch processing feature in the new version?).

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: GUEST
Date: 18 Nov 09 - 03:37 AM

I would use one of the abc translators (I use Barfly) to export as MIDI and then import into Finale from there.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: JohnInKansas
Date: 18 Nov 09 - 04:02 AM

ABC can produce a midi file.

Finale can import a midi and convert it to score.

While importing "generic" midi files often produces a lot of garbage, usually a midi exported from a "scoring program" will import into any other midi capable scoring program as fairly clean score.

John


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 18 Nov 09 - 09:25 AM

Hey Mick...that sounds like the least time consuming way to do it. I was originally thinking I'd have to do one tune at a time anyways to import ABC to Finale(when i thought you could do that) so importing xml one at a time is fine. Know the name of the program to separate the abc files? Having to separate one tune at a time and then processing each one afterward was something I wasnt looking forward to.

It's a large volume so Finale is the only way the publisher wants to handle it.

ABC to midi and then importing midi to Finale just doesnt work well. I did tests yesterday with importing different formats (with different programs) and you consistently got perfect, clean files with xml while there was often need to clean up a file in Finale when it came from an ABC -> midi file regardless of the program you used. True you get better results with some but not good enough.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 18 Nov 09 - 04:11 PM

meneermalik

I thought several of the abc programs could explode an abc tunefile, but I've had a quick look at some I've got without finding on. However, if you'd like I could split the file for you with no trouble (I have things of my own that do that).

I've also had another thought - you could probably use Finale Script (Plugins/Miscellaneous) to import the xml and save Finale files in a single batch job. I haven't used the script, but I think it's possible to have an operation repeated on all files in a folder; I assume opening xml would be one of the options. If you look at the script plugin it has a command reference there. I haven't time to pursue this tonight, but I'll have a look at it tomorrow.

If you want to discuss this off the thread, now that you've joined you can send me a PM (personal message) - it's in the Quick Links drop-down at the top of the page under Send a Personal Message. It's a way not to clutter threads with unnecessary stuff.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Joe Offer
Date: 18 Nov 09 - 04:17 PM

Mick and Meneer, feel free to discuss this in public. You're welcome to discuss in private, but several of us are enjoying reading the discussion.

Oh, and don't forget that there is a "PM" link next to the poster's name in every message in the Forum. If the sender is not a Guest, you can click the "PM" link and send the person a private message.

-Joe-


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 18 Nov 09 - 05:33 PM

Thanks Mick and Joe.

   I'll have a look tonight to see if I can find something. Can't seem to find abc2xml either. I found one version for linux but I run WinXp and know absolutely nothing about linux. I started this project some 12 years ago and being cheap I went with ABC, I should have started with Finale in the first place lol.

    Without like sounding like I dont know what I'm doing, i have another question. I have FInale 2009. The drop down menu for plug-ins does show me Misc. but there is no 'Finale script' under that menu. However, I do have 'finale script' in the drop down menu under 'plug-ins' and from there i have 'finale script palette', 'options' and help. I've played around with scripts before. If you know off the top of your head where to go from there that would be great. I've been playing with it for about an hour now and havent really accomplished anything. Whenever I click the green play button to run the script it asks me to select the folder...and I do and nothing happens.

   Anyhow, I dont want you or anyone else to do my work for me but sometimes what isnt obvious to one person is common knowledge to another and takes 15 seconds to write down if you know what I mean.
Thanks for the help. I'd be so grateful if I dont have to spend 50 hours individually converting each tune.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 18 Nov 09 - 11:11 PM

Well I've been searching and might call it a night for now. Still trying to figure out scripts ( a new thing to me) for Finale. (if anyone knows anything about finale scripts) Harmony assistant also uses scripts so I may be able to use that to set a script to open all abc files and save them as musicxml files (assuming?) Harmony assitant imports finale files...too bad it doesnt export them! I need a program that has scripts, opens ABC files and saves them as .mus files lol. Still trying to find an ABC program that extracts the tunes from one big ABC file and saves the tunes as individual abc files.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Anglo
Date: 19 Nov 09 - 12:44 AM

Apologies for posting as guest - I hadn't realized I'd lost my cookie.

Sorry my suggestion wasn't useful, but there are far more knowledgeable souls here.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Weasel
Date: 19 Nov 09 - 03:27 AM

Have you asked this on the Finale forum?

Cheers,

Weasel


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 19 Nov 09 - 07:54 AM

yes, I'm on the finale forum too. no replies.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 19 Nov 09 - 12:22 PM

meneermalik

I've had a little play with Script in my old 2006 version and it looks like that can't batch process xml files; it seems only to open mus files in batch processing. I've downloaded a demo of 2010 to see what can be done in the newer FinaleScript 2.

You can batch convert xml to mus (and vice versa) using the Dolet plugin, but while that used to be moderately priced, the new version is about $200.

I'll get back to you on this.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: GUEST
Date: 19 Nov 09 - 01:14 PM

Thanks Mick. I downloaded the 10 day trial version of Dolet and sure enough it does process entire folders of xml to mus but as luck would have it, that option isnt available in the trial version. Still looking...


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: GUEST,leeneia
Date: 19 Nov 09 - 01:45 PM

Okay, meneermalik. I'm not an expert,but here's how I would do it.
I have a MIDI-based music program (noteworthy composer) and a MIDI controller (computerized piano keyboard.)

Are these tunes traditional tunes? If so, search for MIDI's of them on the Internet. Download the tunes to Finale, edit them to suit, and print them or save them for your publisher.

Have you tried that MicNotator? Finale says you can play a tune on a brass or woodwind instrument and it will notate it. Can you play whistle, flute or recorder?

Or use a MIDI controller to input them to Finale. I believe a MIDI controller costs about $149. You may need a sound card or something to accept its MIDI output. Ask a computer technician.

In a pinch, you can probably just enter the notes manually into Finale (locate line or space, select note size and click) but that is tedious.

Right now you may be thinking "What does Leeneia know? She's never even heard of mus or xml!" That may be true, but given my equipment I could get the job done. So far nobody here has been able to claim that.

And if you don't already have a MIDI controller but you get one, you can have a world of fun with it after this project is done.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 19 Nov 09 - 01:54 PM

meneermalik

Sorry I could have told you that's disabled in the trial version!

However I have had a look at scripting in the demo version of 2010 and I think it is possible.

When you have the xml files created, you need to generate a file like this:

  menu item "Import"
  type "XMLFileName" in "File name:"
  click "Open"
  save as mus
  close

where XMLFileName is the name of one of your files. Generate this same piece of code for each file name and save the whole thing as FinaleScript.dat

You should then be able to read that from the Options part of the Script Palette. (However with my demo copy, it created a folder for imported scripts, but didn't add it. I had to fool it by creating an empty script, then adding some header and trailer to my code and replacing the empty script in one of the Finale folders. I won't bore you with the details - it may be a byproduct of the demo copy, but if you need them it's simple for me to give you it).

The only other thing you'll need to check is that save as mus, since saving is disabled in the demo copy I couldn't actually check that that worked!

One other point about the script - the script would not run unless I already had a document open; I had to make a default document before running the script.

The upshot is I do believe it's possible to automate all of your conversion. (Despite Joe's entreaty I'll omit any more technical details for now until you decide if you're going to go down this route).

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 19 Nov 09 - 02:02 PM

leeneia

You seem to misunderstand his problem. He already has all the tunes. His problem is to get them all into Finale, which he could do now by converting all to xml and importing them one at a time (as he could do with midi in the way you suggest; and despite your comment, I think everyone who's posted on this thread so far could get the job done that way - JiK even suggested the midi route rather than the xml route).

The problem is to avoid the manual one-file-at-a time processing (I assume he has a great number of tunes). The first half - generating midi or xml from the abc - is simple to do; there are tools for that. The problem is then to automate getting them into Finale, which is what the Finale Script I've suggested does.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Geoff the Duck
Date: 19 Nov 09 - 03:53 PM

meneermalik - A short while back I started a thread querying conversion from ABC to MusicXML. I didn't get to a full solution, but may continue here... (Thread found HERE )

The ABC2XML mentioned can be found with a Windows version at the following site http://developer.berlios.de .
The actual download is HERE.
It is packaged in an archive file in a format that is used by LINUX. I managed to unpack it by using Portable_Ubuntu_for_Windows. Once unpacked, you end up with both the Linux and the Windows versions of the programme. What you do with them then is anybody's guess! (Which brings me to...)

Mick - I've now tracked down the executable files for ABC2XML. Can you give us any clues to the usage of the programme - either under Linux or Windows (or both) please? I assume it is a Command Line job, and I haven't really done much with a command line since Windows 3.1 in the 90s.

I also found a thread from a number of years back, which contained an interesting comment. I may try to contact the 'Catter who posted before mentioning it here.

Quack!
Geoff the Duck.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 19 Nov 09 - 04:20 PM

Geoff - I've got several different versions of abc2xml already, both Linux and Windows (you have to be careful - some of the early versions didn't process w: lines).

The usage is very simple command line:

  abc2xml in.abc >out.xml

ie the default output is to the standard output, so you need to redirect it to the output file. You can package that into a batch file if you want.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 19 Nov 09 - 05:07 PM

Hey Mick and everyone.

I've been giving myself headaches trying to get this going and researching.

Yeah Leeneia, these are files I edited myself and the large part of these come from old recordings or library manuscripts, all in all I have about 6000 in several large ABC files to convert. As Mick mentioned we have all the needed software, it's just a matter of trying to cut off some 50 hours or more of work to convert them.

The process is this
-split the large ABC tune files into individual files for each tune.
-convert those individual ABC files to XML
-convert those XML files into Finale (.mus)

So far I found an old program I used to use to split the files but I've yet to get it to work now. ABCMUS by Henrik Norbek. It splits a large file into individual files for each tune. At the moment I keep getting error messages when it starts the splitting process and tries to save the files. I emailed Henrik to get his help so we'll see. That's the only program I found so far for that.



Mick, I tried the script for Finale. Definitely helped! Thanks. I remember reading the manual and didnt read anything about having to have a document open. That helps lol. The script wouldnt save the converted file so I tweaked it a bit. Here's the script

menu item "Import"
type "XMLfilename" in "Filename:"
click "Open"
save as mus
type "newfilename for musfile"
click "save"
menu item "close"

where as you said Mick, the "xmlfilename" is the name of the file to be converted and "newfilename..." is the name you want for the new .mus file. That seems to work fine. I'm not sure if that's what you were aiming for? The only thing I'm wondering is if there could be a script to automate the file name thing. Otherwise I think it's more time consuming to have to do that for each file than it would be to simply manually import and click 'save as'. Dolet definitely seems to take care of that. Going to play around with it some more after dinner.

-Sonny


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Geoff the Duck
Date: 19 Nov 09 - 05:21 PM

Thanks Mick!

Between my post and reading yours, I had got as far as navigating the command line (Windows) through to where I had put the programme. I had copied a couple of ABC files into the same location and run the prog followed by ABC filename. It had printed an xml output in the shell, but nowhere else.
After reading your posting, I added the triangular bracket plus a filename and it did save an XML file into the same directory.
I have now tested with an ABC which has a w: words line, so it is presumably an early version of the programme (It will not tell me the date, because it has dated the file to the time I extracted from the archive.

If I PM you an e-mail address, is there any chance you could find and send a version that does lyrics as well as dots? At present I do have bot Windows and SUSE Linux on the PC, so can handle either version of the programme.

Quack!
Geoff.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Geoff the Duck
Date: 19 Nov 09 - 05:31 PM

ISIRTA (I'm Sorry, I'll Read That Again {courtesy of Angus Prune})
That should have read :-
I have now tested with an ABC which has a w: words line, it ignored the lyric and did not add them to the XML output file, so it is presumably an early version of the programme (It will not tell me the date, because it has dated the file to the time I extracted from the archive.

Quack!
GtD.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 19 Nov 09 - 06:21 PM

Sonny

That script is pretty much what I had in mind. The way I'd set it up is:

1) Split the abc file to files A0001.abc, A0002.abc ....

2) Use a batch file to convert these to A0001.xml...

3) Generate the script you need with the names A0001.abc and A0001.xml
for in the script.

4) Run the script

I can split the abc files for you if you like; it's straightforward - the only thing to be careful about is if there is a file header (ie headers before the first tune); these have to be copied to the start of each extracted file.

I can also generate the script for you if you like. When I tried it with the demo 2010 version there was no way to paste the generated script into the script editor and I had to get round it by making a dummy script and then changing the contents of the saved file for the dummy script in the Finale directory. If you can't get the generated script into Finale, let me know and I'll PM you the workaround.



Geoff - when I said to watch out for the early versions of abc2xml I meant that they actually failed on encountering the w: lines (w: wasn't in the earliest abc versions). I don't think any of the versions I've got actually process the w: lines. I'll check some more on this though.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Artful Codger
Date: 19 Nov 09 - 11:19 PM

UNIX command line utilities would make most of this work a piece of cake if the various programs can be invoked with options from the command line. (Most questionably, can Finale be directed to start up, run a specific script (with or without arguments), then exit, all from the command line?)

Splitting an ABC file is relatively simple with an awk script; all it has to look for is (1) a header section that may need to be prepended to each tune within the file and (2) lines starting "X:", indicating the start of a new tune. For generic use, the script may also have to filter out plain-text commentary, if not part of a history section. Your multi-tune files may lack either headers or non-ABC commentary, which would simply things even more.

The script could also produce a batch file to run the generated files through the remaining steps. There would then be no need for batch processing facilities in each of these programs, though if available that approach would be more efficient than starting/stopping each program once for each tune file.

There are several freeware packages (for instance, from the GNU consortium) of UNIX utility programs which can be run in Windows command windows. Apple's OS X supports UNIX utilities natively.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Geoff the Duck
Date: 20 Nov 09 - 06:02 PM

Fair enough, Mick!
Situation understood - abc2xml does what it does, but ignores lyrics.
I can work with that as a concept.
MuseScore, the free programme I am using for arranging dots doesn't have problems adding a line of text under the telegraph lines.
My main immediate project is taking the ABC version of The Morris Book - turned into ABC format by our own Snuffy and converting it to Music XML, so I can make my own fancy tarted-up printed copies for personal use.
Of course, anything I convert from Vaughn's abc will be offered back to the Morris Ring for portability to any of the increasing number of programmes which support the format.
Quack!
GtD.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Chris Partington
Date: 21 Nov 09 - 05:36 AM

Meneermalik, you said : -
"these are files I edited myself and the large part of these come from old recordings or library manuscripts, all in all I have about 6000 in several large ABC files to convert."

I'm dying to know which library MSs you're talking about and where they are located, as we at the village music project are in the same line work in that case, and would be very happy to add a reference to your MSs in our database and a link to your ABCs, if we don't already have them. I have a couple of hundred MSs listed, and, like you, we have transcribed several thousand tunes into ABC, freely available to anyone with an interest in that sort of thing, as long as they don't pinch them for resale elsewhere that is, as the encoding is of course copyright.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 21 Nov 09 - 02:36 PM

Sorry for being away from the forum/thread. Overwhelmed with work. Just got in. Going to take a look at what you said Mick and see if that helps, I may take you up on that offer if it's not too much of a hassle.

Chris, sorry but these are tunes I collected 12 to 14 years ago and the MS come from actual libraries (Montreal, Ireland, Isle of Man, Whales, London, Brittany) and I did it the old fashion way...with actual legwork so I couldnt help you. Best to contact those libraries and see what they can do.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: GUEST,leeneia
Date: 21 Nov 09 - 02:55 PM

6000 tunes! That is quite an achievement and also quite a challenge.

Congratulations and good luck.

Come back and tell us when the new book is available for purchase.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 22 Nov 09 - 04:53 PM

Thanks Leenia!!

Splitting large ABC files to one file per tune.

I got ABCMUS going with the the help of MikeM. ABCMUS has the capability of splitting files. under the 'file' tab there's an option for 'make lists'. Clicking on that opens up another window and under the 'list type' tab you select 'split'. It then diveds your abc file so the it creates on file per tune. Whoever you need to tweak a file first.
In the following folder
C:\Program Files\ABCMus2\listcfg , you must open the split.cfg file with notepad or a similar program.
Change the line
- outFile "%p\\%f%04x.abc";

so that it reads
- outFile "c:\%T.abc";

This will create a file for each tune with the name tune as the name of the new file. As Mike said, the process will crash if you have more than one title for a tune.

Having taken care of this I'm going to concentrate on the last two steps. converting to xml and then to mus.
I'm going to try your advice Mick and geoff and I'll get back to you tomorrow and let you know how things are going. Thanks for all the help so far. It has defitniely saved me a lot of time...or it will. :)

Thanks.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 24 Nov 09 - 10:29 AM

Hey guys, not sure if I should start a new thread or what.
From having tried several tests to find a fast way to convert abc's to xml I havent been too successful. So far the only thing that seems to work properly is abc to xml through Harmony. Harmony is the only program that Finale will accept XML files from without having error messages. I got ABC2XMl to work fine but I get error messages when I try to open those xml files with Finale. Any idea why?

abc -> Harmony-XML -> Finale-MUS works great but it's still one file at a time. I havent managed to get a working script going with Harmony to batch process an entire folder. Any advice or help would be great.

Sorry for continuing this again. I think I was asking for too many things at once and so the thread kinda went everywhere.

Mick I'll pm you for the scripts for Finale. Thanks again.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Jack Campin
Date: 24 Nov 09 - 11:17 AM

From having tried several tests to find a fast way to convert abc's to xml I havent been too successful. So far the only thing that seems to work properly is abc to xml through Harmony. Harmony is the only program that Finale will accept XML files from without having error messages. I got ABC2XMl to work fine but I get error messages when I try to open those xml files with Finale. Any idea why?

It would help to say what the error messages actually are.

What happens if you try to import the XML into BarFly? That might give more helpful feedback. Usually when something like this happens there's only a minor disagreement about the syntax or character encoding behind it.

Care to tell us where you got the 6000 tunes? I know how long it took me to encode the 4000-odd that I have on my website.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 24 Nov 09 - 11:52 AM

meneermalik

One problem that abc2xml seems to have is in the generation of the tag, where it generates an id attribute with a number by default and should generate an identifier eg. it generates , where it should generate something like .

In my post to Geoff above I said that the newer versions of abc2xml accepts abc with w: fields and ignore them. In fact it seems worse than that - it seems to fail silently, generating an incomplete xml file. I'll try and check out versions of abc2xml, but it probably won't be before next week.

As an aside, I am working on xml generation from abc from my Prolog abc parser (actually resuming work on something I started before). At the moment I can generate xml from straightforward abc files, including generating the lyrics from w: tags. It doesn't handle parts or voices yet (the xml generator that is; the parser does, but I need to figure out what to do with them when generating the xml). The only drawback at the moment is that the Parser (essentially a Prolog DCG for the Draft abc 2 revision 4 spec) doesn't have very good error handling - the grammer is pretty complete, but the DCG is like a recursive descent parser with backtracking and suffers the same handicaps when getting to something it doesn't understand. I'll fix that up eventually, but at the moment it likes well-formed abc!

I should have a working version for the straightforward abc to xml in a week or so if that's any help to anyone.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: MikeM
Date: 24 Nov 09 - 12:16 PM

Hi, meneermalik
I've had a look in Harmony Assistant.
The script you need is to be found in:-
Scripts -> File -> Export -> Batch Export.

(if you don't have this script let me know)

This presents a dialog box where you
1)Select the directory where your ABC files are.
2)Select your Destination Folder mae
3)Change the File Mask to "*.abc"
4)Change the Destination File format to "XML"
5)Click the OK button
and (hopefully) sit back and marvel!
Mike


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 24 Nov 09 - 01:04 PM

Thanks guys. I'll have a look at it when I get in from work this evening and give everything a try. I really appreciate all the help I've been getting.

Jack, as mentioned to Chris, I've been actively collecting for 12-14 years and passively collecting since I've been in my mid teens..some 20 years ago. I collect things I have interests in and categorize everything and so on. Can be good some times, some times not lol. It's been very time consuming and I've spent more hours doing this than I care to contemplate. I've probably collected somewhere around 15000 to 17000 'Celtic' (brittany, Cornwall, Isle of Man, Galicia and nearby provinces, Wales, Ireland, Scotland) tunes, out of which I'm only working on processing about 6000 for the time being. I've either been there or have had some help from archivists or heritage societies.

Anyhow, will try out the new info this evening. Thanks again for the help!!


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: George Seto - af221@chebucto.ns.ca
Date: 24 Nov 09 - 01:13 PM

That's quite a project. Are your tunes available online?


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: meneermalik
Date: 24 Nov 09 - 03:34 PM

I've had a chance to try the scripting in Harmony and it works perfectly. Keeps the original titles for each abc file/tune and no errors in Finale when importing the xml's. Thanks for that! Yes that's much better than trying to write a new script for it.

I tried a whole bunch of different tunes with abc2xml and I get the same errors everytime when trying to open those files in Finale. The tune comes up but all the notes are compressed with one another and the whole tune is written on only one line. The error messages I get every time are:

XML error in file "tunename.xml" at line 14. Attribute value "1" of type ID must be a name.

The second error which also always pops up after the first is this:

XML error in file "tunename.xml" at line 18. Attribute value "1" of type IDREF must be a name.

My abc notation is quite clean and I have no words or anything else in the W: field.

Mick I'd be interested in trying out the program. Would help to save one step along the way. Going to try the Finale batch process script tonight to see about converint the xml's to mus. Will let you know.
Thanks for all the help. When I can complete the whole process from abc to .mus when dealing with large volumes I'll post a clean message with all the steps to act as a future reference for anyone else.


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Mick Pearce (MCP)
Date: 24 Nov 09 - 06:39 PM

Those messages are the ones I attempted to post above, but forgot to make < into &lt; in my post. I'll try and do it properly this time.

abc2xml seems to be generating the tag <part> with attribute id set to a number instead of an identifier, eg:

  <part id="1"> instead of <part id="P1">

That's responsible for both of the messages that get generated.

Mick


Post - Top - Home - Printer Friendly - Translate

Subject: RE: convert ABC to Finale???help
From: Geoff the Duck
Date: 28 Nov 09 - 06:11 AM

I just happened across this page http://www.music-notation.info/.
It has a lot of links to web stuff related to music, including sheet music, music editing programmes, fonts for typesetting music in word processors and a lot of other stuff.
I just thought it worth bookmarking.
Quack!
GtD.


Post - Top - Home - Printer Friendly - Translate
  Share Thread:
More...

Reply to Thread
Subject:  Help
From:
Preview   Automatic Linebreaks   Make a link ("blue clicky")


Mudcat time: 22 February 2:30 AM EST

[ Home ]

All original material is copyright © 1998 by the Mudcat Café Music Foundation, Inc. All photos, music, images, etc. are copyright © by their rightful owners. Every effort is taken to attribute appropriate copyright to images, content, music, etc. We are not a copyright resource.