On 8/1/2018 12:51 PM, Amir Teymuri wrote:
Hello,

How can i change a Staff for instance from a noraml one to a
RhythmicStaff and then set back to the noraml Staff?

Greetings,
Amir

Something like this what you mean?

\version "2.19.81"

global = {
\key c \major
\numericTimeSignature
\time 4/4
\tempo "Slow"
}

right = \relative c'' {
\global
c4 d e f |
\stopStaff
\override Staff.StaffSymbol.line-positions = #'(-8)
\override NoteHead.style = #'cross
\startStaff
\repeat unfold 3 \relative {b'4 b b b} | %% you can probably also change to drummode here
\stopStaff
\revert Staff.StaffSymbol.line-count
\revert Staff.StaffSymbol.line-positions
\revert NoteHead.style
\startStaff
\notemode {
c4 f g f
}
}
left = \relative c' {
\global
\clef bass
c,4 d e f |\bar ""
\stopStaff
s1 | s1 | s1 | \bar ""
\startStaff
c4 f g f
}
\new PianoStaff <<
\right
\left
>>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to