|
From: | Simon Albrecht |
Subject: | Re: Scheme function to affect a compound music expression? |
Date: | Fri, 24 Oct 2014 00:02:39 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Hello all, I tried to write such a function, but failed at the point you’ll see in the attachment. I’d like to learn how this can be made to work ;-) … The problem is in extracting the list from SequentialMusic’s 'element property. And I suspect it has to do with the following question: With display-music I can obtain: #<Prob: Music C++: Music((duration . #<Duration 4 >) (pitch . #<Pitch e >) (origin . #<location c:/users/simon/appdata/local/temp/frescobaldi-_4tllv/tmpdndxnp/bgr.ly:25:10>))((display-methods #<procedure #f (note parser)>) (name . NoteEvent) (iterator-ctor . #<primitive-procedure ly:rhythmic-music-iterator::constructor>) (types general-music event note-event rhythmic-event melodic-event)) > :
{ ((duration . #<Duration 4 >) (pitch . #<Pitch e >)
(origin . #<location
c:/users/simon/appdata/local/temp/frescobaldi-_4tllv/tmpdndxnp/bgr.ly:25:10>))
} 'NoteEvent 'duration (ly:make-duration 2) 'pitch
(ly:make-pitch -1 2))
Am 23.10.2014 um 14:05 schrieb Peter
Crighton:
|
bgr.ly
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |