don't rely on webmidi (#1350)

* don't rely on webmidi

* updated pxt ref
This commit is contained in:
Peli de Halleux 2018-10-04 15:03:02 -07:00 committed by GitHub
parent 22a60db57f
commit 2ca97570b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -42,6 +42,6 @@
},
"dependencies": {
"pxt-common-packages": "0.23.57",
"pxt-core": "4.1.15"
"pxt-core": "4.1.17"
}
}

View File

@ -1,7 +1,6 @@
namespace pxsim.control {
export function __midiSend(data: RefBuffer) {
const b = board();
pxsim.AudioContextManager.sendMidiMessageAsync(data)
.done();
pxsim.AudioContextManager.sendMidiMessage(data);
}
}