CasCap.Api.Voice
0.1.2
Prefix Reserved
dotnet add package CasCap.Api.Voice --version 0.1.2
NuGet\Install-Package CasCap.Api.Voice -Version 0.1.2
<PackageReference Include="CasCap.Api.Voice" Version="0.1.2" />
<PackageVersion Include="CasCap.Api.Voice" Version="0.1.2" />
<PackageReference Include="CasCap.Api.Voice" />
paket add CasCap.Api.Voice --version 0.1.2
#r "nuget: CasCap.Api.Voice, 0.1.2"
#:package CasCap.Api.Voice@0.1.2
#addin nuget:?package=CasCap.Api.Voice&version=0.1.2
#tool nuget:?package=CasCap.Api.Voice&version=0.1.2
CasCap.Api.Voice
Reusable speech-to-text and text-to-speech provider adapters and processing policies.
Purpose
This project isolates voice processing from messaging transports and application orchestration.
Public Surface
Applications depend on the stable IVoiceTranscriptionService and IVoiceSynthesisService
contracts under CasCap.Abstractions. These contracts return transport-neutral
VoiceTranscriptionResult and VoiceSynthesisResult values.
Provider adapters share the Microsoft.Extensions.AI ISpeechToTextClient and
ITextToSpeechClient contracts. Configuration selects the default adapter, while dependency
injection can replace either provider client or either complete Voice pipeline.
The library exposes SpeechToTextConfig, TextToSpeechConfig, VoiceMetricsConfig, provider enums,
and result records under CasCap.Models. Register the default pipelines with AddSpeechToText and
AddTextToSpeech from VoiceServiceCollectionExtensions.
Configuration
Options bind from CasCap:SpeechToTextConfig, CasCap:TextToSpeechConfig, and
CasCap:VoiceMetricsConfig. VoiceMetricsConfig:MetricNamePrefix defaults to voice and should be
set by a host when its telemetry naming convention requires another prefix.
Dependencies
The project uses Microsoft.Extensions.AI abstractions, shared CasCap configuration/extensions/services, and optional CasCap Azure authentication and cognitive-services libraries. It has no messaging or application-orchestration dependency. Release builds consume exact published package versions for all cross-repository dependencies.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- CasCap.Api.Azure.Auth (>= 1.6.3)
- CasCap.Api.Azure.CognitiveServices (>= 1.6.3)
- CasCap.Common.Abstractions (>= 4.14.3)
- CasCap.Common.Configuration (>= 4.14.3)
- CasCap.Common.Extensions (>= 4.14.3)
- CasCap.Common.Net (>= 4.14.3)
- CasCap.Common.Services (>= 4.14.3)
- Microsoft.Extensions.AI (>= 10.10.0)
- Microsoft.Extensions.DependencyInjection (>= 10.0.12)
- Microsoft.Extensions.Http (>= 10.0.12)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on CasCap.Api.Voice:
| Package | Downloads |
|---|---|
|
CasCap.Api.Voice.Testing
Canned speech-to-text and text-to-speech clients for testing code built on CasCap.Api.Voice without a speech backend. |
GitHub repositories
This package is not used by any popular GitHub repositories.