{"action":"created","issue":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/2009","repository_url":"https://api.github.com/repos/supercollider/supercollider","labels_url":"https://api.github.com/repos/supercollider/supercollider/issues/2009/labels{/name}","comments_url":"https://api.github.com/repos/supercollider/supercollider/issues/2009/comments","events_url":"https://api.github.com/repos/supercollider/supercollider/issues/2009/events","html_url":"https://github.com/supercollider/supercollider/pull/2009","id":151412779,"number":2009,"title":"midi: make midi work in Windows","user":{"login":"llloret","id":1238515,"avatar_url":"https://avatars.githubusercontent.com/u/1238515?v=3","gravatar_id":"","url":"https://api.github.com/users/llloret","html_url":"https://github.com/llloret","followers_url":"https://api.github.com/users/llloret/followers","following_url":"https://api.github.com/users/llloret/following{/other_user}","gists_url":"https://api.github.com/users/llloret/gists{/gist_id}","starred_url":"https://api.github.com/users/llloret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llloret/subscriptions","organizations_url":"https://api.github.com/users/llloret/orgs","repos_url":"https://api.github.com/users/llloret/repos","events_url":"https://api.github.com/users/llloret/events{/privacy}","received_events_url":"https://api.github.com/users/llloret/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/supercollider/supercollider/labels/os:%20Windows","name":"os: Windows","color":"D8BAFF"},{"url":"https://api.github.com/repos/supercollider/supercollider/labels/Work%20In%20Progress%20-%20don't%20merge%20me%20yet","name":"Work In Progress - don't merge me yet","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/supercollider/supercollider/milestones/12","html_url":"https://github.com/supercollider/supercollider/milestones/3.7.2","labels_url":"https://api.github.com/repos/supercollider/supercollider/milestones/12/labels","id":1702034,"number":12,"title":"3.7.2","description":"Only for bug fixes that really require a new release. \r\n\r\ndev work should concentrate on 3.8","creator":{"login":"crucialfelix","id":218738,"avatar_url":"https://avatars.githubusercontent.com/u/218738?v=3","gravatar_id":"","url":"https://api.github.com/users/crucialfelix","html_url":"https://github.com/crucialfelix","followers_url":"https://api.github.com/users/crucialfelix/followers","following_url":"https://api.github.com/users/crucialfelix/following{/other_user}","gists_url":"https://api.github.com/users/crucialfelix/gists{/gist_id}","starred_url":"https://api.github.com/users/crucialfelix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crucialfelix/subscriptions","organizations_url":"https://api.github.com/users/crucialfelix/orgs","repos_url":"https://api.github.com/users/crucialfelix/repos","events_url":"https://api.github.com/users/crucialfelix/events{/privacy}","received_events_url":"https://api.github.com/users/crucialfelix/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":4,"state":"open","created_at":"2016-04-12T18:01:45Z","updated_at":"2016-05-04T11:26:54Z","due_on":null,"closed_at":null},"comments":31,"created_at":"2016-04-27T15:17:49Z","updated_at":"2016-05-05T12:32:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/supercollider/supercollider/pulls/2009","html_url":"https://github.com/supercollider/supercollider/pull/2009","diff_url":"https://github.com/supercollider/supercollider/pull/2009.diff","patch_url":"https://github.com/supercollider/supercollider/pull/2009.patch"},"body":"Some initial changes to make midi work in Windows. The main things are:\r\n- Do not open the Microsoft MIDI Mapper device, otherwise we get\r\nmultiple allocation errors (I am guessing that the midi mapper tries to\r\nopen another device too).\r\n- Open MIDI Input devices on init, if requested by numInputs\r\n- Pass numIn and numOut to the init call, as received by the language\r\n(but is gets 0, when nil, this is wrong)\r\n- For the time being, do nothing on MIDI reset\r\n\r\nI have not tested connecting and disconnecting discrete MIDI ports for\r\nnow.\r\n\r\nAttached a screenshot of my session. I will post the script in the next comment.\r\n\r\nAlso note, that at least on my 3.7win compilation, I have to delete the Japanese version of Mark's tutorial, otherwise sclang dies while indexing the documentation.\r\n\r\n![miditest](https://cloud.githubusercontent.com/assets/1238515/14857272/7eff2ec6-0c93-11e6-8c39-e8b24b77393f.PNG)"},"comment":{"url":"https://api.github.com/repos/supercollider/supercollider/issues/comments/217141389","html_url":"https://github.com/supercollider/supercollider/pull/2009#issuecomment-217141389","issue_url":"https://api.github.com/repos/supercollider/supercollider/issues/2009","id":217141389,"user":{"login":"llloret","id":1238515,"avatar_url":"https://avatars.githubusercontent.com/u/1238515?v=3","gravatar_id":"","url":"https://api.github.com/users/llloret","html_url":"https://github.com/llloret","followers_url":"https://api.github.com/users/llloret/followers","following_url":"https://api.github.com/users/llloret/following{/other_user}","gists_url":"https://api.github.com/users/llloret/gists{/gist_id}","starred_url":"https://api.github.com/users/llloret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llloret/subscriptions","organizations_url":"https://api.github.com/users/llloret/orgs","repos_url":"https://api.github.com/users/llloret/repos","events_url":"https://api.github.com/users/llloret/events{/privacy}","received_events_url":"https://api.github.com/users/llloret/received_events","type":"User","site_admin":false},"created_at":"2016-05-05T12:32:11Z","updated_at":"2016-05-05T12:32:11Z","body":"Hi, @bagong, after figuring out of to test it, I have seen that there was an error in my implementation of the System Realtime messages interpretation (not sure if anybody is using this). I have just committed and tested a fix. It would be great if that can be part of the test build."}}