Features of abcm2ps and abc2svg

abcm2ps and abc2svg try to follow the ABC draft version 2.2 (February 2013).

Here are listed only the differences from the draft.

2.2.2 File header
2.3 Embedded abc and abc fragments
3. Information fields
3.1.2 T: - tune title
3.1.6 M: - meter
%abc-2.2 %%singleline 1 %%titleleft 1
X:1 M:5/4 (2/4 3/4) L:1/4 K:C cc .| ccc |
3.1.7 L: - unit note length
X:2 T:standard ABC M:C L:1/4 K:C cccd | e2d2 | cedd | c4 |
X:3 T:auto M:C L:auto K:C cccd | ed | cedd | c |
X:4 T:compatible M:C L:auto K:C cccd | e2d2 | cedd | c4 |
X:45 T:note duration != note length M:C| L:1/8 K:C V:1 c | e2f2g3g | aa ag/f/ gggg | aa ag/f/ gg gg/f/ | e2d2c3:||: V:2 L:1/4=1/8 C, | C,2D,2 | G,,2G,,C, | F,2F,2 | C,2C,2 |\ F,2F,2 | C,2C,E, | F,/G,/A,/F,/ G,G,, | C,3 :||:
3.1.8 Q: - tempo
3.1.9 P: - parts
X:6 M:C L:1/4 K:C P:A V:1 cccc |\ V:2 CCCC |\ P:B % misplaced P: (in voice 2) V:1 % should be here cccc | V:2 % and normally repeated here CCCC |
3.1.14 K: - key
X:7 M:C L:1/4 K:G exp none cccc |
3.1.17 I: - instruction
4.2 Accidentals
X:8 %%singleline 0 %%pagewidth 12cm M:C L:1/4 K:C ^/G ^G ^3/2G ^^G | _/G _G _3/2G __G | %%microscale 4 ^1G ^2G ^3G ^4G | _1G _2G _3G _4G |
4.3 Note lengths
X:9 M:C L:1/4 K:C c0c!stemless!cc |
4.6.1 Clefs
X:10 M:C L:1/8 K:C CEGc C,Cc2|
4.8 Repeat/bar symbols
X:11 M:C L:1/4 K:C c2 :1,3 c2 :|2,4-6 c2 :|["last time" c/c/ !rbstop!c |]
4.11 Ties and slurs
X:12 M:C L:1/4 %%graceslurs 0 K:C {(GA)B}c (A {G)ABc} | ('FG) (,FG) | \ A.-A .(ce) | {C-E-G-}[CEGc]4 |]
4.12 Grace notes
X:13 M:C L:1/4 %%graceslurs 0 K:C {.A4.B4}c4 | {[Ac][Bd]}[ce]4 | c2{BcB }c2 ||
4.13 Duplets, triplets, quadruplets, etc.
X:14 M:C L:1/4 %%tuplets 2 0 2 K:C (7:8:8(3A/A/A/ A/A/A/A/A/ |
4.14 Decorations
X:15 %%singleline 0 %%pagewidth 12cm M:none L:1/4 K:C !//!c !beam-accel!c//c//c//c//\ !marcato!c c/c/!beamon!|c/c/ c//c//c//c//!beambr1!c//c//c//c// | \ C2!trem2!c2 | %%staves [1 2] V:1 G4|cc//c//c//c//c2 || V:2 bass !ped!G,,2[D,G,B,]2!ped-up!y|\ !xstem!C,C,//!xstem!C,//C,//\ !xstem!C,//!xstem!C,2 ||
4.15 Symbol lines
4.16 Redefinable symbols
X:16 %%singleline 0 %%pagewidth 6cm M:6/8 L:1/4 K:C c/`c/ c/ U:`=!beambreak! U:\ =!ignore! c/`c/ c/| U:\ =!beambreak! U:`=!ignore!
4.17 Chords and unisons
X:17 M:C L:1/4 K:C [C2G3/c] [GGG]2 |
4.18 Chord symbols and 4.19 Annotations
X:18 M:C L:1/4 K:C "_ann1" "_ann2" "G3" "4"G2 "_ann1;ann2" "G3;4"G2 |\ "_ann1" "G"G2 "_ann1;G"G2 | "Eb/Bb" G4 |
4.19 Annotations
X:19 M:C L:1/4 K:C c2 c2 "@5,4Fine"|]
4.20 Order of abc constructs
6.1.1 Typesetting line-breaks
See %%linebreak for more information.
6.1.2 Typesetting extra space
X:20 M:3/4 L:1/4 K:C c c c | c c y c | c c y4 c | c c y40 c |
7.1 Voice properties
7.4 Voice overlay
X:21 %
8.2 Text strings
X:22 %
10. Outdated syntax
11.1 Voice grouping
X:23 M:C L:1/4 K:C %%staves (1 +2) V:1 cue=on cdef | Z3 | c4 | V:2 C4 | CEGc | Z2 | C4 |
11.4 Formatting directives
13 Transposition
Last update: April 24, 2017 for abcm2ps-8.13.6 and abc2svg-1.10.5