Hi, I’m trying to create a virtual midi Device, because I want to send midi data inside my app between tracks (a sort of aux midi to send for example midi in bus 1 and receive it in many tracks that have the same bus).
For this purpose this is the code I’m writing to create this virtual port:
tracktion_engine::VirtualMidiInputDevice myVirtualMidiInputDevice{engine, "myVirtualMidi", VirtualMidiInputDevice::virtualMidiDevice};
myVirtualMidiInputDevice.createInstance(*edit->getCurrentPlaybackContext());
myVirtualMidiInputDevice.setEnabled(true);
But after Compile it an error says JUCE Message Thread (1): EXC_BAD_ACCESS (code=1, address=0x0)
is rised in line of code 64 inside “tracktion_VirtualMidiInputDevice.cpp”.
Other Question: when I’ll create this port it will be visible only inside my app or also outside (so for example another daw can receive data from this?)
ThanYou!