Thank you, I have not thought about this
!
Haipeng
在2008-11-07,"Mats Bengtsson" <[EMAIL PROTECTED]> 写道:
>How about the following?
>
>doublestem = #(define-music-function (parser location m) (ly:music?)
>#{ << \voiceOne $m \new Voice { \voiceTwo $m } >> \oneVoice #})
>
>\relative c'{ c2 d \doublestem e f \doublestem { g a b c } }
>
>This function applies to the note (or music expression) following it, so
>in this example
>you get a double stem in the e and on the sequence g a b c.
>
>/Mats
>
>胡海鹏 Hu Haipeng wrote:
>>
>> Hello,
>> I'm orchestrating the accomp. of a song by me in 2004. The horn 1-2
>> part sometimes requires a2 note, thus a double stem note. I don't want
>> to write << c4 \\ c >>, since there are dynamics spanner such as \<,
>> and I don't want to add an extra voice to increase the complexity. But
>> could someone help me to create a function to generate double stem on
>> the note and use \stemNeutral to revert?
>>
>> Haipeng
>>
>>
>> ------------------------------------------------------------------------
>> 网易邮箱10周年,技术见证辉煌 <http://www.yeah.net>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>--
>=============================================
> Mats Bengtsson
> Signal Processing
> School of Electrical Engineering
> Royal Institute of Technology (KTH)
> SE-100 44 STOCKHOLM
> Sweden
> Phone: (+46) 8 790 8463
> Fax: (+46) 8 790 7260
> Email: [EMAIL PROTECTED]
> WWW: http://www.s3.kth.se/~mabe
>=============================================
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user