medkit.core.audio.span#

Classes:

Span(start, end)

Boundaries of a slice of audio.

class Span(start, end)[source]#

Boundaries of a slice of audio.

Variables
  • start (float) – Starting point in the original audio, in seconds.

  • end (float) – Ending point in the original audio, in seconds.

Create new instance of Span(start, end)

Attributes:

end

Alias for field number 1

length

Length of the span, in seconds

start

Alias for field number 0

property start#

Alias for field number 0

property end#

Alias for field number 1

property length#

Length of the span, in seconds