Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
以 JavaScript 實作簡易 Audio Sprites
Search
Zhusee
May 18, 2013
Programming
280
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
以 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
180
TubeNews.in @ WebConf Taiwan 2013
zhusee2
7
660
Other Decks in Programming
See All in Programming
AI-Powered Domain-Driven Design
ziobrando
0
350
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
5
1.2k
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.1k
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.1k
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
130
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
130
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.4k
R8 の設定見直しでアプリサイズ削減
andpad
0
230
Performance Optimization With LLMs
xleitix
0
220
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.2k
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.9k
golang-bob.pdf
iwatsukayura
0
150
Featured
See All Featured
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
460
How to train your dragon (web standard)
notwaldorf
96
6.9k
It's Worth the Effort
3n
188
29k
Optimizing for Happiness
mojombo
378
71k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
sira's awesome portfolio website redesign presentation
elsirapls
0
470
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
310
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
500
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
470
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