lilypond-user
[Top][All Lists]
Advanced

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

Fwd: Cadenza on two staves


From: Tommaso Gordini
Subject: Fwd: Cadenza on two staves
Date: Wed, 4 Sep 2013 11:35:22 +0200



---------- Forwarded message ----------
From: Tommaso Gordini <address@hidden>
Date: 2013/9/4
Subject: Cadenza on two staves
To: "address@hidden" <address@hidden>


Hello to all,
I have to play three musical examples that you see in the attachment. I tried with the following code (the arrows are useful to me), but apparently I'm wrong something. You can help me or tell me which part of the documentation I have to see?

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.

Grazie e ciao
Tommaso

The code:

\version "2.16.2"

% ^\markup { \small { Serie armonica del fa (\rotate #45 "↗": crescente; \rotate #-135 "↗": calante) } }

stringNumberSettings =

\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

}

}

\relative c' {

<<

\new Staff { \clef "treble"

\cadenzaOn

c1 e 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 { \clef "bass"

\key c \major

c,,,,1

c'

g'

}

>>

}


\layout {

\context {

\Staff \remove "Time_signature_engraver"

}

\context {

\Score

\remove "Bar_number_engraver"

\override Stem #'transparent = ##t

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

}

}


Attachment: armonici6piedi.png
Description: PNG image

Attachment: armonici12piedi.png
Description: PNG image

Attachment: estensionemedia.png
Description: PNG image

Attachment: seriearmonica.png
Description: PNG image


reply via email to

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