Skip to main content

BREAKING: Jury finds former police officer Derek Chauvin guilty of murder in the death of George Floyd (Posted 04/20/21 at 3:58 p.m.)

LATEST UPDATES: Tracking COVID-19 | Vaccines | Racial Justice

UCSD Professor Teaches Computers To Listen To Music


Can your iPhone put you to sleep with a lullaby? Or play something upbeat when you’re jogging? Sure, if you ask it to. But a UCSD professor is teaching computers to know what you want to hear based on what you are doing.

UCSD Electrical Engineering Professor Gert Lanckriet is teaching computers to know what you want to hear based on where you are and what you are doing. Going jogging? Your personal music device will play something upbeat. Chilling out after work? It will play something mellow.

Part of the process is teaching computers to classify music. “If you listen to a piece of music and you say ‘this is a romantic song', could we have a computer listen to that piece of music and come to the same conclusion?” he wondered.

So far, the results are promising.

Lanckriet and other researchers are gathering data about music classification with a Facebook game called, "Herd It." Users log on and listen to part of a song. Then, they answer an esoteric question about the music. For example: "What color is the song?" The information is used to teach the computer to recognize patterns in the songs.

"The way to teach a computer what a romantic song is, for example, by showing it 100 romantic songs, and have the computer listen to them," Lanckriet said. "The computer will figure out what these songs have in common and then when it detects any of these typicalities of romantic songs in new songs it has never heard before, it can say, 'this is a romantic song.' "

The technology will also be useful in recommending music to listeners.

Lanckriet said he enjoys playing the drums and keyboards and is happy that his research ties in with his love of music.

“Music is one of these things that really brings people together and for me that’s one of the things that’s personally really important."

Lanckriet was recently named one of the top 35 young innovators in the world by MIT’s "Technology Review" magazine.


San Diego News Now podcast branding

San Diego news; when you want it, where you want it. Get local stories on politics, education, health, environment, the border and more. New episodes are ready weekday mornings. Hosted by Anica Colbert and produced by KPBS, San Diego and the Imperial County's NPR and PBS station.

  • Need help keeping up with the news that matters most? Get the day's top news — ranging from local to international — straight to your inbox each weekday morning.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Curious San Diego banner

Want more KPBS news?
Find us on Twitter and Facebook, or sign up for our newsletters.

To view PDF documents, Download Acrobat Reader.