lilypond-user
[Top][All Lists]
Advanced

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

Re: Cadenza on two staves


From: Pierre Perol-Schneider
Subject: Re: Cadenza on two staves
Date: Wed, 4 Sep 2013 16:17:58 +0200

2013/9/4 Tommaso Gordini <address@hidden>

Hello to all,

Hi Tommaso,
 
 You can help me or tell me which part of the documentation I have to see?

check here :  http://lilypond.org/doc/v2.16/Documentation/notation/keyboard-and-other-multi_002dstaff-instruments
and here : http://lilypond.org/doc/v2.16/Documentation/snippets/keyboards
 

Is there a way to space the notes in a cadence in a uniform way? In another example, I noticed that this does not happen if I put in the cadence whole notes and quarter notes, the latter are printed closer to whole notes.


Here's how I would write it :

\version "2.16.2"

\score {

<<

\new Staff

\relative c' {

\clef "treble"

\cadenzaOn

s1*4 %% here's 4 skiped notes that correspond to the bass notes

e1 g

bes4_\markup \rotate #-135 "↗" \stemDown

c1 d e

f4^\markup \rotate #45 "↗"

g1 a4_\markup \rotate #-135 "↗"

bes^\markup \rotate #45 "↗" b1 c

\cadenzaOff

\bar "||"

}

\new Staff

\relative c, {

\clef "bass"

\key c \major

c1

c'

g'

c

s1*9 %% here's 9 skiped notes that correspond to the sopran notes

}

>>

\layout {

\context {

\Voice

\override StringNumber #'Y-extent =

#(ly:make-unpure-pure-container

ly:grob::stencil-height

(lambda (grob start end) (ly:grob::stencil-height grob)))

stringNumberOrientations = #'(right)

\override StringNumber #'padding = 0

}

\context {

\Staff \remove "Time_signature_engraver"

}

\context {

\Score

\remove "Bar_number_engraver"

\override Stem #'transparent = ##t

\override SpacingSpanner #'uniform-stretching = ##t

}

}

}


Cheers,

Pierre


reply via email to

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