Despereaux goes into the room where the humans are because he wants to be closer to the music. This suggests that he is attracted to the sound and wants to experience it more closely. The other options, such as running into the room accidentally, being asked by Princess Pea, or smelling cheese, are not mentioned in the given answer and therefore can be ruled out as explanations.