AudioSeparator.Onnx.Mdx
0.2.0-beta.2
This is a prerelease version of AudioSeparator.Onnx.Mdx.
dotnet add package AudioSeparator.Onnx.Mdx --version 0.2.0-beta.2
NuGet\Install-Package AudioSeparator.Onnx.Mdx -Version 0.2.0-beta.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="AudioSeparator.Onnx.Mdx" Version="0.2.0-beta.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AudioSeparator.Onnx.Mdx" Version="0.2.0-beta.2" />
<PackageReference Include="AudioSeparator.Onnx.Mdx" />
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 AudioSeparator.Onnx.Mdx --version 0.2.0-beta.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AudioSeparator.Onnx.Mdx, 0.2.0-beta.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.
#:package AudioSeparator.Onnx.Mdx@0.2.0-beta.2
#: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=AudioSeparator.Onnx.Mdx&version=0.2.0-beta.2&prerelease
#tool nuget:?package=AudioSeparator.Onnx.Mdx&version=0.2.0-beta.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AudioSeparator.Onnx.Mdx
MDX-Net ONNX backend for AudioSeparator — UVR-style instrumental/vocals separation.
Part of AudioSeparator — modular .NET audio stem separation.
Install
dotnet add package AudioSeparator.Onnx.Mdx
dotnet add package AudioSeparator.NAudio
Defaults (UVR-MDX-NET-Inst_HQ_5)
| Setting | Default |
|---|---|
| Sample rate | 44100 Hz |
| Stems | instrumental, vocals |
| n_fft / hop / dim_f / dim_t | 7680 / 1024 / 3072 / 256 |
| Compensate | 1.021 |
| Overlap-add | enabled (0.25) |
| Peak normalize | enabled |
| Clip prevention | Rescale |
The ONNX graph receives spectrograms; STFT/iSTFT runs in this package.
Quick start
using AudioSeparator.NAudio;
using AudioSeparator.Onnx.Mdx;
using Microsoft.ML.OnnxRuntime;
using var separator = MdxBuilder.Create("UVR-MDX-NET-Inst_HQ_5.onnx")
.UseNAudio()
.WithOutputStem("instrumental")
.ConfigureSessionOptions(o =>
{
o.GraphOptimizationLevel = GraphOptimizationLevel.ORT_ENABLE_ALL;
o.AppendExecutionProvider_CUDA(0);
})
.Build();
var session = await separator.CreateSession("input.wav");
using var result = await session.RunAsync();
await result.WriteToDirectoryAsync("./Outputs");
License
MIT — see AudioSeparator repository.
| Product | Versions 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.
-
net10.0
- AudioSeparator.Onnx (>= 0.2.0-beta.2)
- MathNet.Numerics (>= 5.0.0)
- Microsoft.ML.OnnxRuntime.Gpu (>= 1.28.0)
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.2.0-beta.2 | 64 | 9/13/2026 |
| 0.2.0-beta.1 | 64 | 9/13/2026 |