Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Web Audio APIで 楽器をつくる
Search
sakmak
November 28, 2014
0
260
Web Audio APIで 楽器をつくる
sakmak
November 28, 2014
Tweet
Share
More Decks by sakmak
See All by sakmak
20140925_TypeTalk.pdf
mexsakamoto
0
120
Featured
See All Featured
Designing Experiences People Love
moore
136
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
Debugging Ruby Performance
tmm1
70
11k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
18
1.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
Clear Off the Table
cherdarchuk
83
310k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
Building Effective Engineering Teams - LeadDev
addyosmani
27
1.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
19
1.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
29
46k
How GitHub Uses GitHub to Build GitHub
holman
468
290k
Transcript
Web Audio APIで 楽器をつくる ジングルベルをひいてみよう
<audio>タグとのちがい →Playのたびに音がつくられるのがいい 複数音声再生できる(連打・和音がだせる) →ゲーム向き
BufferLoaderクラス →複数音声ファイルを使うときに便利 →1個1個の音声ファイルが操作しやすくなる *buffer-loader.jsを読み込む と「BufferLoaderクラス」が使えるようになります。
デモ http://sakmak.sakura.ne.jp/webaudio/index.html スマホで見るときは横向きでお願いします。 あと下の方さわるとバーが出たりするので優しくさわってください。