Re: Unterminated terminated tie

2023-04-18 Thread Mike Dean
It took some digesting, but it behaves as desired:
[image: image.png]
Thanks!
Mike Dean


On Mon, Apr 17, 2023 at 11:49 PM Jean Abou Samra  wrote:

> Le lundi 17 avril 2023 à 16:46 -0700, Mike Dean a écrit :
>
> I am needing to figure out how to best tie a note...
>
> \version "2.24.0"
>   \relative c' {
>   \key af \major
>   \time 2/4
>   \tempo "Not fast"
>ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
>\repeat volta 2 {
>  c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
>  bf'16 (af8) bf16 (af) bf (af) ef!~
>  << { ef2}
> \
> { r8 ef,16 (f g af bf b) }
>  >>
>
> I am getting an unterminated tie warning: C:/Users/Mike
> Dean/Documents/musicwork/Lilypond/The-Easy-Winners-melody.ly:19:39
> : warning: unterminated tie bf'16 (af8) bf16 (af) bf (af) ef! ~
> and the tie needs to go from the ef! to the ef2 in the top of the
> simultaneous voice.
> I have a couple of other instances where I need to do likewise, so any
> help will be welcome. Thanks.
>
> Try
>
> \version "2.24.1"
> \language english
>
> \relative c' {
>   \key af \major
>   \time 2/4
>   \tempo "Not fast"
>   ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
>   \repeat volta 2 {
> c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
> bf'16 (af8) bf16 (af) bf (af) ef!~
> <<
>   { \voiceOne ef2}
>   \new Voice { \voiceTwo r8 ef,16 (f g af bf b) }
> >>
> \oneVoice
>   }
> }
>
> A tie must end in the same voice as the voice it has been created in. The <<
> \\ >> construct creates a new voice for *all* of the inner expressions.
> Instead, you should use the more verbose form with \new Voice, \oneVoice,
> \voiceTwo and \oneVoice. Note that the first expression in the << >>
> construct doesn't have \new Voice, that's the whole point. That means it
> continues the previous voice context.
>


Re: RE: Unterminated terminated tie

2023-04-18 Thread Mats Bengtsson



On 2023-04-18 15:01, Mark Stephen Mrotek wrote:


Mike,

Try using \stemDown

Mark

First try Jean's suggestion! In general, it's better to use \voiceOne, 
\voiceTwo,  (which is implicitly done by the <<{...} \\ {...}>> 
construct) which sets the direction not only on stems but also on lots 
of other details, which mostly gives the desired result according to 
standard typesetting practice. Only use \stemDown if you have special 
reasons to only set the stem directions, nothing else. See 
http://lilypond.org/doc/v2.24/Documentation/learning/explicitly-instantiating-voices 
for more explanations.


   /Mats


*From:*lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] *On Behalf 
Of *Mike Dean

*Sent:* Monday, April 17, 2023 8:03 PM
*To:* Lilypond-User Mailing List 
*Subject:* Re: Unterminated terminated tie

Mark: That has helped some

.

\version "2.24.0"

