diff --git a/js-programming/bytebeat-render.js b/js-programming/bytebeat-render.js index 4cfdc39..f810c73 100644 --- a/js-programming/bytebeat-render.js +++ b/js-programming/bytebeat-render.js @@ -42,28 +42,28 @@ const TYPE_FLOATBEAT = 2 const SELECTED_TYPE = TYPE_BYTEBEAT // feel free to change this // for bytebeat -const int = x => Math.floor(x) -const abs = Math.abs -const acos = Math.acos -const acosh = Math.acosh -const asin = Math.asin -const asinh = Math.asinh -const atan = Math.atan -const atanh = Math.atanh -const cbrt = Math.cbrt -const cos = Math.cos -const cosh = Math.cosh -const floor = Math.floor -const log = Math.log -const log2 = Math.log2 -const PI = Math.PI -const pow = Math.pow -const random = Math.random -const sin = Math.sin -const sinh = Math.sinh -const sqrt = Math.sqrt -const tan = Math.tan -const tanh = Math.tanh +var int = x => Math.floor(x) +var abs = Math.abs +var acos = Math.acos +var acosh = Math.acosh +var asin = Math.asin +var asinh = Math.asinh +var atan = Math.atan +var atanh = Math.atanh +var cbrt = Math.cbrt +var cos = Math.cos +var cosh = Math.cosh +var floor = Math.floor +var log = Math.log +var log2 = Math.log2 +var PI = Math.PI +var pow = Math.pow +var random = Math.random +var sin = Math.sin +var sinh = Math.sinh +var sqrt = Math.sqrt +var tan = Math.tan +var tanh = Math.tanh const generateAudio = t => { return t&t>>8