Richard Robbins, the composer who created memorable scores for such films as “A Room With a View,” “Howards End” and “The Remains of the Day” during a quarter-century collaboration with director James Ivory and producer Ismail Merchant, died Nov. 7 at his home in Rhinebeck, N.Y. He was 71.

Mr. Robbins died of Parkinson’s disease, said Michael Schell, his partner.

Mr. Robbins created the score for nearly every Merchant Ivory film from “The Europeans” in 1979 to “The White Countess” in 2005. He earned back-to-back Academy Award nominations for his original music for “Howards End” (1992) and “The Remains of the Day” (1993).

That long, remarkably fruitful creative partnership came about almost by happenstance.

In 1976, while he was serving as acting director of the preparatory school at the Mannes College of Music in New York, Mr. Robbins began teaching piano to the youngest daughter of Ruth Prawer Jhabvala, the award-winning novelist and screenwriting collaborator of Merchant and Ivory.

Jhabvala and Mr. Robbins became friendly, and she introduced him to the filmmakers, who agreed to produce a documentary on the school’s young musicians, “Sweet Sounds,” which Mr. Robbins directed. The following year, he was Merchant’s assistant on “Roseland,” a film about ballroom dancers set at the famous dance palace in New York.

Mr. Robbins’s first score of a Merchant Ivory film was the period drama “The Europeans,” based on the Henry James novel, which drew on the music of Clara Schumann and Stephen Foster. But his work embraced a wide range of music and musical styles: He created an opera for 1980’s “Jane Austen in Manhattan,” incorporated street sounds of India for 1983’s “Heat and Dust” and evoked Parisian nightclubs of the Jazz Age for “Quartet” in 1981.

Although his compositions were heavily influenced by the minimalist composers Philip Glass and Steve Reich, Mr. Robbins also occasionally wrote romantic, lushly orchestrated music, including for “Maurice,” the 1987 film based on the E.M. Forster novel. The score won a top award at the Venice Film Festival, and Mr. Robbins often described it as his favorite.

Of the melancholy, evocative score for “The Remains of the Day,” Mr. Robbins said in a 2000 interview with writer Chris Terrio that his inspiration had come from a single scene featuring actress Emma Thompson.

“I know when . . . the hard part of writing the score is over, because I know how I feel about a character,” he said in the interview posted on the Merchant Ivory Web site.

“That’s a great relief. That can happen all at once: It can be as simple as watching one of the characters enter a room or walk down a hallway. In ‘The Remains of the Day,’ it happened when I first saw the shot of Emma Thompson walking down the hall toward the camera. That did it.”

Mr. Robbins was responsible for choosing and supervising all the music for the Merchant Ivory films he worked on, including the pop songs for “Slaves of New York” (1989) and the Puccini aria “O mio babbino caro” for “A Room With a View” (1985). And when an actor played music in a film — Helena Bonham Carter playing a Beethoven sonata in a key scene from “A Room With a View” — he guided that too.

Richard Stephen Robbins was born Dec. 4, 1940, in South Weymouth, Mass., and began playing the piano at 5. After graduating from the New England Conservatory in Boston, he received a fellowship through a fund established by the philanthropist Frank Huntington Beebe to continue his studies in Vienna for a year.

In addition to his work as a composer, Mr. Robbins made brief appearances in several Merchant Ivory films, often as a dancer, a favorite pastime. And in the 1990s, inspired by a leper couple he had heard singing a duet beneath his Mumbai hotel window, he directed a Merchant Ivory feature documentary, “Street Musicians of Bombay,” about the street life of that Indian city.

In addition to Schell, an artist who was his partner for more than 20 years, Mr. Robbins’s survivors include four brothers.

— Los Angeles Times