[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Problems adding voice with rests
From: Peter Toye <lilypond () ptoye ! com>
Date: 2021-02-17 11:05:52
Message-ID: 1436096728.20210217110552 () ptoye ! com
[Download RAW message or body]
Thanks Andrew - a bit late as you say, and I've already adapted Christian's solution. \
But it's probably the best one.
Best regards,
Peter
mailto:lilypond@ptoye.com
www.ptoye.com
-------------------------
Wednesday, February 17, 2021, 7:35:06 AM, you wrote:
> Chiming in somewhat late. Here is what I typically write. The sort of
> New Complexity music I engrave, I am forever setting stems up and down
> manually, so perhaps this is not a 'normal' or 'proper' style, but it
> works well and quick to do. The virtue of this setting is no messing
> around with hidden notes, which, although useful and essential, I see
> no need for here.
> There's always more than one way to do it! TAMTOWTDI! (apologies to Perl).
> Andrew
> %====
> \version "2.23.0"
> {
> \clef bass
> \time 12/8
> <<
> {
> \stemDown
> e,2. _~
> \stemUp
> <e, _~ b, ^~>4. <e, b,>4 b,,8 |
> \stemDown
> e,,2. _~
> e,,2.
> }
> \new Voice
> {
> \shiftOff
> b,4.^\(^~ b,8 c e s2. |
> \stemDown
> \override Stem.length = #6
> e,2.\) _~ e,2.
> }
> \new Voice
> {
> s2. s2. |
> f4.\rest
> }
>>>
> }
> %====
> On Tue, 16 Feb 2021 at 02:28, Peter Toye <lilypond@ptoye.com> wrote:
> >
> > I'm trying to set this piece of slightly strange voice writing (see attachment).
> >
> > It obviously needs three voices: one for the lower line (voice 2), one for the \
> > upper line (voice 1) and a third for the rest at the end.
> > The closest I've got is below, but this has two problems with the final beat:
> >
> > 1 - The bass octave is shifted right.
> > 2 - The rest and its dot are separated.
> >
> > Playing about with \shiftOff and changing or omitting \VoiceOne have no effect. \
> > Obviously I'm doing something stupid but can't work out what it is.
> > Incidentally, neither the Learning nor Notation manuals say how to cancel a \hide \
> > instruction. I'm a bit surprised to find that there isn't an \unhide command!
> > \version "2.19.83"
> >
> > \language "english"
> >
> > {
> > \time 12/8
> > \clef "bass"
> > <<
> >
> > \relative {
> > b,4.~( 8 c e <b~ e,>4. 4 b,8 |
> > <<
> > \hideNotes e4.)
> > \new Voice {
> > \voiceOne
> > \absolute f4.\rest
> > }
> > > >
> > }
> > \\
> > \relative
> > {
> > e,2.~ \hide Stem 4.~ 4 \revert Voice.Stem.transparent s8 |
> > <e e,>2. s2.
> > }
> > > >
> > }
> >
> > Regards,
> >
> > Peter
> > mailto:lilypond@ptoye.com
> > www.ptoye.com
[Attachment #3 (text/html)]
<html><head><title>Re: Problems adding voice with rests</title>
<meta charset="utf-8" http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; \
IE=EDGE" /> </head>
<body>
<span style=" font-size: 10pt;">Thanks Andrew - a bit late as you say, and I've \
already adapted Christian's solution. But it's probably the best one.<br> <br>
<br>
Best regards,<br>
<br>
Peter<br>
mailto:lilypond@ptoye.com<br>
www.ptoye.com<br>
<br>
-------------------------<br>
Wednesday, February 17, 2021, 7:35:06 AM, you wrote:<br>
<br>
> Chiming in somewhat late. Here is what I typically write. The sort of<br>
> New Complexity music I engrave, I am forever setting stems up and down<br>
> manually, so perhaps this is not a 'normal' or 'proper' style, but it<br>
> works well and quick to do. The virtue of this setting is no messing<br>
> around with hidden notes, which, although useful and essential, I see<br>
> no need for here.<br>
<br>
> There's always more than one way to do it! TAMTOWTDI! (apologies to Perl).<br>
<br>
<br>
> Andrew<br>
<br>
<br>
> %====<br>
<br>
> \version "2.23.0"<br>
<br>
> {<br>
> \clef bass<br>
> \time 12/8<br>
> <<<br>
> {<br>
> \stemDown<br>
> e,2. _~<br>
> \stemUp<br>
> <e, _~ b, ^~>4. <e, b,>4 b,,8 |<br>
> \stemDown<br>
> e,,2. _~<br>
> e,,2.<br>
> }<br>
> \new Voice<br>
> {<br>
> \shiftOff<br>
> b,4.^\(^~ b,8 c e s2. |<br>
> \stemDown<br>
> \override Stem.length = #6<br>
> e,2.\) _~ e,2.<br>
> }<br>
> \new Voice<br>
> {<br>
> s2. s2. |<br>
> f4.\rest<br>
> }<br>
>>><br>
> }<br>
<br>
> %====<br>
<br>
> On Tue, 16 Feb 2021 at 02:28, Peter Toye <lilypond@ptoye.com> wrote:<br>
>><br>
>> I'm trying to set this piece of slightly strange voice writing (see \
attachment).<br> >><br>
>> It obviously needs three voices: one for the lower line (voice 2), one for \
the upper line (voice 1) and a third for the rest at the end.<br> >><br>
>> The closest I've got is below, but this has two problems with the final \
beat:<br> >><br>
>> 1 - The bass octave is shifted right.<br>
>> 2 - The rest and its dot are separated.<br>
>><br>
>> Playing about with \shiftOff and changing or omitting \VoiceOne have no \
effect. Obviously I'm doing something stupid but can't work out what it is.<br> \
>><br> >> Incidentally, neither the Learning nor Notation manuals say how \
to cancel a \hide instruction. I'm a bit surprised to find that there isn't an \
\unhide command!<br> >><br>
>> \version "2.19.83"<br>
>><br>
>> \language "english"<br>
>><br>
>> {<br>
>> \time 12/8<br>
>> \clef "bass"<br>
>> <<<br>
>><br>
>> \relative {<br>
>> b,4.~( 8 c e <b~ e,>4. 4 b,8 |<br>
>> <<<br>
>> \hideNotes e4.)<br>
>> \new Voice {<br>
>> \voiceOne<br>
>> \absolute f4.\rest<br>
>> }<br>
>> >><br>
>> }<br>
>> \\<br>
>> \relative<br>
>> {<br>
>> e,2.~ \hide Stem 4.~ 4 \revert Voice.Stem.transparent \
s8 |<br> >> <e e,>2. s2.<br>
>> }<br>
>> >><br>
>> }<br>
>><br>
>> Regards,<br>
>><br>
>> Peter<br>
>> mailto:lilypond@ptoye.com<br>
>> www.ptoye.com<br>
</body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic