lilypond-user
[Top][All Lists]
Advanced

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

Re: functions in \with


From: Erik Sandberg
Subject: Re: functions in \with
Date: Tue, 29 Aug 2006 11:46:32 +0200
User-agent: KMail/1.9.1

On Monday 28 August 2006 13:55, Trevor Daniels wrote:
> I'm happily creating and using music functions but so far my attempts to
> define functions that can be used in \with or \context clauses have failed.
> The suggested technique of making a void function using (make-music
> 'SequentialMusic 'void #t) doesn't seem to help.

What do you want to achieve, more precisely?
Note that \with uses a different lexical mode than music, so e.g. the 
\override keyword does not produce a music expression when used inside \with.

You can probably perform operations on the whole \with block if you are 
clever, by applying a funciton on the \new expression, like
\myFun \new Staff=foo \with {bla bla} {music}

-- 
Erik





reply via email to

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