The frequency of the sound from bell depends upon the electromagnetic force or electromagnet strength. It is dependent on the current. The current depends upon the battery. Higher the potential of the battery higher will be the frequency. It also depends (directly proportional) on the number of windings around the electromagnets and on the material of the electromagnet.