Cornel Wilde stars as the 18th-century Polish composer Frederic Chopin ; Merle Oberon plays George Sand , the novelist who was his lover in Paris ; and Paul Muni is Joseph Elsner , Chopin 's teacher and mentor .