Music is a creative, imaginative subject so it鈥檚 difficult to see how data can support that creativity. We鈥檒l look at the many ways data can help musicians and those in the music industry.

Charts 天美视频
A database of over the years is probably the first thing people think of when asked about data in music. We can look online at . We can also look at charts of the most popular around the world.
You can use other tools to discover the popularity of music too, such as . This can show how many people are searching for the lyrics of a song, for example. This is a graph showing the increase in the .

Why not try searching Google Trends for other types of music or song titles? Can you work out when interest in that genre or song peaks?

Analysing music
We can use data to analyse music tracks to find out different attributes about the track such as tempo, energy and how 鈥榟appy鈥 they are!
The found that the average tempo of Top 20 hits are getting faster recently.

They also found that hit songs are getting happier too.
Can you work out when songs were happiest in the last decade? Can you think of any happy songs from this year?
Spotify has information stored about lots of different aspects about music track, including the dancibility, energy, speechiness and valence. Valence is how happy or sad something is. A song with a high valence is a happy song.
Here鈥檚 a graph showing these different variables in some Beatles tracks:

Personal music data
You can too, which might be more interesting if you like music that doesn鈥檛 reach the Top 10. If you have a Spotify account, website lets you arrange your Spotify playlists by different attributes, like tempo, loudness, energy and dancability. You can sort by popularity too, so you can find out just how obscure your musical tastes are!
The same organisation also have to help you rearrange and tidy your Spotify playlists too, which might be handy if you鈥檝e got a large collection of tracks saved.
Creating music with data
As well as looking at data about music, we can also use data to generate music and sounds. This is called data sonification. For example, we can as they happen.
You can watch and study but it鈥檚 very quiet data for a such a loud event. Instead, you can to get a sense of what the numbers might mean in terms of scale.
Or if you live in San Francisco you can , calming telling you about the – data about something you normally can鈥檛 see.
has created music tracks based on different sources of data. For example, here鈥檚 a song created using gender and race and ethnicity data of actors in blockbuster movies. It lets us hear and see how different groups of people are represented and underrepresented in mainstream Hollywood films.
Using AI to create music
We don鈥檛 need to rely on humans to create music either. We can use artificial intelligence to create music. You can train a machine learning model using data from existing music, such as the entire work of Beethoven. The model can then generate new pieces of music in that style.
鈥楧eep fake鈥 techniques can be used to generate music too, such as this video that has been created of Bob Dylan singing Britney Spear鈥檚 鈥楤aby One More Time鈥 song. There are still huge ethical and legal issues with deep fakes though!
Machine learning recommendation systems are also used to suggest music you might want to listen to next based on the music you like. Companies like Spotify process huge amounts of data on everyone鈥檚 listening preferences to suggest tracks. So if you like BTS, you might also like Monsta X because lots of other BTS fans listen to Monsta X too.
天美视频 for the Music Industry
The from streaming services like Spotify to spot up and coming tracks and trends. They use data to decide which tracks to promote next, what type of music to create, and which artists to sign up. In fact, the Scottish postman who recently found fame on TikTok with his sea shanties has just .

Climate change
The music industry is starting to use data to look at how to do their part in reducing climate change. from the to analyse data from their touring and recording schedule to figure out how they can reduce their negative environmental impact.
To explore this further:
- You can explore a range of data sonifications at the .
- Primary school learners can try a data analysis activity using Spotify data
- Secondary school learners can try the using Chartmetric data on Billie Eilish social media data
- You can view a collection of created by the .
- Investigate the
- Find out more about data sonification in .
- You can read more about exploring musical creativity with machine learning.