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
以 JavaScript 實作簡易 Audio Sprites
Search
Zhusee
May 18, 2013
Programming
280
1
Share
以 JavaScript 實作簡易 Audio Sprites
以 Bumbler to Speech 為例
Zhusee
May 18, 2013
More Decks by Zhusee
See All by Zhusee
Doing MVC with Baman.js
zhusee2
0
170
TubeNews.in @ WebConf Taiwan 2013
zhusee2
7
640
Other Decks in Programming
See All in Programming
過去のレビュー知見をSkillsで資産化した話
pkshadeck
PRO
1
2.2k
空間オーディオの活用
objectiveaudio
0
170
関係性から理解する"同一性"の型用語たち
pvcresin
2
490
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
180
The Arts and Crafts of Work in the AI Era — Toward Mastery in Software Development
kuranuki
0
110
AgentCore Optimizationを始めよう!
licux
4
270
Are We Really Coding 10× Faster with AI?
kohzas
0
220
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
330
継続的な負荷検証を目指して
pyama86
3
1.5k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
4
430
Firefoxにコントリビューションして得られた学び
ken7253
2
170
Moments When Things Go Wrong
aurimas
3
110
Featured
See All Featured
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
300
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The SEO Collaboration Effect
kristinabergwall1
1
450
30 Presentation Tips
portentint
PRO
1
300
GraphQLとの向き合い方2022年版
quramy
50
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
400
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Transcript
Ҏ JavaScript ؆қመ࡞ Audio Sprites Zhusee
[email protected]
Ҏ JavaScript ؆қመ࡞ Audio Sprites Zhusee
[email protected]
ၛ#VNCMFSUP4QFFDI㬪২
Audio Source
Audio Source Ұ ೋ ࡾ ࢛ ޒ ࣣ ീ
े lँँେՈɼ࠱z
None
“Speak” a number 42 d4 d10 d2 ೋ ࢛ े
Array
“Speak” a number .playPartial() d10 d2 d4
“Speak” a number .playPartial() d10 d2 d4
“Speak” a number .playPartial() d10 d2
“Speak” a number .playPartial() d2
Controlling <audio> Element ✤ var audio = document.querySelector(‘audio’) ✤ audio.pause()
✤ audio.currentTime = 2.45 #(sec) ✤ audio.play()
Summary ✤ Combine your audio files ✤ Write down time
information of each partial clip ✤ Control play/pause/position with JavaScript
http://bit.ly/bumbler