Question: what is the relation between density and frequency?
Answer: The greater the density of a medium, the slower the speed of sound. This observation is corresponding to the fact that the frequency of a simple harmonic motion is inversely proportional to the mass of the oscillating object.