dur
Get the duration of an audio
Syntax
y = dur ( x )
y = x.dur ( )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
x | audio | audio input | n/a |
Outputs / Return Value
y:yis a T-sequence showing the duration of audiox.yis a constant if there's a single signal chunk and tmark is 0.
Notes
- Operation executed by chunk
Examples
tone(40,100).dur → 100 (constant)
(tone(40,100)>>1000).dur → 1000: 100 (time sequence)
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.