Looping

Looping

is an option for VideoStream, AudioStream and related functions to specify the playback looping.

Details

  • Looping specifies whether to loop the playback of an audio recording or a video or how many times to loop.
  • Typical settings include:
  • Automaticautomatic looping
    Falseno looping
    Trueloop indefinitely
    nloop n times

Examples

open allclose all

Basic Examples  (1)

Control how many times an audio signal is looped:

Specify the number of loops:

Play indefinitely:

Scope  (1)

The value of Looping does not need to be an integer:

Possible Issues  (1)

If both Looping and MaxDuration are specified, the one that corresponds to the minimal playing time is respected:

Introduced in 2020
 (12.1)