axis.wavesurfer.js
Version:
A wavesurfer.js plugin just to display axes
30 lines (24 loc) • 702 B
Markdown
# axis.wavesurfer.js
A [wavesurfer.js](https://github.com/katspaugh/wavesurfer.js) plugin just to display axes.

## Installing
```shell
npm install axis.wavesurfer.js
```
## Usage Example
```javascript
const WaveSurfer = require("wavesurfer.js");
const {WaveSurferAxis} = require("axis.wavesurfer.js");
const wavesurfer = WaveSurfer.create({
container: "#waveform",
plugins: [
WaveSurferAxis.create({
width: 2,
color: "darkgray",
hideOnReady: false
})
]
});
```
## License
[MIT license](https://github.com/higuri/axis.wavesurfer.js/blob/master/LICENSE)