On Thu, 26 Dec 2019, S. wrote:
Hi, sorry for the very slow reply. I finally found
time to play with Chris's
LUA script for Moony.
The thing that I still don't understand in this general concept is how to
adjust the velocity for *specific* keys, not ranges. Everything thus far
seems to only work for ranges. But how would I apply a filter to just a few
keys, let's say MIDI keys # 2,17,19,21,23 ?
That would be five filters, One for each note with a range of one. If you
have control of the filtering program/plugin/script (and if it is LUA it
sounds as if you do) then instead of using > and < to set a range, use a
lookup table instead. You only have 127 notes, so set up a table of 128
bits and if bit[note] then apply processing. (probably not LUA style I've
shown but the concept works) It is ok to use 128 words if that is
easier/faster/all that is available.
Initialization would includ resetting all bits/words to 0/false and then
setting notes to filter to 1/true.
The only purpose for this I can see is for processing drums or other
one off sound effects.
--
Len Ovens
www.ovenwerks.net