On 06/06/2022 14:10, David Kastrup wrote:
Ah. So now if you do a relative repeat, the contents of the braces are
converted to absolute before the unfold? That's neat.
It never used to be like that, Han Wen wrote that "reset octave"
thingy for me yonks ago (2.4?) because I ran in to that very pro
Wols Lists writes:
>> What do you mean? Something like
>> \relative {
>> \repeat unfold 2 { c' g' }
>> }
>> gives the attached output. As you can see, notes are made
>> relative in order without taking the repeat into account,
>> so both repeats play at the same octave. This is not
>> equivale
On 06/06/2022 11:46, Jean Abou Samra wrote:
Le 06/06/2022 à 12:17, Wols Lists a écrit :
On 01/06/2022 18:03, Simon Bailey wrote:
Here's a weird one. Using this definition in the c,-octave, I get a
really weird output. Each note in the music drops down an octave. In
the c-octave, it works normal
Le 06/06/2022 à 12:17, Wols Lists a écrit :
On 01/06/2022 18:03, Simon Bailey wrote:
Here's a weird one. Using this definition in the c,-octave, I get a
really weird output. Each note in the music drops down an octave. In
the c-octave, it works normally. Using the untagged version of
\repeatCoun
On 01/06/2022 18:03, Simon Bailey wrote:
Here's a weird one. Using this definition in the c,-octave, I get a
really weird output. Each note in the music drops down an octave. In
the c-octave, it works normally. Using the untagged version of
\repeatCounting doesn't show this issue in either octave
mind. officially. blown. :D
Thanks, Jean, for the additional input. I learnt some more ;)
Happy weekending,
sb
On Wed, 1 Jun 2022 at 19:21, Jean Abou Samra wrote:
>
> Le 01/06/2022 à 19:03, Simon Bailey a écrit :
> > Here's a weird one. Using this definition in the c,-octave, I get a
> > really
Le 01/06/2022 à 19:03, Simon Bailey a écrit :
Here's a weird one. Using this definition in the c,-octave, I get a
really weird output. Each note in the music drops down an octave. In
the c-octave, it works normally. Using the untagged version of
\repeatCounting doesn't show this issue in either o
Le 01/06/2022 à 18:19, Simon Bailey a écrit :
Hi,
On Wed, 1 Jun 2022 at 17:09, Jean Abou Samra - jean at abou-samra.fr
wrote:
What did not work? This is perfectly valid Scheme:
(set! count (1+ count))
(set! counter (+ counter 1))
was giving an error message. Probably had some misaligned par
Hi,
On Wed, 1 Jun 2022 at 17:09, Jean Abou Samra - jean at abou-samra.fr
wrote:
> What did not work? This is perfectly valid Scheme:
>
> (set! count (1+ count))
(set! counter (+ counter 1))
was giving an error message. Probably had some misaligned parentheses
or other weirdness. I didn't know a
Le 01/06/2022 à 18:04, Simon Bailey a écrit :
On Wed, 1 Jun 2022 at 16:14, Jean Abou Samra wrote:
1. What is the duration of a measure dependent on the current time signature?
In an engraver :-)
(ly:context-property context 'measureLength)
You can't get it in the music function, since tim
On Wed, 1 Jun 2022 at 16:14, Jean Abou Samra wrote:
> > 1. What is the duration of a measure dependent on the current time
> > signature?
>
> In an engraver :-)
>
> (ly:context-property context 'measureLength)
>
> You can't get it in the music function, since timing is not
> established at that p
Le 01/06/2022 à 17:04, Simon Bailey a écrit :
A bit more work and I now have the following:
\version "2.23.9"
#(set-object-property! 'phrase-length 'backend-type? integer?)
#(define (counter-stencil grob)
(let* ((counter (string->number (ly:grob-property grob 'text)))
(phrase-leng
On Wed, 1 Jun 2022 at 15:50, Jean Abou Samra wrote:
> I tested it with 2.22. There were some changes (by me) in
> the internals of MeasureCounter in 2.23, so it needs to
> be adapted a little:
>
I'll test that in a moment.
> > I intend to wrap that in a music function that does all the override
Le 01/06/2022 à 15:50, Simon Bailey a écrit :
Hi Jean,
thanks for that example. Is it supposed to print any numbers? It's not
doing so in 2.23.9 (windows, frescobaldi).
I tested it with 2.22. There were some changes (by me) in
the internals of MeasureCounter in 2.23, so it needs to
be adapted
Hi Jean,
thanks for that example. Is it supposed to print any numbers? It's not
doing so in 2.23.9 (windows, frescobaldi).
I've come up with a slightly different approach, that's not quite
finished (and not as fancy as creating a new engraver):
#(set-object-property! 'phrase-length 'backend-type
Le 01/06/2022 à 12:25, Simon Bailey a écrit :
Hi,
with a little bit of digging through your manual, i have solved some
of my questions:
#(define (counter-stencil grob)
(let* ((counter (ly:grob-property grob 'text))) ; get the value of
the counter
(ly:stencil-aligned-to
(grob-
Hi,
with a little bit of digging through your manual, i have solved some
of my questions:
#(define (counter-stencil grob)
(let* ((counter (ly:grob-property grob 'text))) ; get the value of
the counter
(ly:stencil-aligned-to
(grob-interpret-markup grob
(markup counter "!")
Hi Jean,
On Wed, 1 Jun 2022 at 10:04, Jean Abou Samra wrote:
> How about doing it like this?
> < SNIP SNIP SNIP>
> <<
>\new Staff \unfoldRepeats \part
>\new Staff \otherPart
> >>
Yeah, I know about unfoldRepeats. But using voltas in a part where
they're not in a score is a big no-no. I r
Le 01/06/2022 à 10:53, Simon Bailey a écrit :
Hi,
There's a handy snippet for counting repeated bars in the manual. But
I'm running into limitations when for instance I'd like to have 2- or
4-bar sections that I'd like to count. Usage example: a bass guitar
has a 4-bar riff that's repeated 8 tim
Hi,
There's a handy snippet for counting repeated bars in the manual. But
I'm running into limitations when for instance I'd like to have 2- or
4-bar sections that I'd like to count. Usage example: a bass guitar
has a 4-bar riff that's repeated 8 times, but I can't use a volta
repeat in the part b
20 matches
Mail list logo