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"
\score{
\relative c'{ c d e f | g1 | }
\header{ piece = "First movement" }
\layout{}
\midi{\tempo 4=80 }
}
\score{
\relative c''{ g e f d | c1 | }
\header{ piece = "Second movement" }
\layout{}
\midi{\tempo 4=120 }
}
/Mats
Rob wrote:
Hello,
I'm new.
What is the use, function or whatever of \score.
Can't find it anywhere
Rob
_______________________________________________
lilypond-user mailing list
[email protected]
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: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user