lilypond-user
[Top][All Lists]
Advanced

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

Re: Whiteout box function by Thomas Morley / need help


From: David Kastrup
Subject: Re: Whiteout box function by Thomas Morley / need help
Date: Tue, 22 Apr 2014 09:21:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

"Karol Majewski" <address@hidden> writes:

> Although I know nothing about scheme, I've managed to slim down this 
> function, so that there are no optional arguments. Now I'll try to find out 
> why it doesn't work for DynamicText grob.
>
> Harm, thanks in advance for any hints. Perhaps we can mix your function with 
> flexible-stencil-whiteout (see my first post).
>
> %%%%%%%%%%%%%%%%%%%%%
>
> \version "2.19.5"
>
> moreWhiteout =
> #(define-music-function
>   (parser location adds)
>   (pair?)
>   (define
>     (interval-add iv-1 iv-2)
>     (cons
>       (+
>         (car iv-1)
>         (car iv-2))
>       (+
>         (cdr iv-1)
>         (cdr iv-2))))

That's a misnomer since it does not "add" intervals.  Functionally, it
is the same as offset-add, or (cons-map + iv-1 iv-2).

-- 
David Kastrup



reply via email to

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