detect abstract method

Future<BeatGrid> detect(
  1. AudioSource source, {
  2. required int fps,
  3. required int totalFrames,
})

Detects source's beats and returns them as a BeatGrid over a video of totalFrames frames at fps.

Runs in the pre-resolve pass before the frame loop. Throws a FluvieRenderException when the source cannot be decoded.

Implementation

Future<BeatGrid> detect(AudioSource source, {required int fps, required int totalFrames});