2008/2/21, Reinhold Kainhofer [EMAIL PROTECTED]:
\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
Am Mittwoch, 20. Februar 2008 schrieb Nicolas Sceaux:
module-define! is the function you were looking for.
Ah, thanks... I was confused by the name and didn't even consider it (thinking
it somehow defines a module, while in fact it is defining INSIDE a module).
Here is function that builds a
Le 19 févr. 08 à 14:53, Reinhold Kainhofer a écrit :
Thanks for adding these bindings. However, should ly:score-header
always
return a header module, or do I have to create the header module
myself? For
me it simply returns an empty list... In particular, the following
code does
not
Nicolas Sceaux wrote:
A score is a Score :-)
Not if you want to attach a \header, \layout or \midi block to it, though
it seems that Han-Wen has just added some support for doing that.
/Mats
___
lilypond-user mailing list
lilypond-user@gnu.org
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Han-Wen,,
Thanks a lot for your great help and all the hints! I'm starting to get a
little insight into how lilypond works internally
at toplevel. check out
toplevel-score-handler
in ly/declarations-init.ly; this shows how to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am Montag, 18. Februar 2008 schrieben Sie:
Reinhold Kainhofer wrote:
...
Also, how can I create a staff in scheme? A staff is no music expression,
is it?
Finally a question I can answer, or rather that LilyPond can answer for
you. Just use
Le 19 févr. 08 à 09:48, Mats Bengtsson a écrit :
Nicolas Sceaux wrote:
A score is a Score :-)
Not if you want to attach a \header, \layout or \midi block to it
Of course it is, even with a header, layouts or a midi blocks.
By the way, this is strange:
--- a/lily/score-scheme.cc
+++
2008/2/19, Nicolas Sceaux [EMAIL PROTECTED]:
+LY_DEFINE (ly_score_set_header_x, ly:score-set-header!,
+ 2, 0, 0, (SCM score, SCM module),
+ Set the score header.)
+{
+ LY_ASSERT_SMOB (Score, score, 1);
+ SCM_ASSERT_TYPE (ly_is_module (module), module, SCM_ARG2,
2008/2/19, Reinhold Kainhofer [EMAIL PROTECTED]:
Thanks for adding these bindings. However, should ly:score-header always
return a header module, or do I have to create the header module myself? For
It's inited as empty, so you will need to do (ly:score-set-header!
score (make-module ... ))
in
Reinhold Kainhofer wrote:
...
Also, how can I create a staff in scheme? A staff is no music expression, is
it?
Finally a question I can answer, or rather that LilyPond can answer for you.
Just use the \displayMusic function. For example, run LilyPond on the
following
example and look at
Le 18 févr. 08 à 00:17, Reinhold Kainhofer a écrit :
Am Sonntag, 17. Februar 2008 schrieb Han-Wen Nienhuys:
2008/2/13, Reinhold Kainhofer [EMAIL PROTECTED]:
In particular, what is the scheme equivalent, producing the same
as the
following lilypond code?
IChorObIScore = \score {
2008/2/17, Reinhold Kainhofer [EMAIL PROTECTED]:
Thanks for the hint... Works so far (see attached example).
However, how can I define a function so that instead of scheme, i.e.
\score { #(createscore test) }
i can simply do:
% This does NOT work (syntax error)
\score {
2008/2/13, Reinhold Kainhofer [EMAIL PROTECTED]:
Hi all,
In the large vocal and orchestral piece that I'm currently typesetting, I have
lots of score and staff definitions, which look exactly the same, except for
the variable names. Thus it would make tremendous sense to not hard-code
them,
Am Sonntag, 17. Februar 2008 schrieb Han-Wen Nienhuys:
2008/2/13, Reinhold Kainhofer [EMAIL PROTECTED]:
In particular, what is the scheme equivalent, producing the same as the
following lilypond code?
IChorObIScore = \score {
\IChorObIStaff
\header { piece = \IChorPieceName }
Hi all,
In the large vocal and orchestral piece that I'm currently typesetting, I have
lots of score and staff definitions, which look exactly the same, except for
the variable names. Thus it would make tremendous sense to not hard-code
them, but generate them on the fly by some scheme
15 matches
Mail list logo