Not sure if this helps anyone else that has a similar question, but I found this on another website:
"
frequency of a sound wave is defined as "the number of waves per second."
If you had a sound source emitting, say, 200 waves per second, and your ear (inside a different medium) received only 150 waves per second, the remaining waves 50 waves per second would have to pile up somewhere — presumably, at the interface between the two media.
After, say, a minute of playing the sound, there would already be 60 × 50 = 3,000 delayed waves piled up at the interface, waiting for their turn to enter the new medium. If you stopped the sound at that point, it would still take 20 more seconds for all those piled-up waves to get into the new medium, at 150 waves per second. Thus, your ear, inside the different medium, would continue to hear the sound for 20 more seconds after it had already stopped.
Besides, imagine that you switched the media around: now the sound source would be emitting 150 waves per second, inside the "low-frequency" medium, and your ear would receive 200 waves per second inside the "high-frequency" medium. Where would the extra 50 waves per second come from? The future? Or would they just magically appear from nowhere?'
" Frequency, in physics, is the number of crests that pass a fixed point in the medium in unit time.
So it should depend on the source not on the medium. If I take a source who vibrates faster than yours then number of crests that my source can create per second (for example) will be more than yours.
But speed of the wave depend on the properties of the medium, for example temperature, density etc etc.
v=wavelength*f
From this equation wavelength depend on the speed of the wave (i.e the medium) and the frequency so it is different for different medium. (Think of frequency in the equation as a constant since its only depend on the source, so if now speed changes; i.e medium changes then only wavelength changes) "