WhisperLive.Client 1.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package WhisperLive.Client --version 1.1.2
                    
NuGet\Install-Package WhisperLive.Client -Version 1.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="WhisperLive.Client" Version="1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WhisperLive.Client" Version="1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="WhisperLive.Client" />
                    
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 WhisperLive.Client --version 1.1.2
                    
#r "nuget: WhisperLive.Client, 1.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.
#addin nuget:?package=WhisperLive.Client&version=1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=WhisperLive.Client&version=1.1.2
                    
Install as a Cake Tool

WhisperLive.Client

A dotnet client library for WhisperLive server.

Installation

npm install @codehard-th/whisperlive-client

Usage

To use the Recorder library, include the necessary files in your project and import the Recorder class along with its dependencies.

using WhisperLive.Abstraction;
using WhisperLive.Abstraction.Configurations;
using WhisperLive.Client.Filters;
using WhisperLive.Client.Implementation;

var url = "ws://your-server-location";

// Adds your own filter as you see fit into the SegmentFilterFilterPipeline here.
var filterPipeline = new SegmentFilterFilterPipeline();
filterPipeline.AddFilter(new YourCustomFilter());
filterPipeline.AddFilter<YourAnotherCustomFilter>();

var configuration = new TranscriptorConfiguration(
    model: "large-v2",
    language: "en",
    isMultiLanguage: false,
    useVoiceActivityDetection: false,
    transcriptionDelay: TimeSpan.FromMilliseconds(100),
    transcriptionTimeout: TimeSpan.FromSeconds(30),
    segmentFilter: filterPipeline,
    options: TranscriptionOptions.Default with
    {
        RepetitionPenalty = 1.1f,
    });

// Create the transcriptor with a pre-defined configuration.
using var transcriptor = new SingleChannelTranscriptor(serviceUri);

// Subscribe to the events
transcriptor.TranscriptorReady += (sessionId, transcriptor) => { ... };
transcriptor.TranscribeMessageCompleted += (sessionId, speaker, segments) => { ... };
transcriptor.SessionEnded += (sessionId, reason, desc) => { ... };

// Starts the transcription session.
// The input can be an audio file path, an audio stream, or a HLS streaming URL.
var source = "/path/to/my/audio.mp3";
using var transcriptionSession = await transcriptor.StartAsync(source, CancellationToken.None);

// To stop the transcription you can call `StopAsync`
await transcriptor.StopAsync(transcriptionSession.Id, CancellationToken.None);

License

This project is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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 WhisperLive.Client:

Package Downloads
WhisperLive.Client.Recorder

A dotnet client for WhisperLive speech to text server with microphone record support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.6.0-beta-007 0 7/2/2025
1.6.0-beta-006 10 7/1/2025
1.6.0-beta-004 14 6/30/2025
1.6.0-beta-003 100 6/25/2025
1.6.0-beta-002 113 6/24/2025
1.6.0-beta-001 111 6/24/2025
1.5.2 130 5/30/2025
1.5.1 178 3/20/2025
1.5.0 158 3/20/2025
1.2.1 191 6/11/2024
1.2.0 135 6/10/2024
1.1.5 124 6/4/2024
1.1.4 137 5/28/2024
1.1.3 127 5/27/2024
1.1.2 126 5/27/2024
1.1.1 134 5/27/2024
1.1.0 133 5/23/2024
1.1.0-preview-006 135 4/30/2024
1.1.0-preview-005 107 4/29/2024
1.1.0-preview-004 122 4/18/2024
1.1.0-preview-003 110 4/18/2024
1.1.0-preview-002 113 4/9/2024
1.1.0-preview-001 133 4/9/2024
1.0.3 170 4/9/2024
1.0.1 145 3/27/2024
1.0.0 130 3/26/2024

Added more options to control the transcription behavior.