Prince, the songwriter, singer, producer, one-man studio band and consummate showman, died on Thursday at his home, Paisley Park, in Chanhassen, Minn. He was 57.

His publicist, Yvette Noel-Schure, confirmed his death but did not report a cause. In a statement, the Carver County sheriff, Jim Olson, said that deputies responded to an emergency call at 9:43 a.m. “When deputies and medical personnel arrived,” he said, “they found an unresponsive adult male in the elevator. Emergency medical workers attempted to provide lifesaving CPR, but were unable to revive the victim. He was pronounced deceased at 10:07 a.m.”

The sheriff’s office said it would continue to investigate his death.

Last week, responding to news reports that Prince’s plane had made an emergency landing because of a health scare, Ms. Noel-Schure said Prince was “fighting the flu.”

Prince was a man bursting with music — a wildly prolific songwriter, a virtuoso on guitars, keyboards and drums and a master architect of funk, rock, R&B and pop, even as his music defied genres. In a career that lasted from the late 1970s until his solo “Piano & a Microphone” tour this year, he was acclaimed as a sex symbol, a musical prodigy and an artist who shaped his career his way, often battling with accepted music-business practices.

“When I first started out in the music industry, I was most concerned with freedom. Freedom to produce, freedom to play all the instruments on my records, freedom to say anything I wanted to,” he said when he was inducted into the Rock and Roll Hall of Fame in 2004. In a tribute to George Harrison that night, Prince went on to play a guitar solo in “While My Guitar Gently Weeps” that left the room floored.

A seven-time Grammy winner, Prince had Top 10 hits like “Little Red Corvette,” “When Doves Cry,” “Let’s Go Crazy,” “Kiss” and “The Most Beautiful Girl in the World”; albums like “Dirty Mind,” “1999” and “Sign O’ the Times” were full-length statements. His songs also became hits for others, among them “Nothing Compares 2 U” for Sinead O’Connor, “Manic Monday” for the Bangles and “I Feel for You” for Chaka Khan. With the 1984 film and album “Purple Rain,” he told a fictionalized version of his own story: biracial (although Prince’s parents were both African-American), gifted, spectacularly ambitious. Its music won him an Academy Award, and the album sold more than 13 million copies in the United States alone.

In a statement, President Obama said, “Few artists have influenced the sound and trajectory of popular music more distinctly, or touched quite so many people with their talent.”

He added, “He was a virtuoso instrumentalist, a brilliant bandleader, and an electrifying performer. ‘A strong spirit transcends rules,’ Prince once said — and nobody’s spirit was stronger, bolder, or more creative.”