Barbra Streisand, Liza Minnelli sing at Marvin Hamlisch memorial service

Barbara Streisand performs during A Tribute to Marvin Hamlisch, a memorial concert, at The Juilliard School's Peter Jay Sharp Theater, Tuesday, Sept. 18, 2012 in New York. (Photo by Jason DeCrow/Invision/AP Images)
Jason Decrow
Barbara Streisand performs during A Tribute to Marvin Hamlisch, a memorial concert, at The Juilliard School's Peter Jay Sharp Theater, Sept. 18, 2012, in New York.

(CBS/AP) Barbra Streisand, Aretha Franklin and Liza Minnelli took turns singing songs by the late Marvin Hamlisch during a stirring memorial service for the composer on Tuesday.

Minnelli sang "If You Really Knew Me" from the musical "They're Playing My Song," Franklin gave a soulful rendition of "Nobody Does It Better" from the James Bond film "The Spy Who Loved Me" and Streisand brought the crowd to its feet when she finished "The Way We Were" from the film of the same name.

Pictures: Marvin Hamlisch memorial concert
Pictures: Marvin Hamlisch: 1944-2012
Pictures: Marvin Hamlisch's funeral
Marvin Hamlisch's music in films

The composer's wife of 26 years, Terre Hamlisch, welcomed the crowd.

"These are Marvin's melodies," she said. "Marvin Hamlisch lives in them. This is who Marvin Hamlisch was."

According to The New York Daily News, she also credited Streisand for the memorial.

"This began with a phone call from Barbra the day after Marvin died," said Hamlisch's widow. "She said, "I want to send Marvin off in a big way."

Hamlisch composed or arranged hundreds of scores for musicals and movies, including "A Chorus Line" on Broadway and the films "The Sting," "Sophie's Choice," "Ordinary People" and "The Way We Were." He died on Aug. 6 in Los Angeles at age 68 after a short illness.

Streisand, who wore all black and sat on a stool, said she first met Hamlisch in 1963 when he was her rehearsal pianist in her breakout Broadway show, "Funny Girl." He also was tasked with getting everyone coffee.

Since Streisand didn't drink coffee, he would bring her chocolate doughnuts.

"He always brought me two, and so our love affair began," Streisand said as the crowd laughed.

Their lives would intersect in personal and professional ways over the years. She sang his "The Way We Were" to a Grammy Award win in 1974, and he played at her wedding in 1998.

Franklin, in a white suit, changed some of the lyrics to the sexy James Bond song "Nobody Does It Better," to "Marvin, you were the best." Hamlisch had co-written the No. 1 R&B hit "Break It to Me Gently" with Carole Bayer Sager for Franklin.

Minnelli, in a beaded dress, said she met Hamlisch when she was14 and he was 15 and they became friends immediately. He later arranged many of Minnelli's albums, including her first two as well as "Judy Garland & Liza Minnelli Live at the London Palladium."

"He was one of my few constants," she said, getting teary on stage. "He was always there. He always was and always will be."

There were few seats available in the 900-seat theater at The Juilliard School, where decades before Hamlisch had become its youngest person accepted at just age 7. His widow urged the crowd to fund scholarships in his memory.

Hamlisch went on to became one of the most decorated artists in history, winning three Oscars, four Emmys, four Grammys, a Tony, a Pulitzer and two Golden Globes.

The 90-minute memorial, which also boasted performances by Itzhak Perlman, Michael Feinstein, Chris Botti and Maria Friedman, took place on a stage dominated by a huge photo of Hamlisch and two towers of flowers on either side.

In the audience were Mike Nichols, the Oscar- and Tony-winning director, and Valerie Jarrett, a longtime adviser and friend to Barack and Michelle Obama. Other attendees included Regis Philbin, Diane Sawyer, Sarah Jessica Parker and Susan Lucci.

Hamlisch's funeral was held Aug. 14 at Congregation Emanu-El in Manhattan.

He was working on a new musical, "Gotta Dance," at the time of his death and was scheduled to write the score for a new Steven Soderbergh film on Liberace, "Behind the Candelabra," starring Michael Douglas and Matt Damon.

The memorial also included the song "While I Still Have the Time," which is part of the new musical based on the Jerry Lewis film "The Nutty Professor" that debuted in Tennessee this summer.