[Top][All Lists]

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

Re: \score

From: Mats Bengtsson
Subject: Re: \score
Date: Mon, 02 Jan 2006 13:17:39 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

Each \score block corresponds to one score in the output.
What probably confuses you is that it nowadays is optional in
most situations to explicitly use \score{...}, if you don't add it
yourself, LilyPond will figure out anyway.

One example when you have to use \score explicitly is when you
have several scores in the same .ly file (for example several movements)
and want to specify a separate title for each of them. Then you have to
put the \header block within the corresponding \score block, so LilyPond
realizes what belongs where. Same if you want to specify the tempo used
in the MIDI file for each separate score. Example:

\version "2.6.0"
 \relative c'{ c d e f | g1 | }
 \header{ piece = "First movement" }
 \midi{\tempo 4=80 }

 \relative c''{ g e f d  | c1 | }
 \header{ piece = "Second movement" }
 \midi{\tempo 4=120 }


Rob wrote:

I'm new.

What is the use, function or whatever of \score.

Can't find it anywhere


lilypond-user mailing list

        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden

reply via email to

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