tuplet beam

2015-06-02 Thread Stephen MacNeil
use [ ]

eg

%%%

\version 2.18.0


\score {

\new PianoStaff 

\new Staff = upper

\relative c'' {

\clef treble

\key g \major

\time 6/8

\tempo \markup {Variation 5}


 \set Timing.beamExceptions = #'()

\set Timing.baseMoment = #(ly:make-moment 1/8)

\set Timing.beatStructure = #'(1 1 1 1 1 1 )

\override TupletNumber #'stencil = ##f

\override TupletBracket #'bracket-visibility = ##f

  \partial 8 r8 |

\tuplet 3/2 {r16 d'-3 c b [bes-3 a] } g8-.

\tuplet 3/2 {r16 c-3 b a [gis g-2 ]} fis8-. |

   }

 \new Staff = lower

\relative c {

\clef bass

\key g \major

\time 6/8

 \partial 8 \clef treble  b''_3 d-1 8^. |

   }

 

 }

%%%


HTH

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


Re: tuplet beam

2015-06-02 Thread Stephen MacNeil
your welcome

Stephen

On Tue, Jun 2, 2015 at 12:05 PM, Mark Stephen Mrotek carsonm...@ca.rr.com
wrote:

 Stephen,



 Thank you .



 Mark



 *From:* Stephen MacNeil [mailto:classicalja...@gmail.com]
 *Sent:* Tuesday, June 02, 2015 4:49 AM
 *To:* carsonm...@ca.rr.com; Lilypond-User Mailing List
 *Subject:* tuplet beam



 use [ ]

 eg

 %%%

 \version 2.18.0



 \score {

 \new PianoStaff 

 \new Staff = upper

 \relative c'' {

 \clef treble

 \key g \major

 \time 6/8

 \tempo \markup {Variation 5}



 \set Timing.beamExceptions = #'()

 \set Timing.baseMoment = #(ly:make-moment 1/8)

 \set Timing.beatStructure = #'(1 1 1 1 1 1 )

 \override TupletNumber #'stencil = ##f

 \override TupletBracket #'bracket-visibility = ##f

 \partial 8 r8 |

 \tuplet 3/2 {r16 d'-3 c b [bes-3 a] } g8-.

 \tuplet 3/2 {r16 c-3 b a [gis g-2 ]} fis8-. |

 }

 \new Staff = lower

 \relative c {

 \clef bass

 \key g \major

 \time 6/8

 \partial 8 \clef treble  b''_3 d-1 8^. |

 }

 

 }

 %%%



 HTH

 Stephen



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


RE: tuplet beam

2015-06-02 Thread Mark Stephen Mrotek
Stephen, 

 

Thank you .

 

Mark

 

From: Stephen MacNeil [mailto:classicalja...@gmail.com] 
Sent: Tuesday, June 02, 2015 4:49 AM
To: carsonm...@ca.rr.com; Lilypond-User Mailing List
Subject: tuplet beam

 

use [ ]

eg 

%%%

\version 2.18.0

 

\score {

\new PianoStaff 

\new Staff = upper

\relative c'' {

\clef treble

\key g \major

\time 6/8

\tempo \markup {Variation 5}

 

\set Timing.beamExceptions = #'()

\set Timing.baseMoment = #(ly:make-moment 1/8)

\set Timing.beatStructure = #'(1 1 1 1 1 1 )

\override TupletNumber #'stencil = ##f

\override TupletBracket #'bracket-visibility = ##f

\partial 8 r8 |

\tuplet 3/2 {r16 d'-3 c b [bes-3 a] } g8-.

\tuplet 3/2 {r16 c-3 b a [gis g-2 ]} fis8-. |

}

\new Staff = lower

\relative c {

\clef bass

\key g \major

\time 6/8

\partial 8 \clef treble  b''_3 d-1 8^. |

}

 

}

%%%

 

HTH

Stephen

 

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


Re: tuplet beam

2015-06-01 Thread Simon Albrecht

Hello Mark,

Am 01.06.2015 um 21:18 schrieb Mark Stephen Mrotek:


Hello,

The attached snippet, tuplet beam, produces the tuplets grouped in 
three sixteenths, as I want.


When I copy and paste the code into the score, 6 Var WoO 70(5), the 
beaming changes.


This is because the settings of the other staff, made through \time 6/8, 
take precedence, for whatever reason. Use a \global variable in every 
staff to avoid this, as seen in the attachment. There are some comments 
inline.
There is a subtle change in behaviour also: The code you gave would have 
beamed 16[ 16] 16[ 16] 16[ 16], the one I made would give 16[ 16 16 16 
16 16] as by default, which is probably preferable.
Admittedly, http://lilypond.org/doc/v2.18/Documentation/notation/beams 
is long and difficult to wrap one’s head around, but once read 
thoroughly and understood, everything will (probably) be clear.


HTH, Simon
\version 2.18.0

global = {
  \key g \major
  \time 6/8
  \partial 8
  % baseMoment is 1/8 by default (determined from the denominator of the time signature)
  % no need to set beatStructure either
  % beamExceptions for 6/8 are not set by default (see scm/time-signature-settings.scm)
  \set Timing.beamExceptions = #'((end . (((1 . 24) . (3 3 3 3 3 3)
  % the following is the same in 2.19.x syntax
  %\set Timing.beamExceptions = \beamExceptions {
  %  \scaleDurations 2/3 { \repeat unfold 6 { 16[ 16 16] } } }
}


\score {
  \new PianoStaff 
\new Staff = upper
\relative c'' {
  \global
  %\clef treble
  \override TupletNumber #'stencil = ##f
  \override TupletBracket #'bracket-visibility = ##f
  % I’d use a markup for naming the variation.
  r8^\markup \bold { Variation 5 } |
  \tuplet 3/2 { r16 d'-3 c b bes-3 a } g8-.
  \tuplet 3/2 { r16 c-3 b a gis g-2 } fis8-. |
}
\new Staff = lower
\relative c {
  \global
  %\clef treble
  b''_3 d-18-. |
  d16 b c a b g  a g fis e d c |
  b
}
  
}


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


RE: tuplet beam

2015-06-01 Thread Mark Stephen Mrotek
Simon,

 

Thank you for your response and the corrections you supplied. I need to read
through it and compare it to output to understand the relationships between
the code and the notation. Always learning!

 

Mark

 

From: Simon Albrecht [mailto:simon.albre...@mail.de] 
Sent: Monday, June 01, 2015 2:14 PM
To: Mark Stephen Mrotek; lilypond-user@gnu.org
Subject: Re: tuplet beam

 

Hello Mark,

Am 01.06.2015 um 21:18 schrieb Mark Stephen Mrotek:

Hello,

 

The attached snippet, tuplet beam, produces the tuplets grouped in three
sixteenths, as I want.

When I copy and paste the code into the score, 6 Var WoO 70(5), the beaming
changes.

This is because the settings of the other staff, made through \time 6/8,
take precedence, for whatever reason. Use a \global variable in every staff
to avoid this, as seen in the attachment. There are some comments inline.
There is a subtle change in behaviour also: The code you gave would have
beamed 16[ 16] 16[ 16] 16[ 16], the one I made would give 16[ 16 16 16 16
16] as by default, which is probably preferable.
Admittedly,  http://lilypond.org/doc/v2.18/Documentation/notation/beams
http://lilypond.org/doc/v2.18/Documentation/notation/beams is long and
difficult to wrap one's head around, but once read thoroughly and
understood, everything will (probably) be clear.

HTH, Simon

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