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

This page is generated from the comments in lib/addons/p5.sound.js . Please feel free to edit it and submit a pull request!

Related References