A " nocturne" (nocturne) is a piece of classical music that is usually written in something of, I guess we would call, a dreamy, perhaps slightly dark style.
The previous evening she had played a nocturne, and as I passed the open door of the drawing room, I'd watched for a moment as Mr. Gopnik sat down beside her on the stool.