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): BeatMapimport { emptyBeatMap } from '@driftengine/audio';Parameters
| Parameter | Type | Description |
|---|---|---|
durationSec? | number |