{"action":"created","issue":{"url":"https://api.github.com/repos/pingdynasty/OwlProgram/issues/15","labels_url":"https://api.github.com/repos/pingdynasty/OwlProgram/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/pingdynasty/OwlProgram/issues/15/comments","events_url":"https://api.github.com/repos/pingdynasty/OwlProgram/issues/15/events","html_url":"https://github.com/pingdynasty/OwlProgram/issues/15","id":92140910,"number":15,"title":"Connect audio input to web patch","user":{"login":"pingdynasty","id":648870,"avatar_url":"https://avatars.githubusercontent.com/u/648870?v=3","gravatar_id":"","url":"https://api.github.com/users/pingdynasty","html_url":"https://github.com/pingdynasty","followers_url":"https://api.github.com/users/pingdynasty/followers","following_url":"https://api.github.com/users/pingdynasty/following{/other_user}","gists_url":"https://api.github.com/users/pingdynasty/gists{/gist_id}","starred_url":"https://api.github.com/users/pingdynasty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pingdynasty/subscriptions","organizations_url":"https://api.github.com/users/pingdynasty/orgs","repos_url":"https://api.github.com/users/pingdynasty/repos","events_url":"https://api.github.com/users/pingdynasty/events{/privacy}","received_events_url":"https://api.github.com/users/pingdynasty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"samuele-artuso","id":3853889,"avatar_url":"https://avatars.githubusercontent.com/u/3853889?v=3","gravatar_id":"","url":"https://api.github.com/users/samuele-artuso","html_url":"https://github.com/samuele-artuso","followers_url":"https://api.github.com/users/samuele-artuso/followers","following_url":"https://api.github.com/users/samuele-artuso/following{/other_user}","gists_url":"https://api.github.com/users/samuele-artuso/gists{/gist_id}","starred_url":"https://api.github.com/users/samuele-artuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuele-artuso/subscriptions","organizations_url":"https://api.github.com/users/samuele-artuso/orgs","repos_url":"https://api.github.com/users/samuele-artuso/repos","events_url":"https://api.github.com/users/samuele-artuso/events{/privacy}","received_events_url":"https://api.github.com/users/samuele-artuso/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2015-06-30T16:44:23Z","updated_at":"2015-08-26T20:40:29Z","closed_at":null,"body":"`make web` generates a patch.js file which is controlled from `WebSources/patch.html`.\r\nWe need to connect an audio input to the dsp process.\r\nThe user should have a choice of preset WAVs to use as input (looping).\r\nWould be nice to also be able to connect the mic/line.\r\n\r\nThe `webaudio.js` implementation is based on this:\r\nhttp://thealphanerd.io/blog/from-faust-to-webaudio/\r\n\r\nThere is a `connect` method but I'm not sure how the AudioContext works.\r\n\r\nThis might be useful\r\nhttp://typedarray.org/from-microphone-to-wav-with-getusermedia-and-web-audio/"},"comment":{"url":"https://api.github.com/repos/pingdynasty/OwlProgram/issues/comments/135164354","html_url":"https://github.com/pingdynasty/OwlProgram/issues/15#issuecomment-135164354","issue_url":"https://api.github.com/repos/pingdynasty/OwlProgram/issues/15","id":135164354,"user":{"login":"marsus","id":646682,"avatar_url":"https://avatars.githubusercontent.com/u/646682?v=3","gravatar_id":"","url":"https://api.github.com/users/marsus","html_url":"https://github.com/marsus","followers_url":"https://api.github.com/users/marsus/followers","following_url":"https://api.github.com/users/marsus/following{/other_user}","gists_url":"https://api.github.com/users/marsus/gists{/gist_id}","starred_url":"https://api.github.com/users/marsus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marsus/subscriptions","organizations_url":"https://api.github.com/users/marsus/orgs","repos_url":"https://api.github.com/users/marsus/repos","events_url":"https://api.github.com/users/marsus/events{/privacy}","received_events_url":"https://api.github.com/users/marsus/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T20:40:29Z","updated_at":"2015-08-26T20:40:29Z","body":"ok, I'll add that to the build tomorrow.\n160Kb is still quite big, no?\nWhat do you think about adding gzip to Apache?\nCompressing the original js might be smaller than compressing the minified\njs. I'll try it out.\n\n"}}