lilypond-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Enhancement: automatic polyphony in different \...Staff cont


From: Marc Hohl
Subject: Re: [PATCH] Enhancement: automatic polyphony in different \...Staff contexts
Date: Sat, 22 Aug 2009 20:11:03 +0200
User-agent: Thunderbird 2.0.0.23 (X11/20090817)

Carl Sorensen schrieb:

On 8/22/09 3:47 AM, "Marc Hohl" <address@hidden> wrote:

[moved from -user]

According to Neil's proposals and Carl's annotations, I created a patch
to enhance the automatic polyphony:

<< ... \\ .. >> constructs can now be used within
\DrumStaff, \TabStaff and \Staff constructs, without to
explicitly inserting placeholders.

I send it as a gzipped file, because otherwise thunderbird changes the
line endings
from UNIX to DOS.

Since I am not allowed to push directly, please check this patch.

Pushed, thanks.  I'm sorry that I was slow on this; I've been away on travel
with virtually no computer time.
No problem; there were some spurious reverts from another patch - I don't
know why this happed, but I definitely need to learn more about git ;-)
I think it would be good to have the drumstaff example from the docs as a
regression test (probably also TabStaff).

What about these?

marc
Thanks,

Carl



\version "2.13.4"

\header{ texidoc = "In a DrumStaff, automatic polyphony can be used without
                    explicitly initializing separate voices."
       }

\score {
  \new DrumStaff {
    \drummode {
      bd4 sn4 bd4 sn4
      << { \repeat unfold 16 hh16 } \\ { bd4 sn4 bd4 sn4 } >>
      bd4 sn4 bd4 sn4
    }
  }
}
\version "2.13.4"

\header{ texidoc = "In a TabStaff, automatic polyphony can be used without
                    explicitly initializing separate voices."
       }

test = {
  c'1
  << { c'4 d' e' f' } \\ { g,1 } >>
  c'1
}

\score {
  <<
    \new Staff { \clef "treble_8" \test }
    \new TabStaff { \test }
  >>
}

reply via email to

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