seems I managed to get #OSC input working for #clive (for #LiveCoding in the #C programming language)
git clone -b osc https :// code.mathr.co.uk / clive-core.git
I wrote my own ringbuffer to communicate between the osc server thread and the audio dsp thread, and a simple scheduler (doubly linked list sorted by event time). network server is based on manual page for getaddrinfo.
the live-editable per-sample callback now gets a list of events scheduled for that time point (usually empty). each event contains an osc message, which you can parse with #rtosc (or any other method). need to add some helpers for parsing key-value messages as it's a bit verbose at the moment.
need to fix up godwit's scheduler and osc sender to support arbitrary fields, so I am not limited to dirt vocabulary. and use a different port to dirt so both can run at the same time