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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CasCap.Api.Voice" Version="0.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CasCap.Api.Voice" Version="0.1.2" />
                    
Directory.Packages.props
<PackageReference Include="CasCap.Api.Voice" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CasCap.Api.Voice --version 0.1.2
                    
#r "nuget: CasCap.Api.Voice, 0.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CasCap.Api.Voice@0.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CasCap.Api.Voice&version=0.1.2
                    
Install as a Cake Addin
#tool nuget:?package=CasCap.Api.Voice&version=0.1.2
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last Updated
0.1.2 51 9/29/2026
0.1.1 88 9/26/2026
0.1.0 76 9/24/2026