Re: [Bug?] Dotting notes by music function

2006-10-22 Thread Juergen Reuter
FYI: After looking once more through a couple of files in the scm directory, I finally found the shift-duration-log function that exactly does what I wanted. For the moment, I take this one. Thanks again, Juergen On Wed, 18 Oct 2006, Juergen Reuter wrote: On Sun, 15 Oct 2006, Nicolas Sceaux

Re: [Bug?] Dotting notes by music function

2006-10-18 Thread Juergen Reuter
On Sun, 15 Oct 2006, Nicolas Sceaux wrote: Juergen Reuter <[EMAIL PROTECTED]> writes: By the way, do we have a generic substitution function that you can pass an event type and some replacement expression to? Maybe something like (replace-for-all-matches #(define-matching-expression (any-m

Re: [Bug?] Dotting notes by music function

2006-10-15 Thread Nicolas Sceaux
Juergen Reuter <[EMAIL PROTECTED]> writes: > By the way, do we have a generic substitution function that you can > pass an event type and some replacement expression to? Maybe > something like > > (replace-for-all-matches > #(define-matching-expression (any-music-event-of-type 'NoteEvent)) >

Re: [Bug?] Dotting notes by music function

2006-10-13 Thread Juergen Reuter
Ah, thanks, now I understand! But then, in the manual in Sect. 12.1.2 (Simple substitution functions), in the custosNote = #(define-music-function (parser location note) (ly:music?) example, "note" should better be renamed into "event" or something s

Re: [Bug?] Dotting notes by music function

2006-10-13 Thread Nicolas Sceaux
Juergen Reuter <[EMAIL PROTECTED]> writes: > Hi, all! > > I would expect the following lily file: > > \version "2.9.22" > > dottedQuarter = > #(define-music-function (parser location note) (ly:music?) >(make-music > 'NoteEvent > 'duration (ly:make-duration 2 1) > 'pitch (ly:music-p

[Bug?] Dotting notes by music function

2006-10-12 Thread Juergen Reuter
Hi, all! I would expect the following lily file: \version "2.9.22" dottedQuarter = #(define-music-function (parser location note) (ly:music?) (make-music 'NoteEvent 'duration (ly:make-duration 2 1) 'pitch (ly:music-property note 'pitch))) \new Voice \transpose c c' { f4 f \do