lilypond-user
[Top][All Lists]
Advanced

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

clef change in first bar with cue notes


From: Maarten Storm
Subject: clef change in first bar with cue notes
Date: Thu, 22 Dec 2005 15:17:47 +0100
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050827)

Hi,

was wondering if someone could help me out with this. I'm working at an arrangment of the Cesar Franck sonata and want to have the first 4 measures of piano introduction quoted in the solo part. In the score I have there is first a bass clef and then a smaller treble clef for the qoute of the piano part (same size as the font used for the quote). The stems are all up. I also watched at a view other scores and it seems to be normal to put first the clef of the solo instrument and after that the clef of the quoted piano part. Unfortunately I can't manage to do this with lilypond. I used the partial-trick for clefchanges in the first measure and that doens't seem to work. I attached my ly file so that you can see what I tried. And the \stemUp doesn't seem to work either within the cue context. Does somebody knows a way of solving this?

Thanks for helping,


Maarten Storm


my ly file:

\version "2.7.18"

globals = {
 \clef bass
 %\clef treble
 \key a \major
 \time 9/8
}

smaller = {
 \set fontSize = #-2
 \override Stem #'length-fraction = #0.8
 \override Beam #'thickness = #0.384
 \override Beam #'length-fraction = #0.8
}

\addquote piano \relative c'' {
\partial 8
s8 \clef treble \bar ""
r4 b8 d2. | r4 fis,8 b2. | r4 b8 fis'2. | r4 fis,8 d'2. |
}
untransposed = \relative c' {
 r4 d8 fis4 d8 b4 a8


}

\score {
 \new Staff \relative <<
    \globals
    \context Voice = cue { \smaller }

    \set Score.skipBars = ##f
%\globals \new Voice {
       \stemUp
       \cueDuring #"piano" #1 { \partial 8 s8 \bar ""
          R4.*3 | R4.*3 | R4.*3 | R4.*3
       }
       \clef tenor \untransposed
    }
    >>
}


 \layout { }
}




reply via email to

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