lilypond-user
[Top][All Lists]
Advanced

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

Re: Already have music in score


From: Mats Bengtsson
Subject: Re: Already have music in score
Date: Thu, 04 Aug 2005 10:19:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

I assume that you explicitly write out \score{...} in your file.
Then, you should note that the syntax is (schematically)

\score{
  <music>
  <optional layout>
  <optional midi>
  <optional header>
}

where <music> should be a musical expression, i.e.

- a single note
  or
- a sequence of notes/musical expressions : { c d e f }
  or
- a set of simultaneous notes/musical expression: << {c d e f} c1 >>
  or ...

In other words, if you do

\score{
  c d e f
}
you get the described error message since you have more then one
musical expression at the top level of the \score{...} block.
The correct version is
\score{
  {c d e f}
}

or maybe
\score{
  \relative c' {c d e f}
}

or maybe
mymusic = \relative c' {c d e f}
\score{\mymusic}

or ...


   /Mats

andrew Black wrote:

What do the following messages mean ?
error: Already have music in score

error: This is the previous music

(Using LilyPond 2.4.2)


_______________________________________________
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
=============================================




reply via email to

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