资源描述:
《[Web.Audio.API(2013.3)].Boris.Smus.文字版》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、WebAudioAPIBorisSmusWebAudioAPIbyBorisSmusCopyright©2013BorisSmus.Allrightsreserved.PrintedintheUnitedStatesofAmerica.PublishedbyO’ReillyMedia,Inc.,1005GravensteinHighwayNorth,Sebastopol,CA95472.O’Reillybooksmaybepurchasedforeducational,business,orsalespromotionaluse.Onlineeditionsarealsoavailablef
2、ormosttitles(http://my.safaribooksonline.com).Formoreinformation,contactourcorporate/institutionalsalesdepartment:800-998-9938orcorporate@oreilly.com.Editors:SimonSt.LaurentandMeghanBlanchetteCoverDesigner:RandyComerProductionEditor:KaraEbrahimInteriorDesigner:DavidFutatoProofreader:JillyGagnonIllu
3、strator:RebeccaDemarestMarch2013:FirstEditionRevisionHistoryfortheFirstEdition:2013-03-07:FirstreleaseSeehttp://oreilly.com/catalog/errata.csp?isbn=9781449332686forreleasedetails.NutshellHandbook,theNutshellHandbooklogo,andtheO’ReillylogoareregisteredtrademarksofO’ReillyMedia,Inc.WebAudioAPI,theima
4、geofabrownlong-earedbat,andrelatedtradedressaretrademarksofO’ReillyMedia,Inc.Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheirproductsareclaimedastrademarks.Wherethosedesignationsappearinthisbook,andO’ReillyMedia,Inc.,wasawareofatrade‐markclaim,thedesignationshavebeenprintedincap
5、sorinitialcaps.Whileeveryprecautionhasbeentakeninthepreparationofthisbook,thepublisherandauthorassumenoresponsibilityforerrorsoromissions,orfordamagesresultingfromtheuseoftheinformationcontainedherein.ISBN:978-1-449-33268-6[LSI]Tomyparents:thankyouforthemusicTableofContentsPreface..................
6、.....................................................vii1.Fundamentals..............................................................1ABriefHistoryofAudioontheWeb1GamesandInteractivity2TheAudioContext3InitializinganAudioContext4TypesofWebAudioNodes5ConnectingtheAudioGraph5PowerofModularRouting6Loadi
7、ngandPlayingSounds10PuttingItAllTogether112.PerfectTimingandLatency..................................................13TimingModel13PrecisePlaybackandResume13SchedulingPreciseRhythms15ChangingAudioParameter