{"action":"closed","issue":{"url":"https://api.github.com/repos/colinbdclark/Flocking/issues/193","repository_url":"https://api.github.com/repos/colinbdclark/Flocking","labels_url":"https://api.github.com/repos/colinbdclark/Flocking/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/colinbdclark/Flocking/issues/193/comments","events_url":"https://api.github.com/repos/colinbdclark/Flocking/issues/193/events","html_url":"https://github.com/colinbdclark/Flocking/issues/193","id":185251147,"number":193,"title":"Pitch bend and song pointer MIDI messages are read incorrectly","user":{"login":"colinbdclark","id":558076,"avatar_url":"https://avatars.githubusercontent.com/u/558076?v=3","gravatar_id":"","url":"https://api.github.com/users/colinbdclark","html_url":"https://github.com/colinbdclark","followers_url":"https://api.github.com/users/colinbdclark/followers","following_url":"https://api.github.com/users/colinbdclark/following{/other_user}","gists_url":"https://api.github.com/users/colinbdclark/gists{/gist_id}","starred_url":"https://api.github.com/users/colinbdclark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinbdclark/subscriptions","organizations_url":"https://api.github.com/users/colinbdclark/orgs","repos_url":"https://api.github.com/users/colinbdclark/repos","events_url":"https://api.github.com/users/colinbdclark/events{/privacy}","received_events_url":"https://api.github.com/users/colinbdclark/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T22:30:01Z","updated_at":"2016-12-17T16:30:40Z","closed_at":"2016-12-17T16:30:40Z","body":"Flocking currently erroneously reads incoming 14-bit MIDI messages such as pitch bend and song pointer:\n\nhttps://github.com/colinbdclark/Flocking/blob/ddcfd375097382351433940f7a510a0c8d3e144a/src/web/midi.js#L216\nhttps://github.com/colinbdclark/Flocking/blob/ddcfd375097382351433940f7a510a0c8d3e144a/src/web/midi.js#L286\n\nThe message's MSB (i.e. <code>data[2]</code>) should be shifted, not the LSB. Since this error is duplicated twice in the code base, it's clear that it should be factored into a utility function for reading 14-bit MIDI messages.\n"}}
{"actor":{"display_login":"colinbdclark"}}