2014-05-18 20:20 GMT+02:00 Vesa <[email protected]>:
> Hm. Could we not implement something similar for our own MIDI-based
> instruments?

Just recognized that we already pass a MidiTime object to
Instrument::handleMidiEvent() (which is implemented by some MIDI-based
instruments) so we could add an additional offset member. Both LB302
and Sf2Player however do not react to MIDI events. They overload the
regular Instrument::playNote( NotePlayHandle* n ) method so we can
easily take n->offset() into account there.

Toby

------------------------------------------------------------------------------
"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
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmms-devel

Reply via email to