|
From: Andrew C <cou...@gm...> - 2017-05-27 00:22:13
|
Thanks alot for fixing this, Christian! My script works like a charm now - Already I can see interesting ways to expand it such as subtly varying the tuning of each note played for more humanisation, etc. I'd like to see if I can't code an approximation of a 'poorman's' legato function in NKSP that works by activating the sustain pedal when overlapping notes are detected and turning the instrument into a 'monophonic' voice. I can probably do some cool stuff with, as you said, %KEY_DOWN[] and $EVENT_NOTE. I'm gonna see what I can come up with over the weekend.. Andrew. On Thu, May 25, 2017 at 11:07 PM, Christian Schoenebeck < sch...@li...> wrote: > On Thursday, May 25, 2017 20:34:36 Andrew C wrote: > > >After you updated LS to latest SVN it > > >should apply the note/velocity changes to the MIDI event as well as to > the > > >voices, so it should behave as expected by you. > > > > Well, I updated to the latest svn, but the MIDI data itself doesn't > change > > with change_note unfortunately, only the voice data. i.e chipmunk effect > > occurs if I transpose C3 up to C4 using change_note, rather than > triggering > > the C4. :S > > Right, there was a bit more involved, which I hopefully just fixed. At > least > it behaved correctly now in my latest tests: > > * change_note() should now reselect the correct region and accordingly the > correct sample (no more mickey mouse). > > and > > * change_velo() should now also reselect the correct dimension region (if > you > have a "velocity" dimension in giga, and whatever the term is for sfz and > sf2). > > It is still not changing the actual MIDI event though BTW, which in > practice > means certain MIDI processing tasks within the sampler like exclusive > groups > (a.k.a. key groups), key based round robin and the like are all not > affected > by those two script functions. For those particular use cases adding the > mentioned raw MIDI processing script level might make sense. As far as I > can > see it right now, changing the implementations of change_note() and > change_velo() to perform true MIDI event modification is probably not a > good > idea, since it would require all kinds of MIDI re-processing inside the > sampler engine, which would be inefficient. > > CU > Christian > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Linuxsampler-devel mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel > |