(Blast. Forgot the "Reply all")
Hello Katie,
Your example code does not compile, there are several errors and omissions.
The best way to get help from the list is to provide code that is not
missing obvious things such as closing braces for each variable (one of the
problems with your code). Also, always specify the version of Lilypond that
you are using, since syntax etc. changes between versions.
Also, \scaleDurations needs to be followed by a musical statement. Please
see my code example for an example that works how I think you want it to.
\version "2.16.1"
melody =
\relative c' {
\clef treble
\key g \major
\time 12/8
c4. c c c
}
upper =
\relative c' {
\clef treble
\key g \major
\time 12/8
\set Staff.timeSignatureFraction = 4/4
\scaleDurations 3/2 {
c4 c c c
}
}
lower =
\relative c {
\clef bass
\key g \major
\set Staff.timeSignatureFraction = 4/4
\scaleDurations 3/2 {
c4 c c c
}
}
\score {
<<
\new Staff \melody
\new Staff \upper
\new Staff \lower
>>
}
James Worlton
On Wed, Mar 6, 2013 at 9:38 AM, Katie Ganem <[email protected]> wrote:
> Hello,
>
> I am trying to input a piece that has the vocal line in 12/8 but the
> accompaniment in 4/4 with the bars matching up. I found this page in the
> manual that told me how to do this:
> http://www.lilypond.org/doc/v2.16/Documentation/notation/displaying-rhythms#index-time-signature_002c-compound
>
> However, it doesn't seem to be working. I hope someone can enlighten me
> on what I'm doing wrong.
>
> melody =
> \relative c' {
> \clef treble
> \key g \major
> \time 12/8
>
> upper =
> \relative c' {
> \clef treble
> \key g \major
> \time 12/8
> \set Staff.timeSignatureFraction = 4/4
> \scaleDurations 3/2
>
> lower =
> \relative c {
> \clef bass
> \key g \major
> \set Staff.timeSignatureFraction = 4/4
> \scaleDurations 3/2
>
>
> Thank you in advance!
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user