Re: subbeams in tuplets

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: subbeams in tuplets

Jean-Charles Malahieude
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))
}
      \header {
       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
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user

tuplet-subbeam.png (13K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: subbeams in tuplets

Mark Knoop-4
At 18:48 on 11 Feb 2007, Jean-Charles <[hidden email]> 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

I was going to suggest using \times 2/3 instead of 4/6, but tested it
first and got the same results. This would seem to be a bug to me: a
quaver triplet should not beam as two groups of three semiquavers.

--
Mark Knoop


_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: subbeams in tuplets

Mats Bengtsson-4
In reply to this post by Jean-Charles Malahieude
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))
> }
>       \header {
>        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
> [hidden email]
> 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
        Email: [hidden email]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: subbeams in tuplets

Mats Bengtsson-4
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))
>> }
>>       \header {
>>        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
>> [hidden email]
>> 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
        Email: [hidden email]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user
Reply | Threaded
Open this post in threaded view
|

Re: subbeams in tuplets

Jean-marc LEGRAND
In reply to this post by Mats Bengtsson-4




Bonjour, Hi !

\set Timing.beatLength = #(ly:make-moment 1 12)
 \times 2/3 { d8 [e16 d16 e16 d16]}
\times 2/3 { d8. [e16 d8] }
  \times 2/3 { d8 [e16 d16 e16 d16]}

is OK. I have used simple [ ] to get the right beaming.

This solution is much better than mine !

Regards

JMarc


                                                                       
             Mats Bengtsson                                            
             <[hidden email]>                                
             Envoyé par :                                                                         A
             lilypond-user-fr-bounces+je         Jean-Charles <[hidden email]>
             an-marc.legrand=total.com@g                                                         cc
             nu.org                              lilypondeurs <[hidden email]>,
                                                 lilypond-user <[hidden email]>
                                                                                              Objet
             12/02/2007 10:11                    Re: subbeams in tuplets [fr: barres de notes dans
                                                 un triolet]          
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       




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))
> }
>       \header {
>        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
> [hidden email]
> 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
             Email: [hidden email]
             WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
liste de diffusion lilypond-user-fr
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user-fr




_______________________________________________
lilypond-user mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/lilypond-user