{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/1553","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/1553/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/1553/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/1553/events","html_url":"https://github.com/supercollider/supercollider/issues/1553","id":89814696,"number":1553,"title":"message length limits still correct?","user":{"login":"telephon","id":1810559,"avatar_url":"https://avatars.githubusercontent.com/u/1810559?v=3","gravatar_id":"","url":"https://api.github.com/users/telephon","html_url":"https://github.com/telephon","followers_url":"https://api.github.com/users/telephon/followers","following_url":"https://api.github.com/users/telephon/following{/other_user}","gists_url":"https://api.github.com/users/telephon/gists{/gist_id}","starred_url":"https://api.github.com/users/telephon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/telephon/subscriptions","organizations_url":"https://api.github.com/users/telephon/orgs","repos_url":"https://api.github.com/users/telephon/repos","events_url":"https://api.github.com/users/telephon/events{/privacy}","received_events_url":"https://api.github.com/users/telephon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20class%20library","name":"comp: class library","color":"CFFF7D"},{"url":"https://api.github.com/repos/supercollider/supercollider/labels/waiting%20for%20information","name":"waiting for information","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/supercollider/supercollider/milestones/4","html_url":"https://github.com/supercollider/supercollider/milestones/3.7.x","labels_url":"https://api.github.com/repos/supercollider/supercollider/milestones/4/labels","id":181804,"number":4,"title":"3.7.x","description":"","creator":{"login":"timblechmann","id":792880,"avatar_url":"https://avatars.githubusercontent.com/u/792880?v=3","gravatar_id":"","url":"https://api.github.com/users/timblechmann","html_url":"https://github.com/timblechmann","followers_url":"https://api.github.com/users/timblechmann/followers","following_url":"https://api.github.com/users/timblechmann/following{/other_user}","gists_url":"https://api.github.com/users/timblechmann/gists{/gist_id}","starred_url":"https://api.github.com/users/timblechmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timblechmann/subscriptions","organizations_url":"https://api.github.com/users/timblechmann/orgs","repos_url":"https://api.github.com/users/timblechmann/repos","events_url":"https://api.github.com/users/timblechmann/events{/privacy}","received_events_url":"https://api.github.com/users/timblechmann/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":127,"state":"open","created_at":"2012-09-23T10:13:06Z","updated_at":"2015-11-01T13:52:42Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-06-20T20:29:27Z","updated_at":"2015-11-04T06:44:49Z","closed_at":null,"body":"As the maximum udp message sizes seem to have changed is the following still correct? Or maybe they could be dropped? Certainly for ````tcp```` it would not be necessary, I suppose.\r\n\r\n````\r\nsendClumpedBundles { arg time ... args;\r\n\t\tif(args.bundleSize > 65535) {// udp max size.\r\n\t\t\t\targs.clumpBundles.do { |item|\r\n\t\t\t\t\tif(time.notNil) { time = time + 1e-9 }; // make it a nanosecond later\r\n\t\t\t\t\tthis.sendBundle(time, *item)\r\n\t\t\t\t};\r\n\t\t\t} {\r\n\t\t\t\tthis.sendBundle(time, *args)\r\n\t\t}\r\n\t}\r\n\r\n\tsync { arg condition, bundles, latency; // array of bundles that cause async action\r\n\t\tvar resp, id;\r\n\t\tif (condition.isNil) { condition = Condition.new };\r\n\t\tif(bundles.isNil) {\r\n\t\t\tid = this.makeSyncResponder(condition);\r\n\t\t\tthis.sendBundle(latency, [\"/sync\", id]);\r\n\t\t\tcondition.wait;\r\n\t\t} {\r\n\t\t\t// not sure what the exact size is, but its about 20000\r\n\t\t\t// this relates to what _NetAddr_SendBundle can send\r\n \t\t\tif(bundles.bundleSize > 20000/*65515*/) { // 65515 = 65535 - 16 - 4 (sync msg size)\r\n\t\t\t\tbundles.clumpBundles.do { |item|\r\n\t\t\t\t\tid = this.makeSyncResponder(condition);\r\n\t\t\t\t\tthis.sendBundle(latency, *(item ++ [[\"/sync\", id]]));\r\n\t\t\t\t\tif(latency.notNil) { latency = latency + 1e-9 };\r\n\t\t\t\t\tcondition.wait;\r\n\t\t\t\t}\r\n\t\t\t} {\r\n\t\t\t\tid = this.makeSyncResponder(condition);\r\n\t\t\t\tthis.sendBundle(latency, *(bundles ++ [[\"/sync\", id]]));\r\n\t\t\t\tcondition.wait;\r\n\t\t\t}\r\n\t\t};\r\n\t\t// maybe needed: a timeout\r\n\t}\r\n````"},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/153602187","html_url":"https://github.com/supercollider/supercollider/issues/1553#issuecomment-153602187","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/1553","id":153602187,"user":{"login":"timblechmann","id":792880,"avatar_url":"https://avatars.githubusercontent.com/u/792880?v=3","gravatar_id":"","url":"https://api.github.com/users/timblechmann","html_url":"https://github.com/timblechmann","followers_url":"https://api.github.com/users/timblechmann/followers","following_url":"https://api.github.com/users/timblechmann/following{/other_user}","gists_url":"https://api.github.com/users/timblechmann/gists{/gist_id}","starred_url":"https://api.github.com/users/timblechmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timblechmann/subscriptions","organizations_url":"https://api.github.com/users/timblechmann/orgs","repos_url":"https://api.github.com/users/timblechmann/repos","events_url":"https://api.github.com/users/timblechmann/events{/privacy}","received_events_url":"https://api.github.com/users/timblechmann/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T06:44:49Z","updated_at":"2015-11-04T06:44:49Z","body":"well, it will always be a trade-off ... but to discuss the trade-off it is useless to speculate without having some numbers.\r\n\r\nfwiw, doing granular synthesis on distributed computers without clock synchronisation (both of the osc bundle dispatcher but also without wordclock) won't produce accurate results, anyway"}}