altchord boolean

Default Scope Available in
falsegenerationabc2svg >= 1.21.5

This command defines which chord symbols are to be played or drawn in grids.

Chord symbols with alternate values may be defined as "xxx(yyy)" or "[yyy]xxx". When altchord is not set, the chord "xxx" is used. Otherwise "yyy" is used.

Example (click on the music to play it):

%%grid 4

X:1
M:C
L:1/4
%%MIDI chordprog 78 % GM Whistle
%%MIDI gchordon
K:C
"C"C2C2 | "[F#m7b5];F#dim7"^F2F2 | "G(Em)"G4 ||

X:2
M:C
L:1/4
%%MIDI chordprog 78 % GM Whistle
%%MIDI gchordon
%%altchord 1
K:C
"C"C2C2 | "[F#m7b5];F#dim7"^F2F2 | "G(Em)"G4 ||

abc2svg documentation source author - page hosted by Free