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
HopLength
Hop length between frames. Default: 1024.
public int HopLength { get; set; }
Property Value
HpssKernelSize
HPSS kernel size for spectral separation. Default: 31.
public int HpssKernelSize { get; set; }
Property Value
ModelPath
Path to ONNX model file (optional).
public string? ModelPath { get; set; }
Property Value
OnnxOptions
ONNX model options.
public OnnxModelOptions OnnxOptions { get; set; }
Property Value
SampleRate
Audio sample rate. Default: 44100.
public int SampleRate { get; set; }
Property Value
StemCount
Number of stems to separate (2, 4, or 5). Default: 4.
public int StemCount { get; set; }