On 05/18/2014 09:10 PM, Tobias Doerffel wrote:
> 2014-05-18 19:46 GMT+02:00 Vesa <dii....@nbl.fi>:
>> Hmm. How do VST instruments in other DAWs handle this?
> The VstMidiEvent structure has a "deltaFrames" field (where we also
> put our offset in).

Hm. Could we not implement something similar for our own MIDI-based
instruments?

Maybe we could whip up some custom MIDI sysex commands to relay this
information to instruments, or something similar... the only downside
would be that this would require LMMS-specific patches, so it'd be
preferable if there were some existing solution that's already in use
that we just don't know about (you never know...)

On a sidenote, I think this might also be the cause for those weird
issues that LB302 suffers from occasionally... maybe, since we don't
(AFAIK?) control the order in which noteon/noteoff events are passed to
the instrument, sometimes the instrument gets the previous noteoff
first, sometimes the next noteon first, and this causes sometimes weird
effects in the LB302 monosynth when the noteoff of the previous note
overlaps with the noteon of the next (most commonly, the pitch doesn't
change to the pitch of the second note but stays as the pitch of the first).

>> Oh, so the offset applies for the entire note. I figured it'd work by
>> just shortening the first period and adding offset to compensate...
> We could rework things to work like that as well – shouldn't be too
> hard. We could also drop the first/second buffer in AudioPort then.

Well, if it's an easy change, sure, it would make some things easier.
But it's not strictly necessary either, we can work with the current
system as well...

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
LMMS-devel mailing list
LMMS-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to