RE: Help with piano tenuto notes

2018-05-20 Thread Mark Stephen Mrotek
Giampaolo,

 

Maybe a \set tieWiatForNote as in the attached?

 

Mark

 

From: lilypond-user [mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] 
On Behalf Of Giampaolo Orrigo
Sent: Sunday, May 20, 2018 10:12 AM
To: lilypond-user 
Subject: Help with piano tenuto notes

 

[Reposting with link to big attachment, instead of attaching it]

 

Hello,

 

I am trying to replicate the notation in the linked picture, but the best I can 
do is to create different voices but when I try I get the attached example. If 
I try to create multiple voices on the last chord, I get too many notehead 
clashes and it doesn't look good at all.

Any suggestion?

 

Thanks!




Giampaolo

 

 https://ibb.co/d3DdFo

 

 

\version "2.18.2"
\language "english"

\header {
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper {
  #(set-paper-size "letter")
}

global = {
  \key a \minor
  \numericTimeSignature
  \time 3/8
}

right = \relative c'' {
  \global
  \set tieWaitForNote = ##t
  a,16 b c e~ c~ b~ 
   
  4.\fermata
  \bar "|."
}

left = \relative c' {
  \global
  % Music follows here.
  a,4.~ a\fermata \bar "|."
}

\score {
  \new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" { \clef bass \left }
  >>
  \layout { }
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Help with piano tenuto notes

2018-05-20 Thread Kieren MacMillan
Hi Giampaolo,

> I am trying to replicate the notation in the linked picture, but the best I 
> can do is to create different voices but when I try I get the attached 
> example. If I try to create multiple voices on the last chord, I get too many 
> notehead clashes and it doesn't look good at all.
> Any suggestion?

Maybe something like this?

%%%  SNIPPET BEGINS
\version "2.18.2"
\language "english"

\header {
  % Remove default LilyPond tagline
  tagline = ##f
}

\paper {
  #(set-paper-size "letter")
}

global = {
  \key a \minor
  \numericTimeSignature
  \time 3/8
}

right = {
  \global
  \mergeDifferentlyHeadedOn
  \mergeDifferentlyDottedOn
  <<
{ \voiceOne  a16 b c' \set tieWaitForNote = ##t e' ~ c' ~ b ~ 4.\fermata }
\\
   \new Voice { \voiceTwo s8. e'8.*1/3 \noBeam c'8*1/2 \noBeam b16  }
>>
  \bar "|."
}

left = \relative c' {
  \global
  a,4.~ a\fermata \bar "|."
}

\score {
  \new PianoStaff <<
\new Staff = "right" \right
\new Staff = "left" { \clef bass \left }
  >>
}
%%%  SNIPPET ENDS

Hope that helps!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user