[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: \after syntax?
From:       Matthew Pierce <piercello () hotmail ! com>
Date:       2024-02-22 17:13:04
Message-ID: PH7PR20MB496299E61B7F1461346C23E0A8562 () PH7PR20MB4962 ! namprd20 ! prod ! outlook ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]

[Attachment #4 (text/plain)]

Thanks to all for the assist!

The new-coder mistake I had made was in mentally attaching the \after function to the \
entire measure, instead of the note in question.

Best,
Matt
________________________________
From: Michael Werner <reznaeous@gmail.com>
Sent: Wednesday, February 21, 2024 12:41 PM
To: Matthew Pierce <piercello@hotmail.com>
Cc: lilypond-user@gnu.org <lilypond-user@gnu.org>
Subject: Re: \after syntax?

Hi Matt,

On Wed, Feb 21, 2024 at 10:53 AM Matthew Pierce \
<piercello@hotmail.com<mailto:piercello@hotmail.com>> wrote: Hello all,

For hairpin positioning within a whole note, the Manual gives the syntax

\relative {
    \after 2 \< c'1
}

Is there an effective \after syntax for hairpin positioning within NON-whole notes, \
such as  the second note in this (intuitive but) nonviable expression?

  \relative {
    \after 2 \< c'4 2.
  }

CONTEXT: I need to place an \espressivo-shaped, double-hairpin swell underneath a \
dotted half note. Also, I need it to be stretchable, so that I can horizontally align \
it with the other, more active parts/staffs in my orchestral score.

To emulate an \espressivo using actual dynamics by way of the \after function:

\version "2.25.13"

musA = \relative c' {
  a'4 \after 8*3 \>  a2.\< a2\! a2
}

musB = \relative c' {
  a'4 \after 4. \> \after 2. \! a2.\< a2 a2
}

musC = \relative c' {
  a'4 \after 4. \> a2.\< <>\! a2 a2
}

\score {
  \new Staff {
    \new Voice {
      \musA
} } }

\score {
  \new Staff {
    \new Voice {
      \musB
} } }

\score {
  \new Staff {
    \new Voice {
      \musC
} } }

will produce:

[image.png]

Three different ways of accomplishing the same thing. The first showing that you can \
indeed use scaling in the \after function (i.e. the 8*3 meaning 3 8th notes worth) \
and terminating the decrescendo on the following note. The second using \after to do \
the termination.  The third uses the empty chord construct (i.e. the <> ) to attach \
the termination to. You are, of course, free to mix and match whichever method suits \
                you.
--
Michael


