Buddy the Detective is a 1934 cartoon.
It's a dark and stormy night, an insane musician seeks a student to listen to his music. He picks out Cookie from the phonebook and forces her with hypnotism. She goes to his house, her dog notices and he runs to Buddy's house, and the two set out to find the mad musician's house. They encounter several scary things, such as Skeletons. Eventually they find Cookie and Buddy is able to handle the villain. Cookie also torments him by playing extremely danceable music on the piano.