I am working on extracting features from an audio file to build a recommendation system.
So far I am able to extract tempo, beat-times, loudness and pitch class using librosa and ffmpeg.
My question how we can extract/detect features as Danceability, Energy, Acousticness, Speechiness, Valence without using Spotify API. Are there any libraries or algorithm using which we can do so.
It is depending on Which API you are using to get the Audio Features. Currently, except for Spotify, we don't have other APIs to get the features like (Danceability, Energy, Acousticness, Speechiness, Valence).
Using essentia Package we can get the Danceability Feature.
Refer Deep learning music information retrieval