lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cueDuring and its various settings


From: David Kastrup
Subject: Re: cueDuring and its various settings
Date: Mon, 22 Nov 2010 18:35:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Carl Sorensen <address@hidden> writes:

> I think you define cue-during-details as a music property, and then do
>
> \cueDuring 
> \withMusicProperty #'cue-during-details #(list '(clef . "treble_8")
>                                                '(cue-name . "Vl.1")
>                                                `(transposition .
>                                                  (,ly:make-pitch 1 0 0))
>
> {...}
>
> I haven't tested this, but I think it works.  See
> http://article.gmane.org/gmane.comp.gnu.lilypond.devel/30213.

That's not particularly pretty.  I think I'd like it better to use
something like

\tweak #'clef "treble_8" \tweak #'cue-name "Vl.1"
\cueDuring \transpose c' c { ... }

Namely let \cueDuring produce its own event soaking up tweaks and stuff.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]