{"action":"created","issue":{"url":"https://api.github.com/repos/WebAudio/web-audio-api/issues/456","labels_url":"https://api.github.com/repos/WebAudio/web-audio-api/issues/456/labels{/name}","comments_url":"https://api.github.com/repos/WebAudio/web-audio-api/issues/456/comments","events_url":"https://api.github.com/repos/WebAudio/web-audio-api/issues/456/events","html_url":"https://github.com/WebAudio/web-audio-api/issues/456","id":51437028,"number":456,"title":"Audio Worker \"bypass\" Attribute","user":{"login":"si-robertson","id":7645403,"avatar_url":"https://avatars.githubusercontent.com/u/7645403?v=3","gravatar_id":"","url":"https://api.github.com/users/si-robertson","html_url":"https://github.com/si-robertson","followers_url":"https://api.github.com/users/si-robertson/followers","following_url":"https://api.github.com/users/si-robertson/following{/other_user}","gists_url":"https://api.github.com/users/si-robertson/gists{/gist_id}","starred_url":"https://api.github.com/users/si-robertson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/si-robertson/subscriptions","organizations_url":"https://api.github.com/users/si-robertson/orgs","repos_url":"https://api.github.com/users/si-robertson/repos","events_url":"https://api.github.com/users/si-robertson/events{/privacy}","received_events_url":"https://api.github.com/users/si-robertson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WebAudio/web-audio-api/labels/Feature%20Request/Missing%20Feature","name":"Feature Request/Missing Feature","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/WebAudio/web-audio-api/milestones/2","labels_url":"https://api.github.com/repos/WebAudio/web-audio-api/milestones/2/labels","id":444686,"number":2,"title":"Web Audio v.next","description":"Postponed to next version of the Web Audio API.","creator":{"login":"olivierthereaux","id":604646,"avatar_url":"https://avatars.githubusercontent.com/u/604646?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierthereaux","html_url":"https://github.com/olivierthereaux","followers_url":"https://api.github.com/users/olivierthereaux/followers","following_url":"https://api.github.com/users/olivierthereaux/following{/other_user}","gists_url":"https://api.github.com/users/olivierthereaux/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierthereaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierthereaux/subscriptions","organizations_url":"https://api.github.com/users/olivierthereaux/orgs","repos_url":"https://api.github.com/users/olivierthereaux/repos","events_url":"https://api.github.com/users/olivierthereaux/events{/privacy}","received_events_url":"https://api.github.com/users/olivierthereaux/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":0,"state":"open","created_at":"2013-10-03T15:27:49Z","updated_at":"2015-01-08T19:20:39Z","due_on":null,"closed_at":null},"comments":18,"created_at":"2014-12-09T15:00:40Z","updated_at":"2015-01-28T10:35:29Z","closed_at":null,"body":"Would it be possible to add a `bypass` attribute to the Audio Worker interface?\r\n\r\nThe purpose of this would be to allow audio workers to be effectively switched on and off without having to continually pull them from (and push them into) a node chain while maintaining references to their previous input/output connections.\r\n\r\n```\r\ninterface AudioWorkerNode : AudioNode {\r\n    attribute boolean bypass;\r\n    ...\r\n}\r\n```\r\n\r\nSimply put, while `bypass` is true the audio worker's `onaudioprocess` event handler will not be called.\r\n\r\n----\r\nAs an afterthought, this attribute might be handy to have available on all audio nodes."},"comment":{"url":"https://api.github.com/repos/WebAudio/web-audio-api/issues/comments/71813007","html_url":"https://github.com/WebAudio/web-audio-api/issues/456#issuecomment-71813007","issue_url":"https://api.github.com/repos/WebAudio/web-audio-api/issues/456","id":71813007,"user":{"login":"jsantell","id":641267,"avatar_url":"https://avatars.githubusercontent.com/u/641267?v=3","gravatar_id":"","url":"https://api.github.com/users/jsantell","html_url":"https://github.com/jsantell","followers_url":"https://api.github.com/users/jsantell/followers","following_url":"https://api.github.com/users/jsantell/following{/other_user}","gists_url":"https://api.github.com/users/jsantell/gists{/gist_id}","starred_url":"https://api.github.com/users/jsantell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsantell/subscriptions","organizations_url":"https://api.github.com/users/jsantell/orgs","repos_url":"https://api.github.com/users/jsantell/repos","events_url":"https://api.github.com/users/jsantell/events{/privacy}","received_events_url":"https://api.github.com/users/jsantell/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T10:35:29Z","updated_at":"2015-01-28T10:35:29Z","body":"To follow up on a question regarding bypassing ChannelMerger and ChannelSplitter nodes from the WAC, in the Gecko implementation, we have all nodes bypassable (source nodes emit nothing, all other nodes copy the input buffer to output buffer), except ChannelMerger, ChannelSplitter and AudioDestination nodes are unaffected by setting the `passThrough` attribute."}}