slur to middle of triplet causes warning

2024-02-02 Thread Butter Cream
Hello,

I am trying to slur to the middle of a triplet, which engraves correclty , but 
gives a warning. I'd like to get rid of the warning for a clean build.
Any solution?

   (e4 d e d |
  \tuplet 3/2 {e8 d) b~} b4 r2 |

log output:

…

warning: Unattached SlurEvent

(e4 d e d |



Interpreting music...

[cid:fc017fcc-5dbc-4dbc-ad63-7377ce5e8622]


Thank you in advance

Steve


Re: Ties across voices; tried two methods

2024-01-24 Thread Butter Cream
Thank you! I will implement your suggestions.

Sent via the Samsung Galaxy S20 FE 5G, an AT 5G smartphone
Get Outlook for Android<https://aka.ms/AAb9ysg>

From: Leo Correia de Verdier 
Sent: Wednesday, January 24, 2024 7:21:29 PM
To: Mark Stephen Mrotek 
Cc: Butter Cream ; lilypond-user@gnu.org 

Subject: Re: Ties across voices; tried two methods

Also: your tie needs to end in the same voice it started. \new Voice and the 
<<\\>> construct both create other voices. If you remove \new Voice = “melody” 
from your first attempt it will work, as the last note of the tie is then in 
the same voice as the first.

25 jan. 2024 kl. 00:37 skrev Mark Stephen Mrotek :



Butter,



Use
\repeatTie

See
https://lilypond.org/doc/v2.22/Documentation/notation/long-repeats#normal-repeats



Mark



From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org 
 On Behalf Of Butter Cream
Sent: Wednesday, January 24, 2024 1:29 PM
To: lilypond-user@gnu.org
Subject: Ties across voices; tried two methods



Hi ponders, I have a piece of music with alternative ending. The last measure 
prior to the alternative is a single voice has a tied note to both endings. I'v 
e tried two methods but both methods produce similar error: {with no tie} Any 
help would be appreciated.



*.ly:100:42: warning: unterminated tie

4 8 ~ 4 r8 bes

 ~ | % m19



[16][16]





I've tried both these methods:

4 8 ~ 4 r8 bes~ | % m19   <-Last measure single voice

  } <- end of repeat Volta 2

  \alternative {

% method one using \new Voice

 { \new Voice = "melody" {

<< { \voiceOne bes8 g4 g8~ g2 }

   \new Voice { \voiceTwo 2 2 }

>> \oneVoice

} | 4 r r2 | % m

   }

{ { \new Voice = "melody" {

<< { \voiceOne bes'8 g4 g8~ g2 }

   \new Voice { \voiceTwo 2 2 }

>> \oneVoice

} | % m

   } 4 r r2 | }

  }

  }



\alternative {

% method two using \\

  { << { bes8 g4 g8~ g2 } \\ { 2 2 } >> | 4 r r2 | }

  { << { bes8 g4 g8~ g2 } \\ { 2 2 } >> | 4 r r2 | }

 }



produces this. with notes not tied.





Thank you.


Ties across voices; tried two methods

2024-01-24 Thread Butter Cream
Hi ponders, I have a piece of music with alternative ending. The last measure 
prior to the alternative is a single voice has a tied note to both endings. I'v 
e tried two methods but both methods produce similar error: {with no tie} Any 
help would be appreciated.

*.ly:100:42: warning: unterminated tie
4 8 ~ 4 r8 bes
 ~ | % m19

[16][16]


I've tried both these methods:
4 8 ~ 4 r8 bes~ | % m19   <-Last measure single voice
  } <- end of repeat Volta 2
  \alternative {
% method one using \new Voice
 { \new Voice = "melody" {
<< { \voiceOne bes8 g4 g8~ g2 }
   \new Voice { \voiceTwo 2 2 }
>> \oneVoice
} | 4 r r2 | % m
   }
{ { \new Voice = "melody" {
<< { \voiceOne bes'8 g4 g8~ g2 }
   \new Voice { \voiceTwo 2 2 }
>> \oneVoice
} | % m
   } 4 r r2 | }
  }
  }

\alternative {
% method two using \\
  { << { bes8 g4 g8~ g2 } \\ { 2 2 } >> | 4 r r2 | }
  { << { bes8 g4 g8~ g2 } \\ { 2 2 } >> | 4 r r2 | }
 }

produces this. with notes not tied.
[cid:e6adac20-74ec-4c19-baf0-ca776f33d2d9]

Thank you.


Transpose from major to minor key

2024-01-10 Thread Butter Cream
Hi, I have a piece of music written in the key of G major and I want the 
pitches to transpose to e minor. How do I do this.

When I use the command \transpose g e it changes to E major (all g notes are 
sharped)

Steve