lilypond-user
[Top][All Lists]
Advanced

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

Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?


From: Han-Wen Nienhuys
Subject: Re: Doing \score { <<...>... } and \context Staff << .... >> in scheme?
Date: Sat, 23 Feb 2008 18:21:53 -0300

2008/2/21, Reinhold Kainhofer <address@hidden>:
>  > \makeScore "Test" { c'4 d' e' f' g'1 }
>
> Dang, that looked so promising!
>  It worked fine in all my tests, until I started switching my orchestral score
>  to my own createscore function... The problem is that cue notes do not appear
>  in the score!!!

See scm/lily-library.scm , function scorify-music.  You need to run
toplevel-music-functions over the music first.

Without this,  << \\ >> also doesn't work.

>  Apparently your makeScore function is not exactly the same as
>  \score {

Correct. If you want to know what lily is up to, best is to look at
lily/parser.yy, where you can see the scorify-music call in the
score_body rule.

-- 
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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