wavearea
Edit waveform/audio/other data in textarea.
Usage
const Wavearea = ;const autosize = ; let inputEl = documentbody; ;let wavearea = ; wavearea;wavearea;
API
**`const Wavearea = require('wavearea');`**
Get wave area constructor.
**`let wavearea = new Wavearea(textarea, options?);`**
Create waveform editor instance based off options:
//sample valuessamples: data //number of samples per bargroup: 64 //mode of forming bar from bar samples - might be used to show log mapping etc Math //bars or dotsstyle: 'bars' //show reflection of datareflected: false
Related
wavefont — typeface for rendering data.
gl-waveform — wavearea used to paint waveform color based of spectral contents.