Mudcat Café Message Lyrics & Knowledge Personal Pages Record Shop Auction Links Radio & Media Kids Membership Help
The Mudcat Cafeawe



User Name Thread Name Subject Posted
DrugCrazed Tech: ABC Transposing Tool (18) Tech: ABC Transposing Tool 31 Jul 13


Hello all,

I've been very (very) bored over the past two days so I wrote a script to help with the transposition of abc files for those who aren't using abc explorer (or any other tool that gives you an easy transpose).

It is probably broken, but it looked about right.

It's available from GitHub. Just download it, unzip it and have a play.

Currently I haven't got a decent installer working - the file you need to run is in the src directory

All you need is python, and then it's easy to use.

python abc-transpose -u 2 /path/to/input /path/to/output
python abc-transpose -d 2 /path/to/input /path/to/output

The first will tranpose up two semitones (so D to E) and the second will tranpose down two semitones (E to D). There's other options as well:

python abc-transpose -d 2 -n 2 /path/to/input /path/to/output

This one will only transpose the tune with header X:2 (but copy everything else across). Any questions, give us a shout. I'll work on an easier way of using this for the less computer literate.


Post to this Thread -

Back to the Main Forum Page

By clicking on the User Name, you will requery the forum for that user. You will see everything that he or she has posted with that Mudcat name.

By clicking on the Thread Name, you will be sent to the Forum on that thread as if you selected it from the main Mudcat Forum page.

By clicking on the Subject, you will also go to the thread as if you selected it from the original Forum page, but also go directly to that particular message.

By clicking on the Date (Posted), you will dig out every message posted that day.

Try it all, you will see.