Class SourceSeparationResult<T>
- Namespace
- AiDotNet.Interfaces
- Assembly
- AiDotNet.dll
Result of source separation.
public class SourceSeparationResult<T>
Type Parameters
TThe 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
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
SampleRate
Gets or sets the sample rate of the audio.
public int SampleRate { get; set; }
Property Value
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
sourceNamestringThe source name (e.g., "vocals").
Returns
- Tensor<T>
The separated source audio.