{"action":"created","issue":{"url":"https://api.github.com/repos/leezer3/OpenBVE/issues/298","repository_url":"https://api.github.com/repos/leezer3/OpenBVE","labels_url":"https://api.github.com/repos/leezer3/OpenBVE/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/leezer3/OpenBVE/issues/298/comments","events_url":"https://api.github.com/repos/leezer3/OpenBVE/issues/298/events","html_url":"https://github.com/leezer3/OpenBVE/pull/298","id":389732128,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3NjUzODQ3","number":298,"title":"New: Add microphone input","user":{"login":"s520","id":29241703,"node_id":"MDQ6VXNlcjI5MjQxNzAz","avatar_url":"https://avatars3.githubusercontent.com/u/29241703?v=4","gravatar_id":"","url":"https://api.github.com/users/s520","html_url":"https://github.com/s520","followers_url":"https://api.github.com/users/s520/followers","following_url":"https://api.github.com/users/s520/following{/other_user}","gists_url":"https://api.github.com/users/s520/gists{/gist_id}","starred_url":"https://api.github.com/users/s520/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s520/subscriptions","organizations_url":"https://api.github.com/users/s520/orgs","repos_url":"https://api.github.com/users/s520/repos","events_url":"https://api.github.com/users/s520/events{/privacy}","received_events_url":"https://api.github.com/users/s520/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-11T12:03:21Z","updated_at":"2018-12-11T12:43:33Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/leezer3/OpenBVE/pulls/298","html_url":"https://github.com/leezer3/OpenBVE/pull/298","diff_url":"https://github.com/leezer3/OpenBVE/pull/298.diff","patch_url":"https://github.com/leezer3/OpenBVE/pull/298.patch"},"body":"This PR adds the syntax called Track.MicSound that plays the sound from the microphone on the simulation.\r\n\r\nThe usage of this syntax is as follows.\r\n`Track.MicSound(X, Y, BackwardTolerance; ForwardTolerance)`\r\n\r\nSpecify the range to be played by BackwardTolerance and ForwardTolerance.\r\n\r\nThe PLAY_MIC_SOUNDS command toggles playback on and off.\r\n\r\nThe PLAY_MIC_SOUNDS command is assigned to W key by default."},"comment":{"url":"https://api.github.com/repos/leezer3/OpenBVE/issues/comments/446189481","html_url":"https://github.com/leezer3/OpenBVE/pull/298#issuecomment-446189481","issue_url":"https://api.github.com/repos/leezer3/OpenBVE/issues/298","id":446189481,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjE4OTQ4MQ==","user":{"login":"s520","id":29241703,"node_id":"MDQ6VXNlcjI5MjQxNzAz","avatar_url":"https://avatars3.githubusercontent.com/u/29241703?v=4","gravatar_id":"","url":"https://api.github.com/users/s520","html_url":"https://github.com/s520","followers_url":"https://api.github.com/users/s520/followers","following_url":"https://api.github.com/users/s520/following{/other_user}","gists_url":"https://api.github.com/users/s520/gists{/gist_id}","starred_url":"https://api.github.com/users/s520/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s520/subscriptions","organizations_url":"https://api.github.com/users/s520/orgs","repos_url":"https://api.github.com/users/s520/repos","events_url":"https://api.github.com/users/s520/events{/privacy}","received_events_url":"https://api.github.com/users/s520/received_events","type":"User","site_admin":false},"created_at":"2018-12-11T12:43:33Z","updated_at":"2018-12-11T12:43:33Z","author_association":"CONTRIBUTOR","body":"We would like to make OpenBVE available as a conductor simulator.\r\n\r\nWe decided to reproduce the station announcement as the first step and added this syntax."}}
{"actor":{"display_login":"s520"}}