Skip to content

Commit ceacf83

Browse files
authored
Automated update of fixed-spotify-open-api.yml (#349)
1 parent 0a6122e commit ceacf83

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

spotify-web-api-java-generator/fixed-spotify-open-api.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
The base URI for all Web API requests is `https://api.spotify.com/v1`.
99
1010
Need help? See our <a href="https://developer.spotify.com/documentation/web-api/guides/">Web API guides</a> for more information, or visit the <a href="https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer">Spotify for Developers community forum</a> to ask questions and connect with other developers.
11-
version: 2024.12.23
11+
version: 2025.5.18
1212
title: Spotify Web API with fixes and improvements from sonallux
1313
termsOfService: https://developer.spotify.com/terms/
1414
contact:
@@ -4836,7 +4836,7 @@ components:
48364836
48374837
Vectors are normalized to 1 by their strongest dimension, therefore noisy sounds are likely represented by values that are all close to 1, while pure tones are described by one value at 1 (the pitch) and others near 0.
48384838
As can be seen below, the 12 vector indices are a combination of low-power spectrum values at their respective pitch frequencies.
4839-
![pitch vector](https://developer.spotify.com/assets/audio/Pitch_vector.png)
4839+
![pitch vector](/assets/audio/Pitch_vector.png)
48404840
items:
48414841
type: number
48424842
minimum: 0
@@ -4851,7 +4851,7 @@ components:
48514851
Timbre is the quality of a musical note or sound that distinguishes different types of musical instruments, or voices. It is a complex notion also referred to as sound color, texture, or tone quality, and is derived from the shape of a segment’s spectro-temporal surface, independently of pitch and loudness. The timbre feature is a vector that includes 12 unbounded values roughly centered around 0. Those values are high level abstractions of the spectral surface, ordered by degree of importance.
48524852
48534853
For completeness however, the first dimension represents the average loudness of the segment; second emphasizes brightness; third is more closely correlated to the flatness of a sound; fourth to sounds with a stronger attack; etc. See an image below representing the 12 basis functions (i.e. template segments).
4854-
![timbre basis functions](https://developer.spotify.com/assets/audio/Timbre_basis_functions.png)
4854+
![timbre basis functions](/assets/audio/Timbre_basis_functions.png)
48554855
48564856
The actual timbre of the segment is best described as a linear combination of these 12 basis functions weighted by the coefficient values: timbre = c1 x b1 + c2 x b2 + ... + c12 x b12, where c1 to c12 represent the 12 coefficients and b1 to b12 the 12 basis functions as displayed below. Timbre vectors are best used in comparison with each other.
48574857
items:
@@ -5521,10 +5521,6 @@ components:
55215521
- $ref: "#/components/schemas/ExternalUrlObject"
55225522
description: |
55235523
Known external URLs for this playlist.
5524-
followers:
5525-
allOf:
5526-
- $ref: "#/components/schemas/FollowersObject"
5527-
description: Information about the followers of the playlist.
55285524
href:
55295525
type: string
55305526
description: |
@@ -5570,6 +5566,10 @@ components:
55705566
type: string
55715567
description: |
55725568
The [Spotify URI](/documentation/web-api/concepts/spotify-uris-ids) for the playlist.
5569+
followers:
5570+
allOf:
5571+
- $ref: "#/components/schemas/FollowersObject"
5572+
description: Information about the followers of the playlist.
55735573
SimplifiedPlaylistObject:
55745574
type: object
55755575
x-spotify-docs-type: SimplifiedPlaylistObject
@@ -5652,11 +5652,6 @@ components:
56525652
- $ref: "#/components/schemas/ExternalUrlObject"
56535653
description: |
56545654
Known public external URLs for this user.
5655-
followers:
5656-
allOf:
5657-
- $ref: "#/components/schemas/FollowersObject"
5658-
description: |
5659-
Information about the followers of this user.
56605655
href:
56615656
type: string
56625657
description: |

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/models/PlaylistUser.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,4 @@ public class PlaylistUser extends BaseObject {
1515
* <p>Known public external URLs for this user.</p>
1616
*/
1717
public ExternalUrl externalUrls;
18-
/**
19-
* <p>Information about the followers of this user.</p>
20-
*/
21-
public Followers followers;
2218
}

spotify-web-api-java/src/main/generated/de/sonallux/spotify/api/models/Segment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class Segment {
3737
* <p>Pitch content is given by a “chroma” vector, corresponding to the 12 pitch classes C, C#, D to B, with values ranging from 0 to 1 that describe the relative dominance of every pitch in the chromatic scale. For example a C Major chord would likely be represented by large values of C, E and G (i.e. classes 0, 4, and 7).</p>
3838
* <p>Vectors are normalized to 1 by their strongest dimension, therefore noisy sounds are likely represented by values that are all close to 1, while pure tones are described by one value at 1 (the pitch) and others near 0.
3939
* As can be seen below, the 12 vector indices are a combination of low-power spectrum values at their respective pitch frequencies.
40-
* <img src="https://developer.spotify.com/assets/audio/Pitch_vector.png" alt="pitch vector" /></p>
40+
* <img src="/assets/audio/Pitch_vector.png" alt="pitch vector" /></p>
4141
*/
4242
public java.util.List<Float> pitches;
4343
/**
@@ -47,7 +47,7 @@ public class Segment {
4747
/**
4848
* <p>Timbre is the quality of a musical note or sound that distinguishes different types of musical instruments, or voices. It is a complex notion also referred to as sound color, texture, or tone quality, and is derived from the shape of a segment’s spectro-temporal surface, independently of pitch and loudness. The timbre feature is a vector that includes 12 unbounded values roughly centered around 0. Those values are high level abstractions of the spectral surface, ordered by degree of importance.</p>
4949
* <p>For completeness however, the first dimension represents the average loudness of the segment; second emphasizes brightness; third is more closely correlated to the flatness of a sound; fourth to sounds with a stronger attack; etc. See an image below representing the 12 basis functions (i.e. template segments).
50-
* <img src="https://developer.spotify.com/assets/audio/Timbre_basis_functions.png" alt="timbre basis functions" /></p>
50+
* <img src="/assets/audio/Timbre_basis_functions.png" alt="timbre basis functions" /></p>
5151
* <p>The actual timbre of the segment is best described as a linear combination of these 12 basis functions weighted by the coefficient values: timbre = c1 x b1 + c2 x b2 + ... + c12 x b12, where c1 to c12 represent the 12 coefficients and b1 to b12 the 12 basis functions as displayed below. Timbre vectors are best used in comparison with each other.</p>
5252
*/
5353
public java.util.List<Float> timbre;

0 commit comments

Comments
 (0)