{"action":"created","issue":{"url":"https://api.github.com/repos/mohayonao/web-audio-scheduler/issues/8","repository_url":"https://api.github.com/repos/mohayonao/web-audio-scheduler","labels_url":"https://api.github.com/repos/mohayonao/web-audio-scheduler/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/mohayonao/web-audio-scheduler/issues/8/comments","events_url":"https://api.github.com/repos/mohayonao/web-audio-scheduler/issues/8/events","html_url":"https://github.com/mohayonao/web-audio-scheduler/issues/8","id":173607830,"number":8,"title":"sched.stop() doesn't stop it right away","user":{"login":"runsun","id":4404547,"avatar_url":"https://avatars.githubusercontent.com/u/4404547?v=3","gravatar_id":"","url":"https://api.github.com/users/runsun","html_url":"https://github.com/runsun","followers_url":"https://api.github.com/users/runsun/followers","following_url":"https://api.github.com/users/runsun/following{/other_user}","gists_url":"https://api.github.com/users/runsun/gists{/gist_id}","starred_url":"https://api.github.com/users/runsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runsun/subscriptions","organizations_url":"https://api.github.com/users/runsun/orgs","repos_url":"https://api.github.com/users/runsun/repos","events_url":"https://api.github.com/users/runsun/events{/privacy}","received_events_url":"https://api.github.com/users/runsun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-27T18:05:24Z","updated_at":"2016-08-30T15:48:49Z","closed_at":null,"body":"Some code like this:\r\n\r\n`sched.stop( true )  // stop old song`\r\n`sched.start( somefunc ) // start new one`\r\n\r\ndoesn't seem to stop the old song right away, resulting in overlapping of the last note of old song and the first note of the new song.  \r\n\r\nThe task is to pick a new song from a play list. Users might listen to one song, then immediately want to listen to a new one. \r\n"},"comment":{"url":"https://api.github.com/repos/mohayonao/web-audio-scheduler/issues/comments/243485677","html_url":"https://github.com/mohayonao/web-audio-scheduler/issues/8#issuecomment-243485677","issue_url":"https://api.github.com/repos/mohayonao/web-audio-scheduler/issues/8","id":243485677,"user":{"login":"runsun","id":4404547,"avatar_url":"https://avatars.githubusercontent.com/u/4404547?v=3","gravatar_id":"","url":"https://api.github.com/users/runsun","html_url":"https://github.com/runsun","followers_url":"https://api.github.com/users/runsun/followers","following_url":"https://api.github.com/users/runsun/following{/other_user}","gists_url":"https://api.github.com/users/runsun/gists{/gist_id}","starred_url":"https://api.github.com/users/runsun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runsun/subscriptions","organizations_url":"https://api.github.com/users/runsun/orgs","repos_url":"https://api.github.com/users/runsun/repos","events_url":"https://api.github.com/users/runsun/events{/privacy}","received_events_url":"https://api.github.com/users/runsun/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T15:48:49Z","updated_at":"2016-08-30T15:48:49Z","body":"Sure I can show you the code (a html file). Let me know how. Before we do that, the new metronome example produces an error inside the ticktack():\r\n\r\n    amp.gain.setValueAtTime(0.5, t0);\r\n    amp.gain.exponentialRampToValueAtTime(1e-6, t1);\r\n    amp.connect(masterGain); // <-- connect to master gain, instead of AudioDestinationNode\r\n\r\nin the console:\r\n\r\n   Uncaught TypeError: Failed to execute 'connect' on 'AudioNode': No function was found that matched the signature provided.\r\n\r\nThe `masterGain` was shown to be `null` inside ticktack."}}
{"actor":{"display_login":"runsun"}}