On Sat, Aug 15, 2015 at 04:55:19PM +0200, Simon Albrecht wrote:
> Hello,
> 
> I’m looking for a way to quote another voice, but in a different octave. My
> thinking was: ‘\quoteDuring is a music function, so it returns music, so I
> can wrap it into \transpose c c, {} and all’s fine.’ However, \transpose has
> no effect.
> Using \transposition doesn’t seem quite the right way, or is it?
> 
> TIA for any help, Simon

> \version "2.19.25"
> 
> oboeNotes = \relative c'' {
>   a4 gis g gis | b4^"quoted" r8 ais\p a4( f)
> }
> 
> bassoonNotes = \relative c' {
>   \clef bass
>   c4 cis c b
> \transpose c c, \quoteDuring #"oboe" { s1 }

\quoteDuring oboed s1    % #"..." is not necessary

> }
> 
> \addQuote "oboe" { \oboeNotes }

\addQuote oboed \transpose c c, \oboeNotes

HTH

Paul

> 
> \score {
>   <<
>     \new Staff \oboeNotes
>     \new Staff \bassoonNotes
>   >>
> }
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user



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

Reply via email to