{"action":"created","issue":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/218","repository_url":"https://api.github.com/repos/bbcmicrobit/micropython","labels_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/218/comments","events_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/218/events","html_url":"https://github.com/bbcmicrobit/micropython/issues/218","id":136196089,"number":218,"title":"Weird issue with music wait=False","user":{"login":"gbaman","id":833193,"avatar_url":"https://avatars.githubusercontent.com/u/833193?v=3","gravatar_id":"","url":"https://api.github.com/users/gbaman","html_url":"https://github.com/gbaman","followers_url":"https://api.github.com/users/gbaman/followers","following_url":"https://api.github.com/users/gbaman/following{/other_user}","gists_url":"https://api.github.com/users/gbaman/gists{/gist_id}","starred_url":"https://api.github.com/users/gbaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gbaman/subscriptions","organizations_url":"https://api.github.com/users/gbaman/orgs","repos_url":"https://api.github.com/users/gbaman/repos","events_url":"https://api.github.com/users/gbaman/events{/privacy}","received_events_url":"https://api.github.com/users/gbaman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-24T21:47:11Z","updated_at":"2016-02-25T12:29:20Z","closed_at":null,"body":"Was fiddling around with doing piano stuff, where the note doesn't stop till something else stops it (holding down the key on the piano then let go).\r\nI had this code below.\r\n```python\r\nfrom microbit import *\r\nimport music\r\nprint(\"Starting\")\r\n\r\nsleep(1000)\r\n\r\nmusic.play('c4:4', wait=False)\r\n\r\nwhile True:\r\n    print(\"Test\")\r\n    sleep(1000)\r\n```\r\nWhen I ran it on the Microbit using Mu, got a bit of a surprising result... Is only an issue when I set ```wait=False```, which is required to do my idea and use ```.stop()``` later on.\r\n![screen shot 2016-02-23 at 00 40 28](https://cloud.githubusercontent.com/assets/833193/13302090/fabfb72c-db3f-11e5-9fb3-5c94be18a205.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/comments/188762353","html_url":"https://github.com/bbcmicrobit/micropython/issues/218#issuecomment-188762353","issue_url":"https://api.github.com/repos/bbcmicrobit/micropython/issues/218","id":188762353,"user":{"login":"dpgeorge","id":6187689,"avatar_url":"https://avatars.githubusercontent.com/u/6187689?v=3","gravatar_id":"","url":"https://api.github.com/users/dpgeorge","html_url":"https://github.com/dpgeorge","followers_url":"https://api.github.com/users/dpgeorge/followers","following_url":"https://api.github.com/users/dpgeorge/following{/other_user}","gists_url":"https://api.github.com/users/dpgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgeorge/subscriptions","organizations_url":"https://api.github.com/users/dpgeorge/orgs","repos_url":"https://api.github.com/users/dpgeorge/repos","events_url":"https://api.github.com/users/dpgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/dpgeorge/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T12:29:20Z","updated_at":"2016-02-25T12:29:20Z","body":"Work around is to put the single note in a list:\r\n```\r\nmusic.play(['c4:4'], wait=False)\r\n```"}}