lilypond-user
[Top][All Lists]
Advanced

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

Re: Auto-panner


From: Jan-Peter Voigt
Subject: Re: Auto-panner
Date: Mon, 27 Jan 2014 16:46:40 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Thanks, David.
@Vaughan
For a short test ... this compiles, but I can't listen to the resulting
pan in midi ....
I changed the PropertySet to ApplyContext with a lambda. This should
work in variables, as it returns an applyContext expression.
As with the previous solution, you have to care about the order autopan
is called.
It might be a good idea to either use a performer (engraver in midi
context) and/or to track context id's, so that each context is counted once.

HTH, Jan-Peter


On 27.01.2014 15:15, David Kastrup wrote:
> Jan-Peter Voigt <address@hidden> writes:
>
>> Hi Vaughan,
>>
>> if global is a music-function calling autopan, it will evaluate it
>> everytime. If global is a variable, its value is set, once it is assigned.
>> So if you have to wrap it in music-function. If you always have a
>> variable "global" containing all you need, you can wrap that in a function:
> I'd recommend putting this into an \applyContext call.  That way, you
> get a call for each use in a different context.
>

Attachment: autopan.ly
Description: Text Data


reply via email to

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