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
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
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))
>
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
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
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