The Carpathian Castle (French: Le Château des Carpathes) is a novel by Jules Verne first published in 1892.
Synoposis from Wikipedia:
In the village of Werst in the Carpathian mountains of Transylvania, some mysterious things are occurring and the villagers believe that Chort (the devil) occupies the castle. A visitor to the region, Count Franz de Telek, is intrigued by the stories and decides to go to the castle and investigate. He finds that the owner of the castle is Baron Rodolphe de Gortz, with whom he is acquainted; years earlier, they were rivals for the affections of the celebrated Italian prima donna La Stilla. The Count thought that La Stilla was dead, but he sees her image and hears her voice coming from the castle. It is later revealed that it was only a projected still image accompanying a high-quality phonograph recording.
The following are the final two chapters of Verne's book where the mystery voice of the dead prima donna La Stilla and her image are explained. The phonograph has given her immortality.
"Note: In Le Château des Carpathes, there are two Italian stanzas. In ch. 9, La Stilla plays the role of Angelica in the opera Orlando by Arconati. Right after singing the last stanza, she dies. Innamorata, mio cuore tremante, Voglio morire …" - see Poetry in Jules Verne's prose (Copyright © 2011 Garmt de Vries-Uiterweerd)