Example: running playlist based on tempo #233
froggeric
started this conversation in
Личный опыт
Replies: 1 comment
-
Полезная вещь! Спасибо! Обязательно воспользуюсь на досуге |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
You have done such a great job with goofy, it is fantastic! I love it. I have been working on porting all my SmarterPlaylists and own python programs to Google Apps Script platform using Goofy, making some improvements in the process. I have recently finished porting quite a complex,, but useful program, and I thought sharing it here could benefit others,
The following script generates multiple running playlists. There are all based on a target tempo (180 steps per minute with a 15% deviation). Spotify tempo calculations can a bit misleading, and to get all the suitable tracks, I also need to consider half-tempos (or double depending on the target). The energy audio attribute is also taken into account, to avoid picking up tracks at the right tempo, but not good for pacing. The resulting tracks are also sorted by increasing tempo, to ensure a smooth running progression, and the half-tempos are taken into account. Finally, tracks can be taken and combined from multiple playlists.
If you are interesting in checking out the result, here is my main running playlist on spotify, combining all 3 genres:
► ¡Corre! ► playlist on Spotify
Beta Was this translation helpful? Give feedback.
All reactions