Compute

beatsAndChords

Detects beats and chords in an audio file

moises.compute.beatsAndChords

Parameters

ParameterTypeDescription
inputstringThe input audio data

Returns:

Promise<Object> - Promise that resolves with the beats and chords result

Return Object Structure:

// When the promise resolves, you get:
{
  beatMap: object, // object
  chordMap: object, // object
  bpm: 0, // number
  rootKey: "example", // string
  detuningCents: 0, // number
  estimatedTuning: "example" // string
}

This file is automatically generated. Do not edit manually.

On this page