{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/336","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/336/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/336/events","html_url":"https://github.com/supercollider/supercollider/issues/336","id":4774894,"number":336,"title":"Add a way to map multichannel buses using argument-string syntax","user":{"login":"jamshark70","id":318301,"avatar_url":"https://avatars3.githubusercontent.com/u/318301?v=4","gravatar_id":"","url":"https://api.github.com/users/jamshark70","html_url":"https://github.com/jamshark70","followers_url":"https://api.github.com/users/jamshark70/followers","following_url":"https://api.github.com/users/jamshark70/following{/other_user}","gists_url":"https://api.github.com/users/jamshark70/gists{/gist_id}","starred_url":"https://api.github.com/users/jamshark70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamshark70/subscriptions","organizations_url":"https://api.github.com/users/jamshark70/orgs","repos_url":"https://api.github.com/users/jamshark70/repos","events_url":"https://api.github.com/users/jamshark70/events{/privacy}","received_events_url":"https://api.github.com/users/jamshark70/received_events","type":"User","site_admin":false},"labels":[{"id":4477094,"url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20sclang","name":"comp: sclang","color":"CFFF7D","default":false},{"id":4477093,"url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20scsynth","name":"comp: scsynth","color":"F4FF75","default":false},{"id":4477106,"url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20supernova","name":"comp: supernova","color":"F4FF75","default":false},{"id":4413797,"url":"https://api.github.com/repos/supercollider/supercollider/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/supercollider/supercollider/milestones/8","html_url":"https://github.com/supercollider/supercollider/milestone/8","labels_url":"https://api.github.com/repos/supercollider/supercollider/milestones/8/labels","id":1021747,"number":8,"title":"future","description":"","creator":{"login":"scztt","id":145037,"avatar_url":"https://avatars3.githubusercontent.com/u/145037?v=4","gravatar_id":"","url":"https://api.github.com/users/scztt","html_url":"https://github.com/scztt","followers_url":"https://api.github.com/users/scztt/followers","following_url":"https://api.github.com/users/scztt/following{/other_user}","gists_url":"https://api.github.com/users/scztt/gists{/gist_id}","starred_url":"https://api.github.com/users/scztt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scztt/subscriptions","organizations_url":"https://api.github.com/users/scztt/orgs","repos_url":"https://api.github.com/users/scztt/repos","events_url":"https://api.github.com/users/scztt/events{/privacy}","received_events_url":"https://api.github.com/users/scztt/received_events","type":"User","site_admin":false},"open_issues":133,"closed_issues":88,"state":"open","created_at":"2015-03-14T22:55:56Z","updated_at":"2018-04-10T14:01:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2012-05-28T02:51:05Z","updated_at":"2018-04-15T15:06:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Currently there are two ways to map single-channel buses onto SynthDef arguments:\n- OSC message (/n_map, /n_mapn)\n- Argument syntax: `\"argname\", \"c/n/\"` where /n/ is the bus number\n\nBut there is only one way to map a multichannel bus onto an array argument:\n- /n_mapn\n\nI propose extending argument syntax: `c/n/_/c/` where /c/ is the number of channels to map, e.g. `\\freqs, \\c0_4` to map four consecutive control buses onto four consecutive inputs. If not given, 1 would be assumed (current behavior).\n\nThe change on the language side would be trivial. It would also require a change in the server to handle the number of channels. I believe this wouldn't be especially hard but I don't know the server code very well.\n\nPossible drawback: Currently, you can accidentally map a multichannel bus onto a non-array control, and the additional bus channels do not spill over onto the following controls. That would change. But I think it's reasonable that the user should be responsible for managing the number of bus channels properly.\n"},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/381413381","html_url":"https://github.com/supercollider/supercollider/issues/336#issuecomment-381413381","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/336","id":381413381,"user":{"login":"sonoro1234","id":1795930,"avatar_url":"https://avatars0.githubusercontent.com/u/1795930?v=4","gravatar_id":"","url":"https://api.github.com/users/sonoro1234","html_url":"https://github.com/sonoro1234","followers_url":"https://api.github.com/users/sonoro1234/followers","following_url":"https://api.github.com/users/sonoro1234/following{/other_user}","gists_url":"https://api.github.com/users/sonoro1234/gists{/gist_id}","starred_url":"https://api.github.com/users/sonoro1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonoro1234/subscriptions","organizations_url":"https://api.github.com/users/sonoro1234/orgs","repos_url":"https://api.github.com/users/sonoro1234/repos","events_url":"https://api.github.com/users/sonoro1234/events{/privacy}","received_events_url":"https://api.github.com/users/sonoro1234/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T15:06:38Z","updated_at":"2018-04-15T15:06:38Z","author_association":"CONTRIBUTOR","body":"I think that /n_mapn already works as this. (\"argname\", busnum, number of consecutive busses)\r\nShould issue be closed?"}}
{"actor":{"display_login":"sonoro1234"}}