Hi
so Ive written a Ableton Link to Midi clock bridge....
but everytime I try to write to f_midi I get a write error
Error while streaming to pipe /proc/xenomai/registry/rtipc/xddp/bela-midiOut_hw:0,0,0: Operation not permitted
(I assume f_midi should be writing back to my mac, which its connected to via host port)
root@pepper2:~# ls /proc/xenomai/registry/rtipc/xddp/
bela-midiOut_hw:0,0,0
root@pepper2:~# amidi -l
Dir Device Name
IO hw:0,0 f_midi
I open with
Midi::createAllPorts(midiPorts_,false);
midiEnabled_=midiPorts_.size()>0;
I write with
for(auto dev : midiPorts_) {
if(dev->isOutputEnabled()) {
if(dev-> writeOutput(&midiClock, 1) < 0) {
midiEnabled_=false;
}
}
}
I assume createAllPorts, open all ports? or am i missing a step?
thoughts?
Cheers
Mark
btw:: destroyPorts
definition is missing, you get missing symbol at link time