Re: Cent rit between staves

2023-11-09 Thread Knute Snortum
On Wed, Nov 8, 2023 at 1:59 PM David Nalesnik 
wrote:

> Hi Will,
>
> On Wed, Nov 8, 2023 at 12:14 PM Will Turner 
> wrote:
>
>> How do I center the *rit.* vertically between the treble and bass clef
>> staves in this piano system?
>>
>> _\markup{ \italic {rit.} }
>> [image: image.png]
>>
>
> You can do it by creating a Dynamics context.  It's discussed here (scroll
> down a bit):
> https://lilypond.org/doc/v2.23/Documentation/notation/expressive-marks-attached-to-notes#dynamics
>
>
>
In some cases you may find that putting dynamics and text in a Dynamics
context will not do everything you want.  In these cases, using a tweak to
the Y-offset of the text or dynamics will help.

\version "2.24.2"

rightHandUpper = \relative {
  r4 e' f f8 a
}

rightHandLower = \relative {
  2 
}

leftHandUpper = \relative {
  e2 
}

leftHandLower = \relative {
  e,1
}

dynamics = {
  s4 s2.-\tweak Y-offset -5 -\markup \italic rit.
}

\score {
  \new PianoStaff <<
\new Staff << \rightHandUpper \\ \rightHandLower >>
\new Dynamics \dynamics
\new Staff << \clef bass \leftHandUpper \\ \leftHandLower >>
  >>
}

--
Knute Snortum


Re: Cent rit between staves

2023-11-09 Thread David Kastrup
Robin Bannister  writes:

> Will Turner wrote:
>> Thank you. I've been using Lilypond for only a couple weeks. 
>
> This automatic conversion will give you the wrong impression about how
> readable Lilypond code can be.
>
>
>
> I thi[nk] this is
>> the text I should insert:
>> \new Dynamics{
>> s93-"rit." |
>> }
>
> But this code will start the rit when the s93 starts.
> To start the rit when the s93 has finished, insert an empty chord
>{ s93 <>-"rit." }

No such thing as s93.  Maybe s1*93 was meant instead?

-- 
David Kastrup



Re: Cent rit between staves

2023-11-09 Thread Robin Bannister

Will Turner wrote:
Thank you. I've been using Lilypond for only a couple weeks. 


This automatic conversion will give you the wrong impression about how 
readable Lilypond code can be.




I thi[nk] this is

the text I should insert:
\new Dynamics{
s93-"rit." |
}


But this code will start the rit when the s93 starts.
To start the rit when the s93 has finished, insert an empty chord
   { s93 <>-"rit." }




The rit. needs to go in the piano staves on measure 94, but I don't know
where to place the code.


Insert it in the PianoStaff code after Staff1 and before Staff2.
This gets it placed vertically between Staff1 and Staff2.
For readabilty, give it its own code line.


Cheers,
Robin







Re: Cent rit between staves

2023-11-08 Thread Will Turner
Thank you. I've been using Lilypond for only a couple weeks. I this this is
the text I should insert:
\new Dynamics{
   s93-"rit." |
}

The rit. needs to go in the piano staves on measure 94, but I don't know
where to place the code.

Here is my complete score:

\version "2.24.2"
% automatically converted by musicxml2ly from
C:/Users/willi/Documents/Music Projects/Thanksgiving/thanksgiving
reflection for lilypond 2.mxl
\pointAndClickOn

\include "articulate.ly"

%% additional definitions required by the score:
\language "english"


\header {
title =  "Thanksgiving Reflection"
copyright =  "Ronald Staheli, 2019. May be copied for church use."
composer =  \markup \column {
\line { "Old English Folk Melody"}
\line { ""} }

arranger =  "Arr. Ronald Staheli"
subtitle =  "for 2-part choir (Women/Men) and piano"
meter = "Ronald Staheli"
}

#(set-global-staff-size 18.86857142857143)
\paper {
#(set-paper-size "letter")
indent = .75\in
left-margin = .5\in
right-margin = .75\in
top-margin = .25\in
bottom-margin = .5\in
}

\layout {
\context {
  \Score
skipBars = ##t
autoBeaming = ##f
\RemoveEmptyStaves %Insert under \Score
}
}

