DALLAS - Good friends like Willie Nelson and Merle Haggard got more credit for their contrary ways and trendsetting ideas, but it was Ray Price who set the precedent for change in country music more than a decade earlier.

Mr. Price, 87, died Monday at his Texas home, having long outlasted most of his country music contemporaries and the prognosis doctors gave him when they discovered his pancreatic cancer in 2011.

The way the Country Music Hall of Fame member fought cancer was an apt metaphor for the way he lived his life, always fiercely charting a path few others might have the fortitude to follow.

Along the way he changed the sound of country music, collaborated with and inspired the genre's biggest stars, and remained relevant for more than half a century.

"Ray Price was a giant in Texas and country western music. Besides one of the greatest voices that ever sang a note, Ray's career spanned over 65 years in a business where 25 years would be amazing," said Ray Benson of the country music group Asleep at the Wheel.

Mr. Price, one of country music's most popular and influential singers and bandleaders, had more than 100 hits and was one of the last living connections to Hank Williams.

Country Music Hall of Fame and Museum historian Michael McCall said Mr. Price "was one of his generation's most important musical innovators," popularizing the bedrock 4/4 shuffle beat that can still be heard on every honky-tonk jukebox and most country radio stations in the world.

"His emphasis on the shuffle rhythm influenced every generation to follow and remains a staple of country dance floors everywhere, especially in the Southwest," said McCall.

Perhaps best known for his version of the Kris Kristofferson song "For the Good Times," a pop hit in 1970, the velvet-voiced Mr. Price was a giant among traditional country performers in the 1950s, '60s and '70s, as likely to defy a trend as he was to defend one. He helped invent the genre's honky-tonk sound early in his career, then took it in a more polished direction.

Mr. Price was elected to the Country Music Hall of Fame in 1996, long after he had become dissatisfied with Nashville and returned to his home state of Texas.