mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
adjusting test thresholds
This commit is contained in:
parent
aa83647aea
commit
9c009f164a
2 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ function(Synth, Basic, InstrumentTest, APITest, Offline, Frequency, CompareToFil
|
|||
return CompareToFile(function(){
|
||||
const synth = new Synth().toMaster();
|
||||
synth.triggerAttackRelease("C4", 0.1, 0.05);
|
||||
}, "synth_basic.wav", 0.15);
|
||||
}, "synth_basic.wav", 0.3);
|
||||
});
|
||||
|
||||
it("matches a file melody", function(){
|
||||
|
@ -21,7 +21,7 @@ function(Synth, Basic, InstrumentTest, APITest, Offline, Frequency, CompareToFil
|
|||
synth.triggerAttack("E4", 0.1, 0.5);
|
||||
synth.triggerAttackRelease("G4", 0.5, 0.3);
|
||||
synth.triggerAttackRelease("B4", 0.5, 0.5, 0.2);
|
||||
}, "synth_melody.wav", 0.055);
|
||||
}, "synth_melody.wav", 0.3);
|
||||
});
|
||||
|
||||
context("API", function(){
|
||||
|
|
|
@ -13,7 +13,7 @@ function(BasicTests, AMOscillator, Offline, SourceTests, OscillatorTests, Test,
|
|||
return CompareToFile(function(){
|
||||
var osc = new AMOscillator().toMaster();
|
||||
osc.start(0.1).stop(0.4);
|
||||
}, "amOscillator.wav");
|
||||
}, "amOscillator.wav", 0.01);
|
||||
});
|
||||
|
||||
context("Amplitude Modulation", function(){
|
||||
|
|
Loading…
Reference in a new issue