lilypond-user
[Top][All Lists]
Advanced

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

Re: Using pianostaff with custom created percussion staffs


From: lilypond
Subject: Re: Using pianostaff with custom created percussion staffs
Date: Sun, 02 May 2010 16:29:27 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)

Hello Xavier,

Thanks for your help until now. I followed your suggestion. It does work but creates other problems. See the attachment.

It is about African ritme music. Multple instruments are used which will be repeated with a flexible length of the complete number. Numbers should be learned by mind, so the notiation should show as minimum as possible. I do not want to engrave repeating peaces.

In my example Djembé 1 has only 1 meausure bar, Djembé 1 4 bars and Djembé 3 2 bars.

Before this change there were closed normally. Now they have a very ugly and distracting bold vertical bar within the number. I would like to remove it.
Do you have a idea how?

Maybe related. When playing Djembé handsetting (L = Left, R = Right) is important to synchronize players. As you can see I commented the lyrics for handsetting. If I would use it, which I would like to, then then the Staff does not end on the vertical bar. Which is a bit weird.
Do you know if this is related to the other bar problem?




creates other prob

Quoting Xavier Scheuer <address@hidden>:

2010/5/1 <address@hidden>:

Hello Xavier,

Thanks. You replied on my original question with :

[...]

Done so. It could compile without errors but the PianoStaff is not
visible.

Hi,

I must confess I hadn't tried the proposed solution before sending the
e-mail.

I just tried it now and it works (PianoStaff is visible).
Which version do you use?  I'm in 2.13.18.

The only "mistake" I still see is that you didn't put << >>
around the staves in StaffGroup.

You should also add:

  \context {
    \PianoStaff
    \accepts TwoLineStaff
  }
  \context {
    \StaffGroup
    \accepts DjembeStaff
    \accepts TwoLineStaff
  }

within \layout .

In conclusion, please try this:

\score {
  \new StaffGroup <<
    \tempo 4=100
    \new PianoStaff <<
      \new TwoLineStaff \new Voice \DunDunVoice
      \new TwoLineStaff \new Voice \SangBangVoice
    >>
    \new DjembeStaff \new Voice \DjembeIVoice
    \new DjembeStaff \new Voice \DjembeIIVoice
    \new DjembeStaff \new Voice \DjembeIIIVoice
  >>

  \layout {
    \context {
      \Staff
      \name DjembeStaff
      \alias Staff
      clefGlyph = #"clefs.percussion"
      clefPosition = #0
      \override TimeSignature #'style = #'numbered
      \override StaffSymbol #'line-count = #3
    }
    \context {
      \Staff
      \name TwoLineStaff
      \alias Staff
      clefGlyph = #"clefs.percussion"
      clefPosition = #0
      \override TimeSignature #'style = #'numbered
      \override StaffSymbol #'line-count = #2
    }
    \context {
      \PianoStaff
      \accepts TwoLineStaff
    }
    \context {
      \StaffGroup
      \accepts DjembeStaff
      \accepts TwoLineStaff
    }
    \context {
      \Score
      \accepts DjembeStaff
      \accepts TwoLineStaff
    }
  }
  % \midi {}
}


Cheers,
Xavier

--
Xavier Scheuer <address@hidden>



Attachment: Djole_with_weird_end_markers.ly
Description: Text Data


reply via email to

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