Music Time for Spotify: personalized song recommendations to get you in flow 🎧
Tags: showdev, music, productivity, vscode
Published: 2020-06-11 16:07:07

Over the past few months we’ve been building a new way for developers like you to use data to discover the most productive music to listen to as you code. 

We built [Music Time for Spotify](https://www.producthunt.com/posts/music-time-for-spotify), a code editor plugin that uses your coding data to make productive playlists for coding. Simply listen to your music and code. We’ll identify your best songs for coding and share our recommendations. 

You can learn more about our launch on [Product Hunt](https://www.producthunt.com/posts/music-time-for-spotify), or keep reading for a quick overview. 

⚠️ Music Time requires a Spotify account. For music playback controls (play, pause, etc.) you’ll need a premium Spotify subscription if you’re using a Windows/Linux machine. On macOS, any Spotify account will work, thanks to AppleScript. Both free and premium Spotify users can access music recommendations. 

Music Time helps you:

- **Control your music from your editor.** With a premium Spotify account, you can play, pause, and skip songs from the Status Bar. The Music Time shortcut on the Activity Bar lists all of your Spotify playlists, so that you won’t need to switch screens again to find the perfect song. 

- **Find your most productive songs.** We correlate song attributes with your coding flow so that you can identify songs and genres that get you into the zone. 

- **Discover new songs with our AI-generated playlists to help you focus.** Create a customized playlist just for you based on your coding data with songs that will help you get in the zone faster.

- **See what music other developers are coding to.** Refreshed weekly, the Software Top 40 compiles the most productive songs from the developer community. You can follow the playlist at [software.com/top40](https://www.software.com/top40) and on [Spotify](https://open.spotify.com/playlist/6jCkTED0V5NEuM8sKbGG1Z?si=3MzdgyoBRoGugdMytPxJdA). 

Music Time is built on the [Code Time](https://www.software.com/code-time) plugin and performs machine learning against a range of music metrics plus productivity data from over 70,000 developers to determine song recommendations.

Getting started with [Music Time](https://www.software.com/music-time) is simple and free. Download the extension for [VS Code](https://marketplace.visualstudio.com/items?itemName=softwaredotcom.music-time), [Atom](https://atom.io/packages/music-time), or [any JetBrains IDE](https://plugins.jetbrains.com/plugin/14143-music-time), connect a Spotify account, and start coding to your favorite music.

We also support PhpStorm, WebStorm, Ruby Mine, Android Studio, App Code, and CLion. You can find links to each extension marketplace on our [website](https://www.software.com/music-time).

## Controlling music from your editor

If you use Visual Studio Code, Music Time adds a handy shortcut to your Activity Bar that gives you instant access to all of your Spotify music. If you don’t use VS Code, each editor has similar Music Time controls—make sure to glance over each README for detailed instructions.

Clicking on the headphones icon pulls up a list of your Spotify playlists. Clicking on a playlist will open a list of songs in the playlist, while clicking on a song will automatically start playing your music. 

![Music Time controls](https://dev-to-uploads.s3.amazonaws.com/i/lkg4px3cx2ox3anlbjkp.png)

Music Time also adds a few helpful buttons to the Status Bar. You can quickly see the name of the current song. You can also pause and play the current song, or you can skip to the next or previous song. 

## Find your most productive songs

The Music Time plugin includes an in-editor dashboard and a web app that highlights your most productive songs, artists, and genres. 

Each song is given a quantified productivity score that describes how productive you were while coding during that particular song. Click “Open dashboard” or visit [app.software.com/music](http://app.software.com/music).

![Music Time web app](https://dev-to-uploads.s3.amazonaws.com/i/ztat23ozf5vowo2btopo.png)

If you’re interested in viewing more of your music and productivity data, you can view a breakdown of your music’s metrics to learn more about your preferences. Are your best songs for coding high energy? Do you work best listening to high tempo songs? What degree of instrumentalness makes you the most productive? 

Every song can be analyzed with Music Time according to its acousticness, danceability, energy, instrumentalness, liveness, loudness, speechiness, tempo, and valence.

![Music metrics](https://dev-to-uploads.s3.amazonaws.com/i/3f6kcql4xwhlega1tfc4.png)

## Discover new music with AI-generated playlists

Music Time learns what music you listen to when you code best and automatically creates personalized playlists for you with just a click. 

Our recommendation engine finds music with similar characteristics to your songs that have high quantified productivity scores.

In your editor, click ‘Generate My AI Playlist.’ Music Time will create a playlist called ‘My AI Top 40’. If you ever want to update your playlist, click ‘Refresh My AI Playlist’ to get a new batch of recommended songs. 

![My AI Top 40](https://dev-to-uploads.s3.amazonaws.com/i/0727hljni0j2e56roh3d.png)

Over time, our algorithms learn more about your listening and coding habits to recommend the best music for you.

## See what other developers code to with the Software Top 40

If you want to know what thousands of other developers are listening to while coding, check out the Software Top 40. We aggregate data from developers using Music Time to find the most productive songs from across the developer community. 

It’s a souped-up Billboard chart **for developers**. 

You can follow the playlist on Spotify or at [software.com/top40](https://www.software.com/top40). 

{% spotify spotify:playlist:6jCkTED0V5NEuM8sKbGG1Z %}

## Stay in touch

Follow us on Twitter at [@software_hq](https://twitter.com/software_hq) to get a stream of the best songs for developers in your news feed. Every week we’ll keep you updated on the most popular and productive songs. 

If you want to join the conversation, you can share your songs to Twitter or Facebook directly from your code editor. Hover over any song and click the share icon to the right. 

Find a bug or have a feature request? Music Time is open source, so feel free to open an issue in the [GitHub repo](https://github.com/swdotcom/swdc-vscode-musictime).