1ABC2ABC(1) General Commands Manual ABC2ABC(1)
2
3
4
6 abc2abc - a simple abc checker/re-formatter/transposer
7
9 abc2abc file [ -s ] [ -n ] [ -b ] [ -r ] [ -e ] [ -t semitones ] [ -nda
10 ] [ -u ] [ -d ] [ -v ] [ -v] [-nokeys] [ -nokeyf] [
11 -usekey(sharps/flats)] [ -OCC ]
12
14 abc2abc is a simple abc checker/re-formatter/transposer. It will check
15 whether the file given on the command line obeys basic abc syntax.
16
17 If you want to check an abc tune, it is recommended that you use
18 abc2midi with the -c option. This performs extra checks that abc2abc
19 does not do.
20
21 The output of abc2abc goes to standard output. Use redirection to save
22 it to a file.
23
25 -s Rework spacing in the file (which affects how notes are beamed
26 together when the music is printed out). This option does not
27 appear to be working correctly.
28
29 -n X Reformats the abc file with line breaks every X bars.
30
31 -b Don't do bar checking.
32
33 -r Don't do repeat checking.
34
35 -e Don't report errors.
36
37 -t n Transpose tune by n semitones. This function will also work with
38 K: none or one of -nokeys or -nokeyf. If a voice is assigned to
39 channel 10 (drum channel) using a %%MIDI channel 10 command,
40 then this voice is never transposed.
41
42
43 -nda Convert double accidentals in guitar chord to another chord
44 though strictly not correct.
45
46 -u Update notation; the older notation + + for chords is replaced
47 by [] and s s for slurs is replaced by ().
48
49 -OCC Accept the old notation for chord. Normally this is turned off,
50 since it conflicts with abc draft standard version 2.0 for deco‐
51 rations (eg. +crescendo(+).
52
53 -d Re-notate the tune with all note lengths doubled. The unit
54 length specified by the L: field command is halved (e.g. L:1/8
55 to L:1/16).
56
57 -v Re-notate the tune with all note lengths halved. The unit length
58 specified by the L: field command is doubled (e.g. L:1/8 to
59 L:1/4).
60
61 -ver Prints version number and exits.
62
63 -V X For multivoiced abc files (i.e. contains V: field commands),
64 only voice X is copied.
65
66 -X n For a file containing many tunes, the X: reference numbers are
67 renumbered sequentially starting from number n.
68
69 -nokeys
70 No key signature will be assumed. Instead, sharps and naturals
71 will be placed wherever they are needed.
72
73 -nokeyf
74 No key signature will be assumed. Instead, flats and naturals
75 will be placed wherever they are needed.
76
77 -usekey sf
78 This will force abc2abc to output the notes in the key signature
79 keys[sf] where sf specifies the number of flats (-negative) or
80 sharps (+positive) in the key signature. It is a number between
81 -5 and +5 inclusive.
82
83 * Normally abc2abc will convert the deprecated notation for decorations
84 (eg. !ppp!) to the abc version 2.0 draft standard (eg. +ppp+). If you
85 do not wish to change to this standard include the -OCC flag.
86
87
89 abcmtex(1), abc2midi(1), midi2abc(1), mftext(1)
90
92 This manual page was written by Anselm Lingnau <lingnau@tm.infor‐
93 matik.uni-frankfurt.de> and is now supported by Seymour Shlien <sey‐
94 mour.shlien@crc.ca> for the GNU/Linux system.
95
97 This man page describes abc2abc version 1.44 from August 13 2005.
98
99
100
101 14 August 2005 ABC2ABC(1)