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
マインクラフトとGoogleHomeを連携してみた
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
夜子まま
February 26, 2018
Programming
340
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
マインクラフトとGoogleHomeを連携してみた
GDG神戸
GoogleHome勉強会
発表資料
夜子まま
February 26, 2018
More Decks by 夜子まま
See All by 夜子まま
小学生における ブロックコーディングからテキストコーディングへの ステップアップの試み
yokmama
0
150
マインクラフトによる プログラミング学習の可能性
yokmama
1
490
Other Decks in Programming
See All in Programming
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
110
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
32
14k
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
1
590
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
140
SREの越境 / SRE Collaboration
y0hgi
2
290
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
AGENTS.md Is Not Enough:Build Skills, Don't Download Them
lx_t
0
130
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
210
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
1.1k
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
290
setup-vp GitLab対応の裏側
naokihaba
0
140
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
960
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
Crafting Experiences
bethany
1
360
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
500
Optimising Largest Contentful Paint
csswizardry
37
4k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
530
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
910
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
520
Done Done
chrislema
187
17k
Transcript
GoogleHomeͱϚΠΫϥΛ ͭͳ͛ͯΈͨ
ɹࣗݾհ ͜·· גࣜձࣾRe.Kayo-Systemɹදऔకࣾ גࣜձ͇ࣾ̔̕ɹऔక ΩοζϓϩάϥϛϯάεΫʔϧ͇̔̕ɹߨࢣ GDGਆށɾຊAndroidͷձਆށࢧ෦ PyData OsakaɹڞಉΦʔΨφΠβʔ 8x9Craft ϝΠϯϓϩάϥϚ
ࣥචͨ͠ຊ
ٕज़ॻయʹࢀՃ͠·͢ʂ ࣌ 2018/04/22 () ॴ ळ༿ݪUDX ΞΩόɾεΫΤΞ ओ࠵ TechBooster/ୡਓग़൛ձ ҰൠࢀՃ
ແྉ αʔΫϧࢀՃਃࠐظؒ 01/05ʙ01/24 αʔΫϧࢀՃඅ Ұൠ 7,000ԁ / ύτϩϯ 20,000ԁ ʢ੫ࠐΈʣ
ୈ15ճใίϛϡχςΟʔֶձશࠃେձͰ ͖ͬͯ·͢ɻ http://www.cis.gr.jp/zenkoku.html ςʔϚɿ ʰҬڞͱίϛϡχέʔγϣϯʱ ࣌ɿ 201803݄10()ɾ11() ձɿ େखલେֶɹ͘͞Β॒Ωϟϯύε
αϯTVʹग़ԋ͠·͢ʂ 3/4์ૹ
ຊ
ࠓճͬͯΈ͍ͨ͜ͱ
GoogleHome͔ΒMinecraft • Actions on Google Google Assistant༻ͷΞϓϦέʔγϣϯΛ࡞͢ΔͨΊͷϓϥο τϑΥʔϜͰɺGoogleHome͜ΕΛͬͯΞϓϦΛ࡞Δ͜ͱ͕ Ͱ͖Δɻ •
node.jsͳͲ • herokuɺnowͳͲ
Minecraft ͔ΒGoogleHome • google-home-notifier ࠷Α͘ΘΕ͍ͯΔ https://github.com/noelportugal/google-home-notifier • node-corevo-tts-cast ຊɺcorevo APIΛ͔ͭͬͯTTS͍ͯ͠Δ
https://github.com/futomi/node-corevo-tts-cast
google-home-notifierσϞ ͔ͬ͜Βͽͽͬ͘෩ຯͰ͍͖·͢
google-home-notifierΛ͏߹ Minecraft node.js google-home-notifier Express Google Home http
͏ͪΐͬͱͰ͖ͳ͍͔ʁ Minecraft Google Home ͜͜ ࣗ࡞Ͱ͖ͳ͍ʁ
google-home-notifier ΛݟͯΈΑ͏ʂ
google-home-notifierͷத
google-home-notifier.jsͷத ߦ 111ߦ αΠζɹ2.76kb ؔ 8ݸ
APIͷϑϩʔΛཧͯ͠Έͨ notify(message, callback) getSpeechUrl(message, host, callback) mdsn ϚϧνΩϟετDNS browse found
google-tts-api Text2Speech create url onDeviceUp(host, url, callback) castv2-client Chromecast json
͔͠ɺgoogle-tts-apiΛΈΔͱ
͠ɺ͓ࣄͰ google-home-notifierΛ͏࣌ ͝ҙ͍ͩ͘͞
Γ͍ͨ͜ͱ 8x9Craft Google Home Plugin google-home- notifier
Plugin։ൃ public interface I8x9CraftPlugin { String getPluginName(); boolean initialize(); boolean
terminate(); String call(String param); } TTSΫϥεΛ࡞ Jarʹ͢Δ
minecraftʹσϓϩΠ ϓϥάΠϯϑΥϧμʹJar ϑΝΠϧΛஔ͘
8x9Craft͔Βͷར༻ let tts = world.getPlugin("TTS") while(true){ let chat = crab.waitForChat()
tts.call(chat.message+”ͱ"+chat.playerName+"͕ݴ͍·ͨ͠") } • getPluginͰTTSͷϓϥάΠϯΛऔಘ • νϟοτͷൃݴ͕͘Δ·Ͱͭ • ൃݴͨ͠νϟοτΛGoogleHomeʹΒͤΔ
8x9Craft 2 GoogleHome σϞ
ײͨ͡ࣄ • GoogleHomeChromeCastͷٕज़͕ϕʔεʹͳ͍ͬͯΔͷͰ ChromeCastͷAPIΛͬͯ৭ʑ੍ޚͰ͖ΔɻJava͔ΒωΠςΟ ϒͰ͔ͭ͑ΔChromecastAPI͋ΔͷͰνϟϨϯδͯ͠Έ͍ͨɻ • google-home-notifier৭ʑ͋ΕͳͷͰΘͳ͍΄͏͕͍͍ • ChromecastͰૢ࡞͢ΔͱɺGoogleHomeͰಈ࡞͍ͯ͠ΔΞ ϓϦ͕ఀࢭͪ͠Ό͏ͷ͕ʢ࠶ੜதͷԻָ͕ࢭ·Δͱ͔ʣ
͋Γ͕ͱ͏͍͟͝·ͨ͠