DescriptionAbsolute dynamics as postfix text
This commit adds a \dynamic command to the parser,
which allows for straightforward dynamics such as
sffz = \dynamic sffz
or
c1 \dynamic "mp,_molto intenso"
etc.
This could not be implemented purely using Scheme, as the
only way to pass an argument is by using a music-function,
thereby forbidding postfix commands. The upside with
this parser modification is that it acts as a drop-in replacement
for the way absolute-dynamic-events were previously handled.
make-dynamic-script has been updated accordingly, as well as
the documentation and the regtests (the only thing left to
implement is a suitable display-method).
\dynamic is also used as a markup command, but since the new
command lives in a different scope there is no conflict AFAICS.
A new dynamic-string markup command has also been added,
in order to parse the string argument given to \dynamic.
This command accepts plain dynamics as well as text indications and
composite indications mixing dynamics, text and punctuation.
Patch Set 1 #
Total comments: 3
Patch Set 2 : Doc compile fix #Patch Set 3 : Compile fix #
Total comments: 3
MessagesTotal messages: 8
|