You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the loop is 10s long, then it only starts playing 10s after recordStop. This is because window.setInterval doesn't run the function immediately, but rather only after interval.
If the loop is 10s long, then it only starts playing 10s after
recordStop
. This is becausewindow.setInterval
doesn't run the function immediately, but rather only after interval.So I would recommend changing recordStop to have:
and remove the
setInterval
logic fromplayLoop
, so that the loop is played as soon as the recording is stopped.The text was updated successfully, but these errors were encountered: