mirror of https://github.com/me50/kukemuna.git
This commit is contained in:
commit
ac8a2d9b45
|
|
@ -0,0 +1,4 @@
|
||||||
|
SELECT name
|
||||||
|
FROM songs
|
||||||
|
ORDER BY duration_ms DESC
|
||||||
|
LIMIT 5;
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
SELECT name
|
||||||
|
FROM songs
|
||||||
|
WHERE danceability > 0.75 AND energy > 0.75 AND valence > 0.75;
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
SELECT name
|
||||||
|
FROM songs
|
||||||
|
WHERE artist_id =
|
||||||
|
(
|
||||||
|
SELECT id
|
||||||
|
FROM artists
|
||||||
|
WHERE name = 'Post Malone'
|
||||||
|
);
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
SELECT AVG(energy)
|
||||||
|
FROM songs
|
||||||
|
JOIN artists ON songs.artist_id = artists.id
|
||||||
|
WHERE artists.name = 'Drake';
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
¤ As per "https://newsroom.spotify.com/2021-12-01/learn-more-about-the-audio-aura-in-your-spotify-2021-wrapped-with-aura-reader-mystic-michaela/", givern person's "aura" seems to be either "orage"
|
||||||
|
or "purple" based on above average (middle of the scale) energy and danceability together with high tempo.
|
||||||
|
|
||||||
|
¤ With a list of predefined "auras" with their description and drawn graphs of parameters from songs.db one can approximate a possible "aura". But this problem is way too abstract (for me) to
|
||||||
|
comprehend, thus I cannot propose any alorithm to calculate said "aura".
|
||||||
Loading…
Reference in New Issue