On Tuesday, May 23, 2017 23:14:23 Andrew C wrote:
> *Glissando/Legato instruments (using the imidi legato rules and smartmidi
> dimensions) are very buggy/broken:
> 
> The lowest note in the instrument's range is silent and just 'clicks' when
> activated.
> The adjacent C# appears to be programmed exactly the same way but sound is
> heard(see below).
> The notes above C4 or so are 'clicky' too for no apparent reason.
> When playing the notes that do work, only the initial attack and the
> sustain sample is heard, moving in a legato manner up/down the keyboard
> does not work.

Like I said, the legato iMIDI rules are currently simply ignored by the 
sampler. What happens is that the sampler currently just plays the sample of 
the very first dimension region zone of the "smart midi" dimension. In gigedit 
that's the most left dimension region zone of the "smart midi" dimension.

> I'm not sure if the developers want to troubleshoot this for a single
> unique giga file?

Well, I can just speak for myself of course; unfortunately I am personally not 
interested in implementing Tascam's legato iMIDI rules in LS for the reasons 
said before. Scripts do much more than those, and the scripting power is 
growing every day.

But if somebody wants to implement those legato rules; go ahead, you have the 
sources, and on gigedit and libgig side they are already implemented.

> AFAICS, the imidi stuff is deprecated basically in favour of the kontakt
> scripting (which'd make a lot more sense, but would require reprogramming
> the entire legato instrument from the sample level up), but there is not
> (yet) a working proof of concept of these rules working in a gig file under
> LinuxSampler.

You are just calling play_note() based on a) which key was previously pressed 
down and b) which new key was pressed down (see %KEY_DOWN[] and $EVENT_NOTE):

http://doc.linuxsampler.org/Instrument_Scripts/NKSP_Language/Reference/play_note_function/

Everything you do beyond that in your script, is more what those original 
legato iMIDI rules were able to do. It really works.

But sure, there is probably no ready-to-use example script yet that you could 
simply copy and paste specifically for legato. So yes, you would need to read 
the scripting docs, write some script by yourself and create your own 
instrument preset with either gigedit or a SFZ file to resemble the legato 
behavior with the legato samples your already have there.

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