Re: Getting start/end moments from an Audio_element_info???

2009-11-16 Thread Han-Wen Nienhuys
On Mon, Nov 16, 2009 at 4:54 PM, Reinhold Kainhofer wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > while trying to fix some MIDI issues, I've now run into the problem that in a > performer's acknowledge_audio_element method I need to calculate the offset of > the current Audio_elemen

Re: [PATCH] Allow nested properties to be set with \tweak

2009-11-16 Thread Han-Wen Nienhuys
My worry is that this might not work correctly for \tweak #'bound-details #'foo #'bar #22 If that works, please ignore my comment. On Sun, Nov 15, 2009 at 11:03 PM, Neil Puttock wrote: > 2009/11/14 Han-Wen Nienhuys : > >> Shouldnt this be something recursive? I thought properties could nest >>

Re: A few questions regarding markup

2009-11-16 Thread David Kastrup
Nicolas Sceaux writes: > Le 16 nov. 2009 à 20:32, David Kastrup a écrit : > >> With very few exceptions (about 2 or 3, one being the harp-pedal >> code), all the commands appear to use the let-binding mechanism. > > Indeed, when I introduced the property binding thing I changed > consistently all

Re: A few questions regarding markup

2009-11-16 Thread Nicolas Sceaux
Le 16 nov. 2009 à 20:32, David Kastrup a écrit : > With very few exceptions (about 2 or 3, one being the harp-pedal code), > all the commands appear to use the let-binding mechanism. Indeed, when I introduced the property binding thing I changed consistently all markup command definitions. But i

Re: A few questions regarding markup

2009-11-16 Thread David Kastrup
Carl Sorensen writes: > On 11/15/09 11:15 PM, "David Kastrup" wrote: > >> Carl Sorensen writes: >> >>> The property signature is a documentation-only convention. It has >>> no functionality except for producing documentation. >> >> Thanks, but wrong. Please look in the definition of >> defi

Getting start/end moments from an Audio_element_info???

2009-11-16 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 while trying to fix some MIDI issues, I've now run into the problem that in a performer's acknowledge_audio_element method I need to calculate the offset of the current Audio_element_info to a past info. Unfortunately, I couldn't find any property o

Re: A few questions regarding markup

2009-11-16 Thread Carl Sorensen
On 11/15/09 11:15 PM, "David Kastrup" wrote: > Carl Sorensen writes: > >> On 11/14/09 1:29 AM, "David Kastrup" wrote: >> >>> >>> >>> Ok, I am digging through harp-pedals.scm and looking at >>> define-builtin-markup-command. >>> >>> Now from the definition of define-builtin-markup-comman

[Patch] Fwd: [frogs] Changing subproperties with grob-set-property

2009-11-16 Thread Marc Hohl
Hello, there is a patch attached for providing ly:grob-set-nested-property! This has been discussed in the frogs mailing list. Marc Enhancement-Providing-ly-grob-set-nested-property.patch.gz Description: GNU Zip compressed data ___ lilypond-devel ma

Re: [PATCH] functional-or returned #f for (functional-or #f #t #f). Fixed.

2009-11-16 Thread David Kastrup
Patrick McCarty writes: > Thanks, pushed. Thanks. The only caller (this is apparently in local namespace) as far as I can see is (define-public (fret-number-tablature-format string context event) (let* ((tuning (ly:context-property context 'stringTunings)) (pitch (ly:event-property