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?
Regards
Haipeng


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

Reply via email to