pxt-calliope/sim/state/midi.ts
Peli de Halleux 2ca97570b4
don't rely on webmidi ()
* don't rely on webmidi

* updated pxt ref
2018-10-04 15:03:02 -07:00

6 lines
167 B
TypeScript

namespace pxsim.control {
export function __midiSend(data: RefBuffer) {
const b = board();
pxsim.AudioContextManager.sendMidiMessage(data);
}
}