Table of Contents

Class SourceSeparationOptions

Namespace
AiDotNet.Audio.SourceSeparation
Assembly
AiDotNet.dll

Options for music source separation.

public class SourceSeparationOptions
Inheritance
SourceSeparationOptions
Inherited Members

Properties

FftSize

FFT size. Default: 4096.

public int FftSize { get; set; }

Property Value

int

HopLength

Hop length between frames. Default: 1024.

public int HopLength { get; set; }

Property Value

int

HpssKernelSize

HPSS kernel size for spectral separation. Default: 31.

public int HpssKernelSize { get; set; }

Property Value

int

ModelPath

Path to ONNX model file (optional).

public string? ModelPath { get; set; }

Property Value

string

OnnxOptions

ONNX model options.

public OnnxModelOptions OnnxOptions { get; set; }

Property Value

OnnxModelOptions

SampleRate

Audio sample rate. Default: 44100.

public int SampleRate { get; set; }

Property Value

int

StemCount

Number of stems to separate (2, 4, or 5). Default: 4.

public int StemCount { get; set; }

Property Value

int