Class AudioScoresEventArgs
- Namespace
- VisioForge.Core.Types.Events
- Assembly
- VisioForge.Core.dll
Provides the top-K AudioSet class scores for a single processed window, raised by the audio-event block when its scores event is enabled (useful for a live meter). Raised on the inference worker thread.
public class AudioScoresEventArgs : EventArgsInheritance
Inherited Members
Constructors
AudioScoresEventArgs(AudioEventScore[], TimeSpan, TimeSpan)
Initializes a new instance of the VisioForge.Core.Types.Events.AudioScoresEventArgs class.
public AudioScoresEventArgs(AudioEventScore[] scores, TimeSpan start, TimeSpan end)Parameters
scoresAudioEventScore[]-
The highest-scoring classes for the window, ordered by descending confidence.
startTimeSpan-
The time at the start of the window, measured over the analysed audio.
endTimeSpan-
The time at the end of the window, on the same clock.
Properties
End
Gets the time at the end of the window, on the same clock as VisioForge.Core.Types.Events.AudioScoresEventArgs.Start — the same clock VisioForge.Core.Types.Events.AudioEventArgs.Start and VisioForge.Core.Types.Events.AudioEventArgs.End use, and it does not follow a seek.
public TimeSpan End { get; }Property Value
Scores
Gets the highest-scoring classes for the window, ordered by descending confidence.
public AudioEventScore[] Scores { get; }Property Value
Start
Gets the time at the start of the window, measured over the analysed audio. See the remarks on VisioForge.Core.Types.Events.AudioEventArgs.End for when that differs from the media position.
public TimeSpan Start { get; }