SeasonSTT 0.1.0

dotnet add package SeasonSTT --version 0.1.0
                    
NuGet\Install-Package SeasonSTT -Version 0.1.0
                    
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="SeasonSTT" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SeasonSTT" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="SeasonSTT" />
                    
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 SeasonSTT --version 0.1.0
                    
#r "nuget: SeasonSTT, 0.1.0"
                    
#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 SeasonSTT@0.1.0
                    
#: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=SeasonSTT&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=SeasonSTT&version=0.1.0
                    
Install as a Cake Tool

SeasonSTT

SeasonSTT is a lightweight .NET speech-to-text library for Whisper ONNX model bundles.

The current public API is intentionally small:

  • path-based model loading
  • byte-array WAV input
  • plain string transcription output
  • CPU-first execution for simple integration
  • Repository: SeasonRealms/SeasonSTT

Install

dotnet add package SeasonSTT

Quick Start

using SeasonSTT;

var whisper = @"../../../../../../Models/whisper-large-v3-turbo";
var voices = File.ReadAllBytes("sample.wav");

var result = Whisper.Detect(whisper, voices, "en");

Console.WriteLine(result);

Equivalent fully-qualified call:

var whisper = @"../../../../../../Models/whisper-large-v3-turbo";
var voices = File.ReadAllBytes("sample.wav");
var result = SeasonSTT.Whisper.Detect(whisper, voices, "en");

Input Requirements

  • voice must be a WAV file encoded as PCM16
  • mono and multi-channel WAV files are accepted
  • audio is resampled internally to the model sample rate
  • defaultLanguage should be a Whisper language code such as en, zh, or ja

Model Layout

Whisper.Detect(...) expects the model directory to contain season-whisper.json and the ONNX files referenced by that config, typically:

whisper-large-v3-turbo/
  season-whisper.json
  encoder_model.onnx
  decoder_model.onnx
  preprocess_model.onnx

The exact filenames come from season-whisper.json.

API

Current entry point:

public static string Detect(string model, byte[] voice, string defaultLanguage)

Parameter notes:

  • model: path to the Whisper model bundle directory
  • voice: WAV PCM16 audio bytes
  • defaultLanguage: default language token used for decoding when the config does not force a language

Return value:

  • recognized text as a single string

Runtime Notes

  • The current implementation forces the ONNX provider to cpu
  • Provider fallback hooks are present in the source for future expansion
  • The package depends on Microsoft.ML.OnnxRuntime.Managed

Build And Pack

Build the library:

dotnet build SeasonSTT/SeasonSTT.csproj -c Release

Create a NuGet package:

dotnet pack SeasonSTT/SeasonSTT.csproj -c Release

Repository

License

SeasonSTT is distributed under the MIT License. See LICENSE.

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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 106 6/21/2026