Hi everyone,

One problem with this suggestion that Lilypond does not support the simple use of digits in variable names. As far as I understand, it is because a digit following directly alphabetic characters is interpreted as a duration.

I took me a long time to discover that there is a way out
(and I suggest these feature should be more accessible in the documentation!)

One can use numbered variables using a full-stop mark like these examples
-- soprano.1, soprano.2 ...
-- mel.354, mel.521 -- using the song number in a songbook
May-be other separation marks would work too.
One can also use quote marks for more sophisticated names, but it is more complicated and rather inelegant...

Silvain

Le 30.09.21 à 07:52, Valentin Petzel a écrit :
Hi David,

I'd say singleVoice would even be clearer.
But I think maybe it would also be a good idea if we had a synax like \voice 
number. Currently Lilypond only supports four voices, and any more requires 
knowledge about the scheme interface, but \voice1 \voice2, ... could directly 
support an arbitrary amount of voices.

Cheers,
Valentin

30.09.2021 00:50:41 David Kastrup <d...@gnu.org>:

Lukas-Fabian Moser <l...@gmx.de> writes:

Hi Kira,

Am 30.09.21 um 00:32 schrieb Kira Garvie:
I realize this is a pretty basic question... but what is the
difference between voiceOne and oneVoice? I am writing a multivoice
keyboard-style hymn (as opposed to SATB chorale style) and the
directions say to switch between oneVoice and voiceOne as needed for
stem direction...
"(d) Add voiceOne and oneVoice tags throughout to indicate stem
direction. If
there is no separately stemmed second part at the first note,
oneVoice is assumed."
Do I need to give an example?
\voiceOne sets the layout for the current voice as if it is the first
of several simultaneous voices.
\oneVoice sets the layout for the current voice as if it is an only voice.
It would probably be clearer if we had

\firstVoice and \soleVoice instead of \voiceOne and \oneVoice, respectively.

--
David Kastrup


--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org <http://perso.silvain-dupertuis.org>

Reply via email to