Amitus dimension is not needed in fact :
\version "2.18.2"
\relative c' {
<c
\tweak NoteHead.stencil #(lambda (grob)
(grob-interpret-markup grob #{
\markup
\center-column {
%% Change to s0 or s2 as appropriated:
\musicglyph #"noteheads.s1"
\path #0.25 #'((moveto 0 2.2)
; change the Y coordonate as needed:
(lineto 0 .4))
} #}))
c'>2
}
Cheers,
Pierre
2018-07-08 13:02 GMT+02:00 Pierre Perol-Schneider <
[email protected]>:
> Hi Allen,
>
> It may look a bit complicate -- and it is -- but it's a first draft :
>
> %%%
> \version "2.18.2"
>
> {
> <c
> \tweak NoteHead.stencil #(lambda (grob)
> (grob-interpret-markup grob #{
> \markup
> \center-column {
> %% Change to s1 or s2 as appropriated:
> \musicglyph #"noteheads.s2"
> \with-dimensions #'(0 . 0) #'(0 . 0)
> \path #0.25 #'((moveto 0 2.2)
> ; change the Y coordonate as needed:
> (lineto 0 .4))
> }
> #}))
> c'>
> }
> %%%
>
> Cheers,
> Pierre
>
> 2018-07-08 10:28 GMT+02:00 Allen Wu <[email protected]>:
>
>> Hi guys,
>>
>> I am thinking about writing a piece with each note offering a range to
>> choose instead of being specific. Is there a way to make the note heads
>> to look like ambitus? Or I am also open to other suggestions about how to
>> notate music like this.
>>
>> Thanks for advice,
>> Allen
>>
>> _______________________________________________
>> lilypond-user mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user