John Legend and Pharrell Williams have known each other for more than two decades, but “Muse” marks the first time they have built an entire album together. Released Friday through Republic Records, the 16-track project places one of contemporary R&B’s most recognizable voices inside a world shaped fully by Pharrell’s production and co-writing.

The partnership grew from Legend’s appearance on Clipse’s “The Birds Don’t Sing.” That performance gave Pharrell the idea to create a larger project around Legend’s voice, and the pair began writing and recording primarily at Pharrell’s studio inside Louis Vuitton’s Paris headquarters. The result pulls from gospel, doo-wop, classic soul, Afrobeat and hip-hop without treating any one sound as the assignment.

The most interesting shift may be in how Legend uses his voice. On songs including “Fireflies,” Pharrell encouraged a more conversational delivery rather than the full, polished vocal power associated with records such as “All of Me.” Elsewhere, “Get Back” leans into horns, strings and cinematic soul, while “Bodies on the Floor” brings Clipse into the album’s darker relationship drama.

“Muse” arrives at a point when Legend could easily rely on the formula that made him an EGOT winner. Instead, the album is framed around creative risk and trust between two established artists. That stretch is carrying beyond the record, too: Legend is also composing an original score for an “Imitation of Life” stage production scheduled to open at The Shed in New York in December.