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: Carl Sorensen
Subject: Re: cueDuring and its various settings
Date: Mon, 22 Nov 2010 11:05:15 -0700



On 11/22/10 10:57 AM, "Trevor Daniels" <address@hidden> wrote:

> 
> 
> Carl Sorensen wrote Monday, November 22, 2010 4:54 PM
> 
>> On 11/22/10 9:35 AM, "Reinhold Kainhofer" <address@hidden>
>> wrote:
>> 
>>> Do you have any idea how to properly add options for the
>>> cueDuring command in
>>> LilyPond???
> 
>> 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))
>> 
>> {...}
> 
> Would it not be better to define these properties using
> 
> \addInstrumentDefinition #"flute" ...
> 
> and then simply refer to "flute" in \cueDuring, as
> \instrumentSwitch does?
> 

Yes, of course.  That's a much better solution.

Thanks,

Carl




reply via email to

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