The music industry, the first media business to be consumed by the digital revolution, said on Tuesday that its global sales rose last year for the first time since 1999, raising hopes that a long-sought recovery might have begun.

The increase, of 0.3 percent, was tiny, and the total revenue, $16.5 billion, was a far cry from the $38 billion that the industry took in at its peak more than a decade ago. Still, even if it is not time for the record companies to party like it’s 1999, the figures, reported Tuesday by the International Federation of the Phonographic Industry, provide significant encouragement.

“It’s clear that 2012 saw the global recording industry moving onto the road to recovery,” said Frances Moore, chief executive of the federation, which is based in London. “There’s a palpable buzz in the air that I haven’t felt for a long time.”

For years, the music industry’s decline looked terminal, with the record companies seemingly unable to come up with digital business models that could compete with the lure of online piracy. Last year, however, digital sales and other new sources of revenue grew significantly enough to offset the continuing decline in CD sales.