Skip to content

Commit

Permalink
No longer dump SysEx to log
Browse files Browse the repository at this point in the history
  • Loading branch information
minimism committed Sep 16, 2023
1 parent 8c6b513 commit 8afcffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mb-1Setter/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
access = await navigator.requestMIDIAccess({ sysex: true });
} catch {
const shellBlock = document.getElementById("shell");
shellBlock.innerHTML += "your browser doesn't handle webMIDI :'("
shellBlock.innerHTML += "It looks like your browser doesn't handle webMIDI — Sorry!"
return null;
}

Expand Down Expand Up @@ -137,7 +137,7 @@
const transmit = await midi(chooser("tx"));

function send(line) {
shellBlock.innerHTML += '<code>' + line + '</code>\n';
//shellBlock.innerHTML += '<code>' + line + '</code>\n';
const words = line.split(/\s+/).filter(Boolean);

const bytes = words.map((x) => Number("0x" + x));
Expand Down

0 comments on commit 8afcffe

Please sign in to comment.