[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change stem direction for voice?
From: |
William Rehwinkel |
Subject: |
Re: Change stem direction for voice? |
Date: |
Sun, 25 Aug 2024 16:45:38 -0400 |
User-agent: |
Mozilla Thunderbird |
Dear Stefano,
See the attached example which may fix what you have in mind. In it the
default lilypond procedure "make-voice-props-set" (which is called when
you use << // >> as well as \voiceOne \voiceTwo etc.) is overwritten so
that Stems are always up.
Thanks, let me know if this is what you were intending
-William
On 8/25/24 03:55, Stefano Antonelli wrote:
Hello List,
Is it possible to change the stem direction for an entire voice from a
context? Something like this doesn't work:
\layout {
\context Voice = "voiceTwo" {
\override Stem.direction = #UP
\override Slur.direction = #DOWN
\override Beam #'positions = #'(5 . 5)
}
}
The Beam position appears to work, but not the stem or slur directions.
I read somewhere that:
\stemUp expands to \override Stem.direction = #UP
So that's why I'm using it.
I'm also experimenting with voiceTwo because it defaults to stems down.
And I'd like voiceTwo to be stems up.
If it can't be done through contexts, is there any way to force stem
directions for a given voice without adding \stemUp or \stemDown to the
notes themselves?
Thanks,
Stef
--
William Rehwinkel (any pronouns)
Juilliard School '26 - Oberlin Conservatory '24
william@williamrehwinkel.net - https://williamrehwinkel.net
PGP Public Key: https://ftp.williamrehwinkel.net/pubkey.txt
vt.ly
Description: Text document
OpenPGP_signature.asc
Description: OpenPGP digital signature