[Top][All Lists]

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

Re: Cues (CueVoice) and quoted instrument name : InstrumentSwitch

From: Keith OHara
Subject: Re: Cues (CueVoice) and quoted instrument name : InstrumentSwitch
Date: Sun, 09 Oct 2011 11:07:11 -0700
User-agent: Opera Mail/11.51 (Win32)

On Sun, 09 Oct 2011 04:13:39 -0700, Xavier Scheuer <address@hidden> wrote:

It would be great if someone could "extend" cueDuring

Trevor has made one at 
<> that we might want 
to include by default in LilyPond.  It is used like this:  \cueWhile "violin1" 
"strings" #UP R1

 so it can take *optional* arguments,
I have not yet learned to use David's new facility for optional arguments...

like cueClef,

Clue clefs are rude.  LilyPond will happily set notes in the native clef of the 
instrument receiving the cue.

If the instruments are octaves apart, LilyPond will transpose

% Use this as \trCueWhile "violin1" "strings 8va" #UP c, R1
%% For 2.16 one line will need to change to
%% (string? string? ly:dir? ly:pitch? ly:music?)
trCueWhile =
   (parser location instrument name dir mc music)
   (string? string? ly:dir? ly:music? ly:music?)
      \transposedCueDuring $instrument #$dir $mc {
        \once \override TextScript #'direction = $dir
        \tag #'part s1*0-\markup { \tiny $name }

reply via email to

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