I was trying to write a template for printing music for handbells.
What I want is: Conductor gets a full score. Each handbell ringer
gets a part with the handbell music in a piano staff, and his or
her notes highlighted in colours. My current problem is shown by
this file:


BEGIN
\version "2.18.2"

#(define (shout)
  (display "hello"))

upper = \relative c' {
    c4 d e f  }

\score {
  \new Staff  \upper
  \layout { }}

#(shout)

END

This produces the expected  .pdf  file. But the shout occurs **before** the
\score is processed. The output reads (in part)

Processing `b.ly'
Parsing...hello
Interpreting music...

and I need it to occur after the \score . Please any advice? I tried
putting the  #(shout)  inside the  \score { }  but that gives a
syntax error.

Thank you
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to