You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (deviceId.size >1) throwIllegalArgumentException("Although an array is accepted, only a single device_id is currently supported. Supplying more than one will 400 Bad Request")
192
249
return toAction(Supplier {
@@ -198,5 +255,21 @@ class ClientPlayerAPI(api: SpotifyAPI) : SpotifyEndpoint(api) {
198
255
})
199
256
}
200
257
201
-
enumclassPlayerRepeatState { TRACK, CONTEXT, OFF }
* A confidence measure from 0.0 to 1.0 of whether the track is acoustic.
265
+
* 1.0 represents high confidence the track is acoustic.
266
+
*/
258
267
ACOUSTICNESS("acousticness"),
268
+
/**
269
+
* Danceability describes how suitable a track is for dancing based on a combination of musical
270
+
* elements including tempo, rhythm stability, beat strength, and overall regularity. A value of 0.0 is
271
+
* least danceable and 1.0 is most danceable.
272
+
*/
259
273
DANCEABILITY("danceability"),
274
+
/**
275
+
* The duration of the track in milliseconds.
276
+
*/
260
277
DURATION_IN_MILLISECONDS("duration_ms"),
278
+
/**
279
+
* Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity.
280
+
* Typically, energetic tracks feel fast, loud, and noisy. For example, death metal has high energy,
281
+
* while a Bach prelude scores low on the scale. Perceptual features contributing to this attribute
282
+
* include dynamic range, perceived loudness, timbre, onset rate, and general entropy.
283
+
*/
261
284
ENERGY("energy"),
285
+
/**
286
+
* Predicts whether a track contains no vocals. “Ooh” and “aah” sounds are treated as
287
+
* instrumental in this context. Rap or spoken word tracks are clearly “vocal”. The
288
+
* closer the instrumentalness value is to 1.0, the greater likelihood the track contains
289
+
* no vocal content. Values above 0.5 are intended to represent instrumental tracks, but
290
+
* confidence is higher as the value approaches 1.0.
291
+
*/
262
292
INSTRUMENTALNESS("instrumentalness"),
293
+
/**
294
+
* The key the track is in. Integers map to pitches using standard Pitch Class notation.
295
+
* E.g. 0 = C, 1 = C♯/D♭, 2 = D, and so on.
296
+
*/
263
297
KEY("key"),
298
+
/**
299
+
* Detects the presence of an audience in the recording. Higher liveness values represent an increased
300
+
* probability that the track was performed live. A value above 0.8 provides strong likelihood
301
+
* that the track is live.
302
+
*/
264
303
LIVENESS("liveness"),
304
+
/**
305
+
* The overall loudness of a track in decibels (dB). Loudness values are averaged across the
306
+
* entire track and are useful for comparing relative loudness of tracks. Loudness is the
307
+
* quality of a sound that is the primary psychological correlate of physical strength (amplitude).
308
+
* Values typical range between -60 and 0 db.
309
+
*/
265
310
LOUDNESS("loudness"),
311
+
/**
312
+
* Mode indicates the modality (major or minor) of a track, the type of scale from which its
313
+
* melodic content is derived. Major is represented by 1 and minor is 0.
314
+
*/
266
315
MODE("mode"),
316
+
/**
317
+
* The popularity of the track. The value will be between 0 and 100, with 100 being the most popular.
318
+
* The popularity is calculated by algorithm and is based, in the most part, on the total number of
319
+
* plays the track has had and how recent those plays are. Note: When applying track relinking via
320
+
* the market parameter, it is expected to find relinked tracks with popularities that do not match
321
+
* min_*, max_*and target_* popularities. These relinked tracks are accurate replacements for unplayable tracks with the expected popularity scores. Original, non-relinked tracks are available via the linked_from attribute of the relinked track response.
322
+
*/
267
323
POPULARITY("popularity"),
324
+
/**
325
+
* Speechiness detects the presence of spoken words in a track. The more exclusively speech-like the
326
+
* recording (e.g. talk show, audio book, poetry), the closer to 1.0 the attribute value. Values above
327
+
* 0.66 describe tracks that are probably made entirely of spoken words. Values between 0.33 and 0.66
328
+
* describe tracks that may contain both music and speech, either in sections or layered, including
329
+
* such cases as rap music. Values below 0.33 most likely represent music and other non-speech-like
330
+
* tracks.
331
+
*/
268
332
SPEECHINESS("speechiness"),
333
+
/**
334
+
* The overall estimated tempo of a track in beats per minute (BPM). In musical terminology, tempo is the
335
+
* speed or pace of a given piece and derives directly from the average beat duration.
336
+
*/
269
337
TEMPO("tempo"),
338
+
/**
339
+
* An estimated overall time signature of a track. The time signature (meter)
340
+
* is a notational convention to specify how many beats are in each bar (or measure).
341
+
*/
270
342
TIME_SIGNATURE("time_signature"),
343
+
/**
344
+
* A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a track. Tracks with high
345
+
* valence sound more positive (e.g. happy, cheerful, euphoric), while tracks with low valence
346
+
* sound more negative (e.g. sad, depressed, angry).
0 commit comments