tablature ["#"int] [pitch=pitch] [[unit-1] unit-2] unit-3 head-func note-func [bar-func]

Default Scope Available in
nonegenerationtxtmus
abc2svg
abcm2ps

Define a tablature.

"#"int gives a number to the tablature (from #1 to #8 only for abcm2ps).
This number is used to memorize a set of different tablatures at the global level. It is used in the tunes with no other parameter.

pitch is the pitch of the instrument.
It looks like a normal ABC note (starting with an accidental - ^ or _) or a key signatureending with an accidental # or b).
When present, the pitch of each note is given as argument to the note function. When absent, the information about the note(s) is given by one or many lyrics (w:).

unit-1 specifies the width of the header (left side of the music line).

unit-2 specifies the tablature height above the staff (ascent).

unit-3 specifies the tablature height under the staff (descent).

head-func is the PostScript function thst is called at start of a new music line.

note-func is the PostScript function called at each note.

bar-func is the PostScript function called at each bar.

The arguments of the PostScript functions depend on the presence of the pitch.
When the pitch is absent, the value of tablature is defined in the lyric line (w:) and the arguments are:

head function:
note function:
bar function:
Otherwise (pitch present), the arguments are:
head function:
note function:
bar function:

txtmus/abc2svg/abc2svg documentation abc2svg source author - page hosted by Free