\relative c' {
  \key af \major
  \time 2/4
  \tempo "Not fast"
   ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
     c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
          << { bf'16 (af8) bf16 (af) bf (af) ef!~ ef2}
        \\
        { s2 r8 ef,16 (f g af bf b) }
     >>

image.png

But with the spacer rests, I want to get the beams pointing downward

 << { _[ bf'16 (af8) bf16] _[ (af) bf (af) ef!~ef2] }
        \\
        { s2 r8 ef,16 (f g af bf b) }
     >>

The above doesn't seem to be the best way of doing it

Mike Dean

On Mon, Apr 17, 2023 at 7:25 PM Mark Stephen Mrotek 
 wrote:


Mike,

One way is to start the lower voice one measure earlier and use a
spacer.

See below.

Mark

*From:*lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark
<mailto:lilypond-user-bounces%2Bcarsonmark>=ca.rr@gnu.org] *On
Behalf Of *Mike Dean
*Sent:* Monday, April 17, 2023 4:47 PM
*To:* Lilypond-User Mailing List 
*Subject:* Unterminated terminated tie

I am needing to figure out how to best tie a note...

\version "2.24.0"

\relative c' {
  \key af \major
  \time 2/4
  \tempo "Not fast"
   ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g
af8 r r4
   \repeat volta 2 {
     c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
          << { bf'16 (af8) bf16 (af) bf (af) ef!~ ef2}
        \\
        {s2 r8 ef,16 (f g af bf b) }
     >>

I am getting an unterminated tie warning:

C:/Users/Mike
Dean/Documents/musicwork/Lilypond/The-Easy-Winners-melody.ly:19:39
: warning: unterminated tie

bf'16 (af8) bf16 (af) bf (af) ef!

~

and the tie needs to go from the ef! to the ef2 in the top of the
simultaneous voice.

I have a couple of other instances where I need to do likewise, so
any help will be welcome. Thanks.

Mike Dean





RE: Unterminated terminated tie

2023-04-18 Thread Mark Stephen Mrotek
Mike,

 

Try using \stemDown

Mark

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of Mike 
Dean
Sent: Monday, April 17, 2023 8:03 PM
To: Lilypond-User Mailing List 
Subject: Re: Unterminated terminated tie

 

Mark: That has helped some

.

 

\version "2.24.0"

  \relative c' {
  \key af \major
  \time 2/4
  \tempo "Not fast"
   ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
 c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
  << { bf'16 (af8) bf16 (af) bf (af) ef!~ ef2}
\\
{ s2 r8 ef,16 (f g af bf b) }
 >>



But with the spacer rests, I want to get the beams pointing downward

 

 << { _[ bf'16 (af8) bf16] _[ (af) bf (af) ef!~ef2] }
\\
{ s2 r8 ef,16 (f g af bf b) }
 >>

The above doesn't seem to be the best way of doing it

Mike Dean

 

 

On Mon, Apr 17, 2023 at 7:25 PM Mark Stephen Mrotek mailto:carsonm...@ca.rr.com> > wrote:

Mike,

One way is to start the lower voice one measure earlier and use a spacer.

See below.

 

Mark

 

 

 

From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
<mailto:ca.rr@gnu.org>  [mailto:lilypond-user-bounces+carsonmark 
<mailto:lilypond-user-bounces%2Bcarsonmark> =ca.rr@gnu.org 
<mailto:ca.rr@gnu.org> ] On Behalf Of Mike Dean
Sent: Monday, April 17, 2023 4:47 PM
To: Lilypond-User Mailing List mailto:lilypond-user@gnu.org> >
Subject: Unterminated terminated tie

 

I am needing to figure out how to best tie a note...

 

\version "2.24.0"

  \relative c' {
  \key af \major
  \time 2/4
  \tempo "Not fast"
   ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4 
   \repeat volta 2 {
 c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8) 
  << { bf'16 (af8) bf16 (af) bf (af) ef!~ ef2}
\\
{ s2 r8 ef,16 (f g af bf b) }
 >>

 

I am getting an unterminated tie warning:

  C:/Users/Mike 
Dean/Documents/musicwork/Lilypond/The-Easy-Winners-melody.ly:19:39: warning: 
unterminated tie

bf'16 (af8) bf16 (af) bf (af) ef!

~

and the tie needs to go from the ef! to the ef2 in the top of the simultaneous 
voice.

I have a couple of other instances where I need to do likewise, so any help 
will be welcome. Thanks.

 

Mike Dean



Re: Unterminated terminated tie

2023-04-18 Thread Jean Abou Samra
Le lundi 17 avril 2023 à 16:46 -0700, Mike Dean a écrit :
> I am needing to figure out how to best tie a note...
> 
> \version "2.24.0"  
>   \relative c' {  
>   \key af \major  
>   \time 2/4  
>   \tempo "Not fast"  
>    ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4  
>    \repeat volta 2 {  
>      c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)  
>      bf'16 (af8) bf16 (af) bf (af) ef!~  
>      << { ef2}  
>         \\  
>         { r8 ef,16 (f g af bf b) }  
>      >>
> 
> I am getting an unterminated tie warning:
> [C:/Users/Mike 
> Dean/Documents/musicwork/Lilypond/The-Easy-Winners-melody.ly:19:39](0): 
> warning: unterminated tie
>  bf'16 (af8) bf16 (af) bf (af) ef!
>   ~  
> and the tie needs to go from the ef! to the ef2 in the top of the 
> simultaneous voice.  
> I have a couple of other instances where I need to do likewise, so any help 
> will be welcome. Thanks.


Try

```
\version "2.24.1"
\language english

\relative c' {
  \key af \major
  \time 2/4
  \tempo "Not fast"
  ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4 
  \repeat volta 2 {
c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8) 
bf'16 (af8) bf16 (af) bf (af) ef!~
<<
  { \voiceOne ef2}
  \new Voice { \voiceTwo r8 ef,16 (f g af bf b) }
>>
\oneVoice
  }
}
```

A tie must end in the same voice as the voice it has been created in. The `<< 
\\ >>` construct creates a new voice for *all* of the inner expressions. 
Instead, you should use the more verbose form with `\new Voice`, `\oneVoice`, 
`\voiceTwo` and `\oneVoice`. Note that the first expression in the `<< >>` 
construct doesn't have `\new Voice`, that's the whole point. That means it 
continues the previous voice context.



signature.asc
Description: This is a digitally signed message part


Re: Unterminated terminated tie

2023-04-17 Thread Mike Dean
Mark: That has helped some

\version "2.24.0"

  \relative c' {
  \key af \major
  \time 2/4
  \tempo "Not fast"
   ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
 c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
  << { bf'16 (af8) bf16 (af) bf (af) ef!~ ef2}
\\
{ s2 r8 ef,16 (f g af bf b) }
 >>
[image: image.png]
But with the spacer rests, I want to get the beams pointing downward

 << { _[ bf'16 (af8) bf16] _[ (af) bf (af) ef!~ef2] }
\\
{ s2 r8 ef,16 (f g af bf b) }
 >>
The above doesn't seem to be the best way of doing it
Mike Dean


On Mon, Apr 17, 2023 at 7:25 PM Mark Stephen Mrotek 
wrote:

> Mike,
>
> One way is to start the lower voice one measure earlier and use a spacer.
>
> See below.
>
>
>
> Mark
>
>
>
>
>
>
>
> *From:* lilypond-user-bounces+carsonmark=ca.rr@gnu.org [mailto:
> lilypond-user-bounces+carsonmark=ca.rr@gnu.org] *On Behalf Of *Mike
> Dean
> *Sent:* Monday, April 17, 2023 4:47 PM
> *To:* Lilypond-User Mailing List 
> *Subject:* Unterminated terminated tie
>
>
>
> I am needing to figure out how to best tie a note...
>
>
>
> \version "2.24.0"
>
>   \relative c' {
>   \key af \major
>   \time 2/4
>   \tempo "Not fast"
>ef8 c' ~c16 bf af g f ef8 df16 c8 bf16 af g af bf c df ef f g af8 r r4
>\repeat volta 2 {
>  c8 c4 ef8 f16 (ef8) f16 (ef) f16 (ef8)
>   << { bf'16 (af8) bf16 (af) bf (af) ef!~ ef2}
> \\
> { s2 r8 ef,16 (f g af bf b) }
>  >>
>
>
>
> I am getting an unterminated tie warning:
>
> C:/Users/Mike
> Dean/Documents/musicwork/Lilypond/The-Easy-Winners-melody.ly:19:39
> : warning: unterminated tie
>
> bf'16 (af8) bf16 (af) bf (af) ef!
>
> ~
>
> and the tie needs to go from the ef! to the ef2 in the top of the
> simultaneous voice.
>
> I have a couple of other instances where I need to do likewise, so any
> help will be welcome. Thanks.
>
>
>
> Mike Dean
>