Method for providing information by identifying type of input, and electronic device for supporting same
An electronic device comprises: one or more input modules; one or more speakers; a display; at least one processor; and a memory storing instructions. When executed by the at least one the instructions cause the electronic device to: obtain an input through the one or more input modules; identify the type of input; determine whether to output, through the one or more speakers, information corresponding to the input; and control the one or more speakers so that the information corresponding to the input is output through the one or more speakers according to the type of input based on determining that the information corresponding to the input is to be output through the one or more speaker.
1 . An electronic device comprising:
one or more input modules comprising input circuitry;
a plurality of speakers including a first speaker disposed at a first position and a second speaker disposed at a second position different from the first position, the first speaker being a mono speaker, the second speaker being a pair of stereo speakers;
a display;
at least one processor comprising processing circuitry; and
memory storing instructions that, when executed by at least one processor individually and/or collectively, cause the electronic device to:
obtain an input through the one or more input modules;
identify a type of the input;
determine whether to output information corresponding to the input through the at least one speaker among the plurality of speakers;
control the at least one speaker so that the information corresponding to the input is output based on the type of the input through the at least one speaker, based on determining to output the information corresponding to the input through the at least one speaker,
wherein based on the type of the input being a gesture and/or a voice of the user of the electronic device, information corresponding to the gesture and/or the voice of the user is outputted through the first speaker, and
wherein based on the type of the input being a gesture and/or a voice of a counterpart, information corresponding to the gesture and/or the voice of the counterpart is outputted through the second speaker.
2 . The electronic device of claim 1 , wherein the instructions, when executed by at least one processor individually and/or collectively, further cause the electronic device to:
convert the obtained input into a text.
3 . The electronic device of claim 1 , wherein the instructions, when executed by at least one processor individually and/or collectively, cause the electronic device to:
determine whether to output the information corresponding to the input through the at least one speaker, based on at least one of a user input or the type of the input.
4 . The electronic device of claim 1 , wherein the instructions, when executed by at least one processor individually and/or collectively, cause the electronic device to:
determine a tone to be applied to audio indicating the information corresponding to the input.
5 . The electronic device of claim 4 , wherein the instructions, when executed by at least one processor individually and/or collectively, cause the electronic device to:
obtain a plurality of inputs through the one or more input modules; and
determine different tones to be applied to audios that indicate information corresponding to the plurality of inputs and are to be simultaneously output, based on a type of the plurality of inputs.
6 . The electronic device of claim 5 , wherein the instructions, when executed by at least one processor individually and/or collectively, cause the electronic device to:
obtain a gesture input of a user of the electronic device and a voice input of the user through the one or more input modules; and
determine a first tone to be applied to first audio indicating information corresponding to the gesture input of the user and a second tone to be applied to second audio that indicates information corresponding to the voice input of the user and is to be output simultaneously with the first audio.
7 . The electronic device of claim 1 , wherein the instructions, when executed by at least one processor individually and/or collectively, cause the electronic device to:
determine to display information corresponding to the gesture and/or the voice of the user of the electronic device through a first screen, for the counterpart, of the display based on the type of the input being the gesture and/or the voice of the user; and
determine to output information corresponding to the gesture and/or the voice of the counterpart on a second screen, for the user, of the display based on the type of the input being the gesture and/or the voice of the counterpart.
8 . The electronic device of claim 1 , further comprising a communication module, comprising communication circuitry,
wherein the instructions, when executed by at least one processor individually and/or collectively, further cause the electronic device to:
transmit information corresponding to the gesture of the user of the electronic device to an external electronic device through the communication module based on receiving the gesture of the user while the electronic device performs a call with the external electronic device.
9 . The electronic device of claim 1 , wherein the instructions, when executed by at least one processor individually and/or collectively, further cause the electronic device to:
obtain information about a surrounding environment of the electronic device; and
determine whether to output the information corresponding to the input through the at least one speaker, based on the information about the surrounding environment of the electronic device.
10 . A method of providing information by an electronic device, the method comprising:
obtaining an input through one or more input modules of the electronic device;
identifying a type of the input;
determining whether to output information corresponding to the input through at least one speaker among a plurality of speakers including a first speaker disposed at a first position and a second speaker disposed at a second position different from the first position, the first speaker being a mono speaker, the second speaker being a pair of stereo speakers; and
controlling the at least one speaker so that the information corresponding to the input is output based on the type of the input through the at least one speaker, based on determining to output the information corresponding to the input through the at least one speaker,
wherein
based on the type of the input being a gesture and/or a voice of the user of the electronic device, information corresponding to the gesture and/or the voice of the user is outputted through the first speaker, and
wherein based on the type of the input being a gesture and/or a voice of a counterpart, information corresponding to the gesture and/or the voice of the counterpart is outputted through the second speaker.
11 . The method of claim 10 , further comprising converting the obtained input into a text.
12 . The method of claim 10 , wherein the determining of whether to output the information corresponding to the input through the at least one speaker comprises:
determining whether to output the information corresponding to the input through the at least one speaker, based on at least one of a user input or the type of the input.
13 . The method of claim 10 , wherein the determining of whether to output the information corresponding to the input through the at least one speaker comprises
determining a tone to be applied to audio indicating the information corresponding to the input.
14 . The method of claim 13 , wherein the obtaining of the input comprises obtaining a plurality of inputs through the one or more input modules, and
wherein the determining of the tone to be applied to the audio indicating the information corresponding to the input comprises determining different tones to be applied to audios that indicate information corresponding to the plurality of inputs and are to be simultaneously output, based on a type of the plurality of inputs.
15 . The method of claim 14 , wherein the obtaining of the plurality of inputs through the one or more input modules comprises:
obtaining a gesture input of a user of the electronic device and a voice input of the user through the one or more input modules, and
wherein the determining of the different tones to be applied to the audios that indicate information corresponding to the plurality of inputs and are to be simultaneously output, based on the type of the plurality of inputs comprises determining a first tone to be applied to first audio indicating information corresponding to the gesture input of the user and a second tone to be applied to second audio that indicates information corresponding to the voice input of the user and is to be output simultaneously with the first audio.
16 . The method of claim 10 , wherein the determining whether to output the information corresponding to the input through the at least one speaker comprises:
determining to display information corresponding to the gesture and/or the voice of the user of the electronic device through a first screen, for of the counterpart, of the display based on the type of the input being the gesture and/or the voice of the user; and
determining to output information corresponding to the gesture and/or the voice of the counterpart on a second screen, for the user, of the display based on the type of the input being the gesture and/or the voice of the counterpart.
17 . The method of claim 10 , further comprises:
transmitting information corresponding to the gesture of the user of the electronic device to an external electronic device through a communication module of the electronic device based on receiving the gesture of the user based on the electronic device performing a call with the external electronic device.
18 . A non-transitory computer-readable medium storing computer-executable instructions, wherein the computer-executable instructions, when executed by at least one processor of an electronic device individually or collectively, cause the electronic device to:
obtain an input through one or more input modules of the electronic device,
identify a type of the input,
determine whether to output information corresponding to the input through at least one speaker among a plurality of speakers including a first speaker disposed at a first position and a second speaker disposed at a second position different from the first position, the first speaker being a mono speaker, the second speaker being a pair of stereo speakers,
control the at least one speaker so that the information corresponding to the input is output based on the type of the input through the at least one speaker, based on determining to output the information corresponding to the input through the at least one speaker,
wherein based on the type of the input being a gesture and/or a voice of the user of the electronic device, information corresponding to the gesture and/or the voice of a user is outputted through the first speaker, and
wherein based on the type of the input being a gesture and/or a voice of a counterpart, information corresponding to the gesture and/or the voice of the counterpart is outputted through the second speaker.