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.

Functions

component1
Link copied to clipboard
common
operator fun component1(): Float
component2
Link copied to clipboard
common
operator fun component2(): Float
component3
Link copied to clipboard
common
operator fun component3(): Float
copy
Link copied to clipboard
common
fun copy(start: Float, duration: Float, confidence: Float): TimeInterval
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

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

(source)
Link copied to clipboard