First you need a record player.
That is found in the Fireplace room on the first floor.
Then you need the right record.
The ghosts will dance to "Dance of the Dead."