A mobile device configured to determine a local environment of the mobile device, the mobile device comprising: a device audio sensor configured to detect sound waves; and a processor configured to: determine a variation between the detected sound waves and a reference signal; determine the local environment of the mobile device based on the determined variation; and modify a behavior of the mobile device based on the determined local environment; a communication interface is configured to receive a sound frequency profile from an environmental audio sensor located outside the local environment, wherein: the device audio sensor is configured to output a device sound frequency profile representing sound from the local environment of the mobile device detected by the device audio sensor and the reference signal comprising the sound frequency profile from the outside of local environment of the mobile device, wherein the sound frequency profile is a representation of a sound property over a range of sound frequencies. a device audio sensor configured to detect sound waves; and a processor configured to: determine a variation between the detected sound waves and a reference signal; determine the local environment of the mobile device based on the determined variation; and modify a behavior of the mobile device based on the determined local environment; a communication interface is configured to receive a sound frequency profile from an environmental audio sensor located outside the local environment, wherein: the device audio sensor is configured to output a device sound frequency profile representing sound from the local environment of the mobile device detected by the device audio sensor and the reference signal comprising the sound frequency profile from the outside of local environment of the mobile device, wherein the sound frequency profile is a representation of a sound property over a range of sound frequencies. determine a variation between the detected sound waves and a reference signal; determine the local environment of the mobile device based on the determined variation; and modify a behavior of the mobile device based on the determined local environment; a communication interface is configured to receive a sound frequency profile from an environmental audio sensor located outside the local environment, wherein: the device audio sensor is configured to output a device sound frequency profile representing sound from the local environment of the mobile device detected by the device audio sensor and the reference signal comprising the sound frequency profile from the outside of local environment of the mobile device, wherein the sound frequency profile is a representation of a sound property over a range of sound frequencies. the device audio sensor is configured to output a device sound frequency profile representing sound from the local environment of the mobile device detected by the device audio sensor and the reference signal comprising the sound frequency profile from the outside of local environment of the mobile device, wherein the sound frequency profile is a representation of a sound property over a range of sound frequencies.