lilypond-user
[Top][All Lists]
Advanced

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

Re: \time command


From: Noeck
Subject: Re: \time command
Date: Sun, 20 Dec 2015 15:50:45 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

Hi Jérôme,

\time is accepted basically anywhere in a music expression.
You seem to be confused by the different meaning of braces:
1) enclosing a music expression
2) grouping arguments

In your case:
1) Your music (\time 4/4 c1) must be put into braces to form a music
expression, otherwise they would be two independent objects put into
your score and it can handle only one music expression.
2) \score must have braces around its content (which can be music, a
\header, a \layout or a \midi block), like

\score { { \time 4/4 c1 } }


Am 20.12.2015 um 15:37 schrieb Jérôme Plût:
> % -- first file
> \score { \time 4/4 c1 }
> 
> error: syntax error, unexpected NOTENAME_PITCH

\time 4/4 is your music, the c1 is separate and has not meaning here
(therefore unexpected).

> % -- second file
> \score \relative c' { \time 4/4 c1 }
> 
> error: syntax error, unexpected MUSIC_FUNCTION, expecting '{'

The {} around the score arguments is missing.

HTH,
Joram



reply via email to

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