Back to news

How does a Carnival hit song emerge? Data science explains.

Arte: O Estado de S. Paulo

From traditional carnival songs to brega funk, Brazilian carnival has sounds for all tastes. Every year, during the festivities, a song spreads throughout the country and is played to exhaustion in street parades, becoming a "carnival hit." A funny and contemporary lyric, the ability to stick in your head like chewing gum, an intense beat… What are the elements that make up this phenomenon? It's difficult to determine, but data science is there to help.

It is through algorithms that measure the intensity of tracks in different aspects that the Spotify streaming service, for example, automatically creates themed playlists. The platform generates numbers, mostly between 0 and 1, in a kind of ranking of songs, separated by different categories. If a track has many beats per second, or BPM, the artificial intelligence classifies it with a score close to 1.

Read also: IMPA opens selection process for the position of designer.
Registration is open for Olympic training.
In search of 'optimal solutions to real-life problems'

The newspaper O Estado de S. Paulo analyzed some of the components used as parameters by the platform and created a data visualization to compare the successes of Carnival celebrations over the last 20 years. The factors analyzed are subjective: energy, positivity, volume (how "loud" and "noisy"), tempo (measured in BPM), and danceability (which measures the strength and regularity of the beat). It's difficult to pinpoint the secret to success. But the visualization suggests that tempo (BPM) and rhythmic regularity are the main factors.

Using the tool, Estadão listed some tracks with the potential to dominate Carnival 2020. Among them is "Tudo Ok," by Thiaguinho MT, JS o Mão de Ouro, and Mila. Released in December, the song went viral on social media, serving as a soundtrack for jokes and challenges among Instagram and TikTok users.

Source and Art: Estadão

Read also: Von Neumann created the first programmable computer.
IMPA opens public call for PCI research grants.