diff options
Diffstat (limited to 'bundle.js')
| -rw-r--r-- | bundle.js | 102 |
1 files changed, 51 insertions, 51 deletions
@@ -63,7 +63,7 @@ /******/ __webpack_require__.p = ""; /******/ /******/ // Load entry module and return exports -/******/ return __webpack_require__(__webpack_require__.s = 9); +/******/ return __webpack_require__(__webpack_require__.s = 10); /******/ }) /************************************************************************/ /******/ ([ @@ -22526,7 +22526,7 @@ var _tone = __webpack_require__(0); var _tone2 = _interopRequireDefault(_tone); -var _startAudioContext = __webpack_require__(10); +var _startAudioContext = __webpack_require__(11); var _startAudioContext2 = _interopRequireDefault(_startAudioContext); @@ -22811,7 +22811,7 @@ function pause(freq) { return osc; } -exports.default = { play: play, pause: pause, oscillators: oscillators }; +exports.default = { load: load, play: play, pause: pause, oscillators: oscillators }; /***/ }), /* 7 */ @@ -22823,7 +22823,29 @@ exports.default = { play: play, pause: pause, oscillators: oscillators }; Object.defineProperty(exports, "__esModule", { value: true }); -var PRIMES = exports.PRIMES = [1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997]; +exports.getOutput = getOutput; + +var _tone = __webpack_require__(0); + +var _tone2 = _interopRequireDefault(_tone); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var output = null; + +function getOutput() { + if (!output) output = makeOutput(); + return output; +} + +function makeOutput() { + var compressor = new _tone2.default.Compressor(-30, 3); + var gain = new _tone2.default.Gain(0.3); + compressor.connect(gain); + gain.toMaster(); + + return compressor; +} /***/ }), /* 8 */ @@ -22832,11 +22854,23 @@ var PRIMES = exports.PRIMES = [1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41 "use strict"; +Object.defineProperty(exports, "__esModule", { + value: true +}); +var PRIMES = exports.PRIMES = [1, 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997]; + +/***/ }), +/* 9 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + // MODULES // var isArray = __webpack_require__( 2 ), - isIntegerArray = __webpack_require__( 12 ), - isFunction = __webpack_require__( 11 ); + isIntegerArray = __webpack_require__( 13 ), + isFunction = __webpack_require__( 12 ); // VARIABLES // @@ -23045,13 +23079,13 @@ module.exports = compute; /***/ }), -/* 9 */ +/* 10 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; -var _computeGcd = __webpack_require__(8); +var _computeGcd = __webpack_require__(9); var _computeGcd2 = _interopRequireDefault(_computeGcd); @@ -23071,11 +23105,11 @@ var _organ = __webpack_require__(6); var _organ2 = _interopRequireDefault(_organ); -var _output = __webpack_require__(15); +var _output = __webpack_require__(7); var _util = __webpack_require__(1); -var _primes = __webpack_require__(7); +var _primes = __webpack_require__(8); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } @@ -23373,7 +23407,7 @@ if (hash.match("sin") || hash.match("organ")) { } /***/ }), -/* 10 */ +/* 11 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23562,7 +23596,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol }); /***/ }), -/* 11 */ +/* 12 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23614,7 +23648,7 @@ module.exports = isFunction; /***/ }), -/* 12 */ +/* 13 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23651,7 +23685,7 @@ module.exports = isFunction; // MODULES // var isArray = __webpack_require__( 2 ), - isInteger = __webpack_require__( 13 ); + isInteger = __webpack_require__( 14 ); // IS INTEGER ARRAY // @@ -23687,7 +23721,7 @@ module.exports = isIntegerArray; /***/ }), -/* 13 */ +/* 14 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23723,7 +23757,7 @@ module.exports = isIntegerArray; // MODULES // -var isNumber = __webpack_require__( 14 ); +var isNumber = __webpack_require__( 15 ); // ISINTEGER // @@ -23746,7 +23780,7 @@ module.exports = isInteger; /***/ }), -/* 14 */ +/* 15 */ /***/ (function(module, exports, __webpack_require__) { "use strict"; @@ -23797,40 +23831,6 @@ function isNumber( value ) { module.exports = isNumber; -/***/ }), -/* 15 */ -/***/ (function(module, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.getOutput = getOutput; - -var _tone = __webpack_require__(0); - -var _tone2 = _interopRequireDefault(_tone); - -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } - -var output = null; - -function getOutput() { - if (!output) output = makeOutput(); - return output; -} - -function makeOutput() { - var compressor = new _tone2.default.Compressor(-30, 3); - var gain = new _tone2.default.Gain(0.3); - compressor.connect(gain); - gain.toMaster(); - - return compressor; -} - /***/ }) /******/ ]); //# sourceMappingURL=bundle.js.map
\ No newline at end of file |
