{"action":"created","issue":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/2383","repository_url":"https://api.github.com/repos/musescore/MuseScore","labels_url":"https://api.github.com/repos/musescore/MuseScore/issues/2383/labels{/name}","comments_url":"https://api.github.com/repos/musescore/MuseScore/issues/2383/comments","events_url":"https://api.github.com/repos/musescore/MuseScore/issues/2383/events","html_url":"https://github.com/musescore/MuseScore/pull/2383","id":133057616,"number":2383,"title":"Improve pattern detection in beamed notes (zero slope)","user":{"login":"pgkos","id":11692818,"avatar_url":"https://avatars.githubusercontent.com/u/11692818?v=3","gravatar_id":"","url":"https://api.github.com/users/pgkos","html_url":"https://github.com/pgkos","followers_url":"https://api.github.com/users/pgkos/followers","following_url":"https://api.github.com/users/pgkos/following{/other_user}","gists_url":"https://api.github.com/users/pgkos/gists{/gist_id}","starred_url":"https://api.github.com/users/pgkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgkos/subscriptions","organizations_url":"https://api.github.com/users/pgkos/orgs","repos_url":"https://api.github.com/users/pgkos/repos","events_url":"https://api.github.com/users/pgkos/events{/privacy}","received_events_url":"https://api.github.com/users/pgkos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-11T18:55:28Z","updated_at":"2016-02-15T06:27:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/musescore/MuseScore/pulls/2383","html_url":"https://github.com/musescore/MuseScore/pull/2383","diff_url":"https://github.com/musescore/MuseScore/pull/2383.diff","patch_url":"https://github.com/musescore/MuseScore/pull/2383.patch"},"body":"This improves the behavior of the Beam::slopeZero method.\r\n\r\nIf there is a repeated pattern of pitches in the beamed notes, the beam will have zero slope (ref. Behind Bars, pg. 22):\r\n\r\nBefore:\r\n![beamslope1](https://cloud.githubusercontent.com/assets/11692818/12986529/0dfe7ef6-d0f8-11e5-8c5d-a278af417063.png)\r\nAfter:\r\n![beamslope2](https://cloud.githubusercontent.com/assets/11692818/12986533/10002510-d0f8-11e5-8b60-a77729664187.png)\r\n\r\nThe slope will also be zero if the pattern of pitches is \"truncated\", e.g.: a b c d a b c"},"comment":{"url":"https://api.github.com/repos/musescore/MuseScore/issues/comments/184080358","html_url":"https://github.com/musescore/MuseScore/pull/2383#issuecomment-184080358","issue_url":"https://api.github.com/repos/musescore/MuseScore/issues/2383","id":184080358,"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":"2016-02-15T06:27:16Z","updated_at":"2016-02-15T06:27:16Z","body":"From what I heard from @wschweer, the layouting in the newlayout branch is currently faster, but also a lot of codes has been commented out or removed... So I don't have definitive answer.\r\n\r\nFor my test, I ran tst_benchmark 5 times with current master and 5 times with this PR merged."}}