[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tweaking in scheme
From: |
Peter Gentry |
Subject: |
Re: Tweaking in scheme |
Date: |
Tue, 30 Jun 2015 15:02:28 +0100 |
>-----Original Message-----
>From: David Kastrup [mailto:address@hidden
>Sent: Monday, June 29, 2015 3:13 PM
>To: Peter Gentry
>Cc: address@hidden
>Subject: [SPAM] Re: [SPAM] Re: Tweaking in scheme
>
>David Kastrup <address@hidden> writes:
>
>> "Peter Gentry" <address@hidden> writes:
>>
>>>>-----Original Message-----
>>>>From: David Kastrup [mailto:address@hidden
>>
>>>>One can also try to do this kind of iteration oneself in order to
>>>>only use the less invasive tweaks and get the color covered:
>>>>
>>>>\version "2.19.22"
>>>>tweakIV =
>>>>#(define-music-function (music) (ly:music?)
>>>> (map-some-music
>>>> (lambda (m)
>>>> (and (music-is-of-type? 'note-event)
>
>Yikes. Of course (music-is-of-type? m 'note-event) here.
>
>>>> (tweak 'color red (tweak 'style 'harmonic m))))
>>>> music))
>
>--
>David Kastrup
Big improvement in clarity (smugness justified) - and comforting to see that
even the gods can slip up occaisionally (it's a daily
occurrence for mere mortals) :)
- Tweaking in scheme, Peter Gentry, 2015/06/29
- Re: Tweaking in scheme, Urs Liska, 2015/06/29
- Re: Tweaking in scheme, Trevor Daniels, 2015/06/29
- Re: Tweaking in scheme, Kieren MacMillan, 2015/06/29
- Re: Tweaking in scheme, Paul Morris, 2015/06/29