Tone.js/test/helper/OutputAudio.js
tambien ed71d8141b amd to es6 import/export
no longer using AMD (require.js) style imports, and beginning to move to es6 "import/export" statements everywhere.
2019-01-27 13:05:20 -05:00

11 lines
230 B
JavaScript

import Offline from "helper/Offline";
import Test from "helper/Test";
var OutputAudio = function(callback){
return Offline(callback, 0.1).then(function(buffer){
return !buffer.isSilent();
});
};
export default OutputAudio;