Problem with barcheck

2011-01-29 Thread Martin Chicoine
The following example gives me barcheck errors. Could someone explain why?

%%%
\version 2.12.3

\header {
title =  
}

staffViolon = \new Staff {
\time 6/8
\set Staff.instrumentName = Violon
\set Staff.midiInstrument = violin
\key g \major
\clef treble
\relative c' { 
  b'4 d,8 ~ \times 2/3 {d8 g a } |
  \times 2/3 {b8 d c} \times 2/3 {b a g} |
}

}

\score {

\staffViolon


\midi {
}

\layout {
}
}



___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with barcheck

2011-01-29 Thread Jay Anderson
On Sat, Jan 29, 2011 at 1:01 PM, Martin Chicoine
martin.chico...@gmail.com wrote:
 The following example gives me barcheck errors. Could someone explain why?

 %%%
 \version 2.12.3

 \header {
        title = 
 }

 staffViolon = \new Staff {
    \time 6/8
    \set Staff.instrumentName = Violon
    \set Staff.midiInstrument = violin
    \key g \major
    \clef treble
    \relative c' {
          b'4 d,8 ~ \times 2/3 {d8 g a } |
          \times 2/3 {b8 d c} \times 2/3 {b a g} |
    }

 }

 \score {
        
                \staffViolon
        

        \midi {
        }

        \layout {
        }
 }



 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user


Do you mean this?

\time 6/8
b'4 d,8~ d8 g a |
b8 d c b a g |

or this?

\time 2/4
\times 2/3 {b'4 d,8~} \times 2/3 {d8 g a} |
\times 2/3 {b8 d c} \times 2/3 {b a g} |

-Jay

___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with barcheck

2011-01-29 Thread Michael Ellis
As Jay pointed out,  \times 2/3 {d8 g a } will occupy the time of two
eighth-notes, not three.  Hence the barcheck fails because there is an
eighth-note's worth of time remaining in your first measure (and 2
1/8's missing in the second.)

Cheers,
Mike



On Sat, Jan 29, 2011 at 3:01 PM, Martin Chicoine
martin.chico...@gmail.com wrote:
 The following example gives me barcheck errors. Could someone explain why?

 %%%
 \version 2.12.3

 \header {
        title = 
 }

 staffViolon = \new Staff {
    \time 6/8
    \set Staff.instrumentName = Violon
    \set Staff.midiInstrument = violin
    \key g \major
    \clef treble
    \relative c' {
          b'4 d,8 ~ \times 2/3 {d8 g a } |
          \times 2/3 {b8 d c} \times 2/3 {b a g} |
    }

 }

 \score {
        
                \staffViolon
        

        \midi {
        }

        \layout {
        }
 }



 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 http://lists.gnu.org/mailman/listinfo/lilypond-user


___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Problem with barcheck

2011-01-29 Thread James Lowe
Hello

-Original Message-
From: Michael Ellis michael.f.el...@gmail.com
Date: Sat, 29 Jan 2011 15:44:09 -0500
To: Martin Chicoine martin.chico...@gmail.com
Cc: lilypond-user lilypond-user@gnu.org
Subject: Re: Problem with barcheck

As Jay pointed out,  \times 2/3 {d8 g a } will occupy the time of two
eighth-notes, not three.  Hence the barcheck fails because there is an
eighth-note's worth of time remaining in your first measure (and 2
1/8's missing in the second.)


Or you need to use

\times 3/3 {d8 g a } instead of \times 2/3 - your bar checks seem to be
quite explicit.

However this makes no sense in 6/8 - it's musical tautology!

:)

Are you copying from a real score or just making something up yourself?

James





___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user