修正メモgoogle-tts-api
memo
変更前
},
"bundleDependencies": false,
"dependencies": {
"body-parser": "^1.15.2",
"castv2-client": "^1.1.2",
"express": "^4.14.0",
"google-tts-api": "https://github.com/darrencruse/google-tts/tarball/british-voice",
"mdns": "^2.3.3",
"ngrok": "^2.2.4"
},
変更後
},
"bundleDependencies": false,
"dependencies": {
"body-parser": "^1.15.2",
"castv2-client": "^1.1.2",
"express": "^4.14.0",
"google-tts-api": "0.0.4",
"mdns": "^2.3.3",
"ngrok": "^2.2.4"
},
変更前
変更後
参考
変更前
},
"bundleDependencies": false,
"dependencies": {
"body-parser": "^1.15.2",
"castv2-client": "^1.1.2",
"express": "^4.14.0",
"google-tts-api": "https://github.com/darrencruse/google-tts/tarball/british-voice",
"mdns": "^2.3.3",
"ngrok": "^2.2.4"
},
変更後
},
"bundleDependencies": false,
"dependencies": {
"body-parser": "^1.15.2",
"castv2-client": "^1.1.2",
"express": "^4.14.0",
"google-tts-api": "0.0.4",
"mdns": "^2.3.3",
"ngrok": "^2.2.4"
},
cd node_modules/google-home-notifier
npm update google-tts-api
変更前
var ip = function(ip) { deviceAddress = ip; return this; }
変更後
var ip = function(ip, lang = 'ja') { deviceAddress = ip; language = lang; return this; }
参考
google-home-notifierが日本語を喋ってくれない?
https://qiita.com/sohsatoh/items/69bcad398ffae11359f0
コメント
コメントを投稿