The fundamental wavelength $\lambda$ dictated by the physical boundaries. The wave speed $v$ determines the final resonant frequency $f = v/\lambda$.
For Strings, Velocity relates to Tension and density ($v = \sqrt{T/\mu}$). For Pipes, it's the speed of sound in air ($v_{sound} \approx 343$ m/s).