2018-08-07 12:23 GMT+02:00 James Lowe <[email protected]>:

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

>>

> 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
  a'2
}
~~~
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.
Others?


Cheers,
  Harm




---

** [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


Hi,

while playing with the Measure_grouping_engraver
see:
http://lilypond.1069038.n5.nabble.com/changing-symbols-used-by-Measure-grouping-engraver-td215283.html
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 sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/testlilyissues/admin/issues/options.  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, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto
  • [Lilypond-... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto
    • [Lily... Auto mailings of changes to Lily Issues via Testlilyissues-auto

Reply via email to