Which device converts electrical energy into sound energy?

Generator

Electrical Motor

Loudspeaker

Steam engine