The Mudcat Café TM
Thread #21856   Message #3513442
Posted By: Mick Pearce (MCP)
09-May-13 - 12:57 PM
Thread Name: Mudcat ABC Tune Guide
Subject: RE: Mudcat ABC Tune Guide
Grishka - I sussed the abc2xml remote service after I'd posted. In fact I've now added my own plugin to do the reverse - output abc from a score using a local copy of xml2abc.py. I'll probably modify the import to use a local copy too, rather than needing the internet access. The export js needs a bit of work too - it's outputting to a fixed file at the moment; I need to add a file selection option like the abc import plugin has. It would also be nice to be able to add other headers to the output. But as proof of concept it's fine. It would also be nice if the import scanned a tunebook for the titles and let you select from the title list rather than using the default first tune only from the tunebook. I may look at that too.

Both of the python converters seem to work well. I imported Nigel's Adam Lay Ybounden and then re-exported the abc and used abcm2ps on it and the output looked fine.

The only problem the xml2abc.py has is that it outputs tempo changes on Q: commands after things like rit and accel, so the modified score not only has the text instruction but a MM value too. It's not really a problem (and I dare say it wouldn't be too difficult to add suppression of these as another command line argument).

I'll probably try this out for a while when I need to create some abc and see how I like the generated abc. It's a cheap solution to wysisyg creation of abc.

Mick