new AudioManager( Spotify )

Description

Manages spotify tracks.

Parameters
Name Type Description
Spotify Spotify

The spotify client.

Details

Members


spotify :Spotify

Description

The spotify client.

Details

Methods


features( id ) → {Promise.<(Audio|HTTPError|ApiError)>}

Description

Get audio feature information for a single track identified by its unique Spotify ID.

Parameters
Name Type Description
id string

The Spotify ID for the track.

Returns
Details

analysis( id ) → {Promise.<(Audio|HTTPError|ApiError)>}

Description

Get a low-level audio analysis for a track in the Spotify catalog. The audio analysis describes the track’s structure and musical content, including rhythm, pitch, and timbre.

Parameters
Name Type Description
id string

The Spotify ID for the track.

Returns
Details