lilypond-user
[Top][All Lists]
Advanced

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

Re: \transposedCueDuringWithClef


From: Richard Shann
Subject: Re: \transposedCueDuringWithClef
Date: Wed, 27 Aug 2014 10:22:45 +0100

Thanks - I don't quite understand this though:

what dir clef main-music

doesn't seem to have an argument for the transposition and
'quoted-transposition (ly:make-pitch 0 0)
would seem to mean a c c transposition (guessing)
I tried putting it in anyway, putting the clef before the transposition
but got a strange result

\transposedCueDuringWithClef #"flute Mvmnt 1"#1 "bass" a { r2 }

where \transpose c a is the intended transposition (to undo a \transpose
c ees which is applied to the whole score).

Richard


On Wed, 2014-08-27 at 09:29 +0100, Mark Knoop wrote:
> At 09:21 on 27 Aug 2014, Richard Shann wrote:
> >I have just got to grips with the marvellous cue facilities in
> >LilyPond.
> >
> >I can see \cueDuring and \cueDuringWithClef and \transposedCueDuring 
> >but no \transposedCueDuringWithClef in the 2.18 docs and indeed it
> >causes an error.
> >Do I need to create it myself? Or is the idea that you use a suitable
> >transposition interval to bring the notes into the range of the clef in
> >use?
> 
> I made my own in a recent project:
> 
> transposedCueDuringWithClef =
> #(define-music-function
>    (parser location what dir clef main-music)
>    (string? ly:dir? string? ly:music?)
>    (_i "Combine cueDuringWithClef and transposedCueDuring.")
>    (make-music 'QuoteMusic
>          'element main-music
>          'quoted-context-type 'CueVoice
>          'quoted-context-id "cue"
>          'quoted-music-name what
>          'quoted-music-clef clef
>          'quoted-voice-direction dir
>          'quoted-transposition (ly:make-pitch 0 0)))
> 





reply via email to

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