Table of Contents

Class AudioEventResult<T>

Namespace
AiDotNet.Interfaces
Assembly
AiDotNet.dll

Result of audio event detection.

public class AudioEventResult<T> : IEnumerable<AudioEvent<T>>, IEnumerable

Type Parameters

T

The numeric type used for calculations.

Inheritance
AudioEventResult<T>
Implements
Inherited Members
Extension Methods

Properties

DetectedEventTypes

Gets or sets the unique event types detected.

public IReadOnlyList<string> DetectedEventTypes { get; set; }

Property Value

IReadOnlyList<string>

EventStats

Gets or sets event statistics.

public IReadOnlyDictionary<string, EventStatistics<T>> EventStats { get; set; }

Property Value

IReadOnlyDictionary<string, EventStatistics<T>>

Events

Gets or sets the detected events.

public IReadOnlyList<AudioEvent<T>> Events { get; set; }

Property Value

IReadOnlyList<AudioEvent<T>>

TotalDuration

Gets or sets the total duration in seconds.

public double TotalDuration { get; set; }

Property Value

double

Methods

GetEnumerator()

Returns an enumerator that iterates through the events.

public IEnumerator<AudioEvent<T>> GetEnumerator()

Returns

IEnumerator<AudioEvent<T>>

GetEventsByType(string)

Gets events of a specific type.

public IEnumerable<AudioEvent<T>> GetEventsByType(string eventType)

Parameters

eventType string

The event type to filter for.

Returns

IEnumerable<AudioEvent<T>>

Events of the specified type.