The opening or window must contain a same fundamental frequency when the same note was played on the trumpet, this is also same principles in other instrument. Every time the note is played, the resonance causes the particular room to rattles or vibrates.