I have been searching everywhere but haven't found any documentation about the analysis_url
audio feature
on Spotify API
, in order to deepen my understanding on the subject.
As far as I'm concerned, it learns the audio by segments
, bars
, beats
, sample rates
, fade ins and outs
, keys
, timbre
, mode
, time_signature
, tempo
etc
what I have so far is:
def analysis_url(track_ids):
names = []
tids = []
for id_ in track_ids:
track_id = sp.track(id_)['uri']
tids.append(track_id)
track_name = sp.track(id_)['name']
names.append(track_name)
features = sp.audio_features(tids)
urls = [x['analysis_url'] for x in features if x]
for url in urls:
analysis = sp._get(url)
What I would like to do is find silences in a track, such as a 'drop' in electronic music.
how can I do that using the analysis_url
?