[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using pianostaff with custom created percussion staffs
From: |
Xavier Scheuer |
Subject: |
Re: Using pianostaff with custom created percussion staffs |
Date: |
Sat, 1 May 2010 23:24:36 +0200 |
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>