[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5397 Doc: NR

From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5397 Doc: NR - Measure_grouping_engraver needs beatStructure and baseMoment set as well to work as expected
Date: Wed, 08 Aug 2018 07:37:23 -0000

2018-08-07 12:23 GMT+02:00 James Lowe address@hidden:

timeSignatureFraction: (4 . 8)
beatStructure: (2 2)
baseMoment: #<mom 1="" 8="">
beamExceptions: ()</mom>

I have on supplementary based on what you have said.

If you look at one of the original examples (I'll attach it here as well),
you can see engravings for 'single' notes (which may not be the same as
'beats' hence my supplementary.

Indeed, in 4/8 the beat (baseMoment) is 1/8 not 1/4

This is 4/8 time but the notes are crotchets (i.e. 4 not 8) so is this
effectively '2' beats in this context ?

True as well, beatStructure in 4/8 is '(2 2)

So below works as expected:

\new Staff \with { \consists "Measure_grouping_engraver" }
  \time 4/8
  a'4 4

Though, there is another not yet mentioned point.
MeasureGrouping also relies on the actual music rhythmically matching
the beatStructure.

\new Staff \with { \consists "Measure_grouping_engraver" }
  \time 4/8

Will print only one bracket.

To get two brackets a second voice could be inserted, easily:

\new Staff \with { \consists "Measure_grouping_engraver" }
    { \time 4/8 a'2 }
    { s4 s }

No bug I'd say, but likely worth explaining.

Though, why is the a first bracket printed, even if no music
rhythmically matches the beatStructure?
See 3rd measure of:

\new Staff \with { \consists "Measure_grouping_engraver" }
  \time 4/8
  a'4 4
  a'2*7/4 a'8

That I can't explain.


[issues:#5397] Doc: NR - Measure_grouping_engraver needs beatStructure and baseMoment set as well to work as expected

Status: New
Created: Sun Aug 05, 2018 07:37 AM UTC by pkx166h
Last Updated: Wed Aug 08, 2018 07:33 AM UTC
Owner: nobody


while playing with the Measure_grouping_engraver
I noticed ....

I tried to get MeasureGrouping in default 4/4-time, but nothing happened.
One has to set beatStructure and baseMoment accordingly. The current
docs make it sound it should work out of the box, though.

\version "2.19.82"

\new Staff \with { \consists "Measure_grouping_engraver" }
      %% to get MeasureGrouping, next two lines need to be uncommented
    %\set Timing.beatStructure = 4,4
    %\set Score.baseMoment = #(ly:make-moment 1/8)
    \repeat unfold 8 a'8

Sent from because address@hidden is subscribed to

To unsubscribe from further messages, a project admin can change settings at Or, if this is a mailing list, you can unsubscribe from the mailing list.

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
Testlilyissues-auto mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]