Open StrongBearCeo opened 1 year ago
I've had a more detailed look at this, and have also added a unit test that can be used to test bidiretional long messages. It populates a clip with a large number of notes (~384), and then queries the notes to verify that they are all intact. It is easy to extend this to test a significantly larger number of notes by increasing the number of time shifts applied.
It has shed light on a couple of limitations with this PR that need addressing:
osc_server
/client
in this PR, so I think the packet reassembly is failing somewhere. client.query()
, but also needs adding to the await_message
handler. Actually, both of these would benefit from a minor refactor to share the same receive code...AbletonOSCClient
's send_message
method and osc_handler
', so that outbound client → server messages (e.g.
/live/clip/add/notes`)Potentially (2) and (3) could become a separate Issue, but (1) should be fixed before this can be merged.
@StrongBearCeo I realise it has been a while since this original PR - so if you're not still working on this, no worries, at some point I (or somebody else) will be able to get this across the line.
@ideoforms that's great. I'll look into it when I have time, too.
@StrongBearCeo have you had the time to look at it? :)
@StrongBearCeo have you had the time to look at it? :)
@esaruoho I haven't. I've been using my own fork for this, actually
Fix #88 , message too long will be split into smaller chunks