openmusic-theremin-ui
v2.4.1
Published
UI for Theremin
Downloads
2
Readme
openmusic-theremin-ui
UI for Theremin
Installation
Grab ThereminUI.js
from the repo or do npm install openmusic-theremin-ui
.
If not using any package manager
Include ThereminUI.js
before you use the component.
<script src="ThereminUI.js"></script>
It will be registered automatically as openmusic-theremin-ui
, so you can document.createElement('openmusic-theremin-ui')
or just have <openmusic-theremin-ui>
elements in your HTML source.
If using npm
You need to load the module and then register it--it is not automatically registered!
require('openmusic-theremin-ui').register('openmusic-theremin-ui');
But you could even register it with other name, for example:
require('openmusic-theremin-ui').register('mega-theremin-ui');
Up to you.
Usage
Have a look at demo/demo.js
for an example that shows how to use this component with the Theremin in OpenMusic.