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
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to