[Top][All Lists]

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

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

From: Marcus Weseloh
Subject: Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)
Date: Tue, 23 May 2017 13:32:58 +0200


2017-05-23 13:07 GMT+02:00 Kjetil Matheussen <address@hidden>:
Great work! I've been meaning to implement this myself for many years but never got started. I'm going to apply your patch to the fluidsynth in Radium, since it has good support for polyphonic aftertouch, and see how it works. If it works, I'm going to keep it in the next release of Radium.

Excellent, would be great if you could give it a good round of testing!

One thing I wasn't quite sure about is how exactly the aftertouch is supposed to behave for a note that isn't currently playing, or after a note_off event. Either it's not specified or I missed it in the MIDI spec... 

So what my patch does is the following: polyphonic aftertouch is always accepted on any available channel and note value. The value is stored even if that particular note is currently not playing. And the aftertouch value is retained on note_off. That of course puts the responsibility of resetting aftertouch between notes onto the MIDI controller... but it also gives it much more flexibility and avoids hard-coded behaviour that might not be suitable for every MIDI controller type.

Does anybody know if that behaviour is correct according to the specification (if there even is one)? Or do other samplers do it differently and we should just follow a common practice?



reply via email to

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