Hi Urs,

I updated the snippet in oll (master). It compiles with 2.9.15 (and
should with 2.9.16).
There was an old try to automatically insert a timesignature, when the
transposition changed. I tried with broadcast-stream-event (or thelike),
which didn't do the trick. That part is not essentially needed, but it
would be nice, if time-signatures would be printed, when the
instrument-transposition changes.

For now it should work. If there is a problem, when a music-expression
is used more than once, give me another note.

Best, Jan-Peter


On 07.10.2014 12:03, Urs Liska wrote:
> Unfortunately the snippet doesn't run on current LilyPond versions.
>
> Running on 2.18.2 works
>
> Running 2.19.4 throughout 2.9.11 works but gives a warning:
>
> Interpreting music...
>
> warning: Event class should be a list
>
>
> Running 2.19.16 doesn't compile and outputs:
>
> Parsing...
>
> Interpreting
> music.../home/uliska/git/openlilylib/openlilylib/editorial-tools/auto-transpose/definitions.ily:64:18
> <0>: In procedure ly:make-stream-event in expression
> (ly:make-stream-event (quote key-change-event) (quasiquote #)):
>
> /home/uliska/git/openlilylib/openlilylib/editorial-tools/auto-transpose/definitions.ily:64:18
> <1>: Wrong type argument in position 1 (expecting pair): key-change-event
>
>
> When looking in the definitions file I see that there's nothing I can
> do about it, so I have to ask you politely to update that snippet. If
> it can be fixed it would be good to use the
> lilypond-version-predicates from
> https://github.com/openlilylib/openlilylib/tree/master/general-tools/lilypond-version-predicates
> to make the function generally accessible (i.e. execute the right code
> depending on the used LilyPond version).

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to