[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to attach a bend to an \afterGrace note with the bend spanner
From: |
Kevin Nowaczyk |
Subject: |
Re: Unable to attach a bend to an \afterGrace note with the bend spanner |
Date: |
Wed, 16 Sep 2020 12:23:02 +0000 (UTC) |
I was finally able to get my bend current with the following:
\hideAccidental \afterGrace c''\startBend {\once \hideNotes cih''16\stopBend}
The bug that prints the after-grace note twice probably still exists, but since the note is hidden, is not a concern for me. If someone else ever wants to display the after-grace, they’ll likely have a problem.
I know a lot of programming languages, but lisp dialects are not in my collection. Is there a simple function that could shorten this for me? Something like:
addQuarterBend =
#(define-event-function (mus)(ly:music?)
#{
\afterGrace $mus \startBend {\once \hideNotes \transpose c cih $mus \stopBend \once \hideNotes $mus}
#}
)
Something like this would allow me to type \addQuarterBend c’8 to just decorate that note with a bend.
Kevin
Sent from Yahoo Mail for iPhoneOn Monday, September 14, 2020, 7:39 AM, Kevin Nowaczyk <beakerboy99@yahoo.com> wrote:
Andrew,
Here is a link to the output that is currently being produced.
The first three bends are what I want, but I cannot make the final one look the same. This is because I am bending to a grace note on the note that follows the note I want decorated. For this incorrect note, the grace would be in the following measure, so I have to use \afterGrace To keep everything together. However, as you can see, Lilypond renders two of these notes when the bend is used. I have not figured out how to hide these \afterGrace notes.
Kevin
- Unable to attach a bend to an \afterGrace note with the bend spanner, Kevin Nowaczyk, 2020/09/13
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Kevin Nowaczyk, 2020/09/14
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner,
Kevin Nowaczyk <=
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Thomas Morley, 2020/09/17
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Aaron Hill, 2020/09/17
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Federico Bruni, 2020/09/17
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Jonas Hahnfeld, 2020/09/20
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Federico Bruni, 2020/09/22
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Andrew Bernard, 2020/09/22
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Federico Bruni, 2020/09/23
- Re: Unable to attach a bend to an \afterGrace note with the bend spanner, Thomas Morley, 2020/09/20