{"id":41272153,"url":"https://github.com/404background/node-red-contrib-voicevox-core","last_synced_at":"2026-01-23T02:25:59.546Z","repository":{"id":227037260,"uuid":"769988754","full_name":"404background/node-red-contrib-voicevox-core","owner":"404background","description":"Node for VOICEVOX CORE","archived":false,"fork":false,"pushed_at":"2024-10-05T01:55:28.000Z","size":201,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-14T00:49:14.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://flows.nodered.org/node/@background404/node-red-contrib-voicevox-core","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/404background.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-10T16:09:07.000Z","updated_at":"2025-04-28T10:11:41.000Z","dependencies_parsed_at":"2024-03-24T06:26:19.187Z","dependency_job_id":"80ac6770-5884-49b9-bd8a-637a585b9c93","html_url":"https://github.com/404background/node-red-contrib-voicevox-core","commit_stats":null,"previous_names":["404background/node-red-contrib-voicevox-core"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/404background/node-red-contrib-voicevox-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404background%2Fnode-red-contrib-voicevox-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404background%2Fnode-red-contrib-voicevox-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404background%2Fnode-red-contrib-voicevox-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404background%2Fnode-red-contrib-voicevox-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/404background","download_url":"https://codeload.github.com/404background/node-red-contrib-voicevox-core/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/404background%2Fnode-red-contrib-voicevox-core/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28678274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T01:00:35.747Z","status":"online","status_checked_at":"2026-01-23T02:00:08.296Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-23T02:25:58.338Z","updated_at":"2026-01-23T02:25:59.533Z","avatar_url":"https://github.com/404background.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-red-contrib-voicevox-core\n\n[voicevox_core](https://github.com/VOICEVOX/voicevox_core)を利用したNode-REDのノードです。  \n文字列を受け取り、日本語の音声ファイルを出力します。  \n\n▼voicevox_coreはこちら  \n\u003chttps://github.com/VOICEVOX/voicevox_core\u003e  \n\n▼VOICEVOXはこちら  \n\u003chttps://voicevox.hiroshiba.jp/\u003e  \n\n\u003e [!CAUTION]\n\u003e **現状ではWindowsにしか対応していません。**  \n\u003e また**Pythonの環境が必要**で、仮想環境にパッケージがインストールされます。  \n\n## ライセンス\n\nこのソフトウェアは [MIT](./LICENSE) Licenseの下で提供されています。  \nVOICEVOX/voicevox_core - [MIT](https://github.com/VOICEVOX/voicevox_core/blob/main/LICENSE) License  \n\n## 動作確認環境\n\n- Windows 10\n- Python 3.8.3\n- Node.js v20.10.0\n- npm 9.1.3\n\nvoicevox_coreは0.15.3がインストールされます。  \n\n### サンプルフロー\n\n[examples](./examples/)フォルダに入っています。  \n![sample-flow.jpg](./examples/sample-flow.jpg)  \n\n音声ファイルの保存先フォルダを指定する必要があります。  \n話者のIDはプルダウンで選択できます。  \n![edit.png](./examples/edit.png)  \n\nmsg.voiceID、msg.voiceFolderに値を入れて、ノードに渡すこともできます。  \nこの場合、msgの値が優先されます。  \n![msg.png](./examples/msg.png)\n\n## Node-RED関連\n\n### ファイル構成\n\n- .js: ノードの機能\n- .html: エディタでの表示\n- package.json: インストール時に使用、ノードのパスを指定\n\n.jsの中のchild_processで、Pythonのプログラムを実行しています。  \n\n### ローカルでの実行\n\nダウンローダのURLやバージョンを変更したいときは、このリポジトリをダウンロードしてください。  \nNode-REDのノードとして追加できます。  \n\n▼インストールする場合  \n```npm install ＜フォルダのパス＞```  \n▼アンインストールする場合  \n```npm uninstall ＜パッケージ名＞```  \n\n## Python関連\n\nPythonで実行するための環境構築を行うことができます。  \npyenvフォルダがPythonの仮想環境になっています。activate後、voicevox関連のファイルを実行できます。  \n\n- setup.py: 環境構築\n- downloader.py: ダウンローダの実行\n- voicevox.py: 音声ファイルを出力（第一引数：文字列、第二引数：話者のID、第三引数：音声ファイルの保存先）\n- id_list.py: 話者のリストを表示\n\nリポジトリをダウンロード後、このディレクトリで```npm install```を実行すると、setup.pyが実行されます。  \n\n## 検討事項\n\n- Pythonプログラム実行中の表示\n  - 音声ファイルを出力するのに少し時間がかかります。\n  - 出力中にノードのステータスを表示して、分かりやすくしようと思っています。\n- 何を出力するか\n  - read fileノードで音声ファイルを開いてバイナリバッファで送ることもできますが、このノードでバイナリバッファを送るほうが使いやすいかも？\n  - バイナリバッファで送るとファイルに保存しなくてもよくなりますが、出力に時間がかかります。\n  - 選択できるようにしようかなと思っています。\n\n## その他情報\n\n▼Node-RED User Group Japan 「ノードの開発」  \n\u003chttps://nodered.jp/docs/creating-nodes/\u003e  \n▼PythonでVOICEVOX COREを使ってみる（音声合成）  \n\u003chttps://404background.com/program/voicevox-core/\u003e  \n▼Node-REDとVOICEVOX COREで音声合成（Python）  \n\u003chttps://404background.com/program/node-red-voicevox/\u003e  \n▼python-venvノードと同じ仕組みで、インストール時にPythonの仮想環境を構築するようにしました。  \n\u003chttps://404background.com/program/node-create-python-venv/\u003e  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F404background%2Fnode-red-contrib-voicevox-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F404background%2Fnode-red-contrib-voicevox-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F404background%2Fnode-red-contrib-voicevox-core/lists"}