An audio player that can seek and provide timestamps with millisecond
In contrast to the
<audio> tag, this class will load an entire track
into memory as a raw waveform, as otherwise, with most codecs,
it's impossible to seek to accurate locations in songs.
import PreciseAudio from '@synesthesia-project/precise-audio'; const audio = new PreciseAudio(); audio.loadAudioFile(...);
Motivation, more usage instructions, and other details can be found in the project GitHub repository
An event triggered by a PreciseAudio object.