lilypond-user
[Top][All Lists]
Advanced

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

Re: instantiating voices


From: Hugh Myers
Subject: Re: instantiating voices
Date: Thu, 26 Nov 2009 02:44:57 -0700

I see nothing in the sample that allows for monophonic. As given I
only see polyphonic. The piece I'm working on is a mixture of both---
which obviously means I must be able to switch from one to the other.
Again, the sample is only polyphonic--- I must be missing something.
Hints?

--hsm

On Thu, Nov 26, 2009 at 1:29 AM, Federico Bruni <address@hidden> wrote:
> Hugh Myers wrote:
>>
>> On a related note (:;) this piece is a mixture of polyphony and
>> monophony. Is there an example of the two with tablature?
>>
>> --hsm
>
> If you use mainly polyphony, the following template should help you.
> Actually, you can use it also for a mixture of polyphony and monophony, just
> add a spacer note if you want a voice to be silent.
>
> The advantage of esplicitly instantiate the voices for both staves is that
> you can easily change some default behaviour of LilyPond that you may
> dislike.
>
>
> %% Begin template
> \version "2.13.7"
>
> \header {
> }
>
> \paper {
> }
>
> upper=  \relative c' {
>
> }
>
> lower=  \relative c {
>
> }
>
>
>  \score {
>    \new StaffGroup <<
>      \new Staff = "guitar" <<
>        \context Voice = "upper guitar" { \clef "G_8" \voiceOne  \upper }
>        \context Voice = "lower guitar" { \clef "G_8" \voiceTwo  \lower }
>      >>
>      \new TabStaff = "tab" <<
>        \context TabVoice = "upper tab" { \clef "moderntab" \voiceOne \upper
> }
>        \context TabVoice = "lower tab" { \clef "moderntab" \voiceTwo \lower
> }
>      >>
>    >>
>  }
> %% End template
>
> --
> http://gnurag.net/blog/
> http://fsfe.org/
> http://groups.fsf.org/wiki/LibrePlanetItalia
>
>




reply via email to

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