Table of Contents

Class SourceSeparationResult<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Result of source separation.

public class SourceSeparationResult<T>

Type Parameters

T

The numeric type used for calculations.

Inheritance
SourceSeparationResult<T>
Inherited Members

Properties

Duration

Gets or sets the duration in seconds.

public double Duration { get; set; }

Property Value

double

OriginalMix

Gets or sets the original mixed audio.

public Tensor<T> OriginalMix { get; set; }

Property Value

Tensor<T>

Quality

Gets or sets quality metrics for the separation.

public SeparationQuality<T>? Quality { get; set; }

Property Value

SeparationQuality<T>

SampleRate

Gets or sets the sample rate of the audio.

public int SampleRate { get; set; }

Property Value

int

Sources

Gets or sets the separated sources.

public IReadOnlyDictionary<string, Tensor<T>> Sources { get; set; }

Property Value

IReadOnlyDictionary<string, Tensor<T>>

Methods

GetSource(string)

Gets a specific source by name.

public Tensor<T> GetSource(string sourceName)

Parameters

sourceName string

The source name (e.g., "vocals").

Returns

Tensor<T>

The separated source audio.