|
From: | lilypond |
Subject: | Re: Issue 1661 in lilypond: MIDI dynamics take effect one note too late |
Date: | Tue, 24 May 2011 08:21:39 +0000 |
Comment #1 on issue 1661 by address@hidden: MIDI dynamics take effect one note too late
http://code.google.com/p/lilypond/issues/detail?id=1661 One thing that maybe should be considered when picking a way to tackle this:If one voice (or a separate dynamics voice) has dynamic marks on a straight time, those will carry over to grace notes in a different voice. Since those will possibly occur in parallel with notes in "straight time", using something like global Midi volume rather than key velocity would not appear to work well.
However, if the dynamics are specified in some voice explicitly following a grace note, it would seem appropriate to apply them after the grace note (and possibly grace notes in other voices).
In short, I see a difference in timing between "on the beat, after any grace notes" and "on the beat, but possibly including any grace notes".
Distinguishing timing between those cases, roughly corresponding to "grace note time 0" and "grace note time -infinity" would appear to me as being helpful for dealing with other grace-related problems.
The common trait it shares with this problem is the necessity of having a way to propagate dynamic changes backwards to notes which have nominally already been performed. So it would appear that we need some sort of performance buffer where notes (possibly separated into note-on and note-off) are kept until their time and validity is definitely past.
[Prev in Thread] | Current Thread | [Next in Thread] |