Skip to content

Commit

Permalink
Updated the value of soundLoop.interval
Browse files Browse the repository at this point in the history
  • Loading branch information
parulpriyedarshani committed Apr 28, 2020
1 parent 006cfed commit ec95c08
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/soundLoop.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ define(function (require) {

this._interval = interval || 1;

// Set the limit of the desiredInterval to zero.

let desiredInterval = 0;

SoundLoop._interval = max(desiredInterval, 0.01);

/**
* musicalTimeMode variables
* modify these only when the interval is specified in musicalTime format as a string
Expand Down

0 comments on commit ec95c08

Please sign in to comment.