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
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
Bash Introduction
62gerente
615
210k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
Designing for Timeless Needs
cassininazir
0
110
RailsConf 2023
tenderlove
30
1.3k
Technical Leadership for Architectural Decision Making
baasie
0
200
Exploring anti-patterns in Rails
aemeredith
2
220
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
36
Statistics for Hackers
jakevdp
799
230k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
270
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
51k
Transcript
Web Audio APIで 楽器をつくる ジングルベルをひいてみよう
<audio>タグとのちがい →Playのたびに音がつくられるのがいい 複数音声再生できる(連打・和音がだせる) →ゲーム向き
BufferLoaderクラス →複数音声ファイルを使うときに便利 →1個1個の音声ファイルが操作しやすくなる *buffer-loader.jsを読み込む と「BufferLoaderクラス」が使えるようになります。
デモ http://sakmak.sakura.ne.jp/webaudio/index.html スマホで見るときは横向きでお願いします。 あと下の方さわるとバーが出たりするので優しくさわってください。