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
300
0
Share
Web Audio APIで 楽器をつくる
sakmak
November 28, 2014
More Decks by sakmak
See All by sakmak
20140925_TypeTalk.pdf
mexsakamoto
0
130
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
93
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
160
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Curse of the Amulet
leimatthew05
1
11k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
53k
Claude Code のすすめ
schroneko
67
220k
Building Applications with DynamoDB
mza
96
7k
Chasing Engaging Ingredients in Design
codingconduct
0
160
From π to Pie charts
rasagy
0
160
Site-Speed That Sticks
csswizardry
13
1.1k
Transcript
Web Audio APIで 楽器をつくる ジングルベルをひいてみよう
<audio>タグとのちがい →Playのたびに音がつくられるのがいい 複数音声再生できる(連打・和音がだせる) →ゲーム向き
BufferLoaderクラス →複数音声ファイルを使うときに便利 →1個1個の音声ファイルが操作しやすくなる *buffer-loader.jsを読み込む と「BufferLoaderクラス」が使えるようになります。
デモ http://sakmak.sakura.ne.jp/webaudio/index.html スマホで見るときは横向きでお願いします。 あと下の方さわるとバーが出たりするので優しくさわってください。