From 92add96593ea9abef8c0202a031d06e2d4c04f26 Mon Sep 17 00:00:00 2001 From: mrfloydst <103819308+mrfloydst@users.noreply.github.com> Date: Thu, 27 Jun 2024 09:13:38 +0200 Subject: [PATCH] Update webxgmidi.html - added monophonic mode selector to portamento section - added controls for Early Reflections 1,2 effect --- webxgmidi.html | 70 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 65 insertions(+), 5 deletions(-) diff --git a/webxgmidi.html b/webxgmidi.html index 8066354..c274969 100644 --- a/webxgmidi.html +++ b/webxgmidi.html @@ -312,11 +312,18 @@ @@ -777,7 +837,7 @@ cb.addEventListener("click",function(evt){ var cc=this.id.split("_"); var t=0; - if(this.checked==true) t=127; + if(this.checked==true) t=this.value; if(cc[0]=="cc") { sendCC(cc[1], t); } @@ -786,7 +846,7 @@ if (hex.length<2) { hex="0"+hex; } - sendSX(this.id.split("_")[1].replace("XX","0x"+hex).split(",")); + sendSX(this.id.split("_")[1].replace("XX","0x"+hex).replace("NN",channel).split(",")); } }); });