Duration

Duration[expr]

returns the duration of expr.

Details

Examples

open allclose all

Basic Examples  (5)

Duration of an Audio object:

In[1]:=
Click for copyable input
Out[1]=

A Sound object:

In[1]:=
Click for copyable input
Out[1]=

A sound from a sequence of notes:

In[1]:=
Click for copyable input
Out[1]=

A TimeSeries object:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Duration of a financial time series:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Applications  (1)

Properties & Relations  (3)

See Also

AudioLength  Length  Dimensions  TimeObject  Audio  Sound  TimeSeries

Introduced in 2016
(11.0)