Measure Repeat Counter

2014-08-27 Thread Richard Shann
In the 2.18 docs there is a syntax for placing a counter above repeated measures: \relative c'' { \set countPercentRepeats = ##t \repeat percent 4 { c1 } } Is there something for doing this for written-out repeated measures? The sort of example I have in mind is { c'1~ | c'~ | c'~ | c'~ | c'

Re: Measure Repeat Counter

2014-08-27 Thread James
On 27/08/14 17:07, Richard Shann wrote: In the 2.18 docs there is a syntax for placing a counter above repeated measures: \relative c'' { \set countPercentRepeats = ##t \repeat percent 4 { c1 } } Is there something for doing this for written-out repeated measures? The sort of example I ha

Re: Measure Repeat Counter

2014-08-27 Thread Richard Shann
On Wed, 2014-08-27 at 18:47 +0100, James wrote: > On 27/08/14 18:46, James wrote: > > On 27/08/14 17:07, Richard Shann wrote: > >> In the 2.18 docs there is a syntax for placing a counter above repeated > >> measures: > >> > >> \relative c'' { > >>\set countPercentRepeats = ##t > >>\repeat

Re: Measure Repeat Counter

2014-08-27 Thread James
On 27/08/14 18:46, James wrote: On 27/08/14 17:07, Richard Shann wrote: In the 2.18 docs there is a syntax for placing a counter above repeated measures: \relative c'' { \set countPercentRepeats = ##t \repeat percent 4 { c1 } } Is there something for doing this for written-out repeated m

Re: Measure Repeat Counter

2014-08-27 Thread James
On 27/08/14 18:47, James wrote: On 27/08/14 18:46, James wrote: On 27/08/14 17:07, Richard Shann wrote: In the 2.18 docs there is a syntax for placing a counter above repeated measures: \relative c'' { \set countPercentRepeats = ##t \repeat percent 4 { c1 } } Is there something for doin

Re: Measure Repeat Counter

2014-08-27 Thread Richard Shann
Thanks - that would do it, but it is too cumbersome I think. If there is nothing already for this, I guess a music function could be written, so that \startMeasureCounter { c'1~ | c'~ | c'~ | c'~ | c'~ | c'~ | c' } would put the numbers above the bars of the music argument. To do this I guess I w

Re: Measure Repeat Counter

2014-08-27 Thread David Nalesnik
On Wed, Aug 27, 2014 at 12:50 PM, Richard Shann wrote: > > > Something like > > { \startMeasureCounter c'1~ | c'~ | c'~ | c'~ | c'~ | c'~ | c' > \endMeasureCounter } > > would result in numbers 1, 2, 3 being placed centered above each > measure. > > Richard > Yes, close. See: http://lilypond.o

Re: Measure Repeat Counter

2014-08-27 Thread Janek Warchoł
2014-08-27 19:48 GMT+02:00 James : > On 27/08/14 18:47, James wrote: > Perhaps this one? > > http://lsr.di.unimi.it/LSR/Item?id=473 > > :) You don't need to "abuse" PercentRepeats - there's a dedicated functionality: { c'1~ | \startMeasureCount c'~ | c'~ | c'~ | c'~ \stopMeasureCount | c'~ | c' }

Re: Measure Repeat Counter

2014-08-27 Thread David Nalesnik
On Wed, Aug 27, 2014 at 1:02 PM, Janek Warchoł wrote: > > You don't need to "abuse" PercentRepeats - there's a dedicated > functionality: > > { c'1~ | \startMeasureCount c'~ | c'~ | c'~ | c'~ \stopMeasureCount | c'~ > | c' } > > \layout { > \context { > \Staff > \consists #Measure_counte

Re: Measure Repeat Counter

2014-08-27 Thread Richard Shann
Thanks! That's perfect. Richard On Wed, 2014-08-27 at 13:01 -0500, David Nalesnik wrote: > > > > On Wed, Aug 27, 2014 at 12:50 PM, Richard Shann > wrote: > > > > Something like > > { \startMeasureCounter c'1~ | c'~ | c'~ | c'~ | c'~ | c'~ | c