Tomas Villegas was looking for information about a product on YouTube, but couldn't find it. "So I thought, well, I'm sure there's other people looking for it. So I made a video."

Four years later, Villegas, who works at a technical college, has a side business doing product reviews on his YouTube channel. He found that adding a little music really improved his videos.

"It just adds that third dimension that is missing sometimes," he says.

But he hit a snag. Music is expensive. Villegas would either have to pay for rights or pay a composer.

"I upload weekly," Villegas says. "So for me to pay a composer for 52 separate custom songs ... wouldn't make sense in the return on investment for me."

Then Villegas discovered Jukedeck, a company that creates and sells computer-generated music. Jukedeck charges as little as 99 cents a track for a small business and $21.99 for a large business.

Jukedeck is a program that enables users to choose the length of a piece of music, its style, the instruments featured and even climactic moments to heighten emotion.

Ed Newton-Rex, the company's founder, is a composer who studied computer programming, and says he started to ask himself: "Given what we know about how music's put together, why can't computers write music yet?"

Enter Jukedeck.

"You basically make a bunch of choices that really anyone can relate to," Rex says. "That's one of our aims. We wanted to make it as simple as possible, [to] really democratize the process of creation."

But Rex isn't the first to discover computer-generated music. In fact, one of the first compositions by computer was the Illiac Suite in 1957.

David Cope, professor emeritus at the University of California, Santa Cruz, is among the pioneers of computer composition. He says despite the successes there's been limited investment, because audiences and producers are uncomfortable with it.

"On the credits they don't want to see 'Composed by Computer Program Experiments in Musical Intelligence by David Cope,' " he says. "It's the last thing they want to show their audience."

But the world has changed and although Jukedeck isn't the first program to write original music, its business model may be right for this moment, with millions of content creators on platforms like YouTube and Vimeo every day. Many would like to use music but can't afford large sums for rights or composition.

Even some corporate giants, like Googleand IBM, are developing music composition programs. And Cope says he thinks eventually the public will get over its bias.

As Cope sees it, composers who write soundtracks and jingles may need to look for another job.

"It's going to go that way eventually," he says. "It may be 20 years from now, it may be 50 years from now, it may be two years from now. But, no matter when it is, it's going to happen. Period."

Answers to the quiz

  • Option 1: "Emmy Vivaldi," composed by a computer program, Experiments in Musical Intelligence, written by David Cope
  • Option 2: "La Stravaganza," Op.4, Concerto No. 1 in B-flat major, composed by Antonio Vivaldi; Sir Neville Marriner conducting the Academy of St Martin in the Fields Orchestra
  • Copyright 2017 NPR. To see more, visit