lilypond-user
[Top][All Lists]
Advanced

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

Re: stemBoth problem


From: Antanas Budriūnas
Subject: Re: stemBoth problem
Date: Sun, 8 Feb 2009 13:24:40 +0200

Hu,

2009/2/3 胡海鹏 - Hu Haipeng <address@hidden>:
> Hello,
>   Vallentin ever helped me to get a stemBoth function when I wrote the full
> score of my song for attending the CCTV piano competition:
> stemBoth = #(define-music-function (parser location m) (ly:music?)
> #{ << \voiceOne $m \new Voice { \voiceTwo $m } >> \oneVoice #})
>   Now I'm orchestrating Debussy's Clair De Lune. The British teacher is very
> happy with my progress, and the piece is coming to its finish. But when I
> use the function as follows (viola), I discovered its big disadvantage, and
> then had to use a usual input way:
> \relative c {
>   \clef alto \key des \major \time 9/8
>     r8 <f aes>4\pp^"Div." \stemBoth ces'2. |
>   }
>   Both note and octave dot are copied, therefore the output is:
> \relative c {
>   \clef alto \key des \major \time 9/8
>     r8 <f aes>4\pp^"Div." <ces' ces'>2. |
>   }
>   What a boring result! Could anyone tell me how to filter out the octave
> dot and leave only note?

Why not to use simple polyphony?

\relative c {
  \clef alto \key des \major \time 9/8
    r8 <f aes>4\pp^"Div." <<ces'2. \\ ces2. >> |
  }

I didn't see much merit to use a function here.

HTH

Antanas Budriūnas




reply via email to

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