Audio time pointer widget.
Widget to auto draw an audio time pointer control.
The time pointer for audioElement will be auto drawn and appended inside the viewElement as child element.
audioElement
viewElement
Example:
const audioElement = document.getElementById('audio'); const viewElement = document.getElementById('div-analyzer'); // Line time pointer: const audioTimePointer1 = new AudioTimePointer(audioElement, viewElement); // or // Bar time pointer: const audioTimePointer2 = new AudioTimePointer(audioElement, viewElement, { mode: 'bar', pointerStyle: { background: '#0f0a' });
See more options at interface definition: IAudioTimePointerOptions
Generated using TypeDoc
Audio time pointer widget.
Widget to auto draw an audio time pointer control.
The time pointer for
audioElementwill be auto drawn and appended inside theviewElementas child element.Example:
See more options at interface definition: IAudioTimePointerOptions