dur

Get the duration of an audio

Syntax

y = dur ( x )
y = x.dur (  )

Inputs

ArgumentTypeDescriptionUnit
xaudioaudio inputn/a

Outputs / Return Value

Notes

Examples

tone(40,100).dur → 100 (constant)
(tone(40,100)>>1000).dur → 1000: 100 (time sequence)

See Also

Review Status