Mja, that behaviour could likewise easily be adjusted for the gig engine as I 
did for the sfz engine this week. From the sfz docs I see, people seem to 
expect that the note-on velocity is always used instead of the note-off 
velocity? Hence I just changed that exactly this way for the sfz engine this 
week.

For the gig engine: I agree with Dough here, if you have a keyboard that 
supports note-off velocity, you want to use it. But the fact that most MIDI 
keyboards just send note-off velocity zero still applies. So this must 
coexist.

Doug, does your keyboard *ever* send a note-off with velocity zero? If it does 
not, then simply checking for velocity zero might indeed be the way to go. 
Maybe even for the sfy engine, too?

CU
Christian

On Sonntag, 2. Januar 2022 13:00:28 CET Doug Gray wrote:
> For the record my Studiologic SL88 keyboard controller does send note off
> with a measured velocity value.  I have verified this myself since the sfz
> file I am using has key off sounds.  This velocity is measured at key
> release. I see the documentation states that the note on velocity is reused
> for note off but I suggest that that should only be the case when note  off
> velocity is actually zero. I don’t think it is likely at least for triple
> sensor  that ‘most midi controllers’ send zero velocity note-off. It would
> be good to verify this.
> 
> Doug Gray
> 
> > On 2 Jan 2022, at 6:28 pm, Jan Flikweert <flk...@zeelandnet.nl> wrote:
> > 
> > JanFl. Wrote:" Thank you very much for this solution and the things I
> > learned. It works."
> > 
> > The solution does not work for gig files.
> > 
> > The funny thing is that gig files can also play a release sample after
> > aloop from a sample. The dimension is called releasetrigger. One
> > dimension has a normal loop and the release sample has no loop.
> > 
> > Kind regards,
> > 
> > 
> > Jan Fl.
> > 
> > 
> > 
> > _______________________________________________
> > Linuxsampler-devel mailing list
> > Linuxsampler-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel
> 
> _______________________________________________
> Linuxsampler-devel mailing list
> Linuxsampler-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel






_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to