lilypond-user
[Top][All Lists]

## Re: subbeams in tuplets [fr: barres de notes dans un triolet]

 From: Mats Bengtsson Subject: Re: subbeams in tuplets [fr: barres de notes dans un triolet] Date: Mon, 12 Feb 2007 10:18:06 +0100 User-agent: Thunderbird 1.5.0.9 (X11/20061206)

I just managed to solve the automatic beaming problem as well:
\version "2.10.16"
\layout {
ragged-right = ##t
}
\score {
\relative c'' {
\time 1/4
\set Timing.beatLength = #(ly:make-moment 1 12)
#(override-auto-beam-setting '(end 1 24 * *) 1 4)
#(override-auto-beam-setting '(end 1 12 * *) 1 4)
\times 4/6 { d8^"desired behaviour?" e16 d16 e16 d16}
}
}

/Mats

Mats Bengtsson wrote:

This subdivision is based on the beatLength property, so the first
step to a solution is
\set Timing.beatLength = #(ly:make-moment 1 12)

However, then the automatic beaming algorithm will unfortunately
split the beams so you get one beam per beat. Ufortunately, I didn't
find any way to persuade LilyPond to keep longer beams, but it's
probably possible in some way. You can always specify the beams
manually, though

\relative c''{
\time 1/4
\set Timing.beatLength = #(ly:make-moment 1 12)
\times 4/6 { d8[^"hopefully desired behaviour" e16 d16 e16 d16]} \break
}

/Mats

Jean-Charles wrote:

Le 11.02.2007 13:49, philippe hezaine disait on the French ML:

Bonjour,

\version "2.10.16"
Quelqu'un sait-il comment, dans le  sextolet, je peux obtenir
une croche et 4 doubles sans que les barres soient détachées?


The problem: a  4/4 measure containing a tuplet composed of
1 eighth note and 4 sixteenth beamed 1-1-3 instead of 1-4.


I have tried many solutions (makemoment, stemLfetBeam and stemRightBeam...) without success


Here is the code and the image of what we would like to obtain.

TIA

Jean-Charles
------------------------------------------------------------------------

\version "2.10.16"
\paper {
#(define dump-extents #t)
force-assignment = #""
indent = 0\mm
line-width = 60\mm
line-width = #(- line-width (* mm  3.000000))
}
title = "Subbeam in tuplets"
}
\score { \relative c'' {
\time 1/4
\times 4/6 { d8^"automatic behaviour" e16 d16 e16 d16} \break
\times 4/6 { d16^"detailed version"~d e d e d } \break
\time 3/8
d8[^"how I would like it" e16 d16 e d]
}
\layout {ragged-right = ##t}
}


------------------------------------------------------------------------

------------------------------------------------------------------------

_______________________________________________
lilypond-user mailing list
http://lists.gnu.org/mailman/listinfo/lilypond-user




--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax:   (+46) 8 790 7260