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 <x.sche...@gmail.com>:

2010/5/1 <lilyp...@bernardhulsman.nl>:

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 <x.sche...@gmail.com>



\version "2.12.2"

\include "nederlands.ly"
% \include "Djembe-percussion-staffs.ly"

\header {
  dedication = "Martin Gort / Oscar van Dillen"
  title = "Djolé"
  instrument = "Djembé, Dun dun, Sang bang"
  composer = "Anonymous"
  %  meter = "100" 
  copyright = "Creative Commons (by-sa) 3.0 Bernard Hulsman http://creativecommons.org/licenses/by-sa/3.0/nl/";
}

\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
  }
}


DunDunVoice = 
\relative c' { 
  % \time 3/4
 \set Staff.instrumentName = #"Dundun (R)"
 {  g'1 r1 g2 g2 r1  \bar "|." 
 }
 }

SangBangVoice = 
\relative c' { 
  % \time 3/4
 \set Staff.instrumentName = #"Sang Bang (L)"
 {    r1 g'1 r1 g1  
   \bar "|." 
 }
 }
 
 
DjembeIVoice = 
\relative c' { 
  % \time 3/4
  \autoBeamOff
 \set Staff.instrumentName = #"Djembé 1"
 {  c'4 c16 c4 b16 b4 b8  \bar "|." 
 }
 }  
%   \addlyrics {
%     L R L R L R 
%  } 
 
 
DjembeIIVoice =  
\relative c' { 
  % \time 3/4
 \set Staff.instrumentName = #"Djembé 2"
 { r4. f8 f4 f4 |  f4. f8 f4 f4 |  f4 c'8 c4. a8 a8 |
   r4 c8 c4. a8 a8 
   \bar "|."
  }
  }
%    \addlyrics {
%     L R L   R L R L   R R L R L    R L R L   R R L R R L  R L R L R R L   
%   }
  
 
DjembeIIIVoice =   
\relative c' { 
  % \time 3/4
 \set Staff.instrumentName = #"Djembé 3"
 {  a'4 c8 c8 f,4 c'8 c8 |  a8 a8 c8 c8 f,4 c'8 c8 
 \bar "|."
 }
 }
%    \addlyrics {
%     R R L R R L   R L R L R R L
%  }
 
\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 { }
  %  \midi { }
}



  


  
 


% #(set-default-paper-size "a4" 'landscape)
  
 
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to