Re: Making a Hairpin end close to the end of a Score
On 05.11.2016 05:01, Paul Scott wrote: On Fri, Nov 04, 2016 at 07:21:05PM -0700, Christopher Heckman wrote: On Fri, Nov 4, 2016 at 9:36 AM, Simon Albrecht wrote: On 04.11.2016 09:11, Christopher Heckman wrote: On Tue, Nov 1, 2016 at 3:08 PM, Simon Albrecht wrote: Hi Chris, [...] In that case, another opportunity to step forward with the now much-used \after function, here to be applied as Now much-used \after function? It's not in the index of the notation manual. What does it do? Where is it documented? It’s not in LilyPond proper (yet), although the request to include it has been uttered before. That is partly because I’m not quite sure the name is appropriate for an official function, and partly because nobody has included and documented it yet. I sent it to the list multiple times, including in this thread (before it broke) – but it doesn’t cost anything to attach it with a small example once more. Best, Simon \version "2.18.2" % Thanks to David Kastrup for the inspiration! after = #(define-music-function (parser location t e m) (ly:duration? ly:music? ly:music?) #{ \context Bottom << #m { \skip $t <> -\tweak extra-spacing-width #empty-interval $e } >> #}) { \after 4 \< \after 2 \> \after 2. \! c'1 }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
RE: Making a Hairpin end close to the end of a Score
Hi All, I must say that I had the same question! Where can we find this? Andrew -Original Message- From: lilypond-user On Behalf Of Paul Scott Sent: Saturday, 5 November 2016 3:01 PM Subject: Re: Making a Hairpin end close to the end of a Score Now much-used \after function? It's not in the index of the notation manual. What does it do? Where is it documented? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Making a Hairpin end close to the end of a Score
On Fri, Nov 04, 2016 at 07:21:05PM -0700, Christopher Heckman wrote: > On Fri, Nov 4, 2016 at 9:36 AM, Simon Albrecht wrote: > > On 04.11.2016 09:11, Christopher Heckman wrote: > >> > >> On Tue, Nov 1, 2016 at 3:08 PM, Simon Albrecht > >> wrote: > >>> > >>> Hi Chris, > >>> [...] > >>> In that case, another opportunity to step forward with the now much-used > >>> \after function, here to be applied as Now much-used \after function? It's not in the index of the notation manual. What does it do? Where is it documented? Thank you, Paul > >>> \after 3/4 \! c1\> > >> > >> This last one _doesn't_ work for me. I get two hairpins (< >) to the > >> right and below the whole note. > > > > > > Please give a complete, compilable example. > > Well, this seems silly. I also had the following in my .ly file: > > { \after 4 \< \after 2 \> \after 2. \! c'1 } > > so it was working correctly. > > (And that is the reason why I don't want to make everything public.) > > ((A few minutes later:)) > > However, I'm not going to annoy future readers by saying "I figured it > out", and will actually send this out to the group for closure. > > > --- CCH > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user > ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Making a Hairpin end close to the end of a Score
On Fri, Nov 4, 2016 at 9:36 AM, Simon Albrecht wrote: > On 04.11.2016 09:11, Christopher Heckman wrote: >> >> On Tue, Nov 1, 2016 at 3:08 PM, Simon Albrecht >> wrote: >>> >>> Hi Chris, >>> [...] >>> In that case, another opportunity to step forward with the now much-used >>> \after function, here to be applied as >>> \after 3/4 \! c1\> >> >> This last one _doesn't_ work for me. I get two hairpins (< >) to the >> right and below the whole note. > > > Please give a complete, compilable example. Well, this seems silly. I also had the following in my .ly file: { \after 4 \< \after 2 \> \after 2. \! c'1 } so it was working correctly. (And that is the reason why I don't want to make everything public.) ((A few minutes later:)) However, I'm not going to annoy future readers by saying "I figured it out", and will actually send this out to the group for closure. --- CCH ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Making a Hairpin end close to the end of a Score
Hi Chris, we use to always keep communication on-list, except in special circumstances. Thus everybody will be able to follow and see whether there has been a solution, or look it up in the archives. So ‘reply all’. On 01.11.2016 23:02, Christopher Heckman wrote: On Tue, Nov 1, 2016 at 2:55 PM, Simon Albrecht wrote: On 31.10.2016 06:10, Jay Anderson wrote: On Sun, Oct 30, 2016 at 5:35 PM, Christopher Heckman wrote: I stumbled on this hack, and it doesn't appear to be anywhere online. As is, you can't have a hairpin run until the very end of a score; it will stop before the last note. You also can't add \! to a \bar; Lilypond complains that it is not a musical event. The idea is to use \afterGrace, with an invisible grace note. \absolute { c'2\> \afterGrace d' { s16\! } | } MIDI translates this as you would expect, without an extra note at the end. However, this will not work if the hairpin starts on the last printed note. I tend to use this: c1\> s1*0\! | Or you can use an empty chord: c1 <>\! Best, Simon I haven't tried these yet, but it looks like the hairpin would extend to the end of the bar; in my fix, it ends about 3/4 of the way there. In that case, another opportunity to step forward with the now much-used \after function, here to be applied as \after 3/4 \! c1\> See attachment. Best, Simon \version "2.18.2" % Thanks to David Kastrup for the inspiration! after = #(define-music-function (parser location t e m) (ly:duration? ly:music? ly:music?) #{ \context Bottom << #m { \skip $t <> -\tweak extra-spacing-width #empty-interval $e } >> #}) { \after 4 \< \after 2 \> \after 2. \! c'1 }___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Making a Hairpin end close to the end of a Score
On 31.10.2016 06:10, Jay Anderson wrote: On Sun, Oct 30, 2016 at 5:35 PM, Christopher Heckman wrote: I stumbled on this hack, and it doesn't appear to be anywhere online. As is, you can't have a hairpin run until the very end of a score; it will stop before the last note. You also can't add \! to a \bar; Lilypond complains that it is not a musical event. The idea is to use \afterGrace, with an invisible grace note. \absolute { c'2\> \afterGrace d' { s16\! } | } MIDI translates this as you would expect, without an extra note at the end. However, this will not work if the hairpin starts on the last printed note. I tend to use this: c1\> s1*0\! | Or you can use an empty chord: c1 <>\! Best, Simon ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Making a Hairpin end close to the end of a Score
On Sun, Oct 30, 2016 at 5:35 PM, Christopher Heckman wrote: > I stumbled on this hack, and it doesn't appear to be anywhere online. > > As is, you can't have a hairpin run until the very end of a score; it > will stop before the last note. You also can't add \! to a \bar; > Lilypond complains that it is not a musical event. > > The idea is to use \afterGrace, with an invisible grace note. > > \absolute { > c'2\> \afterGrace d' { s16\! } | > } > > MIDI translates this as you would expect, without an extra note at the end. > > However, this will not work if the hairpin starts on the last printed note. I tend to use this: c1\> s1*0\! | -Jay ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Making a Hairpin end close to the end of a Score
I stumbled on this hack, and it doesn't appear to be anywhere online. As is, you can't have a hairpin run until the very end of a score; it will stop before the last note. You also can't add \! to a \bar; Lilypond complains that it is not a musical event. The idea is to use \afterGrace, with an invisible grace note. \absolute { c'2\> \afterGrace d' { s16\! } | } MIDI translates this as you would expect, without an extra note at the end. However, this will not work if the hairpin starts on the last printed note. --- Christopher Heckman ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user