Reference setLoop()

setLoop()

Set a loop region. The loop() method must be set to true for this to work.

Syntax

setLoop([startTime], [duration])

Parameters

startTime
Number: The start time of the loop point in seconds.
duration
Number: The duration of the loop point in seconds.
Notice any errors or typos? Please let us know. Please feel free to edit src/sources/SoundFile.js and open a pull request!

Related References