Hi Valentin, hi Werner,

> you can use `set!`:
>
> {
>   \afterGrace c' c' \break
>   #(set! afterGraceFraction 999/1000)
>   \afterGrace c' c' \break
>   s1
> }
>
> But note that this may cause race conditions, and `afterGrace` allows
> specifying the ratio as optional first argument. In this sense I would
> deem it
> safer to use that optional argument over going around changing the default
> all
> the time.


The global variable afterGraceFraction has bothered me for some time now.
Shouldn't this be a context property? (Of course, the current
implementation of afterGrace makes this comparatively hard to achieve,
since the fraction is used for determining the length of a skip IIRC.)

Lukas

Reply via email to