Though now famous as the piano player at Rick's Café Américain, Dooley Wilson, the actor who played Sam, was an experienced musician and bandleader—but not a piano player. He was a drummer and mimed the piano playing. "As Time Goes By" was dubbed in later.