bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MIDI bug - re-attacking a note


From: Michael Welsh Duggan
Subject: Re: MIDI bug - re-attacking a note
Date: Thu, 25 Aug 2005 17:46:51 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Sorry about the lack of a Reference or Reply-to.  I am replying based
on the web archive of this message.

Yuval Harel writes: 
>
> When a note is attacked while it is already playing, no MIDI event
> is generated. This occurs often in piano notation.
>
> Here is an example:
> 
> \version "2.6.3"
> \score {
>         <<
>                 c4 \\
>                 {r8
>                         c8 % <-- this note is not played
>                 }
>         >>
>         \midi {}
> }

I have a patch which I wrote for 2.4.5 which fixes this behavior.

Possible problems with this patch: In the past, it was mentioned that
for some instruments, reattacking the note actually should have
different behaviors depending on the instrument.  (I personally, have
no idea.)  This patch introduces semantics which appear to work well
for piano music, at least.

Here follows the patch as ported to CVS:

-- 
Michael Welsh Duggan
(address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]