lilypond-user
[Top][All Lists]
Advanced

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

Re: Polyphonic Tablature


From: Mats Bengtsson
Subject: Re: Polyphonic Tablature
Date: Sun, 22 Oct 2006 10:06:43 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.5)

Are you sure? I just tried the example from the referenced post, changed version number from "2.6.0" and ran it through a recent
2.9.x version, and it certainly gives me a single tab staff here.

Daniel's follow-up does exactly the same thing, but using more
key strokes (the "\simultaneous" are redundant, for example).

   /Mats

Quoting "Rick Hansen (aka RickH)" <address@hidden>:


Thanks Mats, but this example is still producing 2 separate tab staffs, not a
single polyphonic one.

Rick



Mats Bengtsson-4 wrote:

See http://lists.gnu.org/archive/html/lilypond-user/2005-10/msg00285.html

  /Mats

Quoting "Rick Hansen (aka RickH)" <address@hidden>:


Yes this has been a problem I've had too, it would be nice if one can use
the
same notes/voices on both the staff and tabstaff, without duplicating the
work.



Nigel Tao-2 wrote:

Hiya.  Lilypond newbie here - so I'm probably mangling the
terminology...

I am trying to re-use the same (polyphonic, separated by \\) notes for
both a regular staff and a tablature staff, but the tablature and \\
don't seem to be playing nice, so instead of typing out the notes just
once in a macro and invoking it twice, I have to re-jig the two voices
as a single-voiced chords in the tablature version, ending up with an
inelegant duplication of effort.

Picture of what I want to achieve:
http://nigel.tao.googlepages.com/polyphonic-tablature.png

What I'm doing:
----------------------------------
{
\new StaffGroup <<
\new Staff {
        \key d \major
        \clef "G_8"
        <<
        {
                fis'8 a d' fis'
                e' fis ais <cis' e'>
        } \\
        {
                d2 cis
        }
        >>
}

\new TabStaff {
        \override TabStaff.Stem #'transparent = ##t
        \override TabStaff.Beam #'transparent = ##t
        <fis' d>8 a d' fis'
        <e' cis> fis ais <cis' e'>
}

}
----------------------------------

What doesn't work
----------------------------------
notes = <<
        {
                fis'8 a d' fis'
                e' fis ais <cis' e'>
        } \\
        {
                d2 cis
        }
        >>

{
\new StaffGroup <<
\new Staff {
        \key d \major
        \clef "G_8"
        \notes
}

\new TabStaff {
        \override TabStaff.Stem #'transparent = ##t
        \override TabStaff.Beam #'transparent = ##t
        \notes
}

}
----------------------------------

Trying the second way, I get an empty TAB staff and doubled notes on
the regular staff.  If I take out the \overrides (even though I really
want to hide the stems and beams), then I get four staves, of which
the second one (TAB) is empty.

Cutting out the << \\ >> "works", in that I get the same notes exactly
once on each clef, but that isn't the music I want to write.  :-)

I was just wondering if I'm doing something wrong or whether what I
want to do is just not easy?  I am on version 2.6.3, if that matters,
since that's what my distro gave me...

thanks,
Nigel.


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user



--
View this message in context:
http://www.nabble.com/Polyphonic-Tablature-tf2486351.html#a6933996
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user






_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user



--
View this message in context: http://www.nabble.com/Polyphonic-Tablature-tf2486351.html#a6938137
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user








reply via email to

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