A simple abc checker/re-formatter/transposer
abc2abc file [ -s ] [ -n ] [ -b ] [ -r ] [ -e ] [ -t semitones ] [ -nda ] [ -u ] [ -d ] [ -v ] [ -Vvoice number] [-Pvoice number] [-nokeys] [ -nokeyf] [ -usekey(sharps/flats)] [ -OCC ]
abc2abc is a simple abc checker/re-formatter/transposer. It will check whether the file given on the command line obeys basic abc syntax.
If you want to check an abc tune, it is recommended that you use abc2midi with the -c option. This performs extra checks that abc2abc does not do.
The output of abc2abc goes to standard output. Use redirection to save it to a file.
Rework spacing in the file (which affects how notes are beamed together when the music is printed out). This option does not appear to be working correctly.
Reformats the abc file with line breaks every X bars.
Don't do bar checking.
Don't do repeat checking.
Don't report errors.
Transpose tune by n semitones. This function will also work with K: none or one of -nokeys or -nokeyf. If a voice is assigned to channel 10 (drum channel) using a %%MIDI channel 10 command, then this voice is never transposed.
Convert double accidentals in guitar chord to another chord though strictly not correct.
Update notation; the older notation + + for chords is replaced by  and s s for slurs is replaced by ().
Accept the old notation for chord. Normally this is turned off, since it conflicts with abc draft standard version 2.0 for decorations (eg. +crescendo(+).
Re-notate the tune with all note lengths doubled. The unit length specified by the L: field command is halved (e.g. L:1/8 to L:1/16).
Re-notate the tune with all note lengths halved. The unit length specified by the L: field command is doubled (e.g. L:1/8 to L:1/4).
Prints version number and exits.
For multivoiced abc files (i.e. contains V: field commands), only voices X[,Y,...] are copied.
For multivoiced abc files (i.e. contains V: field commands), all voices except X[,Y...] remain the same. Voices X,Y... are modified according the other runtime parameters.
For a file containing many tunes, the X: reference numbers are renumbered sequentially starting from number n.
No key signature will be assumed. Instead, sharps and naturals will be placed wherever they are needed.
No key signature will be assumed. Instead, flats and naturals will be placed wherever they are needed.
This will force abc2abc to output the notes in the key signature keys[sf] where sf specifies the number of flats (-negative) or sharps (+positive) in the key signature. It is a number between -5 and +5 inclusive.
* Normally abc2abc will convert the deprecated notation for decorations (eg. !ppp!) to the abc version 2.0 draft standard (eg. +ppp+). If you do not wish to change to this standard include the -OCC flag.
This man page describes abc2abc version 1.64 from June 07 2011.