It’s also dependant on the shape of the container that you are vibrating. The set of frequencies a bounded container vibrates at can tell you quite a lot about its shape. There was a semi-well-known article about it “Can one hear the shape of a drum?”