By stating what actually happens even though no one is around, the question assumes the objective reality, that is existence independent of the observer. If we are to follow the premise, the scientific point of view comes in hand to suggest a distinction between a physical occurence and its subjective perception, somehow making the answer relative.

Subjectively, the question makes sense only when rephrased to 'did it make a sound when I wasn't around', since I can't speak for the unperceived (or others), and when it is asked to those who I believe were there when I wasn't.

Interestingly, when confirmed, for the sake of convenience I may extend the experience from memory to future happenings by abstracting the regularity and, no longer in need for other accounts, trust the 'discovered' objective.

Then and now, the question reveals hypothetical nature of the outside reality which common sense is ready to defend by means of scientific extrapolation.