[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \parallelMusic and PianoStaff
From: |
Mats Bengtsson |
Subject: |
Re: \parallelMusic and PianoStaff |
Date: |
Tue, 12 Dec 2006 08:42:52 +0100 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20061105) |
You have to set up the staves of the PianoStaff, just as you do without
\parallelMusic. Try something like
\version "2.10.0"
\include "english.ly"
Music = {
\key c \major
\time 4/4
\parallelMusic #'(voiceA voiceB voiceC voiceD) {
r8 g'16[ c''] e''[ g' c'' e''] r8 g'16[ c''] e''[ g' c''
e''] |
c'2 c'2
|
r8 a16[ d'] f'[ a d' f'] r8 a16[ d'] f'[ a d' f']
|
c2 c2
|
}
}
\score {
\new PianoStaff<<
\new Staff <<
\Music
\new Voice \voiceA
\new Voice \voiceB
>>
\new Staff <<
\clef bass
\new Voice \voiceC
\new Voice \voiceD
>>
>>
}
LilyPond is case sensitive and as far as I know, there has never been
anything predefined in LilyPond called "pianoStaff".
/Mats
Palmer, Ralph wrote:
Greetings -
I'm running LilyPond 2.10.0 under Windows XP Pro SP2.
I'm struggling with using \parallelMusic with PianoStaff. (Is there a
functional difference between pianoStaff and PianoStaff? Is one
obsolete?)
In the following snippet, I'm trying to get : four voices in one measure
on two staves (in a piano staff). I've tried a variety of
configurations, none of which have worked. Any suggestions?
+++++++++begin snippet++++++++++++
\version "2.10.0"
\include "english.ly"
Music = {
\key c \major
\time 4/4
\parallelMusic #'(voiceA voiceB voiceC voiceD) {
r8 g'16[ c''] e''[ g' c'' e''] r8 g'16[ c''] e''[ g' c''
e''] |
c'2 c'2
|
r8 a16[ d'] f'[ a d' f'] r8 a16[ d'] f'[ a d' f']
|
c2 c2
|
}
\new PianoStaff
{\new Voice \voiceA}
{\new Voice \voiceB}
{\new Voice \voiceC}
{\new Voice \voiceD}
}
\score {
\Music
}
++++++++++++end snippet+++++++++++++++++++
Thank you for your time and help,
Ralph
+++++++++++++++++++++++++
Ralph Palmer
Energy/Administrative Coordinator
Keene State College
Keene, NH 03435-2502
Phone: 603-358-2230
Cell: 603-209-2903
Fax: 603-358-2456
address@hidden
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
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
=============================================