Which device converts electrical energy into sound energy?

Steam engine

Generator

Loudspeaker

Electrical Motor