Subject: Re: \score vs. \new Score with \midi
Since you probably have read the documentation much more carefully than
I have, could you please provide
more specific hints on where to best
put this
information?
/Mats
Vivian Barty-Taylor wrote:
> Would it be possible to add this to the documentation (which I checked
> thoroughly ) for Rookie users such as myself who think they know how
> things work and sometimes get it wrong? I guess under the sections
> relating to Score and MIDI.
> Thanks,
> Vivian.
>
> ----- Original Message ----
> From: Mats Bengtsson <address@hidden>
> To: Vivian Barty-Taylor <address@hidden>
> Cc: address@hidden
> Sent: Wednesday, 7 March, 2007 10:05:37 AM
> Subject: Re: \score vs. \new Score with \midi
>
> As you have noticed, they are not equivalent from a syntactical point of
> view.
> From different email discussions, I have got the impression that the main
> hackers had some ideas on how to revise the syntax
related to \book and
> \score
> blocks, but I don't know if there are any concrete plans.
>
> Actually, you write
> \score{
> \new Score{
> ...
> }
> \midi{...}
> }
> if you really need to explicitly specify the Score context (I don't see
> why that
> would be needed, though).
>
> /Mats
>
>
> Vivian Barty-Taylor wrote:
> > I'm using 2.10.19 for Mac OSX
> >
> > I've just had an irritating couple of hours trying to find out why a
> > \midi block was causing an error message and stopping the file from
> > processing. It turns out that if you use \new Score instead of \score
> > then the file fails. These two commands should theoretically be
> > identical.
> > Why does this happen, and could it be changed?
>
>
> > Compare:
> >
> > %%%% BEGIN CODE (FAILS)
> >
> > \new Score {
> >
> > c1
> >
> > \midi { }
> > }
> >
> >
> > %%%%% BEGIN CODE (WORKS)
> >
> > \score {
> >
> > c1
> >
> > \midi { }
> >
> > }
> >
> > Cheers,
> > Vivian.
> >
> > ------------------------------------------------------------------------
> > New Yahoo! Mail is the ultimate force in competitive emailing. Find
> > out more at the Yahoo! Mail Championships
> >
> <
http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/>.
>
> > Plus: play games and win prizes.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > 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 <
http://www.s3.kth.se/%7Emabe>
> =============================================
>
>
>
> _______________________________________________
> lilypond-user mailing list
> address@hidden
>
http://lists.gnu.org/mailman/listinfo/lilypond-user>
>
> ------------------------------------------------------------------------
> New Yahoo! Mail is the ultimate force in competitive emailing. Find
> out more at the Yahoo! Mail Championships
> <
http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/>.
> Plus: play games and win prizes.
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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=============================================