lilypond-devel
[Top][All Lists]
Advanced

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

(doc help) escaping a ly:music? variable


From: Graham Percival
Subject: (doc help) escaping a ly:music? variable
Date: Tue, 2 May 2006 20:43:36 -0700

Quote from upcoming docs; please fill in the #### and fix the lilypond code. :)

Cheers,
- Graham

-----
Even music expressions can be passed in.  Note that since we
want an articulation attached to the second variable, we
must #####.

pattern = #(define-music-function (parser location x y) (ly:music? ly:music?)
#{
  $x e8-. a-. b-. $y-.-> b-. a-. e-.
#})

\relative c''{
  \pattern c8 c8
  \pattern d8 ais8
  \pattern cis8 des8
}
----





reply via email to

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