{"action":"created","issue":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/2086","labels_url":"https://api.github.com/repos/musescore/MuseScore/issues/2086/labels{/name}","comments_url":"https://api.github.com/repos/musescore/MuseScore/issues/2086/comments","events_url":"https://api.github.com/repos/musescore/MuseScore/issues/2086/events","html_url":"https://github.com/musescore/MuseScore/pull/2086","id":89915194,"number":2086,"title":"MusicXML export: enhanced using of attributes of <midi-device> tag","user":{"login":"Igevorse","id":6889805,"avatar_url":"https://avatars.githubusercontent.com/u/6889805?v=3","gravatar_id":"","url":"https://api.github.com/users/Igevorse","html_url":"https://github.com/Igevorse","followers_url":"https://api.github.com/users/Igevorse/followers","following_url":"https://api.github.com/users/Igevorse/following{/other_user}","gists_url":"https://api.github.com/users/Igevorse/gists{/gist_id}","starred_url":"https://api.github.com/users/Igevorse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Igevorse/subscriptions","organizations_url":"https://api.github.com/users/Igevorse/orgs","repos_url":"https://api.github.com/users/Igevorse/repos","events_url":"https://api.github.com/users/Igevorse/events{/privacy}","received_events_url":"https://api.github.com/users/Igevorse/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-21T14:01:54Z","updated_at":"2015-06-23T16:17:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/2086","html_url":"https://github.com/musescore/MuseScore/pull/2086","diff_url":"https://github.com/musescore/MuseScore/pull/2086.diff","patch_url":"https://github.com/musescore/MuseScore/pull/2086.patch"},"body":"Attributes *id* and *port* are optional.\r\nWhen *id* tag is omitted, &lt;midi-device&gt; tag affects all instruments in a part, so if we have several instrumentChanges with the same MIDI port, we can get rid of extra lines in the resulting MusicXML file.\r\nSo, &lt;midi-device port=\"1\"&gt; will affect all instrument in the part.\r\nAlso it saves a few bytes on simple scores without InstrumentChange.\r\n\r\nProfit: smaller size of exported MusicXML file."},"comment":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/comments/114560818","html_url":"https://github.com/musescore/MuseScore/pull/2086#issuecomment-114560818","issue_url":"https://api.github.com/repos/musescore/MuseScore/issues/2086","id":114560818,"user":{"login":"lasconic","id":234271,"avatar_url":"https://avatars.githubusercontent.com/u/234271?v=3","gravatar_id":"","url":"https://api.github.com/users/lasconic","html_url":"https://github.com/lasconic","followers_url":"https://api.github.com/users/lasconic/followers","following_url":"https://api.github.com/users/lasconic/following{/other_user}","gists_url":"https://api.github.com/users/lasconic/gists{/gist_id}","starred_url":"https://api.github.com/users/lasconic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasconic/subscriptions","organizations_url":"https://api.github.com/users/lasconic/orgs","repos_url":"https://api.github.com/users/lasconic/repos","events_url":"https://api.github.com/users/lasconic/events{/privacy}","received_events_url":"https://api.github.com/users/lasconic/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T16:17:04Z","updated_at":"2015-06-23T16:17:04Z","body":"If I understand correctly, this is only an optimisation right? If it's the case, the profit is not huge and it's double the code... So I wouldn't care."}}