1. An electronic device comprising: a portable electronic device that can be carried by a user, the portable electronic device having an outer enclosure having a top panel and a bottom panel that surrounds a memory having stored therein a plurality of digital audio equalization profiles to account for a plurality of environments in which the portable electronic device can operate; an audio transducer that operates to vibrate one of the top and the bottom panel of the outer enclosure in accordance with an audio input signal, wherein the audio transducer comprises a coil and a magnet in communication with the coil; and a processor in electrical communication with the memory and the audio transducer, wherein the processor is to choose, based on a sensor measurement in the portable electronic device that is indicative of an operating environment that is likely to increase non-linear distortion in sound output of the audio transducer, one of the plurality of stored digital profiles and to apply digital signal processing associated with the chosen stored digital profile to pre-distort the audio input signal to the audio transducer to compensate for the non-linear distortion in the sound output of the audio transducer.