Home
Random
Log in
Settings
About LilyPond wiki
LilyPond wiki
Search
Editing
How to create custom dynamic markings
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
While it is trivial to create individual dynamic markings, if a more complex dynamic is required that LilyPond does not offer 'as standard' then it is quite easy to create your own. This also has the advantage of centering correctly without the need for more complex h-align positioning. <lilypond version="2.24"> %% http://lsr.di.unimi.it/LSR/Item?id=789 % Based on http://lsr.di.unimi.it/LSR/Snippet?id=382 % the #:hspace value controls the amount of space between each dynamic symbol. dynamicOne = #(make-dynamic-script (markup #:line ( #:dynamic "f" #:dynamic "z" #:dynamic "p" ))) dynamicTwo = #(make-dynamic-script (markup #:line ( #:dynamic "p" #:hspace -0.5 #:dynamic "z" #:hspace -0.5 #:dynamic "f" #:hspace -0.5 #:dynamic "z" #:hspace -0.5 #:dynamic "p" ))) dynamicThree = #(make-dynamic-script (markup #:line ( #:dynamic "s" #:hspace -0.8 #:dynamic "f" #:hspace -0.8 #:dynamic "z" #:hspace -0.8 #:dynamic "z" #:hspace -0.8 #:dynamic "z" #:hspace -0.8 #:dynamic "z" #:hspace -0.8 #:dynamic "p" ))) \relative c'' { c1\dynamicOne c2 c c1\dynamicTwo c2 c c1\dynamicThree } </lilypond> [[Category:Expressive marks]] [[Category:Syntax and expressions]] [[Category:Scheme]] [[Category:Specific notation]] [[Category:Symbols and glyphs]] [[Category:Snippet]]
Summary:
Please note that all contributions to LilyPond wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)