Re: stem direction for main notes vs. grace notes

Okay, that overrides the stem direction for all voices. If I want to
limit the scope to just a single voice, how would I do that?

Maybe I've found a bug?.... using the following code in the Mac OSX
version of lilypond, I get extra time-signatures on both staves,
key-sigs in different locations between the staves, and different stem
direction behavior between the staves. The only difference between the
voices is whether the first note has grace-notes applied to it or not.

-----Original Message-----
From: Eric Mrozek [mailto:address@hidden
Sent: den 22 juli 2005 14:38
To: address@hidden
Subject: stem direction for main notes vs. grace notes
For my particular application (highland bagpipe notation) I want to
have all the main notes to be stemDown, and all the grace-notes be
stemUp.
I am auto-generating lilypond code with a program, and I want to use
the \stemDown "macro" after setting the key and before I spit out any
of the notes. Everything works fine when the first note is a
main note.
My problem is that if the first note is a grace-note, then that first
grace-note group gets the stem down and nothing else does.
It appears
that when the "grace" construct is closed, the context is closed, and
the stem direction reverts back to the default.
By the way.... this is inconsistent with the behavior for
\override Stem #'transparent = ##t
which applies to both main and grace-notes, for all the
remaining notes
in the voice.
My present work-around is to place a "\once \stemDown " string in
front of every low note throughout the entire score. Is there a more
global way that I could do this?
Here is a fragment of my "broken" test case....
voice1= {
\key d \major
\override Stem #'transparent = ##t
% the next line could also be \stemDown
\override Stem #'direction = #-1
\grace { g'16[ d''16 cis''16] } d''8.[
e''16] g'8[
a'8]
}
Eric
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user