[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug?] Dotting notes by music function
From: |
Nicolas Sceaux |
Subject: |
Re: [Bug?] Dotting notes by music function |
Date: |
Fri, 13 Oct 2006 10:56:47 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) |
Juergen Reuter <address@hidden> 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-property note 'pitch)))
>
> \new Voice \transpose c c' {
> f4 f \dottedQuarter f f f
> }
>
> to produce the notes:
>
> f4 f4 f4. f4 f4
>
> However, it produces:
>
> f4 f4 c4. f4 f4
>
> That is, the pitch changes from "f" to "c", although I am trying to
> copy it from the original note. Is this a bug or am I doing something
> wrong?
Are you sure that the note argument as a pitch property? Try:
\displayMusic f4
nicolas