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!
;
But you could even register it with other name, for example:
;
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.