Hi Ming,
On 20.09.2016 14:32, MING TSANG wrote:
hi, lilyponders:
I have difficulty to generate the following by lilypond v2.19.47
1. in clef bass bar2 I cannot generate " f'2. "-- it warns bar
check, i can only make it " f'2 "
You need parallel music expressions.
2. in clef bass bar3 I don't know how to code the " d'4 " -- why
produces cross staff beam?
The d' also requires a parallel music expression; the cross staff beam
is produced because in 4/4, eigth notes are normally beamed by half bar.
If you really don’t want the beam, you can either use manual beaming []
or adjust automatic behaviour by \set Timing.beamExceptions = #'() or by
adjusting the default for 4/4 with \overrideTimeSignatureSettings. This
is described in NR 1.2.4, ‘Setting automatic beam behavior’.
3. starting slur is too high bar 2
Try \shape.
HTH, Simon
\version "2.19.47"
\language "english"
expandVar =
#(define-music-function (xx start stop) (list? index? index?)
#{ #@(map (lambda (i) #{ $xx . #i #}) (iota (- stop start -1) start)) #})
#(set-global-staff-size 18.0)
\header {
title = "ç¡ç¡ææ©"
subtitle = "Forever Thanks"
composer = "æ²è© : éé§è³¢"
arranger = "ç¼ : ä½é æ·³"
}
\layout {
\context {
\Voice
\consists "Melody_engraver"
\override Stem #'neutral-direction = #'()
}
}
global = {
\key ef \major
\numericTimeSignature
\time 4/4
\partial 4
\tempo "Andante" 4=86
}
rht.116 = { bf''8 g'' |\break }
rht.117 = { \time 2/4 <c'f'c''>2 | }
rht.118 = { \time 4/4 r4 s2. }
rht.119 = { r4 s2. | }
rht.120 = { <bf'ef''>2 <c''ef''f''> | }
rht.121 = { s1 | }
rht.122 = { s1 | }
right = {
\global
\expandVar \rht 116 122
}
lft.116 = { r4 | }
lft.117 = { \time 2/4 <bf,af>2 | }
lft.118 = <<
{ \time 4/4 s4 f'2. | }
\new Voice { ef8( bf \change Staff = right r8 g'8 <b' f''>2) | }
>>
lft.119 = <<
{ s4 d' <a ef'>2 }
\new Voice { c8( g \change Staff = right g'8 c'' <f'' c'' g'>2) }
>>
lft.120 = { <bf ef'g'>2 <bf af'> |}
lft.121 = { ef,16( bf, ef f g bf ef' f' \change Staff = right g'16 bf' ef'' f'' g'' bf'' ef''' f''' | }
lft.122 = { g'''1\fermata) |}
left = {
\global
\expandVar \lft 116 122
}
pianoPart = \new PianoStaff \with {
instrumentName = "Piano"
} <<
\new Staff = "right" \with {
midiInstrument = "acoustic grand"
} \right
\new Staff = "left" \with {
midiInstrument = "acoustic grand"
} { \clef bass \left }
>>
\score {
<<
\pianoPart
>>
\layout { }
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user