voice [regular_expression]

Default Command lineScope Available in
nonenonegenerationabcm2ps
abc2svg

Select the voice(s) to which the following options will be applied.

The options are pseudo-comments (starting with %%), up to an other %%voice, %%tune or %%score/%%staves command.
The command %%voice end may be used to mark the end of the options for the last voice.

The commands are inserted before the first symbol of each voice which identifier or full name match the regular expression.

%%voice may appear only in a global definition (command line, format file, file header or %%tune option list).

When the regular_expression is the same as the one of a previous %%voice, all the previous voice options for this regular expression are removed.

When the regular_expression is absent, all the global or tune related voice options are removed.

Example: Print 'Tridal a ra va c'halon' with 4 staves, lyrics at the top and with a 'tenor' clef.

	%%select Tridal
	%%tune Tridal
	%%staves S A T B
	%%voice S
	%%vocal up
	%%voice T
	%%clef G-8
	%%voice end
	%%abc-include voices.abc