Feck. The above info sounds beyond my knowledge at present.
Odd thing is it sometimes (after relaunching processing) gets as far as returning a callback print but stops short of the actual data - stops here: print("--------"). Then it seems to basically crash without crashing as nothing is called back. Then I have to relaunch processing to get that far again.
Do you know of any midi library tried and trusted in py mode?