TimeInterval

data class TimeInterval(start: Float, duration: Float, confidence: Float)

This is a generic object used to represent various time intervals within Audio Analysis.

Parameters

start

The starting point (in seconds) of the time interval.

duration

The duration (in seconds) of the time interval.

confidence

The confidence, from 0.0 to 1.0, of the reliability of the interval

Constructors

TimeInterval
Link copied to clipboard
common
fun TimeInterval(start: Float, duration: Float, confidence: Float)
The starting point (in seconds) of the time interval.

Properties

confidence
Link copied to clipboard
common
val confidence: Float
The confidence, from 0.0 to 1.
duration
Link copied to clipboard
common
val duration: Float
The duration (in seconds) of the time interval.
start
Link copied to clipboard
common
val start: Float
The starting point (in seconds) of the time interval.

Sources

common source
Link copied to clipboard