Reference syncedStart()

syncedStart()

Synchronize loops. Use this method to start two or more loops in synchronization or to start a loop in synchronization with a loop that is already playing This method will schedule the implicit loop in sync with the explicit master loop i.e. loopToStart.syncedStart(loopToSyncWith)

Syntax

syncedStart(otherLoop, [timeFromNow])

Parameters

otherLoop
Object:

a p5.SoundLoop to sync with

timeFromNow
Number:

Start the loops in sync after timeFromNow seconds

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Related References