[Attachment #5 (text/html)]

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} \
</style> </head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Calibri, Helvetica, sans-serif; \
font-size: 12pt; color: rgb(0, 0, 0);"> Thanks to all for the assist!<br>
<br>
The new-coder mistake I had made was in mentally attaching the \after function to the \
entire measure, instead of the note in question.<br> <br>
Best,&nbsp;<br>
Matt</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" \
style="font-size:11pt" color="#000000"><b>From:</b> Michael Werner \
&lt;reznaeous@gmail.com&gt;<br> <b>Sent:</b> Wednesday, February 21, 2024 12:41 \
PM<br> <b>To:</b> Matthew Pierce &lt;piercello@hotmail.com&gt;<br>
<b>Cc:</b> lilypond-user@gnu.org &lt;lilypond-user@gnu.org&gt;<br>
<b>Subject:</b> Re: \after syntax?</font>
<div>&nbsp;</div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hi Matt,<br>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Feb 21, 2024 at 10:53 AM Matthew Pierce \
&lt;<a href="mailto:piercello@hotmail.com" \
target="_blank">piercello@hotmail.com</a>&gt; wrote:<br> </div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px \
solid rgb(204,204,204); padding-left:1ex"> <div>
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"> Hello all,&nbsp;<br>
<br>
For hairpin positioning within a whole note, the Manual gives the syntax</div>
<pre style="margin:0px; padding:1em"><div style="text-align:left; text-indent:0px; \
line-height:16.7375px"><span style="font-size:16.48px; \
color:rgb(0,0,136)">\relative</span><span style="font-size:16.48px; \
color:rgb(34,34,34)"> {  &nbsp; &nbsp;</span><span style="font-size:16.48px; \
color:rgb(0,0,136)">\after</span><span style="font-size:16.48px; \
color:rgb(34,34,34)"> </span><span style="font-size:16.48px; \
color:rgb(0,112,112)">2</span><span style="font-size:16.48px; color:rgb(34,34,34)"> \
</span><span style="font-size:16.48px; color:rgb(122,85,5)">\&lt;</span><span \
style="font-size:16.48px; color:rgb(34,34,34)"> c'</span><span \
style="font-size:16.48px; color:rgb(0,112,112)">1 }</span></div></pre>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)">Is there an effective </span><span style="font-family:monospace; \
font-size:16.48px; color:rgb(0,0,136); \
background-color:rgb(255,255,255)">\after</span><span \
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)">&nbsp;syntax for hairpin positioning within  NON-whole notes, such \
as &nbsp;the </span><span style="font-family:Calibri,Helvetica,sans-serif; \
font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,0)">second \
note</span><span style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)">&nbsp;in  this (intuitive but) nonviable expression?</span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)"><br> </span></div>
<div><span style="font-family:monospace; font-size:16.48px; color:rgb(0,0,136); \
background-color:rgb(255,255,255)">&nbsp; \relative</span><span \
style="font-family:monospace; font-size:16.48px; color:rgb(34,34,34); \
background-color:rgb(255,255,255)">&nbsp;{</span></div> <div><span \
style="font-family:monospace; font-size:16.48px; color:rgb(34,34,34); \
background-color:rgb(255,255,255)">&nbsp;&nbsp; &nbsp;</span><span \
style="font-family:monospace; font-size:16.48px; color:rgb(0,0,136); \
background-color:rgb(255,255,255)">\after</span><span style="font-family:monospace; \
font-size:16.48px; color:rgb(34,34,34); background-color:rgb(255,255,255)"> \
</span><span style="font-family:monospace; font-size:16.48px; color:rgb(0,112,112); \
background-color:rgb(255,255,255)">2</span><span style="font-family:monospace; \
font-size:16.48px; color:rgb(34,34,34); background-color:rgb(255,255,255)"> \
</span><span style="font-family:monospace; font-size:16.48px; color:rgb(122,85,5); \
background-color:rgb(255,255,255)">\&lt;</span><span style="font-family:monospace; \
font-size:16.48px; color:rgb(34,34,34); background-color:rgb(255,255,255)">&nbsp;c'4 \
</span><span style="font-family:monospace; font-size:16.48px; color:rgb(34,34,34); \
background-color:rgb(255,255,0)">2.</span></div> <div><span \
style="font-family:monospace; font-size:16.48px; color:rgb(0,112,112); \
background-color:rgb(255,255,255)">&nbsp; }</span></div> <div \
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"> \
<br> </div>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)">CONTEXT: I need to place an </span><span \
style="font-family:monospace; font-size:16.48px; color:rgb(0,0,136); \
background-color:rgb(255,255,255)">\espressivo</span><span \
style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; \
color:rgb(0,0,0)">-shaped, double-hairpin swell underneath  a dotted half note. Also, \
I need it to be stretchable, so that I can horizontally align it with the other, more \
active parts/staffs in my orchestral score. <br>
</span></div>
</div>
</div>
</blockquote>
</div>
<div><br>
</div>
<div>To emulate an \espressivo using actual dynamics by way of the \after \
function:</div> <div><br>
</div>
\version &quot;2.25.13&quot;<br>
<br>
musA = \relative c' {<br>
&nbsp; a'4 \after 8*3 \&gt; &nbsp;a2.\&lt; a2\! a2<br>
}<br>
<br>
musB = \relative c' {<br>
&nbsp; a'4 \after 4. \&gt; \after 2. \! a2.\&lt; a2 a2<br>
}<br>
<br>
musC = \relative c' {<br>
&nbsp; a'4 \after 4. \&gt; a2.\&lt; &lt;&gt;\! a2 a2<br>
}<br>
<br>
\score {<br>
&nbsp; \new Staff {<br>
&nbsp; &nbsp; \new Voice {<br>
&nbsp; &nbsp; &nbsp; \musA<br>
} } }<br>
<br>
\score {<br>
&nbsp; \new Staff {<br>
&nbsp; &nbsp; \new Voice {<br>
&nbsp; &nbsp; &nbsp; \musB<br>
} } }<br>
<br>
\score {<br>
&nbsp; \new Staff {<br>
&nbsp; &nbsp; \new Voice {<br>
&nbsp; &nbsp; &nbsp; \musC<br>
<div>} } }</div>
<div><br>
</div>
<div>will produce:</div>
<div><br>
</div>
<div><img alt="image.png" width="255" height="192" style="margin-right:0px" \
data-outlook-trace="F:1|T:1" src="cid:ii_lsw5186g1"><br> <br>
</div>
<div></div>
<div>Three different ways of accomplishing the same thing. The first showing that you \
can indeed use scaling in the \after function (i.e. the 8*3 meaning 3 8th notes \
worth) and terminating the decrescendo on the following note. The second using \after \
to do  the termination.&nbsp; The third uses the empty chord construct (i.e. the \
&lt;&gt; ) to attach the termination to. You are, of course, free to mix and match \
whichever method suits you.<br> </div>
<span class="x_gmail_signature_prefix">-- </span><br>
<div dir="ltr" class="x_gmail_signature">
<div dir="ltr">
<div>Michael<br>
<br>
</div>
</div>
</div>
</div>
</div>
</body>
</html>


["image.png" (image/png)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic