Is loudspeaker a hardware?

In computer terms if you can touch it - it's hardware.
So, yes, a loudspeaker is hardware.