{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/3990","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/3990/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/3990/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/3990/events","html_url":"https://github.com/supercollider/supercollider/issues/3990","id":351132129,"node_id":"MDU6SXNzdWUzNTExMzIxMjk=","number":3990,"title":"[enhancement] Support ServerOptions inDevice and outDevice in Windows","user":{"login":"jamshark70","id":318301,"node_id":"MDQ6VXNlcjMxODMwMQ==","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,"node_id":"MDU6TGFiZWw0NDc3MDk0","url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20sclang","name":"comp: sclang","color":"CFFF7D","default":false},{"id":4477093,"node_id":"MDU6TGFiZWw0NDc3MDkz","url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20scsynth","name":"comp: scsynth","color":"F4FF75","default":false},{"id":4477106,"node_id":"MDU6TGFiZWw0NDc3MTA2","url":"https://api.github.com/repos/supercollider/supercollider/labels/comp:%20supernova","name":"comp: supernova","color":"F4FF75","default":false},{"id":4413797,"node_id":"MDU6TGFiZWw0NDEzNzk3","url":"https://api.github.com/repos/supercollider/supercollider/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":4502091,"node_id":"MDU6TGFiZWw0NTAyMDkx","url":"https://api.github.com/repos/supercollider/supercollider/labels/os:%20Windows","name":"os: Windows","color":"D8BAFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-08-16T09:46:37Z","updated_at":"2018-12-15T01:46:11Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Environment\r\n-----------\r\n\r\n* Your SuperCollider version: 3.9.x\r\n* Your operating system and version: Windows 2010\r\n\r\nExpected Behavior\r\n-----------------\r\n\r\nAudio driver technologies typically found in Windows (e.g. MME, WASAPI, WDM) tend to publish inputs and outputs as separate devices, for instance:\r\n\r\n```\r\nMME : Microsoft Soundmapper - Input (device #0 with 2 ins 0 outs)\r\nMME : Microsoft Soundmapper - Output (device #4 with 0 ins 2 outs)\r\n```\r\n\r\n(ASIO is an exception, which tends to show duplex devices.)\r\n\r\nThe user should be able to select two devices for duplex audio using the same interface supported in MacOS:\r\n\r\n```\r\ns.options.inDevice = \"MME : Microsoft Soundmapper - Input\";\r\ns.options.outDevice = \"MME : Microsoft Soundmapper - Output\";\r\n```\r\n\r\nProbably a couple of restrictions would be needed: both devices must be the same driver type (unless we're certain PortAudio can handle input from MME and output to WASAPI, for instance), and both devices might need to be the same hardware interface. It all depends on what PortAudio can do.\r\n\r\nCurrent Behavior\r\n----------------\r\n\r\n`inDevice` and `outDevice` are supported in MacOS only. Effectively, this means that Windows users must either use ASIO (and there are reports that asio4all can be flaky), or otherwise the only way they can choose devices is to set the system default in Windows's control panel.\r\n\r\nCaveats: I'm not on Windows myself. If you specify one input or output device using `s.options.device`, *maybe* PortAudio will find the matching device and open them both. That seems pretty unlikely to me. What I do know for sure is that scsynth's `-H` argument can accept only one device name, while we see a *lot* of soundcards split among multiple virtual devices.\r\n\r\nAlso adding supernova tag (feature parity).\r\n\r\n(Note also that it would make no sense to implement this for Linux, because JACK handles the soundcard connection and scsynth has no opportunity to override JACK's hardware device. `-H` is used as the name under which scsynth appears in JACK.)"},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/447526759","html_url":"https://github.com/supercollider/supercollider/issues/3990#issuecomment-447526759","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/3990","id":447526759,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzUyNjc1OQ==","user":{"login":"Jomme5","id":4696640,"node_id":"MDQ6VXNlcjQ2OTY2NDA=","avatar_url":"https://avatars2.githubusercontent.com/u/4696640?v=4","gravatar_id":"","url":"https://api.github.com/users/Jomme5","html_url":"https://github.com/Jomme5","followers_url":"https://api.github.com/users/Jomme5/followers","following_url":"https://api.github.com/users/Jomme5/following{/other_user}","gists_url":"https://api.github.com/users/Jomme5/gists{/gist_id}","starred_url":"https://api.github.com/users/Jomme5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jomme5/subscriptions","organizations_url":"https://api.github.com/users/Jomme5/orgs","repos_url":"https://api.github.com/users/Jomme5/repos","events_url":"https://api.github.com/users/Jomme5/events{/privacy}","received_events_url":"https://api.github.com/users/Jomme5/received_events","type":"User","site_admin":false},"created_at":"2018-12-15T01:46:11Z","updated_at":"2018-12-15T01:46:11Z","author_association":"NONE","body":"Saw that these commands only supported by Mac. I'm working on Windows 10. How to change these on Windows 10?"}}
{"actor":{"display_login":"Jomme5"}}