I’ve been spending some time with libmonome in these days, but I can’t get even the simple.c example to work with my monome using OSC… it fails silently. Could you please guide me through this? There’s a second issue below, could be related.
Sending
/serialosc/list si localhost 12435
to serialosc, I get
/serialosc/device ssi “m40h0351” “monome 40h” 13129
I use that port in in examples/simple.c to define
MONOME_DEVICE "osc.udp://127.0.0.1:13129/monome"
Then call
monome_open(MONOME_DEVICE, "8000")
And it just doesn’t work. Suspicious because, even if I put a different port after 127.0.0.1 it still does the same and monome_open doesn’t return any error.
Also, Could you tell me what’s 8000 in this method call?
Anyway, instead if I use
monome_open("/dev/tty.usbserial-m40h0351"))
everything works. or, more or less, read on.
The other problem I have regards lost events when using monome_event_loop:
monome_register_handler(monome, MONOME_BUTTON_DOWN, btn_down, NULL);
monome_register_handler(monome, MONOME_BUTTON_UP, btn_up, NULL);
Shows clearly that sometimes I don’t get the notified about a button up or a button down event, because they don’t match.
With monome_sum, instead, everything works . Do you have any hints about what’s going on?