{"_id":"@background404/node-red-contrib-voicevox-core","_rev":"5-b6eb788b5a283cf071e393a7319041fb","name":"@background404/node-red-contrib-voicevox-core","description":"Node for VOICEVOX CORE","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.1":{"name":"@background404/node-red-contrib-voicevox-core","version":"0.0.1","keywords":["node-red","voicevox"],"author":{"name":"background404"},"license":"MIT","_id":"@background404/node-red-contrib-voicevox-core@0.0.1","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"dist":{"shasum":"36464b26409041ac67884a2b316d41c868146df9","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-voicevox-core/-/node-red-contrib-voicevox-core-0.0.1.tgz","fileCount":12,"integrity":"sha512-w5LIU35uyBbdw8ktcuKWhWR3uZ/BHakSNOUuA6r+nrr3Ck7XRMHuFpvUyXPlEcDuoAnlnp7BL+P3CJM6o/3mKw==","signatures":[{"sig":"MEUCIDdArEf4ZjFaENWgq1I80UUjlZvWsj3aI0hSew4ADU1MAiEAzXnCzr+lObKcRzJ6Rn9VNYiHNgEHHeHroq5fCYLl2oI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85210},"main":"voicevox.js","engines":{"node":">=14.0.0"},"gitHead":"92243a25f169ca9cd09f34b3b8b8b7abc519ab6b","scripts":{"test":"mocha test/**/*_spec.js","setup":"python setup.py","voicevox":"python voicevox.py 日本語の音声を出力します。","preinstall":"python ./setup.py"},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"node-red":{"nodes":{"voicevox":"voicevox.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git","type":"git"},"_npmVersion":"9.1.3","description":"Node for VOICEVOX CORE","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-voicevox-core_0.0.1_1710338970492_0.09581759052149508","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@background404/node-red-contrib-voicevox-core","version":"0.0.2","keywords":["node-red","voicevox"],"author":{"name":"background404"},"license":"MIT","_id":"@background404/node-red-contrib-voicevox-core@0.0.2","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"dist":{"shasum":"4e47a3c290600dde9b9ec777d9f5a51e2ee59e1f","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-voicevox-core/-/node-red-contrib-voicevox-core-0.0.2.tgz","fileCount":12,"integrity":"sha512-WSwKAheOAmLAz5sLbqw9eSwSIEF+31b+FgRAOKXgvOjaKcOJ1r2QNaUlDtOD78wz3QLmAbfE7dCpkM7GxX6uVg==","signatures":[{"sig":"MEUCIAFrch/omzHLtEsuNYbpX//kUrvW7piSS9HCdykRz/8kAiEA/jVcgQpffTT4ftY22X1JqTHw96JkFN89yc9RUcWI/7A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85210},"main":"voicevox.js","engines":{"node":">=14.0.0"},"gitHead":"984cafb0b46f46e3d68d3c2590f14a11816488ba","scripts":{"test":"mocha test/**/*_spec.js","setup":"python setup.py","voicevox":"python voicevox.py 日本語の音声を出力します。","preinstall":"python ./setup.py"},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"node-red":{"nodes":{"voicevox":"voicevox.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git","type":"git"},"_npmVersion":"9.1.3","description":"Node for VOICEVOX CORE","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-voicevox-core_0.0.2_1710344273161_0.43034995740938253","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@background404/node-red-contrib-voicevox-core","version":"0.0.3","keywords":["node-red","voicevox"],"author":{"name":"background404"},"license":"MIT","_id":"@background404/node-red-contrib-voicevox-core@0.0.3","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"dist":{"shasum":"0e1d8ae14057b5a3d120806be1c28448a3c23728","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-voicevox-core/-/node-red-contrib-voicevox-core-0.0.3.tgz","fileCount":12,"integrity":"sha512-Qe+TmFIg4sckO7P+e5CzQkAnSe2pMueQfP6/nhtzTND161cbdFKfiUa0qIuFEFpLroet6MYZ4DV9lGVYMwf0eQ==","signatures":[{"sig":"MEUCIHdbL4u8EheRQtxMuclL+BxvUb8B85Ny3USM7EL54y7uAiEAi1IfMg3SUBEcxGaDgajUzNC+/15o0lCT3aziM3l2t8U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85210},"main":"voicevox.js","engines":{"node":">=14.0.0"},"gitHead":"541f76d40d2a7a99d68c44feaa4c880a6e4a4d34","scripts":{"test":"mocha test/**/*_spec.js","setup":"python setup.py","voicevox":"python voicevox.py 日本語の音声を出力します。","preinstall":"python ./setup.py"},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"node-red":{"nodes":{"voicevox":"voicevox.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git","type":"git"},"_npmVersion":"9.1.3","description":"Node for VOICEVOX CORE","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-voicevox-core_0.0.3_1710344534149_0.4103467486395005","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@background404/node-red-contrib-voicevox-core","version":"0.0.4","keywords":["node-red","voicevox"],"author":{"name":"background404"},"license":"MIT","_id":"@background404/node-red-contrib-voicevox-core@0.0.4","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"dist":{"shasum":"7bc070f3af21b0f8ef336bb2e5f6c255be5a158a","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-voicevox-core/-/node-red-contrib-voicevox-core-0.0.4.tgz","fileCount":12,"integrity":"sha512-GrTMmYANbNw4CBpIzvVQ1/12V3SJW1TjGlni+94IoxK4lG/VWK4lx8ZsQWUcmVI21U8mrSKP2ljF+6NxCofTeg==","signatures":[{"sig":"MEUCIHcL4QyOWicZFjXHuFI3dJSIig0ETDQ9ViBZv9gzbqoRAiEAl9ArxKM8dHZBwxy1T60A18yS+KQHLXdIEjini3t9z9g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":85212},"main":"voicevox.js","engines":{"node":">=14.0.0"},"gitHead":"a8ea2ac340c5a79bd8951c1bf58ef22bd6cc9485","scripts":{"test":"mocha test/**/*_spec.js","setup":"python setup.py","voicevox":"python voicevox.py 日本語の音声を出力します。","preinstall":"python ./setup.py"},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"node-red":{"nodes":{"voicevox":"voicevox.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git","type":"git"},"_npmVersion":"9.1.3","description":"Node for VOICEVOX CORE","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-voicevox-core_0.0.4_1710428763957_0.5378300324726344","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@background404/node-red-contrib-voicevox-core","version":"0.1.0","keywords":["node-red","voicevox"],"author":{"name":"background404"},"license":"MIT","_id":"@background404/node-red-contrib-voicevox-core@0.1.0","maintainers":[{"name":"background404","email":"404background@gmail.com"}],"homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"dist":{"shasum":"33206f5ce90ddc6c3520860c30f8800992ce7944","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-voicevox-core/-/node-red-contrib-voicevox-core-0.1.0.tgz","fileCount":22,"integrity":"sha512-dj9zKvQAvu6DwypvI+8WAhcZ9gW5BUBgL84LKplx+2XkyBc3mgf1sJ5eEwbnkhOED6VKCyZNj2RffuLENb5PTQ==","signatures":[{"sig":"MEQCIDu+bMpKywnVcFr57f2ySfaqXDtfQXbTsnmLw36fMTBeAiBkoIhrpadyAgv29+V0L35GG+jAOML2TKba9hmVwhP1gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":230288},"main":"voicevox.js","engines":{"node":">=14.0.0"},"gitHead":"5fdfab28fcc966797d1bd24d18eb09dd6b4ddffa","scripts":{"test":"mocha test/**/*_spec.js","setup":"python setup.py","voicevox":"python voicevox.py 日本語の音声を出力します。 2","preinstall":"python ./setup.py"},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"node-red":{"nodes":{"voicevox":"voicevox.js"},"version":">=1.3.7"},"repository":{"url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git","type":"git"},"_npmVersion":"9.1.3","description":"Node for VOICEVOX CORE","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/node-red-contrib-voicevox-core_0.1.0_1718641053144_0.8776799474736416","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@background404/node-red-contrib-voicevox-core","version":"0.1.1","description":"Node for VOICEVOX CORE","main":"voicevox.js","scripts":{"preinstall":"python ./setup.py","test":"mocha test/**/*_spec.js","setup":"python setup.py","voicevox":"python voicevox.py 日本語の音声を出力します。 2"},"engines":{"node":">=14.0.0"},"node-red":{"version":">=1.3.7","nodes":{"voicevox":"voicevox.js"}},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git"},"keywords":["node-red","voicevox"],"author":{"name":"background404"},"license":"MIT","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","gitHead":"01faa9905b1d4069de0232d6d609e5369a8df440","_id":"@background404/node-red-contrib-voicevox-core@0.1.1","_nodeVersion":"20.10.0","_npmVersion":"9.1.3","dist":{"integrity":"sha512-KPSTu16u6wjlsTOkoRw1Grmq5NxaZXUA0jA+d/BEd3wL8LW1mHb2Hivu7+YEUnV4Jgx+33RYoGte5xZNlsTBmA==","shasum":"10215da87fd27517b90ba388bb689bc8e5f6cd56","tarball":"https://registry.npmjs.org/@background404/node-red-contrib-voicevox-core/-/node-red-contrib-voicevox-core-0.1.1.tgz","fileCount":22,"unpackedSize":224854,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD30S2vIC+DfTkfS4hrUobnVsqCXKtfEgPKdm9NsuadwIhAKeq70vv+qxLE12qzHdG67IURE3hFAGAiPX45EfK1OBL"}]},"_npmUser":{"name":"background404","email":"404background@gmail.com"},"directories":{},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/node-red-contrib-voicevox-core_0.1.1_1718677653382_0.4407193967057219"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-13T14:09:30.372Z","modified":"2024-06-18T02:27:33.785Z","0.0.1":"2024-03-13T14:09:30.690Z","0.0.2":"2024-03-13T15:37:53.312Z","0.0.3":"2024-03-13T15:42:14.324Z","0.0.4":"2024-03-14T15:06:04.141Z","0.1.0":"2024-06-17T16:17:33.386Z","0.1.1":"2024-06-18T02:27:33.615Z"},"maintainers":[{"name":"background404","email":"404background@gmail.com"}],"author":{"name":"background404"},"repository":{"type":"git","url":"git+https://github.com/404background/node-red-contrib-voicevox-core.git"},"keywords":["node-red","voicevox"],"license":"MIT","homepage":"https://github.com/404background/node-red-contrib-voicevox-core#readme","bugs":{"url":"https://github.com/404background/node-red-contrib-voicevox-core/issues"},"readme":"# node-red-contrib-voicevox-core\r\n\r\n[voicevox_core](https://github.com/VOICEVOX/voicevox_core)を利用したNode-REDのノードです。  \r\n文字列を受け取り、音声ファイルを出力します。  \r\n\r\n▼voicevox_coreはこちら  \r\n<https://github.com/VOICEVOX/voicevox_core>  \r\n\r\n▼VOICEVOXはこちら  \r\n<https://voicevox.hiroshiba.jp/>  \r\n\r\n> [!CAUTION]\r\n> **現状ではWindowsにしか対応していません。**  \r\n> また**Pythonの環境が必要**で、仮想環境にパッケージがインストールされます。  \r\n\r\n## 動作確認環境\r\n\r\n- Windows 10\r\n- Python 3.8.3\r\n- Node.js v20.10.0\r\n- npm 9.1.3\r\n\r\nvoicevox_coreは0.15.3がインストールされます。  \r\n\r\n### サンプルフロー\r\n\r\n[examples](./examples/)フォルダに入っています。  \r\n![sample-flow.jpg](./examples/sample-flow.jpg)  \r\n\r\n音声ファイルの保存先フォルダを指定する必要があります。  \r\n話者のIDはプルダウンで選択できます。  \r\n![edit.png](./examples/edit.png)  \r\n\r\nmsg.voiceID、msg.voiceFolderに値を入れて、ノードに渡すこともできます。  \r\nこの場合、msgの値が優先されます。  \r\n![msg.png](./examples/msg.png)\r\n\r\n## Node-RED関連\r\n\r\n### ファイル構成\r\n\r\n- .js: ノードの機能\r\n- .html: エディタでの表示\r\n- package.json: インストール時に使用、ノードのパスを指定\r\n\r\n.jsの中のchild_processで、Pythonのプログラムを実行しています。  \r\n\r\n### ローカルでの実行\r\n\r\nダウンローダのURLやバージョンを変更したいときは、このリポジトリをダウンロードしてください。  \r\nNode-REDのノードとして追加できます。  \r\n\r\n▼インストールする場合  \r\n```npm install ＜フォルダのパス＞```  \r\n▼アンインストールする場合  \r\n```npm uninstall ＜パッケージ名＞```  \r\n\r\n## Python関連\r\n\r\nPythonで実行するための環境構築を行うことができます。  \r\npyenvフォルダがPythonの仮想環境になっています。activate後、voicevox関連のファイルを実行できます。  \r\n\r\n- setup.py: 環境構築\r\n- downloader.py: ダウンローダの実行\r\n- voicevox.py: 音声ファイルを出力（第一引数：文字列、第二引数：話者のID、第三引数：音声ファイルの保存先）\r\n- id_list.py: 話者のリストを表示\r\n\r\nリポジトリをダウンロード後、このディレクトリで```npm install```を実行すると、setup.pyが実行されます。  \r\n\r\n## 検討事項\r\n\r\n- Pythonプログラム実行中の表示\r\n  - 音声ファイルを出力するのに少し時間がかかります。\r\n  - 出力中にノードのステータスを表示して、分かりやすくしようと思っています。\r\n- 何を出力するか\r\n  - read fileノードで音声ファイルを開いてバイナリバッファで送ることもできますが、このノードでバイナリバッファを送るほうが使いやすいかも？\r\n  - バイナリバッファで送るとファイルに保存しなくてもよくなりますが、出力に時間がかかります。\r\n  - 選択できるようにしようかなと思っています。\r\n\r\n## その他情報\r\n\r\n▼Node-RED User Group Japan 「ノードの開発」  \r\n<https://nodered.jp/docs/creating-nodes/>  \r\n▼PythonでVOICEVOX COREを使ってみる（音声合成）  \r\n<https://404background.com/program/voicevox-core/>  \r\n▼Node-REDとVOICEVOX COREで音声合成（Python）  \r\n<https://404background.com/program/node-red-voicevox/>  \r\n▼python-venvノードと同じ仕組みで、インストール時にPythonの仮想環境を構築するようにしました。  \r\n<https://404background.com/program/node-create-python-venv/>  \r\n","readmeFilename":"README.md"}