lilypond-user
[Top][All Lists]
Advanced

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

Re: \applyOutput and conditional expression


From: Damian leGassick
Subject: Re: \applyOutput and conditional expression
Date: Sat, 16 Feb 2008 12:03:49 +0000

sorry to bump...

can anyone give a simple working example of \applyOutput - i'm really stumped and this method should save me a lot of time down the line (i need to have multiple versions of quite a few example passages, each with different sets of pitches left out)

cheers

d


On 13 Feb 2008, at 14:59, Damian leGassick wrote:

hi all

i'm trying to modify the example from LM 7.5.2

quote: \applyOutput context proc 
where proc is a Scheme function, taking three arguments

using the example given in LM, the following is apparently not the correct format as it throws an error  wherever i stick it, whether or not i include Staff or \Staff:

\applyOutput \Staff (define (blanker grob grob-origin context) 
(if (and (memq (ly:grob-property grob 'interfaces) 
note-head-interface) 
(eq? (ly:grob-property grob 'staff-position) 0)) 
(set! (ly:grob-property grob 'transparent) #t)))

what am i doing wrong?

also, the modification i'm after is

for(pitches = {aes, b, d})
transparent = true

anyone throw me a bone?

cheers

d
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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