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
300
Web Audio APIで 楽器をつくる
sakmak
November 28, 2014
Tweet
Share
More Decks by sakmak
See All by sakmak
20140925_TypeTalk.pdf
mexsakamoto
0
130
Featured
See All Featured
Practical Orchestrator
shlominoach
191
11k
The World Runs on Bad Software
bkeepers
PRO
72
12k
A Modern Web Designer's Workflow
chriscoyier
698
190k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Raft: Consensus for Rubyists
vanstee
141
7.3k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Darren the Foodie - Storyboard
khoart
PRO
2
2.4k
The Invisible Side of Design
smashingmag
302
51k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
GraphQLとの向き合い方2022年版
quramy
50
14k
Transcript
Web Audio APIで 楽器をつくる ジングルベルをひいてみよう
<audio>タグとのちがい →Playのたびに音がつくられるのがいい 複数音声再生できる(連打・和音がだせる) →ゲーム向き
BufferLoaderクラス →複数音声ファイルを使うときに便利 →1個1個の音声ファイルが操作しやすくなる *buffer-loader.jsを読み込む と「BufferLoaderクラス」が使えるようになります。
デモ http://sakmak.sakura.ne.jp/webaudio/index.html スマホで見るときは横向きでお願いします。 あと下の方さわるとバーが出たりするので優しくさわってください。