Skip to content

openmusic/oscilloscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openmusic-oscilloscope

A component for plotting wave data on a canvas

Install with NPM

** YOU NEED SUPPORT FOR WEB COMPONENTS IN YOUR BROWSER BECAUSE WE'RE NOT SHIMMING ANYTHING IN **

Firefox: go to about:config, find dom.webcomponents.enabled and set it to true.

Chrome: maybe nothing to do?

Installation

Just grab Oscilloscope.js from the repo or do npm install openmusic-oscilloscope.

Usage

If not using any package manager

Just include Oscilloscope.js before you use the component. It will be registered automatically as openmusic-oscilloscope so you can document.createElement('openmusic-oscilloscope') or just have <openmusic-oscilloscope> 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-oscilloscope').register('openmusic-oscilloscope');

But you could even register it with other name. Up to you.

About

an oscilloscope component to visualise wave data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published