AudioLoadResult<T>
Models & Types · AiDotNet.Helpers
Result of loading an audio file, including metadata.
Constructors
| Constructor | Summary |
|---|---|
AudioLoadResult() |
Properties
| Property | Summary |
|---|---|
Tensor<T> Audio { get; set; } |
Audio samples as tensor [1, channels, samples]. |
double DurationSeconds { get; } |
Duration in seconds. |
int BitsPerSample { get; set; } |
Bits per sample (8, 16, 24, or 32). |
int Channels { get; set; } |
Number of channels (1 = mono, 2 = stereo). |
int SampleRate { get; set; } |
Sample rate in Hz. |