Skip to content

API Reference


API Reference / EngineName

Type Alias: EngineName ​

ts
type EngineName = "peaks" | "tempogram";

Defined in: contract/types.ts:37

The tempo engine. May grow in a minor release, like every exported union but Status: give a switch over it a default branch.

  • peaks: amplitude peaks after a lowpass.
  • tempogram: spectral flux across several bands and a sliding autocorrelation.