Audio · function

emptyBeatMap

A map with no beats in it, for when there is no music to analyse.

Explained in Your first game.

function emptyBeatMap(durationSec?: number): BeatMap
import { emptyBeatMap } from '@driftengine/audio';

Parameters

ParameterTypeDescription
durationSec?number