lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

advanced (?) instrumentname setting


From: Gagi Petrovic
Subject: advanced (?) instrumentname setting
Date: Fri, 13 Apr 2012 11:27:38 +0200

Dear LilyPond-users, after hours of research I decided to ask you the following:

- How do I add text which is aligned with certain barlines? This is quite common for  percussion notation to indicate which line represents which (part of an) instrument. In my case: which part of a gong to strike.  

%%%%%%%% EXAMPLE %%%%%%%%
\version "2.14.2"  

gong = \new Voice {

  \set Staff.instrumentName = \markup\center-column{"Wind " "Gong "} 
  \clef percussion 
  \autoBeamOff

\relative c' {
  \override Staff.NoteHead  #'style = #'cross
  \override Stem #'stemlet-length = #0.75
 
  #(define mylines '(-4 0 4))
  \override Staff.StaffSymbol #'line-positions = #mylines
  

R1*2 | 
\times 2/3{ d8\ppp^"soft mallets (s.m.)"[ e r] }   \times 2/3 { r8[ r d\>] }   \times 2/3 { r8[ e8. f16\pppp] }   r4 |
R1 |
\break

}}

\score {\new Staff <<\gong>>}
%%%%%%%%%%%%%%%%%%%


I tried doing

\set Staff.instrumentName = \markup\right-column{"Wind   e." " Gong   m." " c."} 

but I find this output rather unsatisfying. I can imagine there are more elegant ways to do this. Any help would be awesome. Thank you!

Kind regards,
Gagi

PS If somebody also can help me with making the whole rests look more clear: how do I add the horizontal line (see wholerest.png) on top of it?
I would appreciate it a lot!

-- 
+31 6 1259 8681 | LinkedIn | gagipetrovic.nl

Attachment: wholerest.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]