On Wednesday, January 11, 2017 19:42:56 Frank Neumann wrote:
> > It needs to be debugged, for example by commenting out various synthesis
> > components to narrow down the source of this issue.
>
> You can use me as your guinea pig - just give me a hint how and where I can
> comment/disable them.
First of all, I would force a constant velocity value being used by the
sampler, as provided by the attached hack. That way you can forget about all
MIDI input issues for now and just concentrate on the actual bug.
Then your playground will be src/engines/common/AbstractVoice.cpp. You find a
method there called AbstractVoice::Synthesize(). That's actually the heart of
it all. Disable synthesis components there (i.e. EQ, EGs, filter, etc.) until
the issue disappears.
CU
Christian
Index: src/engines/AbstractEngineChannel.cpp
===================================================================
--- src/engines/AbstractEngineChannel.cpp (revision 3085)
+++ src/engines/AbstractEngineChannel.cpp (working copy)
@@ -381,7 +381,7 @@
Event event = pEngine->pEventGenerator->CreateEvent();
event.Type = Event::type_note_on;
event.Param.Note.Key = Key;
- event.Param.Note.Velocity = Velocity;
+ event.Param.Note.Velocity = 110;//Velocity;
event.Param.Note.Channel = MidiChannel;
event.pEngineChannel = this;
if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);
@@ -422,7 +422,7 @@
Event event = pEngine->pEventGenerator->CreateEvent(FragmentPos);
event.Type = Event::type_note_on;
event.Param.Note.Key = Key;
- event.Param.Note.Velocity = Velocity;
+ event.Param.Note.Velocity = 110;//Velocity;
event.Param.Note.Channel = MidiChannel;
event.pEngineChannel = this;
if (this->pEventQueue->write_space() > 0) this->pEventQueue->push(&event);
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel