mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 00:27:58 +00:00
updating threshold
This commit is contained in:
parent
87217d1ab4
commit
82c7a109de
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ function(BasicTests, BufferSource, Offline, Buffer, Meter, Tone){
|
||||||
if (time > 0.02 && time < buffer.duration * 0.45){
|
if (time > 0.02 && time < buffer.duration * 0.45){
|
||||||
expect(level).to.be.gt(0);
|
expect(level).to.be.gt(0);
|
||||||
} else if (time > buffer.duration * 0.5){
|
} else if (time > buffer.duration * 0.5){
|
||||||
expect(level).to.equal(0);
|
expect(level).to.closeTo(0, 0.01);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue