Tone.js/test/helper/OutputAudio.js

11 lines
228 B
JavaScript
Raw Normal View History

2018-05-18 16:07:20 +00:00
define(["helper/Offline", "helper/Test"], function(Offline, Test){
2015-08-21 21:03:48 +00:00
var OutputAudio = function(callback){
return Offline(callback, 0.1).then(function(buffer){
return !buffer.isSilent();
2015-08-21 21:03:48 +00:00
});
};
return OutputAudio;
2017-12-30 16:26:29 +00:00
});