More related to your question is the example http://lilypond.org/doc/v1.8/input/test/out-www/collated-files.html#music-box.ly
Mats
José Luis Cruz wrote:
I give you the response that Matt sent to me, because i think applies well:
If you want to do these more advanced tricks, I'm afraid you have to
learn the basics of the Scheme language and use the Scheme interface
to Lilypond, see http://lilypond.org/doc/v1.8/Documentation/user/out-www/lilypond-internals/Scheme-functions.html
There are some examples in the "Tips and tricks" and "Regression
tests" documents.
Mats
Look for example the code of molecule-hacking.ly available from the regression tests page. There is a function.
José Luis
A 06/10/03 08:19:06 Kieren Richard MacMillan <[EMAIL PROTECTED]> escribió:
Hello, all --
I know you can set up predefined "variables" containing a bunch of different directives (including notes, tweaks, markings, etc.), but
can you set up "functions" where the "parameters" can be decided at "runtime"?
For example, can I set up a "tuplet within a quadruplet, with slurs between notes 2 and 4, a phrasing slur over the whole thing, and a crescendo on the last two notes" and supply the specific pitches
only when I actually use the "stamp":
\myCoolNoteSetDefinition {bes a c b cis cisis d}
Thanks! Kieren.
------------------------------------------------------------------------
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user