Skip to content

sig.length

Olivier Lartillot edited this page May 13, 2017 · 1 revision

sig.length returns the temporal length of the temporal sequence given in input, which can be either an audio waveform (sig.input) or an envelope curve (sig.envelope). If the input was decomposed into segments (sig.segment), sig.length returns a curve indicating the series of temporal duration associated with each successive segment.

Options

sig.length(…,'Unit',u) specifies the length unit. The possible values are:

  • u = 'Second': duration in seconds (Default choice).
  • u = 'Sample': length in number of samples.
Clone this wiki locally