Silentium.Util.AudioAnalysis 1.0.0

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

SilentiumIsrael.AudioAnalysis

A configurable audio analysis library for STFP (Short-Time Fourier Processing) estimation error and coherence analysis.

Features

  • STFP Analysis: Frequency response deviation analysis with configurable baseline
  • Coherence Analysis: Signal correlation measurement between reference and recorded signals
  • Fully Configurable: All parameters (FFT size, sample rate, frequency ranges, baselines) are customizable
  • FFT Processing: Powered by MathNet.Numerics for accurate spectral analysis
  • Window Functions: Hann, Hamming, and Blackman windows supported

Installation

dotnet add package SilentiumIsrael.AudioAnalysis

Usage

using SilentiumIsrael.AudioAnalysis;
using SilentiumIsrael.AudioAnalysis.Models;
using SilentiumIsrael.AudioAnalysis.Services;

// Create configuration
var config = new AudioAnalysisConfiguration
{
    SampleRate = 44100,
    FFTSize = 4096,
    STFPBaselineDB = -10.0,
    STFPFrequencyRange = (0, 1400),
    CoherenceFrequencyRange = (0, 1500),
    WindowType = WindowType.Hann
};

// Create analysis service
var analysisService = new AudioAnalysisService(config);

// Analyze STFP
var stfpResult = await analysisService.AnalyzeSTFPAsync(
    recordedAudio, 
    referenceSignal, 
    segmentStart, 
    segmentDuration);

Console.WriteLine($"STFP Grade: {stfpResult.STFPGrade:F4} dB");

// Analyze Coherence
var coherenceResult = await analysisService.AnalyzeCoherenceAsync(
    recordedAudio, 
    referenceSignal, 
    segmentStart, 
    segmentDuration);

Console.WriteLine($"Mean Coherence: {coherenceResult.MeanCoherence:F5}");

License

MIT

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
1.0.0 345 12/18/2025