Computers are getting better at recognising music genres

Computers are getting better at recognising music genres

Classifying music into different genres is easy for humans and much harder for computers, but a new approach could yield a significant breakthrough in machine listening.

Most attempts so far have focused on getting computers to quantify parameters like tempo, loudness, melody and rhythm and matching those up to a list of manually sorted songs. But the researchers behind this new method believe their system is far simpler.

It classifies music by breaking it down into 88 frequency bands (like the different parts of an equaliser), computing the average power over several short-duration 'frames', giving a metric for pitch. For seven different music genres that the researchers tested, this metric was very distinct.

Genre-bending

To narrow things down further, the tempo of the song, its variation in volume and its 'periodicity' (how often a song repeats) are thrown into the mix. With these four variables, the system was able to quickly and simply define a genre of a song.

When tested against earlier music classification systems, the researchers claim their results were "substantially better" - though it'll likely take some time to filter through into the systems used by music services like Spotify and the just-launched Apple Music. In the meantime, the researchers reckon it'd prove useful in digital archiving of music.

The details of the method were published in the International Journal of Computational Intelligence Studies.

Image credit: Tomas Fano // CC BY-SA 2.0

Duncan Geere
Duncan Geere is TechRadar's science writer. Every day he finds the most interesting science news and explains why you should care. You can read more of his stories here, and you can find him on Twitter under the handle @duncangeere.
Latest in Desktop PCs
A mockup of the possible Apple M3 Ultra logo
Performance isn't the only reason you should buy Apple's M3 Ultra Mac Studio - it's reportedly one of the most power-efficient processors too
Mac Studio on a desk
Apple Mac Studio (M3 Ultra): the ultimate creative workstation
Mac Studio from above.
New benchmark suggests Apple's M3 Ultra may not be much faster than the M4 Max - only a minor uplift in multi-core performance
Person using a screwdriver to install a part in a PC case
Built vs Bought: why prebuilt systems are always superior to custom gaming PCs
The Framework Desktop being used to play a PC game.
My favorite laptop maker just unveiled its first desktop - and it's the cutest little PC I've ever seen
Dell XPS 13 and Alienware M16 laptops on purple background with big savings text overlay
Dell's site-wide Tech Days sale is live: see the 6 best laptop and gaming laptop deals from just $299
Latest in News
Ray-Ban Meta Smart Glasses
Samsung's rumored smart specs may be launching before the end of 2025
Apple iPhone 16 Review
The latest iPhone 18 leak hints at a major chipset upgrade for all four models
Quordle on a smartphone held in a hand
Quordle hints and answers for Monday, March 24 (game #1155)
NYT Strands homescreen on a mobile phone screen, on a light blue background
NYT Strands hints and answers for Monday, March 24 (game #386)
NYT Connections homescreen on a phone, on a purple background
NYT Connections hints and answers for Monday, March 24 (game #652)
Quordle on a smartphone held in a hand
Quordle hints and answers for Sunday, March 23 (game #1154)