Tone.js/test/helper/OutputAudio.js
2018-05-18 12:07:20 -04:00

10 lines
228 B
JavaScript

define(["helper/Offline", "helper/Test"], function(Offline, Test){
var OutputAudio = function(callback){
return Offline(callback, 0.1).then(function(buffer){
return !buffer.isSilent();
});
};
return OutputAudio;
});