OwnAudioSharp 2.5.3

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

OwnAudioSharp

Cross-platform audio library for .NET desktop applications

OwnAudioSharp is a professional-grade audio engine providing high-performance audio playback, recording, and processing for Windows, Linux, and macOS with zero external dependencies.

Key Features

  • Native Audio Engines: Built on PortAudio and MiniAudio (all platforms) for professional-grade audio processing
  • Managed Wrappers: Platform-specific managed engines with WASAPI (Windows), PulseAudio (Linux), and Core Audio (macOS) integration
  • Multi-format Support: Built-in decoders for MP3, WAV, and FLAC
  • Real-time Processing: Zero-allocation design with lock-free buffers for professional-grade performance
  • Advanced Audio Features:
    • Network Synchronization: Multi-device audio sync across local network (< 5ms accuracy on LAN)
    • Master Clock: Sample-accurate timeline synchronization for multi-track playback
    • SmartMaster Effect: Intelligent audio mastering with auto-calibration
    • AI-powered vocal removal (ONNX-based neural separation)
    • Audio matchering and mastering
    • Real-time chord detection
    • Built-in effects and DSP routines

Quick Start

using OwnaudioNET;
using OwnaudioNET.Features.Vocalremover;

// Initialize the audio engine
OwnaudioNet.Initialize();
OwnaudioNet.Start();

// Create the audio mixer using the underlying engine
var mixer = new AudioMixer(OwnaudioNet.Engine.UnderlyingEngine);
mixer.Start();

// Play an audio file
var music = new FileSource("music.mp3");
mixer.AddSource(music);

// Synchronized Multi-track Playback (Master Clock)
var vocals = new FileSource("vocals.wav");
var backing = new FileSource("backing.mp3");

mixer.AddSource(vocals);
mixer.AddSource(backing);

// Attach sources to the Master Clock for sample-accurate sync
vocals.AttachToClock(mixer.MasterClock);
backing.AttachToClock(mixer.MasterClock);

// Start sources individually
vocals.Play();
backing.Play();

// Network Synchronization - Multi-Device Audio
// Server mode (control device)
await OwnaudioNet.StartNetworkSyncServerAsync(port: 9876);

// Client mode (follower devices)
await OwnaudioNet.StartNetworkSyncClientAsync(
    serverAddress: "192.168.1.100",  // Or null for auto-discovery
    allowOfflinePlayback: true);

// All clients automatically follow server commands
// Perfect for multi-room audio, DJ setups, installations

// AI Vocal Removal
var options = new SimpleSeparationOptions 
{ 
    Model = InternalModel.Best, 
    OutputDirectory = "output" 
};

using var separator = new SimpleAudioSeparationService(options);
separator.Initialize();
var result = separator.Separate("song.mp3");
// result.VocalsPath and result.InstrumentalPath contain the output files

Platform Support

  • Windows: Windows 10/11 (x64, ARM64)
  • Linux: Ubuntu, Debian, Fedora, etc. (x64, ARM64)
  • macOS: macOS 10.13+ (x64, ARM64)

Architecture

OwnAudioSharp uses a two-layer architecture:

  1. Engine Layer: Low-level platform-specific audio processing with real-time thread management
  2. API Layer: High-level thread-safe wrappers with lock-free ring buffers to prevent UI blocking

Documentation

License

MIT License - Copyright (c) 2025 ModernMube

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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
2.5.4 109 1/11/2026
2.5.3 102 12/31/2025
2.4.1 167 12/21/2025
2.3.4 266 12/15/2025
2.3.3 157 12/14/2025
2.3.2 193 12/13/2025
2.3.1 306 12/7/2025
2.2.0 194 11/24/2025
2.1.0 148 11/8/2025
2.0.15 210 11/5/2025
2.0.0 276 11/4/2025
1.0.68 254 9/21/2025
1.0.65 176 9/14/2025
1.0.62 120 9/13/2025
1.0.25 214 9/7/2025
1.0.5 203 9/11/2025
1.0.0 231 8/24/2025
0.94.56 179 8/22/2025
0.91.35 132 8/15/2025
0.89.65 300 7/26/2025
0.89.45 352 7/20/2025
0.43.19 129 7/5/2025
0.31.45 215 6/17/2025
0.30.12 293 6/9/2025
0.25.92 281 6/9/2025
0.25.91 262 6/8/2025
0.25.90 251 6/8/2025
0.25.82 172 6/6/2025
0.25.78 166 6/1/2025
0.25.62 551 5/20/2025
0.25.7 475 5/20/2025