an ac is sent through the coil, which is wrapped around one pole of a permanent magnet
the current causes a a force on the coil
this causes the cone to move, creating vibrations in the air, making a sound wave
the soundwave has the same frequency as the ac, so changing the frequency of the ac will change the frequency of sound