{"action":"created","issue":{"url":"https://api.github.com/repos/cuthbertLab/music21/issues/18","labels_url":"https://api.github.com/repos/cuthbertLab/music21/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/cuthbertLab/music21/issues/18/comments","events_url":"https://api.github.com/repos/cuthbertLab/music21/issues/18/events","html_url":"https://github.com/cuthbertLab/music21/issues/18","id":22467810,"number":18,"title":"Braille: Excess music hyphen before and space after measure with voices","user":{"login":"mscuthbert","id":3521479,"avatar_url":"https://avatars.githubusercontent.com/u/3521479?v=3","gravatar_id":"","url":"https://api.github.com/users/mscuthbert","html_url":"https://github.com/mscuthbert","followers_url":"https://api.github.com/users/mscuthbert/followers","following_url":"https://api.github.com/users/mscuthbert/following{/other_user}","gists_url":"https://api.github.com/users/mscuthbert/gists{/gist_id}","starred_url":"https://api.github.com/users/mscuthbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscuthbert/subscriptions","organizations_url":"https://api.github.com/users/mscuthbert/orgs","repos_url":"https://api.github.com/users/mscuthbert/repos","events_url":"https://api.github.com/users/mscuthbert/events{/privacy}","received_events_url":"https://api.github.com/users/mscuthbert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cuthbertLab/music21/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/cuthbertLab/music21/labels/priority%3Alow","name":"priority:low","color":"bfd4f2"},{"url":"https://api.github.com/repos/cuthbertLab/music21/labels/verified%3Ayes","name":"verified:yes","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-11-11T18:46:21Z","updated_at":"2015-01-11T19:33:01Z","closed_at":"2015-01-11T19:33:01Z","body":"What steps will reproduce the problem?\r\n1. Run the following python script:\r\n\r\nfrom music21.note import WholeNote;\r\nfrom music21.stream import Part, Voice;\r\nv1 = Voice()\r\nv1.append(WholeNote('C4'))\r\nv2 = Voice()\r\nv2.append(WholeNote('G4'))\r\np = Part()\r\np.insert(0, v1)\r\np.insert(0, v2)\r\np.makeMeasures().measure(1).show('braille')\r\n\r\n(Extract a specific measure to shorten the result string for clarity.\r\nThe mentioned excess hyphen and space are present in normal p.show('braille')\r\nas well.)\r\n\r\nWhat is the expected output?\r\n\r\n⠼⠙⠲⠀⠐⠽⠣⠜⠐⠷⠣⠅\r\n\r\nWhat do you see instead?\r\n\r\n⠼⠙⠲⠀⠐⠀⠐⠽⠣⠜⠐⠷⠀⠣⠅\r\n\r\nPlease provide any additional information below.\r\n\r\nA measure with full-measure in-accord voices is normally just separated by ⠣⠜.\r\nI do not see any reason why the transcription should add a leading music hyphen\r\n(⠐) to a measure which contains full-measure in-accord.  Nor do I think\r\nthere should be a space after the measure and between the final barline sign.\r\n\r\nThis only seems to occur if there are multiple voices in a measure.\r\n\r\nLooking at the code, I think some of the logic for figuring out\r\naddSpace and addHyphen probably needs an overhaul to not fire in the situation\r\nprovided in this test case."},"comment":{"url":"https://api.github.com/repos/cuthbertLab/music21/issues/comments/69507532","html_url":"https://github.com/cuthbertLab/music21/issues/18#issuecomment-69507532","issue_url":"https://api.github.com/repos/cuthbertLab/music21/issues/18","id":69507532,"user":{"login":"mscuthbert","id":3521479,"avatar_url":"https://avatars.githubusercontent.com/u/3521479?v=3","gravatar_id":"","url":"https://api.github.com/users/mscuthbert","html_url":"https://github.com/mscuthbert","followers_url":"https://api.github.com/users/mscuthbert/followers","following_url":"https://api.github.com/users/mscuthbert/following{/other_user}","gists_url":"https://api.github.com/users/mscuthbert/gists{/gist_id}","starred_url":"https://api.github.com/users/mscuthbert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mscuthbert/subscriptions","organizations_url":"https://api.github.com/users/mscuthbert/orgs","repos_url":"https://api.github.com/users/mscuthbert/repos","events_url":"https://api.github.com/users/mscuthbert/events{/privacy}","received_events_url":"https://api.github.com/users/mscuthbert/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T19:33:01Z","updated_at":"2015-01-11T19:33:01Z","body":"I'm following the Enhancement model suggested at http://brianegranger.com/?p=249 -- closing the issue here; if others believe it is important, they can reopen the issue. "}}