Hi Richard,

To be clear, should I make that change in my own LilyPond text, or has the 
change been made in the \afterGrace command itself?

thanks,
Donald

On Wednesday, August 14, 2024 11:31:39 AM PDT Richard Shann wrote:
> On Wed, 2024-08-14 at 10:18 -0700, Donald J. Stewart wrote:
> > UPDATE:
> > 
> > I started completely from scratch. This is the order I used:
> > 
> > Insert 2 grace notes, selected eighth note rhythm, deleted one of the
> > notes,
> > deleted the slur that was automatically added, changed to eighth note
> > duration
> > on grace note, THEN selected Grace After On/Off...
> > 
> > And that changed the position correctly.
> > 
> > I believe that the order in which I placed the notes was the problem.
> > When
> > placing and altering the notes (remove stem, add parentheses) and
> > THEN
> > selecting Grace After, there was no effect.
> > 
> > Now I'm having difficulty altering the grace note (altering notehead
> > to
> > harmonic, removing stem, adding parentheses).
> > 
> > Is it possible that Grace After doesn't allow for further alterations
> > of grace
> > notes?
> 
> I just tested changing the notehead style and parenthesizing the note
> and there is indeed a bug - while \parenthesize does position itself
> well for the application of after grace the notehead style does not -
> it appears before the \grace in the output, which the \attachGraces
> does not like. I moved it inside the \grace {} construct thus:
> 
> MvmntIVoiceI = {
>          \attachGraces #3/4 c'1 \grace {\once \override NoteHead.style
> = #'harmonic \parenthesize f'8}  \AutoEndMovementBarline
> }
> 
> and that is fine.
> I don't know what command you use the get no stem, but you may have the
> same problem with that - altering the order may fix that too.
> HTH
> Richard
> 
> > On Wednesday, August 14, 2024 9:11:28 AM PDT Donald J. Stewart wrote:
> > > Thanks Richard,
> > > 
> > > I did start with the Grace After feature but it didn't seem to
> > > change the
> > > grace note position and in Print View it appears in measure after
> > > where it
> > > appears in Denemo.
> > > 
> > > I've changed the default 'fractional position' of 3/4 to many
> > > different
> > > fractions, but it still stays in exactly the same place -- which is
> > > after
> > > the barline and near the following note. At first I thought I was
> > > turning
> > > the feature On and Off each time I applied the feature, but that
> > > didn't
> > > seem to be the case.
> > > 
> > > It seems that no matter what I do -- delete the grace note, and
> > > start a new
> > > one -- it doesn't make the change.
> > > 
> > > I'm using Andreas' 2.6.38 build for Debian/Ubuntu.
> > > 
> > > It was only then that I tried the LilyPond \afterGrace command
> > > which changed
> > > the grace note position, but then moved the following quarter note
> > > out of
> > > the next measure, pushing everything else out of rhythmic
> > > alignment.
> > > 
> > > I'd rather stay within Denemo to make these changes. Is there a
> > > possibility
> > > the Grace After feature has been deactivated on my build or system?
> > > 
> > > Donald
> > > 
> > > On Wednesday, August 14, 2024 2:31:18 AM PDT Richard Shann wrote:
> > > > On Tue, 2024-08-13 at 15:23 -0700, Donald J. Stewart wrote:
> > > > > I'm trying to move a grace note to 'attach' itself to the note
> > > > > immediately preceding it by using
> > > > > 
> > > > > Directives->Insert LilyPond
> > > > > 
> > > > > and inserting
> > > > > 
> > > > > \afterGrace
> > > > 
> > > > Denemo has a command to manage the LilyPond syntax for after
> > > > graces:
> > > > 
> > > > Command: Grace After (Off/On)
> > > > The grace note(s) at the cursor will be typeset close to the
> > > > previous
> > > > note, rather than attaching to the music that follows. It will be
> > > > spaced from the note at the fraction of the duration given.
> > > > (OFF/ON)
> > > > Location: Object Menu ▶ Notes/Rests ▶ Grace Notes
> > > > Internal Name: GraceAfter
> > > > 
> > > > The current version (2.6.34) allows you to say how close to the
> > > > preceding note you want the grace note to come.
> > > > 
> > > > > as per the LilyPond Notation Reference
> > > > > https://lilypond.org/doc/v2.25/Documentation/notation/grace-notes
> > > > > 
> > > > > It does pull the grace note to that note, but it also pulls the
> > > > > note
> > > > > after it into the same measure -- which consequently takes it
> > > > > out of
> > > > > the correct measure. (marked in red)
> > > > 
> > > > If you're question is about LilyPond syntax you will get much
> > > > more
> > > > expert help from lilypond-u...@gnu.org - I consulted them myself
> > > > just
> > > > the other day. In any case you will need to provide a short
> > > > example
> > > > showing the syntax you are using (you can get this by copying and
> > > > pasting from the LilyPond View in Denemo).
> > > > 
> > > > Richard





Reply via email to