38 lines
17 KiB
JavaScript
Raw Normal View History

(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[1],{
/***/ "./pkg/index.js":
/*!**********************!*\
!*** ./pkg/index.js ***!
\**********************/
/*! exports provided: FmOsc, __wbg_value_8e3c16d19cc78686, __wbg_setvalue_14e0a27ea85e41c5, __wbg_gain_49870d80df7054c1, __wbg_destination_aff53cf00a5d4334, __wbg_new_8d61e2cd83eb33f3, __wbg_close_7f1098ce5944b650, __wbg_createGain_861c3d0774854596, __wbg_createOscillator_e1b40c2726128e95, __wbg_connect_fd5d72f31e3ff4ed, __wbg_connect_0f9be10f38da1ddd, __wbg_settype_1916a81b3ce54920, __wbg_frequency_36ecd77891970ed2, __wbg_start_97781c948c665417, __wbindgen_string_new, __wbindgen_object_drop_ref, __wbindgen_throw, __wbindgen_rethrow */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _index_bg_wasm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index_bg.wasm */ \"./pkg/index_bg.wasm\");\n/* harmony import */ var _index_bg_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./index_bg.js */ \"./pkg/index_bg.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"FmOsc\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"FmOsc\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_value_8e3c16d19cc78686\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_value_8e3c16d19cc78686\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_setvalue_14e0a27ea85e41c5\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_setvalue_14e0a27ea85e41c5\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_gain_49870d80df7054c1\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_gain_49870d80df7054c1\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_destination_aff53cf00a5d4334\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_destination_aff53cf00a5d4334\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_new_8d61e2cd83eb33f3\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_new_8d61e2cd83eb33f3\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_close_7f1098ce5944b650\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_close_7f1098ce5944b650\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_createGain_861c3d0774854596\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_createGain_861c3d0774854596\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_createOscillator_e1b40c2726128e95\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_createOscillator_e1b40c2726128e95\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_connect_fd5d72f31e3ff4ed\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_connect_fd5d72f31e3ff4ed\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_connect_0f9be10f38da1ddd\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_connect_0f9be10f38da1ddd\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_settype_1916a81b3ce54920\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_settype_1916a81b3ce54920\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_frequency_36ecd77891970ed2\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_frequency_36ecd77891970ed2\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbg_start_97781c948c665417\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbg_start_97781c948c665417\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_string_new\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbindgen_string_new\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_object_drop_ref\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbindgen_object_drop_ref\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_throw\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbindgen_throw\"]; });\n\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_rethrow\", function() { return _index_bg_js__WEBPACK_IMPORTED_MODULE_1__[\"__wbindgen_rethrow\"]; });\n\n\n\n\n//# sour
/***/ }),
/***/ "./pkg/index_bg.js":
/*!*************************!*\
!*** ./pkg/index_bg.js ***!
\*************************/
/*! exports provided: FmOsc, __wbg_value_8e3c16d19cc78686, __wbg_setvalue_14e0a27ea85e41c5, __wbg_gain_49870d80df7054c1, __wbg_destination_aff53cf00a5d4334, __wbg_new_8d61e2cd83eb33f3, __wbg_close_7f1098ce5944b650, __wbg_createGain_861c3d0774854596, __wbg_createOscillator_e1b40c2726128e95, __wbg_connect_fd5d72f31e3ff4ed, __wbg_connect_0f9be10f38da1ddd, __wbg_settype_1916a81b3ce54920, __wbg_frequency_36ecd77891970ed2, __wbg_start_97781c948c665417, __wbindgen_string_new, __wbindgen_object_drop_ref, __wbindgen_throw, __wbindgen_rethrow */
/***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* WEBPACK VAR INJECTION */(function(TextDecoder, module) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FmOsc\", function() { return FmOsc; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_value_8e3c16d19cc78686\", function() { return __wbg_value_8e3c16d19cc78686; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_setvalue_14e0a27ea85e41c5\", function() { return __wbg_setvalue_14e0a27ea85e41c5; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_gain_49870d80df7054c1\", function() { return __wbg_gain_49870d80df7054c1; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_destination_aff53cf00a5d4334\", function() { return __wbg_destination_aff53cf00a5d4334; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_new_8d61e2cd83eb33f3\", function() { return __wbg_new_8d61e2cd83eb33f3; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_close_7f1098ce5944b650\", function() { return __wbg_close_7f1098ce5944b650; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_createGain_861c3d0774854596\", function() { return __wbg_createGain_861c3d0774854596; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_createOscillator_e1b40c2726128e95\", function() { return __wbg_createOscillator_e1b40c2726128e95; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_connect_fd5d72f31e3ff4ed\", function() { return __wbg_connect_fd5d72f31e3ff4ed; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_connect_0f9be10f38da1ddd\", function() { return __wbg_connect_0f9be10f38da1ddd; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_settype_1916a81b3ce54920\", function() { return __wbg_settype_1916a81b3ce54920; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_frequency_36ecd77891970ed2\", function() { return __wbg_frequency_36ecd77891970ed2; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbg_start_97781c948c665417\", function() { return __wbg_start_97781c948c665417; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_string_new\", function() { return __wbindgen_string_new; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_object_drop_ref\", function() { return __wbindgen_object_drop_ref; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_throw\", function() { return __wbindgen_throw; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"__wbindgen_rethrow\", function() { return __wbindgen_rethrow; });\n/* harmony import */ var _index_bg_wasm__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index_bg.wasm */ \"./pkg/index_bg.wasm\");\n\n\nconst lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : webkitAudioContext);\n\nconst lTextDecoder = typeof TextDecoder === 'undefined' ? (0, module.require)('util').TextDecoder : TextDecoder;\n\nlet cachedTextDecoder = new lTextDecoder('utf-8', { ignoreBOM: true, fatal: true });\n\ncachedTextDecoder.decode();\n\nlet cachegetUint8Memory0 = null;\nfunction getUint8Memory0() {\n if (cachegetUint8Memory0 === null || cachegetUint8Memory0.buffer !== _index_bg_wasm__WEBPACK_IMPORTED_MODULE_0__[\"memory\"].buffer) {\n cachegetUint8Memory0 = new Uint8Array(_index_bg_wasm__WEBPACK_IMPORTED_MODULE_0__[\"memory\"].buffer);\n }\n return cachegetUint8Memory0;\n}\n\nfunction getStringFromWasm0(ptr, len) {\n return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));\n}\n\nconst heap = new Array(32).fill(undefined);\n\nheap.push(undefined, null, true, false);\n\nlet heap_next = heap.length;\n\nfu
/***/ }),
/***/ "./pkg/index_bg.wasm":
/*!***************************!*\
!*** ./pkg/index_bg.wasm ***!
\***************************/
/*! exports provided: memory, __wbg_fmosc_free, fmosc_new, fmosc_set_gain, fmosc_set_primary_frequency, fmosc_set_note, fmosc_set_fm_amount, fmosc_set_fm_frequency, __wbindgen_exn_store */
/***/ (function(module, exports, __webpack_require__) {
eval("\"use strict\";\n// Instantiate WebAssembly module\nvar wasmExports = __webpack_require__.w[module.i];\n__webpack_require__.r(exports);\n// export exports from WebAssembly module\nfor(var name in wasmExports) if(name != \"__webpack_init__\") exports[name] = wasmExports[name];\n// exec imports from WebAssembly module (for esm order)\n/* harmony import */ var m0 = __webpack_require__(/*! ./index_bg.js */ \"./pkg/index_bg.js\");\n\n\n// exec wasm module\nwasmExports[\"__webpack_init__\"]()\n\n//# sourceURL=webpack:///./pkg/index_bg.wasm?");
/***/ })
}]);