{"id":1265,"date":"2017-02-12T13:44:04","date_gmt":"2017-02-12T04:44:04","guid":{"rendered":"http:\/\/bezelie.com\/blog\/?page_id=1265"},"modified":"2017-10-09T11:50:38","modified_gmt":"2017-10-09T02:50:38","slug":"bpk-ex5-alexa%e3%81%ab%e6%8c%87%e7%a4%ba%e3%82%92%e5%87%ba%e3%81%99%e3%83%ad%e3%83%9c%e3%83%83%e3%83%88%e3%82%92%e4%bd%9c%e3%81%a3%e3%81%a6%e3%81%bf%e3%82%8b","status":"publish","type":"page","link":"http:\/\/bezelie.com\/blog\/?page_id=1265","title":{"rendered":"BPK-ex7 : Alexa\u306b\u6307\u793a\u3092\u51fa\u3059\u30ed\u30dc\u30c3\u30c8"},"content":{"rendered":"<div align=\"center\"><img decoding=\"async\" src=\"http:\/\/bezelie.com\/blog\/wp-content\/uploads\/2017\/02\/IMG_1866.jpg\" width=\"320\" \/><\/div>\n<ul>\n<li>Amazon\u306f\u6d77\u5916\u3067\u97f3\u58f0\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u30c7\u30d0\u30a4\u30b9\u300cAmazon Echo\u300d\u3092\u767a\u58f2\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u57fa\u672c\u30b7\u30b9\u30c6\u30e0\u304c\u97f3\u58f0\u30ac\u30a4\u30c0\u30f3\u30b9\u30b7\u30b9\u30c6\u30e0\u300cAlexa\u300d\u3067\u3059\u3002iPhone\u306eSiri\u3084\u3001MicroSoft\u306e\u30b3\u30eb\u30bf\u30ca\u306b\u76f8\u5f53\u3057\u307e\u3059\u3002<\/li>\n<li>Alexa\u306f\u97f3\u58f0\u3060\u3051\u3067\u6642\u9593\u3084\u5929\u6c17\u3084\u30cb\u30e5\u30fc\u30b9\u3092\u805e\u3044\u305f\u308a\u3001\u5206\u304b\u3089\u306a\u3044\u5358\u8a9e\u3084\u4eca\u65e5\u306e\u4e88\u5b9a\u3092\u8abf\u3079\u305f\u308a\u3001\u30bf\u30a4\u30de\u30fc\u3084\u30a2\u30e9\u30fc\u30e0\u3092\u30bb\u30c3\u30c8\u3057\u305f\u308a\u3001\u30b9\u30de\u30fc\u30c8\u5bb6\u96fb\u3092\u64cd\u4f5c\u3057\u305f\u308a\u306a\u3069\u4fbf\u5229\u306a\u306e\u3067\u3059\u304c\u3001\u6b8b\u5ff5\u306a\u304c\u3089\u307e\u3060\u65e5\u672c\u8a9e\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u3053\u3053\u3067\u306f\u3001\u65e5\u672c\u8a9e\u3067\u8a71\u3057\u304b\u3051\u308b\u3068\u82f1\u8a9e\u3067Alexa\u306b\u6307\u793a\u3092\u3060\u3057\u3066\u304f\u308c\u308b\u30ed\u30dc\u30c3\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002<\/li>\n<li>\u6620\u753b\u300c\u30ae\u30e3\u30e9\u30af\u30b7\u30fc\u30fb\u30af\u30a8\u30b9\u30c8\u300d\u3067\u30b7\u30ac\u30cb\u30fc\u30fb\u30a6\u30a3\u30fc\u30d0\u30fc\u304c\u6f14\u3058\u3066\u3044\u305f\u300c\u8239\u9577\u306e\u6307\u793a\u3092\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306b\u554f\u3044\u5408\u308f\u305b\u308b\u4fc2\u300d\u307f\u305f\u3044\u306a\u30ed\u30dc\u30c3\u30c8\u3067\u3059\u3002<\/li>\n<\/ul>\n<h4>\u30b9\u30de\u30fc\u30c8\u96fb\u706f\u306e\u64cd\u4f5c<\/h4>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/L-3o3xuXauI\" width=\"560\" height=\"314\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h2>Raspberry Pi\u3067Alexa\u3092\u52d5\u304b\u3059\u3002<\/h2>\n<ul>\n<li>\u65e5\u672c\u3067\u306f\u307e\u3060Amazon Echo\u306f\u767a\u58f2\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3057\u3001\u6d77\u5916\u3067\u8ca9\u58f2\u3057\u3066\u3044\u308bEcho\u306f\u65e5\u672c\u306e\u6280\u9069\uff08\u6280\u8853\u57fa\u6e96\u9069\u5408\u8a8d\u5b9a\uff09\u3092\u901a\u904e\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u8f38\u5165\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u305b\u3093\u3002\u3057\u304b\u3057Amazon\u306fRaspberry Pi\u3067Echo\u3092\u4f5c\u308b\uff08\u3064\u307e\u308aAlexa\u3092\u52d5\u304b\u3059\uff09\u65b9\u6cd5\u3092<a href=\"https:\/\/github.com\/alexa\/alexa-avs-sample-app\/wiki\/Raspberry-Pi\">github\u3067\u8aac\u660e\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059<\/a>\u3002\u8aac\u660e\u306f\u82f1\u8a9e\u3067\u3059\u304c\u3001\u304c\u3093\u3070\u3063\u3066\u6307\u793a\u901a\u308a\u306b\u3084\u3063\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n<li>\u624b\u9806\u3092\u65e5\u672c\u8a9e\u3067\u89e3\u8aac\u3057\u3066\u304f\u3060\u3055\u3063\u3066\u3044\u308b\u304b\u305f\u304c\u305f\u3082\u3044\u3089\u3063\u3057\u3083\u3044\u307e\u3059\u304c\u3001Amazon\u5074\u3067\u4f55\u5ea6\u304b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u3044\u308b\u306e\u3067\u8a18\u8ff0\u304c\u53e4\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\uff12\uff10\uff11\uff16\u5e74\u590f\u4ee5\u964d\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3060\u307b\u3046\u304c\u3088\u3044\u3068\u601d\u3044\u307e\u3059\u3002<a href=\"http:\/\/qiita.com\/bwtakacy\/items\/32226ed2406b5ebe1984\">\u4f8b\u3048\u3070\u3053\u3053<\/a>\u3002<\/li>\n<li>\u79c1\u3060\u3051\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u6700\u5f8c\u306e\u624b\u9806\u300c\u30bf\u30fc\u30df\u30ca\u30eb3\u3092\u958b\u3044\u3066wake word engine\u3092\u5b9f\u884c\u300d\u3067kitt_ai\u3092\u8d77\u52d5\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n<pre><code>ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave\nExpression 'paInvalidSampleRate' failed in 'src\/hostapi\/alsa\/pa_linux_alsa.c', line: 2043\nExpression 'PaAlsaStreamComponent_InitialConfigure( &amp;self-&gt;capture, inParams, self-&gt;primeBuffers, hwParamsCapture, &amp;realSr )' failed in 'src\/hostapi\/alsa\/pa_linux_alsa.c', line: 2714\nExpression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &amp;inputLatency, &amp;outputLatency, &amp;hostBufferSizeMode )' failed in 'src\/hostapi\/alsa\/pa_linux_alsa.c', line: 2838\nERROR:Failed to open PortAudio stream.Invalid sample rate\nERROR:KittAiSnowboyWakeWordEngine: Initialization error:Failed to open PortAudio stream.\nERROR:WakeWordAgent: exception in constructor: Failed to open PortAudio stream.\nERROR:main: Exception happened: Failed to open PortAudio stream.\nINFO:Shutting down Wake Word Agent\n<\/code><\/pre>\n<ul>\n<li>\u3053\u308c\u3068\u540c\u3058\u75c7\u72b6\u304c\u3067\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306f\u3001\u30e9\u30ba\u30d1\u30a4\u306e\u30df\u30cb\u30b8\u30e3\u30c3\u30af\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30b9\u30d4\u30fc\u30ab\u30fc\u3068\u3001USB\u7aef\u5b50\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30de\u30a4\u30af\u306e\u3001\u30ab\u30fc\u30c9\u756a\u53f7\u3068\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3092\u8abf\u3079\u305f\u3046\u3048\u3067\u3001\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308b\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u300c.asoundrc\u300d\u3092\u66f8\u304d\u63db\u3048\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u5177\u4f53\u7684\u306b\u306f\u4ee5\u4e0b\u306e\u624b\u9806\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>1.\u30df\u30cb\u30b8\u30e3\u30c3\u30af\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u30b9\u30d4\u30fc\u30ab\u30fc\u306e\u30ab\u30fc\u30c9\u756a\u53f7\u3068\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3092\u8abf\u3079\u308b\u3002<\/h4>\n<ul>\n<li>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u300caplay -l\u300d\u3068\u6253\u3061\u8fbc\u3080\u3068\u3001\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\uff08\u300c-l\u300d\u306f\u30a8\u30eb\u306e\u5c0f\u6587\u5b57\uff09<\/li>\n<\/ul>\n<pre><code>**** List of PLAYBACK Hardware Devices ****\ncard 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]\nSubdevices: 8\/8\nSubdevice #0: subdevice #0\nSubdevice #1: subdevice #1\nSubdevice #2: subdevice #2\nSubdevice #3: subdevice #3\nSubdevice #4: subdevice #4\nSubdevice #5: subdevice #5\nSubdevice #6: subdevice #6\nSubdevice #7: subdevice #7\ncard 1: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958\/HDMI]\nSubdevices: 1\/1\nSubdevice #0: subdevice #0\n<\/code><\/pre>\n<ul>\n<li>\u74b0\u5883\u306b\u3088\u3063\u3066\u9055\u3046\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u4e0a\u8a18\u306e\u4f8b\u3067\u3059\u3068\u30df\u30cb\u30b8\u30e3\u30c3\u30af\u306b\u63a5\u7d9a\u3055\u308c\u305f\u30b9\u30d4\u30fc\u30ab\u30fc\u306e\u30ab\u30fc\u30c9\u756a\u53f7\u306f\uff11\u3001\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u306f\uff10\u3067\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\uff11\u306b\u3082\u4f55\u3084\u3089\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u3088\u304f\u898b\u308b\u3068\u300cHDMI\u300d\u3068\u3044\u3046\u8a18\u8ff0\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u308c\u306fHDMI\u7aef\u5b50\u304b\u3089\u306e\u97f3\u58f0\u51fa\u529b\u3067\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3061\u306a\u307f\u306b\u300cbcm2835\u300d\u3068\u3044\u3046\u8a18\u8ff0\u304c\u3044\u3063\u3071\u3044\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u308c\u306f\u30e9\u30ba\u30d1\u30a4\u306e\u5fc3\u81d3\u90e8\u30e6\u30cb\u30c3\u30c8\u306e\u540d\u524d\u3067\u3059\u3002<\/li>\n<\/ul>\n<h4>2.USB\u7aef\u5b50\u306b\u63a5\u7d9a\u3055\u308c\u305f\u30de\u30a4\u30af\u306e\u30ab\u30fc\u30c9\u756a\u53f7\u3068\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u3092\u8abf\u3079\u308b\u3002<\/h4>\n<ul>\n<li>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u300carecord -l\u300d\u3068\u6253\u3061\u8fbc\u3080\u3068\u3001\u4f8b\u3048\u3070\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002\uff08\u300c-l\u300d\u306f\u30a8\u30eb\u306e\u5c0f\u6587\u5b57\uff09<\/li>\n<\/ul>\n<pre><code>**** List of CAPTURE Hardware Devices ****\ncard 0: Device [USB PnP Audio Device], device 0: USB Audio [USB Audio]\nSubdevices: 1\/1\nSubdevice #0: subdevice #0\n<\/code><\/pre>\n<ul>\n<li>\u74b0\u5883\u306b\u3088\u3063\u3066\u9055\u3046\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u4e0a\u8a18\u306e\u4f8b\u3067\u3059\u3068USB\u7aef\u5b50\u306b\u63a5\u7d9a\u3055\u308c\u305f\u30de\u30a4\u30af\u306e\u30ab\u30fc\u30c9\u756a\u53f7\u306f\uff10\u3001\u30c7\u30d0\u30a4\u30b9\u756a\u53f7\u306f\uff10\u3067\u3059\u3002<\/li>\n<\/ul>\n<h4>3.\/home\/pi \u306b\u3042\u308b\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u300c.asoundrc\u300d\u3092\u7de8\u96c6\u3059\u308b\u3002<\/h4>\n<ul>\n<li>\u307e\u305a\u306f\u30a8\u30c7\u30a3\u30bf\u30fc\u3067.asoundrc\u3092\u958b\u304d\u307e\u3057\u3087\u3046\u3002<\/li>\n<\/ul>\n<pre><code>$ cd\n$ sudo nano .asoundrc\n<\/code><\/pre>\n<ul>\n<li>\u521d\u671f\u72b6\u614b\u3067\u306f\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/li>\n<\/ul>\n<pre><code>pcm.!default {\ntype asym\nplayback.pcm {\ntype plug\nslave.pcm \"hw:0,0\"\n}\ncapture.pcm {\ntype plug\nslave.pcm \"hw:1,0\"\n}\n}\n\npcm.!default {\ntype hw\ncard 1\n}\n\nctl.!default {\ntype hw\ncard 1\n}\n<\/code><\/pre>\n<ul>\n<li>\u4e0a\u8a18\u306e\u4f8b\u3067\u3059\u3068playback\u306ehw\u304c0.0\u3001capture\u306ehw\u304c1.0\u306b\u306a\u3063\u3066\u307e\u3059\u304b\u3089\u3001\u3064\u307e\u308a\u5b9f\u60c5\u3068\u5408\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre><code>pcm.!default {\ntype asym\nplayback.pcm {\ntype plug\nslave.pcm \"hw:1,0\"\n}\ncapture.pcm {\ntype plug\nslave.pcm \"hw:0,0\"\n}\n}\n<\/code><\/pre>\n<ul>\n<li>\u79c1\u306e\u5834\u5408\u306f\u3053\u308c\u3067kitt_ai\u3092\u8d77\u52d5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u4ed6\u306b\u89e3\u6c7a\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u305f\u3089\u3001\u6559\u3048\u3066\u3044\u305f\u3060\u3051\u308b\u3068\u52a9\u304b\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>\u7b50\u4f53\u3092\u4f5c\u308b<\/h2>\n<ul>\n<li>\u30e9\u30ba\u30d1\u30a4\u3068\u30b9\u30d4\u30fc\u30ab\u30fc\u3068\u30de\u30a4\u30af\u304c\u53ce\u307e\u308b\u3088\u3046\u306a\u624b\u9803\u306a\u30b1\u30fc\u30b9\u3092\u898b\u3064\u3051\u3066\u304f\u3060\u3055\u3044\u3002\u6301\u3061\u904b\u3073\u304c\u697d\u306b\u306a\u308a\u307e\u3059\u3002\u79c1\u306e\u5834\u5408\u306f\uff11\uff10\uff10\u5186\u30b7\u30e7\u30c3\u30d7\u3067\u8cb7\u3063\u305f\u925b\u7b46\u7acb\u3066\u3092\uff12\u500b\u4f7f\u3044\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n<div style=\"float: left; margin: 10px;\"><img decoding=\"async\" src=\"http:\/\/bezelie.com\/blog\/wp-content\/uploads\/2017\/02\/IMG_1868.jpg\" width=\"320\" \/><\/div>\n<div style=\"float: left; margin: 10px;\"><img decoding=\"async\" src=\"http:\/\/bezelie.com\/blog\/wp-content\/uploads\/2017\/02\/IMG_1870.jpg\" width=\"320\" \/><\/div>\n<ul>\n<li>\u6b8b\u5ff5\u306a\u304c\u3089Alexa\u306f\u65e5\u672c\u3067\u306e\u30b5\u30fc\u30d3\u30b9\u304c\u59cb\u307e\u3063\u3066\u3044\u306a\u3044\u306e\u3067\u3001Prime Music\u3067\u97f3\u697d\u3092\u697d\u3057\u3080\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002\u8a66\u3057\u306bAmazon.com\u306ePrime\u4f1a\u54e1\u306b\u306a\u3063\u3066\u307f\u307e\u3057\u305f\u304c\u99c4\u76ee\u3067\u3057\u305f\u3002<\/li>\n<\/ul>\n<hr \/>\n<h2>\u65e5\u672c\u8a9e\u306e\u97f3\u58f0\u30b3\u30de\u30f3\u30c9\u3092\u805e\u3044\u305f\u3089Alexa\u306b\u82f1\u8a9e\u3067\u6307\u793a\u3092\u51fa\u3059\u30ed\u30dc\u30c3\u30c8\u3092\u4f5c\u308b<\/h2>\n<ul>\n<li>\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u57fa\u672c\u7684\u306b<a href=\"http:\/\/bezelie.com\/blog\/?page_id=1108\">\u300cJulius\u3067\u97f3\u58f0\u8a8d\u8b58\u3057\u3066\u307f\u308b\u300d<\/a>\u306e\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0\uff12\u3068\u540c\u3058\u3067\u3059\u3002<\/li>\n<li>csv\u30d5\u30a1\u30a4\u30eb(bezeDialog.csv)\u3067\u547c\u3073\u304b\u3051\u306b\u5bfe\u3059\u308b\u8fd4\u7b54\u3092\u8a18\u8ff0\u3059\u308b\u308f\u3051\u3067\u3059\u304c\u3001\u4e0a\u8a18\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u65e5\u672c\u8a9e\u3067\u66f8\u304b\u308c\u3066\u3044\u308b\u8fd4\u7b54\u3092\u3001Alexa\u304c\u7406\u89e3\u3067\u304d\u308b\u82f1\u8a9e\u306b\u66f8\u304d\u63db\u3048\u3066\u3001\u82f1\u8a9e\u3067\u97f3\u58f0\u5408\u6210\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/li>\n<li>\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306acsv\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n<pre><code>\u70b9\u706f,Turn on the living light!\n\u6d88\u706f,Turn off the living light!\n\u6642\u9593,What time is it in Tokyo?\n\u5929\u6c17,What's the weather in Tokyo?\n\u304a\u306f\u3088\u3046,Good Morning.\n\u3053\u3093\u306b\u3061\u306f,Good Afternoon.\n\u3053\u3093\u3070\u3093\u306f,Good Night.\n\u611f\u8b1d,Thank You!\n\u5143\u6c17,How are you?\n\u30bf\u30a4\u30de\u30fc,Set the timer for 3 minutes\n\u505c\u6b62,Stop the timer\n\u4e0d\u4e00\u81f4,well\n\n<\/code><\/pre>\n<ul>\n<li>\u30e9\u30ba\u30d1\u30a4\u7528\u306e\u82f1\u8a9e\u306e\u97f3\u58f0\u5408\u6210\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u8272\u3005\u3042\u308b\u3088\u3046\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u300cflite\u300d\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u3042\u307e\u308a\u97f3\u8cea\u306f\u826f\u304f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u8907\u6570\u306e\u58f0\u7a2e\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u307e\u305aflite\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre><code>sudo apt-get install flite\n<\/code><\/pre>\n<ul>\n<li>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u4e0b\u8a18\u306e\u3088\u3046\u306b\u6253\u3061\u8fbc\u3080\u3053\u3068\u3067\u7c21\u5358\u306b\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002\u30bb\u30ea\u30d5\u3092\u6587\u5b57\u5217\u3067\u6307\u5b9a\u3059\u308b\u5834\u5408\u306f\u300c-t\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u4f7f\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre><code>flite -t \u201dHello World!\u201d\n<\/code><\/pre>\n<ul>\n<li>flite\u306f\u8907\u6570\u306e\u58f0\u7a2e\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f7f\u7528\u53ef\u80fd\u306a\u58f0\u7a2e\u306f\u300c-lv\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u78ba\u304b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li>\u79c1\u304c\u8a66\u3057\u305f\u3068\u3053\u308d\u3001Alexa\u306b\u3068\u3063\u3066\u306f\u6bd4\u8f03\u7684\u300ckal16\u300d\u304c\u805e\u304d\u53d6\u308a\u3084\u3059\u304b\u3063\u305f\u3088\u3046\u3067\u3059\u3002<\/li>\n<li>\u30d1\u30a4\u30bd\u30f3\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u4e2d\u304b\u3089\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<pre><code>subprocess.call('flite -voice \"kal16\" -t \"Alexa\"', shell=True)\n<\/code><\/pre>\n<hr \/>\n<h4>\u6642\u9593<\/h4>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/YnoRjCuYAjM\" width=\"560\" height=\"314\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h4>\u5929\u6c17<\/h4>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/fCyumh5wxIM\" width=\"560\" height=\"314\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h4>\u30bf\u30a4\u30de\u30fc<\/h4>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/nc_vxO_SbNQ\" width=\"560\" height=\"314\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h4>\u5143\u6c17\uff1f<\/h4>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/H08LDLMppAI\" width=\"560\" height=\"314\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<h4>\u304a\u306f\u3088\u3046<\/h4>\n<p style=\"text-align: center;\"><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/as_vIFKQsqo\" width=\"560\" height=\"314\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<hr \/>\n<h2>\u7528\u8a9e\u89e3\u8aac<\/h2>\n<h4>Alexa Voice Service(AVS)<\/h4>\n<ul>\n<li>Alexa\u306e\u97f3\u58f0\u8a8d\u8b58\u30a8\u30f3\u30b8\u30f3\u3067\u3059\u3002\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067\u9332\u97f3\u3057\u305f\u97f3\u58f0\u3092HTTP\u30d9\u30fc\u30b9\u3067\u3084\u308a\u3068\u308a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>npm<\/h4>\n<ul>\n<li>node.js\u306epackage\u3092\u7ba1\u7406\u3059\u305f\u3081\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u30de\u30cd\u30fc\u30b8\u30e3\u3002Node JS\u3067\u4f7f\u7528\u3059\u308b\u62e1\u5f35\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u969b\u306b\u4f7f\u7528\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>Maven<\/h4>\n<ul>\n<li>Apache Software Foundation\u304c\u958b\u767a\u3057\u305f\u3001Java\u30d9\u30fc\u30b9\u306e\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u88fd\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u7ba1\u7406\u30c4\u30fc\u30eb\u3002\u30d3\u30eb\u30c9\u30c4\u30fc\u30eb\u3068\u3057\u3066\u306e\u5074\u9762\u3082\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n<h4>snowboy<\/h4>\n<ul>\n<li>KITT.AI\u304c\u63d0\u4f9b\u3057\u3066\u3044\u308bWake Word\uff08Hot Word\uff09\u30e9\u30a4\u30d6\u30e9\u30ea\u3067\u3059\u3002\u547c\u3073\u304b\u3051\u308b\u3068\u8d77\u52d5\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><a href=\"http:\/\/qiita.com\/mayfair\/items\/d16d092328e60f0cac6b\">Snowboy Hotword Detection\u3092Raspberry Pi\u3067\u52d5\u304b\u3059<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Amazon\u306f\u6d77\u5916\u3067\u97f3\u58f0\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u30c7\u30d0\u30a4\u30b9\u300cAmazon Echo\u300d\u3092\u767a\u58f2\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u57fa\u672c\u30b7\u30b9\u30c6\u30e0\u304c\u97f3\u58f0\u30ac\u30a4\u30c0\u30f3\u30b9\u30b7\u30b9\u30c6\u30e0\u300cAlexa\u300d\u3067\u3059\u3002iPhone\u306eSiri\u3084\u3001MicroSoft\u306e\u30b3\u30eb\u30bf\u30ca\u306b\u76f8\u5f53\u3057\u307e\u3059 &hellip; <a href=\"http:\/\/bezelie.com\/blog\/?page_id=1265\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;BPK-ex7 : Alexa\u306b\u6307\u793a\u3092\u51fa\u3059\u30ed\u30dc\u30c3\u30c8&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":792,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1265","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/1265","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1265"}],"version-history":[{"count":15,"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/1265\/revisions"}],"predecessor-version":[{"id":1354,"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/1265\/revisions\/1354"}],"up":[{"embeddable":true,"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=\/wp\/v2\/pages\/792"}],"wp:attachment":[{"href":"http:\/\/bezelie.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1265"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}