{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/3088","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/3088/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/3088/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/3088/events","html_url":"https://github.com/supercollider/supercollider/pull/3088","id":247128900,"node_id":"MDExOlB1bGxSZXF1ZXN0MTMzNTE3ODM1","number":3088,"title":"class library: plot relative to target synth","user":{"login":"telephon","id":1810559,"node_id":"MDQ6VXNlcjE4MTA1NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1810559?v=4","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":[{"id":190319001,"node_id":"MDU6TGFiZWwxOTAzMTkwMDE=","url":"https://api.github.com/repos/supercollider/supercollider/labels/API%20change","name":"API change","color":"fbca04","default":false},{"id":4477104,"node_id":"MDU6TGFiZWw0NDc3MTA0","url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20Qt%20GUI","name":"comp: Qt GUI","color":"CFFF7D","default":false},{"id":11946377,"node_id":"MDU6TGFiZWwxMTk0NjM3Nw==","url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20class%20library","name":"comp: class library","color":"CFFF7D","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/supercollider/supercollider/milestones/14","html_url":"https://github.com/supercollider/supercollider/milestone/14","labels_url":"https://api.github.com/repos/supercollider/supercollider/milestones/14/labels","id":2868980,"node_id":"MDk6TWlsZXN0b25lMjg2ODk4MA==","number":14,"title":"3.10","description":"","creator":{"login":"snappizz","id":1211064,"node_id":"MDQ6VXNlcjEyMTEwNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1211064?v=4","gravatar_id":"","url":"https://api.github.com/users/snappizz","html_url":"https://github.com/snappizz","followers_url":"https://api.github.com/users/snappizz/followers","following_url":"https://api.github.com/users/snappizz/following{/other_user}","gists_url":"https://api.github.com/users/snappizz/gists{/gist_id}","starred_url":"https://api.github.com/users/snappizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snappizz/subscriptions","organizations_url":"https://api.github.com/users/snappizz/orgs","repos_url":"https://api.github.com/users/snappizz/repos","events_url":"https://api.github.com/users/snappizz/events{/privacy}","received_events_url":"https://api.github.com/users/snappizz/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":111,"state":"open","created_at":"2017-10-27T05:49:07Z","updated_at":"2018-07-13T08:28:09Z","due_on":"2018-06-30T07:00:00Z","closed_at":null},"comments":12,"created_at":"2017-08-01T16:33:28Z","updated_at":"2018-07-13T09:11:49Z","closed_at":"2018-05-12T19:33:38Z","author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/supercollider/supercollider/pulls/3088","html_url":"https://github.com/supercollider/supercollider/pull/3088","diff_url":"https://github.com/supercollider/supercollider/pull/3088.diff","patch_url":"https://github.com/supercollider/supercollider/pull/3088.patch"},"body":"Sometimes, one needs to plot values from a synth that depends on node\r\norder. E.g. a synth that reads from a bus. This patch allows us to\r\ndetermine the point at which the plotting synth is inserted in the node\r\norder. It is inserted _after_ the target node. By default, this is the\r\ndefault group of the default server. This follows the `asTarget`\r\ninterface, as documented in scdoc."},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/404775598","html_url":"https://github.com/supercollider/supercollider/pull/3088#issuecomment-404775598","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/3088","id":404775598,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDc3NTU5OA==","user":{"login":"snappizz","id":1211064,"node_id":"MDQ6VXNlcjEyMTEwNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1211064?v=4","gravatar_id":"","url":"https://api.github.com/users/snappizz","html_url":"https://github.com/snappizz","followers_url":"https://api.github.com/users/snappizz/followers","following_url":"https://api.github.com/users/snappizz/following{/other_user}","gists_url":"https://api.github.com/users/snappizz/gists{/gist_id}","starred_url":"https://api.github.com/users/snappizz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snappizz/subscriptions","organizations_url":"https://api.github.com/users/snappizz/orgs","repos_url":"https://api.github.com/users/snappizz/repos","events_url":"https://api.github.com/users/snappizz/events{/privacy}","received_events_url":"https://api.github.com/users/snappizz/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T09:11:49Z","updated_at":"2018-07-13T09:11:49Z","author_association":"MEMBER","body":"i'm a little dissatisfied with this loadToFloatArray/getToFloatArray API, one only working for local servers and one working for all servers but unreliably. i don't really dig the names either, the differences between them is not obvious.\r\n\r\nwould it make sense for `Function:plot` to call `loadToFloatArray` if the server is local and `getToFloatArray` if the server is remote?\r\n\r\nif that's the case, could the get/load dichotomy be abstracted in the Buffer class? and also, let's take this opportunity to rename these methods so it's easier to tell what they're doing.\r\n\r\n- `Buffer:getContentsWithSoundFile` uses `b_write`.\r\n- `Buffer:getContentsOverOSC` uses repeated calls to `/b_getn`.\r\n- `Buffer:getContents`, which calls `Buffer:getContentsWithSoundFile` if the server is local and `Buffer:getContentsOverOSC` otherwise\r\n\r\nso just by calling `Buffer:getContents`, the best retrieval method is selected for you."}}
{"actor":{"display_login":"snappizz"}}