Class AudioHelper<T>.AudioLoadResult
Result of loading an audio file, including metadata.
public class AudioHelper<T>.AudioLoadResult
- Inheritance
-
AudioHelper<T>.AudioLoadResult
- Inherited Members
Properties
Audio
Audio samples as tensor [1, channels, samples].
public Tensor<T> Audio { get; init; }
Property Value
- Tensor<T>
BitsPerSample
Bits per sample (8, 16, 24, or 32).
public int BitsPerSample { get; init; }
Property Value
Channels
Number of channels (1 = mono, 2 = stereo).
public int Channels { get; init; }
Property Value
DurationSeconds
Duration in seconds.
public double DurationSeconds { get; }
Property Value
SampleRate
Sample rate in Hz.
public int SampleRate { get; init; }