Initial commit
This commit is contained in:
50
node_modules/webmidi/playground/testes6modules/index.html
generated
vendored
Normal file
50
node_modules/webmidi/playground/testes6modules/index.html
generated
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<!-- For Windows 8 and 10 to support Jazz Plugin -->
|
||||
<meta http-equiv="X-UA-Compatible" content="requiresActiveX=true"/>
|
||||
|
||||
<title>Web MIDI API Demo</title>
|
||||
|
||||
<script type="module">
|
||||
|
||||
import WebMidi from './libs/webmidi.js';
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
console.log("DOMContentLoaded");
|
||||
|
||||
WebMidi.enable(function(err) {
|
||||
|
||||
if (err) { console.log(err); }
|
||||
|
||||
console.log(this.outputs);
|
||||
console.log(this.inputs);
|
||||
|
||||
}, true);
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Open the debugging console and look at the <b>app.js</b> file for usage examples.</p>
|
||||
|
||||
<!-- Jazz Plugin for browsers that do not support Web MIDI-->
|
||||
<object id="Jazz1" classid="CLSID:1ACE1618-1C7D-4561-AEE1-34842AA85E90" class="hidden">
|
||||
<object id="Jazz2" type="audio/x-jazz" class="hidden">
|
||||
<p><a href=http://jazz-soft.net>Jazz-Plugin</a> required!</p>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user