KyleNau Posted May 30, 2013 Share Posted May 30, 2013 I recorded this video tutorial earlier this year, offering an easy-to-follow introduction to the Web Audio API. Just thought I'd share it here as well: http://www.youtube.com/watch?v=1wYTkZVQKzs I'm about to start recording more tutorials, so any thoughts or pointers are appreciated. bfmags 1 Quote Link to comment Share on other sites More sharing options...
mwatt Posted July 21, 2013 Share Posted July 21, 2013 Excellent video tutorial. Thank you very much indeed. Posting a link to this on my site. Quote Link to comment Share on other sites More sharing options...
KyleNau Posted July 23, 2013 Author Share Posted July 23, 2013 Thanks, I'm glad you liked it! Quote Link to comment Share on other sites More sharing options...
Rnd- Posted October 29, 2013 Share Posted October 29, 2013 Hi Kyle.. Im already watch your tutorial thats cool ^^btw is there any other way to load sound ??its seems xmlhttpRequest only works when you use server so we must use in 'localhost/blablabla' Quote Link to comment Share on other sites More sharing options...
GBeebe Posted July 23, 2014 Share Posted July 23, 2014 Wow, thanks! I learned a lot from this video. Quote Link to comment Share on other sites More sharing options...
GBeebe Posted July 25, 2014 Share Posted July 25, 2014 Hmm, this worked 2 days ago, tried it today and got an error. I typed the Sound.js exactly as you have yours, but I added looping capabilities, but I swear it was working 2 days ago, and I haven't touched it until now... I just got an error on the that.volume = audioContext.createGainNode(); line.I inspected (console.log) the audioContext object and saw that there was a .createGain() but not .createGainNode(), I changed it and got a new erroron the playSound.noteOn(0); line. Upon further inspection I saw that it no longer existed and so I replaced it with playSound.start(); and that fixed it. So I'm wondering if there was an update to the web audio api? Quote Link to comment Share on other sites More sharing options...
d13 Posted September 4, 2014 Share Posted September 4, 2014 So I'm wondering if there was an update to the web audio api?The version of the API that Kyle was using isn't current anymore. Quote Link to comment Share on other sites More sharing options...
KyleNau Posted September 4, 2014 Author Share Posted September 4, 2014 Sorry I've missed updating this post. Yes, the Web Audio API has been updated in both Chrome and FireFox. The term "node" is being dropped from most of the commands, so createPannerNode would now be createPanner and the webkit prefix is being dropped from AudioContext. It's still there for Safari, though. Basically, it's being broken again in order to be fixed. Don't you love HTML5 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.