\cadenzaOn
can be used. Adjusting the accidental style
might be required, since the absence of bar lines will cause the
accidental to be marked only once. Here is an example of what
could be the start of a hijaz improvisation:
What's this? Searching the LSR Browse by date Contributing Snippet database | Browsing items 100−109 out of 935 |
\cadenzaOn
can be used. Adjusting the accidental style
might be required, since the absence of bar lines will cause the
accidental to be marked only once. Here is an example of what
could be the start of a hijaz improvisation:
You list all the pitch-changes that your notation distinguishes,
and then choose what symbols to use for each pitch pitch-change.
Transposition uses your defined pitches:
\transpose bes, c \music
takes the difference between
your pitch bes
and your pitch c
and
shifts every pitch in \music
by that amount.
If the resulting pitches have an alteration with an entry
in the glyph-name-alist
, that symbol is printed.
A missing entry generates a warning.
You can put as many alterations in glyph-name-alist
as you like.
The standard way to create an arrow is to combine a line with an arrow-head glyph.
However the line and the glyph will not follow the same scale when the global-staff-size changes.
Here's a markup function that helps create ready-to-use arrows without this problem.
The syntax is \arrow #'type #'fletching #'axis #'direction #'length #'boldness
.
Example (at default global-staff-size):
\markup{ \scale #'(1.8 . 1.8) \arrow #"open" ##f #Y #UP #3 #0.14 }
gives the same output as
\markup{ \combine \fontsize #5 \arrow-head #Y #UP ##f \override #'(thickness . 2.4) \draw-line #'(0 . -5.4) }
The arrows below are shown with optimal boldness (the one each arrow type was designed for).
This snippet shows how to associate drum-notenames with custom stencils which will automagically be used as the standard notehead for the assigned drumnote.
In your ly-code you need to have these stencils defined. A simple example can be found in this snippet. Additionally there are two more examples used in this snippet for demonstration.
The second step is to customise the list (stencil-mapping) where the drumnotes are assigned to new stencils.
List only those drumnotes you want to have displayed with your own notehead and be sure to put the full notename, not its abbreviation, e.g. 'bassdrum
will work, 'bd
won't.
Off course this will also work with custom drumstyle-Tables and, if used, with custom drum-notenames.