Which device converts electrical energy into sound energy?

Generator

Loudspeaker

Electrical Motor

Steam engine