SPOILERS
You have to make the ghost scream the morse sequence (meaning a line is a 1 second scream, and a dot is a 0.1 second scream)