Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
49
Writing Fast Ruby
sferik
630
62k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
74
Done Done
chrislema
186
16k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
330
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
My Coaching Mixtape
mlcsv
0
13
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
230
A designer walks into a library…
pauljervisheath
210
24k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
57
40k
Prompt Engineering for Job Search
mfonobong
0
130
Transcript
Web Audio APIで 楽器をつくる ジングルベルをひいてみよう
<audio>タグとのちがい →Playのたびに音がつくられるのがいい 複数音声再生できる(連打・和音がだせる) →ゲーム向き
BufferLoaderクラス →複数音声ファイルを使うときに便利 →1個1個の音声ファイルが操作しやすくなる *buffer-loader.jsを読み込む と「BufferLoaderクラス」が使えるようになります。
デモ http://sakmak.sakura.ne.jp/webaudio/index.html スマホで見るときは横向きでお願いします。 あと下の方さわるとバーが出たりするので優しくさわってください。