Skip to content

Commit

Permalink
Merge pull request #3 from risgk/develop
Browse files Browse the repository at this point in the history
v1.1.0
  • Loading branch information
risgk committed Aug 11, 2015
2 parents 556b173 + a96ad47 commit 1cb4d3c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Digital Synth VRA8-M 1.0.0
# Digital Synth VRA8-M 1.1.0

- 2015-07-29 ISGK Instruments
- 2015-08-11 ISGK Instruments
- <https://github.com/risgk/digital-synth-vra8-m>

## Concept
Expand Down Expand Up @@ -84,8 +84,8 @@

## MIDI Implementation Chart

[Monophonic Synthesizer] Date: 2015-07-29
Model Digital Synth VRA8-M MIDI Implementation Chart Version: 1.0.0
[Monophonic Synthesizer] Date: 2015-08-11
Model Digital Synth VRA8-M MIDI Implementation Chart Version: 1.1.0
+-------------------------------+---------------+---------------+-----------------------+
| Function... | Transmitted | Recognized | Remarks |
+-------------------------------+---------------+---------------+-----------------------+
Expand Down
14 changes: 13 additions & 1 deletion vra8-m-ctrl.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,18 @@

function onMIDIMessage(event) {
console.log(event.data);

// CAUTION: Running Status and System Exclusive are not taken into account
if (event.data[0] == (CONTROL_CHANGE | MIDI_CH)) {
var number = event.data[1];
var value = event.data[2];
if (number >= CONTROLLERS_FIRST && number <= CONTROLLERS_LAST) {
document.getElementById("inputCC" + String(number)).value = parseInt(value);
document.getElementById("spanCC" + String(number)).innerHTML = value;
localStorage.setItem("keyCC" + String(number), value);
}
}

if (midiOutput) {
midiOutput.send(event.data);
}
Expand Down Expand Up @@ -296,7 +308,7 @@
<body>

<table>
<tr><td><strong>VRA8-M CTRL 1.0.0</strong>&nbsp;&nbsp;Digital Synth VRA8-M Controller (<a href="https://github.com/risgk/digital-synth-vra8-m">View on GitHub</a>), We recommend Google Chrome</td></tr>
<tr><td><strong>VRA8-M CTRL 1.1.0</strong>&nbsp;&nbsp;Digital Synth VRA8-M Controller (<a href="https://github.com/risgk/digital-synth-vra8-m">View on GitHub</a>), We recommend Google Chrome</td></tr>
</table>

<table>
Expand Down

0 comments on commit 1cb4d3c

Please sign in to comment.