pedrolcl / drumstick

Drumstick Qt/C++ MIDI libraries (Mirror)
https://sourceforge.net/projects/drumstick/
GNU General Public License v3.0
12 stars 3 forks source link

RT: Support for input sysex in Windows #19

Closed pedrolcl closed 2 weeks ago

pedrolcl commented 8 months ago

The Windows RT Input backend does not support sysex events.

raised by @santoxyz in SF

pedrolcl commented 8 months ago

Please create your PR here at GitHub, against the devel branch, referencing this issue.

pedrolcl commented 8 months ago

After merging #20 I've tested the functionality using: 1.- https://github.com/pedrolcl/dumpmidi-rt 2.- loopmidi : https://www.tobias-erichsen.de/software/loopmidi.html 3.- MIDI-OX to send sysex files: http://www.midiox.com/ Everything seems OK now.

santoxyz commented 5 months ago

I'm trying to work on fullduplex (also send out) sysexes. I'm currently experiencing infinite loop receiving my own sent packet.. I need to debug the code but I have the following issue:

if I put this code into vpianomain.cpp I correctly read available input and outputs. I can debug and use breakpoints. if I put the same code into my app (that uses bluetooth and QML.... but at this state nothing is initialized) I always obtain empty lists. BUT if I release my app and install it to the system, it's magically working OK!!!! (But I'm not able to step-by-step debug it)

Any clue? has vpiano project some special setting?

int main(int argc, char *argv[]) {

QApplication app(argc, argv);

BackendManager man;
QVariantMap settingsMap;
man.refresh(settingsMap);
QList<MIDIInput*> m_inputs = man.availableInputs();
QList<MIDIOutput*> m_outputs = man.availableOutputs(); 
pedrolcl commented 5 months ago

I can't give any advice to you, having only the code that you posted as reference, that you say it works (it cannot be compiled as is, anyway) .

What I would need to see is a minimal reproducible example showing the problem.