Upgrade to Pro — share decks privately, control downloads, hide ads and more …

マインクラフトとGoogleHomeを連携してみた

夜子まま
February 26, 2018

 マインクラフトとGoogleHomeを連携してみた

GDG神戸
GoogleHome勉強会
発表資料

夜子まま

February 26, 2018
Tweet

More Decks by 夜子まま

Other Decks in Programming

Transcript

  1. ٕज़ॻయʹࢀՃ͠·͢ʂ ೔࣌ 2018/04/22 (೔)
 ৔ॴ ळ༿ݪUDX ΞΩόɾεΫΤΞ
 ओ࠵ TechBooster/ୡਓग़൛ձ
 ҰൠࢀՃ

    ແྉ αʔΫϧࢀՃਃࠐظؒ 01/05ʙ01/24 
 αʔΫϧࢀՃඅ Ұൠ 7,000ԁ / ύτϩϯ 20,000ԁ ʢ੫ࠐΈʣ
  2. 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
  3. Plugin։ൃ public interface I8x9CraftPlugin { String getPluginName(); boolean initialize(); boolean

    terminate(); String call(String param); } TTSΫϥεΛ࡞੒ Jarʹ͢Δ
  4. 8x9Craft͔Βͷར༻ let tts = world.getPlugin("TTS") while(true){ let chat = crab.waitForChat()

    tts.call(chat.message+”ͱ"+chat.playerName+"͕ݴ͍·ͨ͠") } • getPluginͰTTSͷϓϥάΠϯΛऔಘ • νϟοτͷൃݴ͕͘Δ·Ͱ଴ͭ • ൃݴͨ͠νϟοτΛGoogleHomeʹ஻ΒͤΔ