A speaker is a type of transducer. In essence, it converts one form of energy — in this case, mechanical vibrations generated by electricity — into another — sound energy. All a speaker does is cause a magnetic coil to vibrate, thus moving a membrane that generates sound. Sound thus does not ”get” to a speaker. Rather, it is generated in particular patterns and at particular intensities depending on the strength and variation of electrical input.