{"id":21373201,"url":"https://github.com/inuinu2022/fluentceviowrapper","last_synced_at":"2026-02-28T21:32:24.051Z","repository":{"id":130750371,"uuid":"532289847","full_name":"InuInu2022/FluentCeVIOWrapper","owner":"InuInu2022","description":"A wrapper library and integration IPC server of the CeVIO API for .NET 7 / .NET Standard 2.0","archived":false,"fork":false,"pushed_at":"2023-09-30T17:45:09.000Z","size":1899,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T07:41:29.426Z","etag":null,"topics":["cevio","cevioai","class-library","csharp","dotnet","dotnet-framework","dotnet-standard","named-pipes","netframework48","netstandard20","server","text-to-speech","tts","tts-api","wrapper-library"],"latest_commit_sha":null,"homepage":"https://inuinu2022.github.io/FluentCeVIOWrapper/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InuInu2022.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":"2022-09-03T14:52:31.000Z","updated_at":"2024-09-28T20:13:56.000Z","dependencies_parsed_at":"2024-11-22T08:41:09.988Z","dependency_job_id":null,"html_url":"https://github.com/InuInu2022/FluentCeVIOWrapper","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/InuInu2022/FluentCeVIOWrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InuInu2022%2FFluentCeVIOWrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InuInu2022%2FFluentCeVIOWrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InuInu2022%2FFluentCeVIOWrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InuInu2022%2FFluentCeVIOWrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InuInu2022","download_url":"https://codeload.github.com/InuInu2022/FluentCeVIOWrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InuInu2022%2FFluentCeVIOWrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29952268,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cevio","cevioai","class-library","csharp","dotnet","dotnet-framework","dotnet-standard","named-pipes","netframework48","netstandard20","server","text-to-speech","tts","tts-api","wrapper-library"],"created_at":"2024-11-22T08:26:23.025Z","updated_at":"2026-02-28T21:32:24.024Z","avatar_url":"https://github.com/InuInu2022.png","language":"C#","readme":"# Fluent CeVIO Wrapper\n\n[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![C Sharp 10](https://img.shields.io/badge/C%20Sharp-10-4FC08D.svg?logo=csharp\u0026style=flat)](https://learn.microsoft.com/ja-jp/dotnet/csharp/) ![.NET Standard 2.0](https://img.shields.io/badge/%20.NET%20Standard-2.0-blue.svg?logo=dotnet\u0026style=flat) ![.NET Framework 4.8](https://img.shields.io/badge/%20.NET%20Framework-4.8-blue.svg?logo=dotnet\u0026style=flat) ![Unity 2021.3](https://img.shields.io/badge/Unity-2021.3-blue.svg?logo=unity\u0026style=flat)\n![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/inuinu2022/fluentceviowrapper?include_prereleases\u0026label=%F0%9F%9A%80release)\n[![CeVIO CS](https://img.shields.io/badge/CeVIO_Creative_Studio-7.0-d08cbb.svg?logo=\u0026style=flat)](https://cevio.jp/) [![CeVIO AI](https://img.shields.io/badge/CeVIO_AI-8.6-lightgray.svg?logo=\u0026style=flat)](https://cevio.jp/)\n\nA wrapper library and integration IPC server of the [CeVIO](https://cevio.jp/) API for .NET 7 / .NET Standard 2.0\n\n## What's this?\n\n音声合成ソフト「**[CeVIO](https://cevio.jp/)**」の [.NET外部連携インターフェイス](https://cevio.jp/guide/cevio_ai/interface/dotnet/)を 最新の .NET 7等からも扱えるようにしたラッパーライブラリ＆連携サーバーです。.NET Framework 4.8以外むけの.NETアプリから利用できるようになります。また、`async`/`await`, `ValueTask`, `nullable`などモダンな書き方に対応しています。\n\nA wrapper library and integration IPC server for the [.NET external integration interface](https://cevio.jp/guide/cevio_ai/interface/dotnet/) of the speech synthesis software \"**[CeVIO](https://cevio.jp/)**\", which can be used from the latest .NET 7 and other .NET Framework 4.8 environments. It also supports modern C# writing style such as `async`/`await`, `ValueTask`, `nullable`, and so on.\n\n## 特徴 / Features\n\n- CeVIO AI, CeVIO Creative Studio 7 対応\n- 共通ライブラリAPIはモダンな記法が可能\n  - `async` / `await`\n  - `nullable`\n  - `ValueTask\u003cT\u003e`\n  - C# 10\n- nuget経由での導入\n  - No more GAC、nupkg形式での提供\n  - 現在はローカルnugetの想定です\n- 共通ライブラリは .NET Standard 2.0対応\n  - .NET Framework系環境・.NET Core系環境どちらからも利用可能\n  - .NET 6 / 7での動作を確認済\n- 連携IPCサーバーは .NET Framework 4.8上で起動\n  - 名前付きパイプでのIPCを行います\n- Unity3D対応\n  - `.unitypackage` を用意しています\n- **バグだらけ。テスト甘いです。**\n  - 利用していないAPIはテストされていません\n\n## 構成\n\n- [FluentCeVIOWrapper.Common](FluentCeVIOWrapper.Common/)\n  - 共通ライブラリ\n  - .NET Standard 2.0 ![.NET Standard 2.0](https://img.shields.io/badge/%20.NET%20Standard-2.0-blue.svg?logo=dotnet\u0026style=flat)\n  - `.nupkg`\n- [FluentCeVIOWrapper.Server](FluentCeVIOWrapper.Server/)\n  - 連携IPCサーバー\n  - .NET Framework 4.8 ![.NET Framework 4.8](https://img.shields.io/badge/%20.NET%20Framework-4.8-blue.svg?logo=dotnet\u0026style=flat)\n  - Windows console app .exe\n- [FluentCeVIOWrapper.Unity](FluentCeVIOWrapper.Unity/)\n  - Unity3D上で動かします\n  - Unity3D 2021.3で動作確認\n    - .NET Standard 2.0 をサポートするバージョンなら動くと思います\n  - Windowsのみ\n  - `.unitypackage`\n\n## 使い方\n\n### FluentCeVIOWrapper.Common\n\n1. nupkgファイルをDL\n   1. download from [Releases](https://github.com/InuInu2022/FluentCeVIOWrapper/releases)\n2. nupkgをローカルnugetリポジトリに登録\n3. ライブラリとして追加。\n   1. 例：`dotnet add package FluentCeVIOWrapper.Common`\n\n```cs\n//ファクトリメソッドで非同期生成\n//IDisposableを継承しているためusingが使えます\nusing var fcw = await FluentCeVIO.FactoryAsync();\n\n//非同期でCeVIO外部連携インターフェイス起動\nawait fcw.StartAsync();\n//利用可能なキャスト（ボイス）を非同期で取得\nvar casts = await fcw.GetAvailableCastsAsync();\n//感情一覧を非同期で取得\nvar emotes = await fcw.GetComponentsAsync();\nvar newEmo = emotes\n\t.Select(v =\u003e {\n\t\tv.Value = (v.Name == \"哀しみ\") ?\n\t\t\t(uint)100 :\n\t\t\t(uint)0;\n\t\treturn v;\n\t})\n\t.ToList();\n//メソッドチェーンでまとめてパラメータ指定\nawait fcw.CreateParam()\n\t.Cast(casts[0])\n\t.Alpha(30)\n\t.Speed(50)\n\t.ToneScale(75)\n\t.Components(newEmo)\n\t.SendAsync();\n//非同期で音声合成\nawait fcw.SpeakAsync(\"こんにちは。\");\n\n//感情設定は Emotions() で簡単にできる\nawait fcw.CreateParam()\n  //キャスト名の直接指定でも実はOK\n\t.Cast(\"さとうささら\")\n\t//感情一覧を取得しなくても使える便利関数\n\t//感情名が一致すれば設定します。存在しない場合は無視\n\t.Emotions(new()\n\t\t{\n\t\t\t[\"元気\"] = 0,\n\t\t\t[\"哀しみ\"] = 0,\n\t\t\t[\"怒り\"] = 75,\n\t\t\t[\"普通\"] = 50\n\t\t})\n\t.SendAsync();\nawait fcw.SpeakAsync(\"こんにちは!!\");\n```\n\n- [API documents](https://inuinu2022.github.io/FluentCeVIOWrapper/)\n\n#### Comparison table with CeVIO .NET API\n\n| CeVIO class | CeVIO name | FCW class | FCW name |\n|---|---|---|---|\n| - | - | [FluentCeVIOUtil](https://inuinu2022.github.io/FluentCeVIOWrapper/api/FluentCeVIOWrapper.Common.FluentCeVIOUtil.html) | `GetCastIdAsync()` |\n| Talker/Talker2 | Alpha | [FluentCeVIO](https://inuinu2022.github.io/FluentCeVIOWrapper/api/FluentCeVIOWrapper.Common.FluentCeVIO.html) | `GetAlphaAsync()` / `SetAlphaAsync()` |\n| Talker/Talker2 | Alpha | [FluentCeVIOParam](https://inuinu2022.github.io/FluentCeVIOWrapper/api/FluentCeVIOWrapper.Common.FluentCeVIOParam.html) | `Alpha()` |\n| Talker/Talker2 | AvailableCasts | FluentCeVIO | `GetAvailableCastsAsync()` |\n| Talker/Talker2 | Cast | FluentCeVIO | `GetCastAsync()` / `SetCastAsync()` |\n| Talker/Talker2 | Cast | FluentCeVIOParam | `Cast()` |\n| ServiceControl /ServiceControl2 | CloseHost() | FluentCeVIO | `CloseAsync()` |\n| Talker/Talker2 | Components | FluentCeVIO | `GetComponentsAsync()` / `SetComponentsAsync()` |\n| Talker/Talker2 | Components | FluentCeVIOParam | `Components()` |\n| Talker/Talker2 | Components | FluentCeVIOParam | `Emotions()` |\n| Talker/Talker2 | GetPhonemes() | FluentCeVIO | `GetPhonemesAsync()` |\n| Talker/Talker2 | GetTextDuration() | FluentCeVIO | `GetTextDurationAsync()` |\n| ServiceControl /ServiceControl2 | HostVersion | FluentCeVIO | `GetHostVersionAsync()` |\n| ServiceControl /ServiceControl2 | IsHostStarted | FluentCeVIO | `GetIsHostStartedAsync()` |\n| Talker/Talker2 | OutputWaveToFile() | FluentCeVIO | `OutputWaveToFileAsync()` |\n| Talker/Talker2 | Speak() | FluentCeVIO | `SpeakAsync()` |\n| Talker/Talker2 | Speak() | FluentCeVIOParam | `SendAndSpeakAsync()` |\n| Talker/Talker2 | Speed | FluentCeVIO | `GetSpeedAsync()` / `SetSpeedAsync()` |\n| Talker/Talker2 | Speed | FluentCeVIOParam | `Speed()` |\n| ServiceControl /ServiceControl2 | StartHost() | FluentCeVIO | `StartAsync()` |\n| Talker/Talker2 | Stop() | FluentCeVIO | `StopAsync()` |\n| Talker/Talker2 | Tone | FluentCeVIO | `GetToneAsync()` / `SetToneAsync()` |\n| Talker/Talker2 | Tone | FluentCeVIOParam | `Tone()` |\n| Talker/Talker2 | ToneScale | FluentCeVIO | `GetToneScaleAsync()` / `SetToneScaleAsync()` |\n| Talker/Talker2 | ToneScale | FluentCeVIOParam | `ToneScale()` |\n| Talker/Talker2 | Volume | FluentCeVIO | `GetVolumeAsync()` / `SetVolumeAsync()` |\n| Talker/Talker2 | Volume | FluentCeVIOParam | `Volume()` |\n\n### FluentCeVIOWrapper.Server\n\n1. exeファイルをDL\n   1. download from [Releases](https://github.com/InuInu2022/FluentCeVIOWrapper/releases)\n2. `Process.Start()`などで外部プロセス呼び出し\n3. サーバー起動後は`FluentCeVIOWrapper.Common.FluentCeVIO`クラスで通信が可能です\n\n- 起動オプション\n  - `-help` : ヘルプ表示\n  - `-cevio` : `CeVIO_AI` or `CeVIO_CS`\n  - `-pipeName` : IPCで使われる名前付きパイプ名。複数起動時に設定します。\n  - `-dllPath` : CeVIOのインストールフォルダパス指定\n\nCeVIO AIとCeVIO Creative Studioに同時に通信する場合、サーバーを2つ立ち上げてください。\n\n### FluentCeVIOWrapper.Unity\n\nunitypackageを[Releases](https://github.com/InuInu2022/FluentCeVIOWrapper/releases)からDLして取り込むだけです。\n\nsee [README](./FluentCeVIOWrapper.Unity/README.md)\n\n`Assets/Init.cs`は実際の呼び出しスクリプトです。\n\n### 使用例 / Examples\n\n- **[Samples](./Samples/)**\n  - C#10で書かれたサンプルのC#コンソールアプリケーションです\n  - キャスト名(`さとうささら`)は所持済みのボイスライブラリ名に書き換えてください\n    - 未所持の場合は動きません\n- **[KuchiPaku](https://github.com/InuInu2022/KuchiPaku)**\n  - YMM4（ゆっくりムービーメーカー4）むけの「あいうえお口パク（リップシンク）」を生成するツールです。\n  - CeVIO API連携ボイスの口パク生成に Fluent CeVIO Wrapper を利用しています\n  - このアプリ自体は .NET 6 向けに作られており、.NET Framework 向けであるCeVIOの外部連携インターフェイスをそのままでは利用できません。Fluent CeVIO Wrapper を使用することによりCeVIOを呼び出すことを実現しています。\n- **[SasaraUtil](https://github.com/InuInu2022/SasaraUtil)**\n  - CeVIOのあれこれを便利するユーティリティアプリ\n  - このアプリ自体は.NET 7のAvalonia UIで作られています\n  - 下記のボイパロイド機能を移植してUIを付けています\n- **[LibSasara/Sample/SongToTalk](https://github.com/InuInu2022/LibSasara/tree/master/sample/csharp/SongToTalk)**\n  - CeVIOソングのCCS/CCSTファイルからCeVIOトークの台詞を並べてボイパロイドするための簡易的なツールです\n  - [LibSasara](https://github.com/InuInu2022/LibSasara/)と連携するサンプルにもなっています\n- **[VRM_AI (fork edition)](https://github.com/InuInu2022/VRM_AI)**\n  - ChatGPT/Whisper/VRMをつかってAITuberが簡単に作れる **[VRM_AI](https://note.com/tori29umai/n/n81f3dd2343f3)** をCeVIOに独自対応したfork版です\n  - 公式で対応していないボイスの感情表現に対応しています\n\n## 使用ライブラリ\n\n- [H.Pipes](https://github.com/HavenDV/H.Pipes)\n  - [H.Formatters.Ceras](https://github.com/HavenDV/H.Pipes)\n- [System.Reactive](https://github.com/dotnet/reactive)\n- [ConsoleAppFramework](https://github.com/Cysharp/ConsoleAppFramework)\n- [Microsoft.Extensions.Hosting.Abstractions](https://www.nuget.org/packages/Microsoft.Extensions.Hosting.Abstractions/)\n- [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations/)\n- [xunit](https://xunit.net/)\n- [FluentAssertions](https://fluentassertions.com/)\n- [MinVer](https://github.com/adamralph/minver)\n- analyzers\n  - [AsyncFixer](https://github.com/semihokur/AsyncFixer)\n  - [Microsoft.VisualStudio.Threading.Analyzers](https://github.com/microsoft/vs-threading)\n  - [NetFabric.Hyperlinq.Analyzer](https://github.com/NetFabric/NetFabric.Hyperlinq.Analyzer)\n  - [NetFabric.CodeAnalysis](https://github.com/NetFabric/NetFabric.CodeAnalysis)\n  - [Roslynator](https://github.com/dotnet/roslynator)\n  - [Meziantou.Analyzer](https://github.com/meziantou/Meziantou.Analyzer)\n\n## ライセンス\n\n\u003e MIT License\n\u003e\n\u003e Copyright (c) 2022 - 2023 いぬいぬ\n\nSee detail [LICENSE](./LICENSE)\n\n## 🐶Developed by InuInu\n\n- InuInu（いぬいぬ）\n  - YouTube [YouTube](https://bit.ly/InuInuMusic)\n  - Twitter [@InuInuGames](https://twitter.com/InuInuGames)\n  - Blog [note.com](https://note.com/inuinu_)\n  - niconico [niconico](https://nico.ms/user/98013232)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finuinu2022%2Ffluentceviowrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finuinu2022%2Ffluentceviowrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finuinu2022%2Ffluentceviowrapper/lists"}