PartPOneVoiceOne =  {
\clef "treble" \numericTimeSignature\time 4/4 \key g \major | % 1
\tempo "gently flowing with beaufiful, legato line" 2=44  R1*8 | % 9
^"WOMEN" r4 \stemUp d' ^\mf \stemUp g' \stemUp a' | \barNumberCheck #10
\override Tie.thickness = 2.75  b'1 ~ ^\markup{ \italic {a tempo} } | %
11
\stemDown b'4 \stemUp a' \stemUp g' \stemUp e' | % 12
d'1 | % 13
r4 \stemUp d' \stemUp g' \stemUp fs' | % 14
g'1 ~ | % 15
\stemUp g'4 \stemUp a' \stemDown b' \stemDown \override Slur.thickness
= 2.75  c''8 ( [ \stemDown
b'8 ) ] | % 16
a'1 | % 17
r4 \stemUp a' \stemDown b' \stemDown c'' | % 18
d''1 ~ | % 19
\stemDown d''4 \stemDown c'' \stemDown b' \stemUp a'8 ( [ \stemUp
g'8 ) ] | \barNumberCheck #20
b'1 | % 21
r4 \stemUp a' \stemUp g' \stemUp e' | % 22
d'1 ~ | % 23
\stemUp d'4 \stemUp d' \stemUp e' \stemUp e'8 ( [ \stemUp g' ) ]
| % 24
g'1 | % 25
R1*8 | % 33
r4 \stemUp a' ^\mf \stemDown b' \stemDown c'' | % 34
d''1 ~ | % 35
\stemDown d''4 \stemDown c'' \stemDown b' \stemUp a'8 ( [ \stemUp
g'8 ) ] | % 36
b'1 | % 37
r4 \stemUp a' \stemUp g' \stemUp e' | % 38
d'1 ~ | % 39
\stemUp d'4 \stemUp d' \stemUp e' \stemUp e'8 ( [ \stemUp g' ) ]
| \barNumberCheck #40
g'1 ~ | % 41
\stemUp g'2 r | % 42
R1*3 | % 45
R1*2 -\markup{ \italic {rall.} } | % 47
r4 \stemUp d' ^\mp \stemUp g' \stemUp a' | % 48
b'1 ~ ^\markup{ \italic {a tempo} } | % 49
\stemDown b'4 \stemUp a' \stemUp g' \stemUp e' | \barNumberCheck
#50
d'1 | % 51
r4 \stemUp d' \stemUp g' \stemUp fs' | % 52
g'1 ~ | % 53
\stemUp g'4 \stemUp a' \breathe \stemDown b' \stemDown c''8 ( [
\stemDown b'8 ) ] | % 54
a'1 | % 55
r4 \stemUp a' \stemDown b' \stemDown c'' | % 56
d''1 ~ | % 57
\stemDown d''4 \stemDown c'' \stemDown b' \stemUp a'8 ( [ \stemUp
g'8 ) ] | % 58
b'1 | % 59
r4 \stemUp a' \stemUp g' \stemUp e' | \barNumberCheck #60
d'1 | % 61
r4 \stemUp d' \stemUp e' \stemUp e'8 ( [ \stemUp g' ) ] | % 62
g'1 ~ | % 63
\stemUp g'2 r | % 64
R1*2 s1 | % 67
R1 s | % 69
R1 \bar "||"| \barNumberCheck #70
\key af \major R1 | % 71
r4 \stemUp ef' ^\f \stemUp af' \stemDown bf' | % 72
c''1 ~ | % 73
\stemDown c''4 \stemDown bf' \stemUp af' \stemUp f'
| % 74
ef'1 | % 75
r4 \stemUp ef' \stemUp af' \stemUp g' | % 76
af'1 ( | % 77
\stemUp af'4 ) \stemDown bf' \stemDown c'' \stemDown df''8 ( [
\stemDown c''8 ) ] | % 78
bf'1 | % 79
r4 \stemDown bf' \stemDown c'' \stemDown df'' | \barNumberCheck
#80
ef''1 ( | % 81
\stemDown ef''4 ) \stemDown df'' \stemDown c'' \stemUp bf'8 ( [
\stemUp af'8 ) ] | % 82
c''1 | % 83
r4 \stemDown bf' ^\markup{ \small\italic {dim.} }
\stemUp af'4 \stopTrillSpan \stemUp f' | % 84
\stemUp ef'2 \stemUp ef' | % 85
\stemUp ef'4 \breathe \stemUp ef' \stemUp f' \stemUp f'8 ( [ \stemUp
af'8 ) ] | % 86
af'1 ~ _\mp ^\mp | % 87
\stemUp af'2 r | % 88
r4 \stemDown bf' ^\f \stemDown c'' \stemDown df'' | % 89
ef''1 ~ | \barNumberCheck #90
\stemDown ef''4 \stemDown df'' \stemDown c'' \stemUp bf'8 ( [
\stemUp af'8 ) ] | % 91
c''1 | % 92
r4 \stemDown bf' ^\markup{ \small\italic {dim.} }
\stemUp af'4 \stopTrillSpan \stemUp f' | % 93
\stemUp ef'2 \stemUp ef' | % 94
\stemUp ef'4 \breathe \stemUp ef' ^\markup{ \italic {rit.} }
\stemUp f'4 \stemUp f'8 ( [ \stemUp af' ) ] | % 95
af'1 ~ ^\p | % 96
af'1 \bar "|."
}

PartPOneVoiceOneLyricsOne =  \lyricmode {\set ignoreMelismata = ##t
Thanks -- giv -- ing "thoughts " __\skip1 flow through my "mind," re
-- mind -- ing "me " __\skip1 of 

Re: Cent rit between staves

2023-11-08 Thread David Nalesnik
Hi Will,

On Wed, Nov 8, 2023 at 12:14 PM Will Turner  wrote:

> How do I center the *rit.* vertically between the treble and bass clef
> staves in this piano system?
>
> _\markup{ \italic {rit.} }
> [image: image.png]
>

You can do it by creating a Dynamics context.  It's discussed here (scroll
down a bit):
https://lilypond.org/doc/v2.23/Documentation/notation/expressive-marks-attached-to-notes#dynamics


Hope this helps,
David


Cent rit between staves

2023-11-08 Thread Will Turner
How do I center the *rit.* vertically between the treble and bass clef
staves in this piano system?

_\markup{ \italic {rit.} }
[image: image.png]