lilypond-user
[Top][All Lists]
Advanced

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

stemBoth problem


From: 胡海鹏 - Hu Haipeng
Subject: stemBoth problem
Date: Tue, 3 Feb 2009 11:14:26 +0800 (CST)

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


 



网易邮箱,中国第一大电子邮件服务商

reply via email to

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