{"action":"created","issue":{"url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/issues/45","repository_url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library","labels_url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/issues/45/comments","events_url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/issues/45/events","html_url":"https://github.com/FortySevenEffects/arduino_midi_library/issues/45","id":163386162,"number":45,"title":"Multiple Input Channels","user":{"login":"masl123","id":3695095,"avatar_url":"https://avatars.githubusercontent.com/u/3695095?v=3","gravatar_id":"","url":"https://api.github.com/users/masl123","html_url":"https://github.com/masl123","followers_url":"https://api.github.com/users/masl123/followers","following_url":"https://api.github.com/users/masl123/following{/other_user}","gists_url":"https://api.github.com/users/masl123/gists{/gist_id}","starred_url":"https://api.github.com/users/masl123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masl123/subscriptions","organizations_url":"https://api.github.com/users/masl123/orgs","repos_url":"https://api.github.com/users/masl123/repos","events_url":"https://api.github.com/users/masl123/events{/privacy}","received_events_url":"https://api.github.com/users/masl123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/labels/new%20feature","name":"new feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"Franky47","id":1174092,"avatar_url":"https://avatars.githubusercontent.com/u/1174092?v=3","gravatar_id":"","url":"https://api.github.com/users/Franky47","html_url":"https://github.com/Franky47","followers_url":"https://api.github.com/users/Franky47/followers","following_url":"https://api.github.com/users/Franky47/following{/other_user}","gists_url":"https://api.github.com/users/Franky47/gists{/gist_id}","starred_url":"https://api.github.com/users/Franky47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Franky47/subscriptions","organizations_url":"https://api.github.com/users/Franky47/orgs","repos_url":"https://api.github.com/users/Franky47/repos","events_url":"https://api.github.com/users/Franky47/events{/privacy}","received_events_url":"https://api.github.com/users/Franky47/received_events","type":"User","site_admin":false},"assignees":[{"login":"Franky47","id":1174092,"avatar_url":"https://avatars.githubusercontent.com/u/1174092?v=3","gravatar_id":"","url":"https://api.github.com/users/Franky47","html_url":"https://github.com/Franky47","followers_url":"https://api.github.com/users/Franky47/followers","following_url":"https://api.github.com/users/Franky47/following{/other_user}","gists_url":"https://api.github.com/users/Franky47/gists{/gist_id}","starred_url":"https://api.github.com/users/Franky47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Franky47/subscriptions","organizations_url":"https://api.github.com/users/Franky47/orgs","repos_url":"https://api.github.com/users/Franky47/repos","events_url":"https://api.github.com/users/Franky47/events{/privacy}","received_events_url":"https://api.github.com/users/Franky47/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/milestones/3","html_url":"https://github.com/FortySevenEffects/arduino_midi_library/milestones/4.3","labels_url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/milestones/3/labels","id":1695031,"number":3,"title":"4.3","description":null,"creator":{"login":"Franky47","id":1174092,"avatar_url":"https://avatars.githubusercontent.com/u/1174092?v=3","gravatar_id":"","url":"https://api.github.com/users/Franky47","html_url":"https://github.com/Franky47","followers_url":"https://api.github.com/users/Franky47/followers","following_url":"https://api.github.com/users/Franky47/following{/other_user}","gists_url":"https://api.github.com/users/Franky47/gists{/gist_id}","starred_url":"https://api.github.com/users/Franky47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Franky47/subscriptions","organizations_url":"https://api.github.com/users/Franky47/orgs","repos_url":"https://api.github.com/users/Franky47/repos","events_url":"https://api.github.com/users/Franky47/events{/privacy}","received_events_url":"https://api.github.com/users/Franky47/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":0,"state":"open","created_at":"2016-04-09T07:08:43Z","updated_at":"2016-07-11T15:38:53Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-07-01T12:32:15Z","updated_at":"2016-07-11T15:40:43Z","closed_at":null,"body":"Hi,\r\nI like the library, but there is one Problem I am having with it. You can not listen to more than one Input Midi Channel at a time. This is a serious limitation. My suggestion would be, to use a **Bitmask** instead of the Channel number to set the Channels to listen to. (So if bit 1 and 2 are set, you listen to Channels 1 and 2) At a later time in the \"User Code\", the User of the lib can sort the messages.\r\n\r\nThere are also two bugs in the Code, one might want to Fix:\r\n\r\n1. in the inputFilter method in Midi.hpp:\r\n the Argument \"inChannel\" is not used, but there is \"mInputChannel\" used instead. (You can not specify the Channel to filter if you call the method)\r\n \r\n2. in the thruFilter method in Midi.hpp:\r\n the Argument \"inChannel\" is not used, but there is \"mInputChannel\" used instead. (You can not specify the Channel to filter if you call the method)\r\n\r\nBTW: I can Upload my Code with the changes applied, if you want to see it."},"comment":{"url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/issues/comments/231773629","html_url":"https://github.com/FortySevenEffects/arduino_midi_library/issues/45#issuecomment-231773629","issue_url":"https://api.github.com/repos/FortySevenEffects/arduino_midi_library/issues/45","id":231773629,"user":{"login":"Franky47","id":1174092,"avatar_url":"https://avatars.githubusercontent.com/u/1174092?v=3","gravatar_id":"","url":"https://api.github.com/users/Franky47","html_url":"https://github.com/Franky47","followers_url":"https://api.github.com/users/Franky47/followers","following_url":"https://api.github.com/users/Franky47/following{/other_user}","gists_url":"https://api.github.com/users/Franky47/gists{/gist_id}","starred_url":"https://api.github.com/users/Franky47/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Franky47/subscriptions","organizations_url":"https://api.github.com/users/Franky47/orgs","repos_url":"https://api.github.com/users/Franky47/repos","events_url":"https://api.github.com/users/Franky47/events{/privacy}","received_events_url":"https://api.github.com/users/Franky47/received_events","type":"User","site_admin":false},"created_at":"2016-07-11T15:40:43Z","updated_at":"2016-07-11T15:40:43Z","body":"For the record, the bug in the input filter was already fixed in 2197975."}}
{"actor":{"display_login":"Franky47"}}