lilypond-user
[Top][All Lists]
Advanced

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

Re: double stem


From: Mats Bengtsson
Subject: Re: double stem
Date: Fri, 07 Nov 2008 16:53:27 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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