1.0.1 • Published 2 years ago

aframe-midi-component v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

aframe-midi-component

Version License

A component to access the web midi system

For A-Frame.

API

PropertyDescriptionDefault Value

Installation

Browser

Install and use by directly including the browser files:

<head>
  <title>My A-Frame Scene</title>
  <script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script>
  <script src="https://unpkg.com/aframe-midi-component@1.0.0/dist/aframe-midi-component.min.js"></script>
</head>

<body>
  <a-scene>
    <a-entity midi="foo: bar"></a-entity>
  </a-scene>
</body>

npm

Install via npm:

npm install aframe-midi-component

Then require and use.

require('aframe');
require('aframe-midi-component');