An electronic device (100;1101), comprising: an audio module (210;510) including a plurality of audio reception units (120;213) and a plurality of audio output units (110-1;110-2;211; 211-1...211-n;212), a first audio reception unit (120-1; 120-2;120-3;213) of the plurality of audio reception units (120;213) to be mounted adjacent to a window (105;603;605;730;740;1010-1;1010-2), to be mounted adjacent to an area where a window (105;603;605;730;740;1010-1;1010-2) of a transport apparatus opens, or to be mounted adjacent to a sun roof; and a processor (220;1120;1210); characterized in that the processor is configured to: receive sound via the first audio reception unit (120-1; 120-2;120-3;213) when the electronic device (100; 1101) recognizes that the window (105;603;605;730;740;1010-1;1010-2) is opened or when the electronic device (100;1101) recognizes that the sun roof has been opened, generate antiphase signals based on waveforms of the received sound, the antiphase signals for offsetting sound introduced via the window (105;603;605;730;740;1010-1;1010-2) or sun roof, determine directions in which to emit the antiphase signals, based on locations of the plurality of audio reception units (120;213) to offset sound introduced via the window (105;603;605;730;740;1010-1;1010-2) or sun roof, and emit the antiphase signals via the plurality of audio output units (110-1;110-2;211; 211-1...211-n;212). an audio module (210;510) including a plurality of audio reception units (120;213) and a plurality of audio output units (110-1;110-2;211; 211-1...211-n;212), a first audio reception unit (120-1; 120-2;120-3;213) of the plurality of audio reception units (120;213) to be mounted adjacent to a window (105;603;605;730;740;1010-1;1010-2), to be mounted adjacent to an area where a window (105;603;605;730;740;1010-1;1010-2) of a transport apparatus opens, or to be mounted adjacent to a sun roof; and a processor (220;1120;1210); characterized in that the processor is configured to: receive sound via the first audio reception unit (120-1; 120-2;120-3;213) when the electronic device (100; 1101) recognizes that the window (105;603;605;730;740;1010-1;1010-2) is opened or when the electronic device (100;1101) recognizes that the sun roof has been opened, generate antiphase signals based on waveforms of the received sound, the antiphase signals for offsetting sound introduced via the window (105;603;605;730;740;1010-1;1010-2) or sun roof, determine directions in which to emit the antiphase signals, based on locations of the plurality of audio reception units (120;213) to offset sound introduced via the window (105;603;605;730;740;1010-1;1010-2) or sun roof, and emit the antiphase signals via the plurality of audio output units (110-1;110-2;211; 211-1...211-n;212). receive sound via the first audio reception unit (120-1; 120-2;120-3;213) when the electronic device (100; 1101) recognizes that the window (105;603;605;730;740;1010-1;1010-2) is opened or when the electronic device (100;1101) recognizes that the sun roof has been opened, generate antiphase signals based on waveforms of the received sound, the antiphase signals for offsetting sound introduced via the window (105;603;605;730;740;1010-1;1010-2) or sun roof, determine directions in which to emit the antiphase signals, based on locations of the plurality of audio reception units (120;213) to offset sound introduced via the window (105;603;605;730;740;1010-1;1010-2) or sun roof, and emit the antiphase signals via the plurality of audio output units (110-1;110-2;211; 211-1...211-n;212).