BpmFinder 0.1.0

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

BPM Finder is a lightweight .NET library for analyzing the BPM of local audio files. Explore the full web app at https://bpm-finder.net/.

BPM Finder

BpmFinder focuses on a simple workflow: point it at a local MP3 or WAV file and get a tempo estimate with a confidence score. The package is designed for DJ tooling, music production utilities, catalog analysis, and any .NET app that needs lightweight BPM detection without a cloud dependency.

Features

  • Analyze local MP3 and WAV files
  • Return BPM, confidence, duration, and source audio metadata
  • Tune the search range with MinBpm and MaxBpm
  • Keep the implementation dependency-light with managed decoding and DSP

Installation

dotnet add package BpmFinder

If the package ID is unavailable during publishing, use the fallback package name:

dotnet add package BpmFinder.Audio

Usage

using BpmFinder;

var options = new BpmAnalysisOptions
{
    MinBpm = 80,
    MaxBpm = 180,
    TrimLeadingSilence = true,
    PreferStableTempo = true
};

var result = await BpmAnalyzer.AnalyzeFileAsync("track.mp3", options);

Console.WriteLine($"BPM: {result.Bpm:F2}");
Console.WriteLine($"Confidence: {result.Confidence:P0}");
Console.WriteLine($"Duration: {result.Duration}");
Console.WriteLine($"Format: {result.Format}");

API

BpmAnalyzer.AnalyzeFileAsync

Task<BpmAnalysisResult> AnalyzeFileAsync(
    string filePath,
    BpmAnalysisOptions? options = null,
    CancellationToken cancellationToken = default)

BpmAnalysisOptions

  • MinBpm defaults to 60
  • MaxBpm defaults to 220
  • TrimLeadingSilence defaults to true
  • PreferStableTempo defaults to true

BpmAnalysisResult

  • Bpm
  • Confidence
  • Duration
  • SampleRate
  • Channels
  • Format

Notes

  • MP3 decoding is powered by NLayer
  • Signal resampling is powered by NWaves
  • The package is intended for offline tempo analysis, not real-time streaming

Homepage

The package homepage is set to https://bpm-finder.net/ so NuGet consumers can discover the full BPM Finder product and documentation.

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

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 16 3/7/2026

Initial public release of the BPM Finder NuGet package for MP3 and WAV tempo analysis.