diff --git a/client/dist/fs.js b/client/dist/fs.js
index 2418a24..98b2220 100644
--- a/client/dist/fs.js
+++ b/client/dist/fs.js
@@ -21323,7 +21323,7 @@ _utter_fail_element.innerHTML = "";
};
if (!(test_canvas.getContext("webgl2", test_opts) || test_canvas.getContext("experimental-webgl2", test_opts))) {
- _fail("Web WebGL 2 is not available, please use a web browser / device with WebGL 2 support.", true);
+ _fail("WebGL 2 is not available, please use a web browser / device with WebGL 2 support.", true);
return;
}
@@ -21332,7 +21332,7 @@ _utter_fail_element.innerHTML = "";
Fields.
************************************************************/
- var _motd = '
',
+ var _motd = '',
_webmidi_support_msg = 'WebMIDI API is not enabled/supported by this browser, please use a compatible browser.',
@@ -36308,6 +36308,11 @@ var _fasInit = function () {
_fas.address = this.value;
localStorage.setItem("fas-address", _fas.address);
+
+ if (_fas.enabled) {
+ _fasDisable();
+ _fasEnable();
+ }
});
_fas.worker.addEventListener("message", function (m) {
@@ -36766,6 +36771,11 @@ var _oscInit = function () {
_osc.address = this.value;
localStorage.setItem("osc-address", _osc.address);
+
+ if (_oscEnabled) {
+ _oscDisable();
+ _oscEnable();
+ }
});
_osc.worker.addEventListener("message", function (m) {
@@ -37217,6 +37227,8 @@ var _oscInit = function () {
_loadEditorsMarks();
_allocateFramesData();
+
+ _fasInit();
_uiInit();
@@ -37224,8 +37236,6 @@ var _oscInit = function () {
_midiInit();
- _fasInit();
-
_oscInit();
_initNetwork();
diff --git a/client/dist/fs.min.js b/client/dist/fs.min.js
index 2418a24..98b2220 100644
--- a/client/dist/fs.min.js
+++ b/client/dist/fs.min.js
@@ -21323,7 +21323,7 @@ _utter_fail_element.innerHTML = "";
};
if (!(test_canvas.getContext("webgl2", test_opts) || test_canvas.getContext("experimental-webgl2", test_opts))) {
- _fail("Web WebGL 2 is not available, please use a web browser / device with WebGL 2 support.", true);
+ _fail("WebGL 2 is not available, please use a web browser / device with WebGL 2 support.", true);
return;
}
@@ -21332,7 +21332,7 @@ _utter_fail_element.innerHTML = "";
Fields.
************************************************************/
- var _motd = '',
+ var _motd = '',
_webmidi_support_msg = 'WebMIDI API is not enabled/supported by this browser, please use a compatible browser.',
@@ -36308,6 +36308,11 @@ var _fasInit = function () {
_fas.address = this.value;
localStorage.setItem("fas-address", _fas.address);
+
+ if (_fas.enabled) {
+ _fasDisable();
+ _fasEnable();
+ }
});
_fas.worker.addEventListener("message", function (m) {
@@ -36766,6 +36771,11 @@ var _oscInit = function () {
_osc.address = this.value;
localStorage.setItem("osc-address", _osc.address);
+
+ if (_oscEnabled) {
+ _oscDisable();
+ _oscEnable();
+ }
});
_osc.worker.addEventListener("message", function (m) {
@@ -37217,6 +37227,8 @@ var _oscInit = function () {
_loadEditorsMarks();
_allocateFramesData();
+
+ _fasInit();
_uiInit();
@@ -37224,8 +37236,6 @@ var _oscInit = function () {
_midiInit();
- _fasInit();
-
_oscInit();
_initNetwork();
diff --git a/client/js/app_fs.js b/client/js/app_fs.js
index 2eecb08..20109a3 100644
--- a/client/js/app_fs.js
+++ b/client/js/app_fs.js
@@ -153,7 +153,7 @@ var FragmentSynth = function (params) {
};
if (!(test_canvas.getContext("webgl2", test_opts) || test_canvas.getContext("experimental-webgl2", test_opts))) {
- _fail("Web WebGL 2 is not available, please use a web browser / device with WebGL 2 support.", true);
+ _fail("WebGL 2 is not available, please use a web browser / device with WebGL 2 support.", true);
return;
}
@@ -162,7 +162,7 @@ var FragmentSynth = function (params) {
Fields.
************************************************************/
- var _motd = '',
+ var _motd = '',
_webmidi_support_msg = 'WebMIDI API is not enabled/supported by this browser, please use a compatible browser.',
@@ -995,6 +995,8 @@ var FragmentSynth = function (params) {
_loadEditorsMarks();
_allocateFramesData();
+
+ _fasInit();
_uiInit();
@@ -1002,8 +1004,6 @@ var FragmentSynth = function (params) {
_midiInit();
- _fasInit();
-
_oscInit();
_initNetwork();
diff --git a/client/js/fas.js b/client/js/fas.js
index d1c1f9f..d1bb2f5 100644
--- a/client/js/fas.js
+++ b/client/js/fas.js
@@ -211,6 +211,11 @@ var _fasInit = function () {
_fas.address = this.value;
localStorage.setItem("fas-address", _fas.address);
+
+ if (_fas.enabled) {
+ _fasDisable();
+ _fasEnable();
+ }
});
_fas.worker.addEventListener("message", function (m) {
diff --git a/client/js/osc_handler.js b/client/js/osc_handler.js
index 8f654be..cb7dea5 100644
--- a/client/js/osc_handler.js
+++ b/client/js/osc_handler.js
@@ -112,6 +112,11 @@ var _oscInit = function () {
_osc.address = this.value;
localStorage.setItem("osc-address", _osc.address);
+
+ if (_oscEnabled) {
+ _oscDisable();
+ _oscEnable();
+ }
});
_osc.worker.addEventListener("message", function (m) {
diff --git a/fas_relay/fas_relay.js b/fas_relay/fas_relay.js
index f1463e5..d324eef 100644
--- a/fas_relay/fas_relay.js
+++ b/fas_relay/fas_relay.js
@@ -445,6 +445,10 @@ function printOverallLoad() {
clearTimeout(fas_load_timeout);
fas_load_timeout = setTimeout(printOverallLoad, 2000);
+ if (!client_socket) {
+ return;
+ }
+
var i = 0, l = 0, overall_latency = 0;
for (i = 0; i < fas_loads.length; i += 1) {
l += fas_loads[i];
@@ -466,7 +470,7 @@ function printOverallLoad() {
var stream_infos = new ArrayBuffer(8 + 8),
int32_view = new Int32Array(stream_infos, 0),
- float64_view = new Float64Array(stream_infos, 2);
+ float64_view = new Float64Array(stream_infos, 8);
int32_view[0] = 0;
int32_view[1] = l;
diff --git a/www/index.html b/www/index.html
index 515d131..c8c831d 100644
--- a/www/index.html
+++ b/www/index.html
@@ -325,7 +325,7 @@