Electronic device and control method
Through ultra-wideband communication and sensor data, smart devices solve the problem of long-distance sound capture and multiple recording, achieve effective acquisition and processing of audio signals from distant subjects, and improve user experience and audio signal management capabilities.
Patent Information
- Application Number
- CN202180053291.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-09-01
- Filing Date
- 2021-07-13
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-07-13
AI Technical Summary
Existing smart devices have difficulty hearing the voices of distant subjects correctly during video capture, and cannot selectively track specific subjects. The occupation of microphone resources makes it impossible to perform multiple recordings, and it is difficult to adjust volume and identify audio signal amplitudes.
Ultra-wideband (UWB) communication method is used to communicate with external devices, and audio signals and image data are acquired through microphones and sensors. The processor identifies the subject audio signal based on ranging information and angle information, and controls the microphone to acquire or transmit audio under distance conditions. signal, displaying the amplitude of the audio signal together with the image, realizing the separation and storage of the audio signal.
It improves the user experience, achieves effective acquisition and processing of audio signals from distant subjects during video capture, supports multiple recordings, and allows users to visualize the audio signal level and adjust the volume, solving the problems of resource occupation and volume adjustment.
Smart Images

Figure CN115989667B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device that communicates in an ultra-wideband (UWB) manner and a control method thereof. Background Art
[0002] Recently, 5G communication methods have been commercialized, and high-end electronic devices including smartphones have been developed. In the past, smartphones included one camera and one microphone. Recently released smartphones include multiple cameras and multiple microphones and can perform various functions.
[0003] However, in many cases, even in recently released smartphones, the voices of some subjects cannot be properly heard during video capture if the subject is far away or if there is noise around. In addition, when multiple subjects are present during video capture, it is not possible to selectively track and record only a specific subject. In addition, if one application occupies microphone resources, another application cannot use the microphone resources due to chipset limitations, etc. Therefore, even in recent smartphones, multi-recording is not possible.
[0004] In addition, since it is impossible to adjust the volume or recognize the amplitude of the input audio signal during video capturing, and the volume recorded during video capturing varies depending on the subject or peripheral devices, it is difficult for the user to adjust the microphone level.
[0005] Therefore, there is a need for techniques for improving functions and quality related to audio signals in electronic devices including smartphones, such as tracking audio signals according to a subject during video capture or equalizing the amplitude of recorded audio signals regardless of the distance of the subject or surrounding devices. Summary of the invention
[0006] Technical issues
[0007] The present disclosure is to solve the above-mentioned problems, and an object of the present disclosure is to provide an electronic device and a control method for controlling an audio signal of a main body by communicating with an external device using an ultra wideband (UWB) communication method.
[0008] Technical Solution
[0009] According to an embodiment of the present disclosure, an electronic device includes: a communication interface configured to communicate with an external device in an ultra-wideband (UWB) manner; a microphone configured to receive an audio signal; a camera configured to capture an image of a subject included in the vicinity of the external device; a sensor configured to detect the direction of the camera; a display configured to display the captured image; and a processor, wherein the processor is configured to: acquire ranging information and angle information about the external device based on data received from the external device; acquire image capturing direction information based on the direction of the camera detected by the sensor; identify an external device for acquiring an audio signal of the subject based on the acquired image capturing direction information, ranging information, and angle information; control the microphone to acquire the audio signal of the subject when the distance to the external device is less than a predetermined distance, and control the communication interface to acquire the audio signal of the subject input to the external device when the distance to the external device is greater than or equal to the predetermined distance; and control the display to display a user interface (UI) indicating the amplitude of the acquired audio signal together with the displayed image.
[0010] In addition, the electronic device may further include: a memory, wherein the processor is configured to identify whether the recording thread is in an active state, and when the recording thread is in an inactive state, the processor is configured to: execute an initial recording setup process to store the acquired audio signal, generate the recording thread, generate multiple recording audio tracks for the generated recording thread, store data related to the acquired audio signal in the memory based on the generated multiple recording audio tracks, and display the data on the display.
[0011] Meanwhile, the initial recording setting process may include at least one of a codec setting process, an audio DSP setting process, a kernel driver setting process, or an audio hardware abstraction layer (HAL) setting process.
[0012] In addition, when the recording thread is in an active state, the processor can be configured to: omit the initial recording setting process, generate multiple recording audio tracks related to the acquired audio signal, and connect the multiple recording audio tracks related to the audio signal to the active recording thread to form multiple recording threads.
[0013] Additionally, the processor may be configured to identify a peak level of the audio signal using at least one recorded audio track associated with the acquired audio signal.
[0014] Additionally, the processor may be configured to control the display to display the identified peak level as the amplitude of the acquired audio signal.
[0015] In addition, the processor can be configured to: when the acquired audio signal meets the beamforming condition, separate the acquired audio signal into multiple channels based on directionality and store the multiple channels; and when the acquired audio signal does not meet the beamforming condition, separate the acquired audio signal into multiple channels based on the number of microphones and store the multiple channels.
[0016] Additionally, the processor may be configured to control the volume of the audio signal for each recorded track or each channel.
[0017] Meanwhile, the processor may be configured to control the communication interface to transmit a response request signal to the external device and receive a response signal, and to acquire ranging information based on a transmission / reception time from a time when the response request signal is transmitted to a time when the response signal is received.
[0018] Additionally, the microphone may include a directional microphone, and the processor mutes audio signals acquired in directions other than the direction in which the directional microphone is pointed.
[0019] According to another embodiment of the present disclosure, a control method of an electronic device that communicates with an external device in an ultra-wideband (UWB) manner includes: capturing an image of a subject included in the vicinity of the external device; acquiring ranging information and angle information about the external device based on data received from the external device; acquiring image capturing direction information based on a direction of a camera detected by a sensor; identifying an external device for acquiring an audio signal of the subject based on the acquired image capturing direction information, ranging information, and angle information; when a distance to the external device is less than a predetermined distance, controlling a microphone to acquire an audio signal of the subject, and when a distance to the external device is greater than or equal to a predetermined distance, acquiring an audio signal of the subject through the external device, and displaying a user interface (UI) indicating an amplitude of the acquired audio signal together with the captured image.
[0020] At the same time, the control method may also include: identifying whether the recording thread is in an active state; when the recording thread is in an inactive state, executing an initial recording setting process to store the acquired audio signal; generating a recording thread; generating multiple recording audio tracks for the generated recording thread; and storing and displaying data related to the acquired audio signal based on the generated multiple recording audio tracks.
[0021] Meanwhile, the initial recording setting process may include at least one of a codec setting process, an audio DSP setting process, a kernel driver setting process, or an audio hardware abstraction layer (HAL) setting process.
[0022] In addition, the control method may also include: when the recording thread is in an active state, omitting the initial recording setting process and generating multiple recording audio tracks for processing the acquired audio signals; and in the process of generating the recording thread, connecting multiple recording audio tracks related to the audio signal to the recording thread in an active state to form multiple recording threads.
[0023] Additionally, the control method may further include: identifying a peak level of the audio signal using at least one recorded audio track associated with the acquired audio signal.
[0024] In addition, in the process of displaying the UI, the identified peak level may be displayed as the amplitude of the acquired audio signal.
[0025] In addition, in the process of storing the acquired audio signal, when the acquired audio signal satisfies the beamforming condition, the acquired audio signal can be separated into multiple channels based on directionality and stored, and when the acquired audio signal does not satisfy the beamforming condition, the acquired audio signal can be separated into multiple channels based on the number of microphones and stored.
[0026] The control method may further include: controlling the volume of the audio signal of each recorded audio track or each channel.
[0027] Meanwhile, in the process of acquiring ranging information and angle information, a response request signal may be sent to an external device to receive a response signal, and ranging information may be acquired based on a transmission / reception time from the time when the response request signal is sent to the time when the response signal is received.
[0028] In addition, the microphone may include a directional microphone, and in acquiring the audio signal, audio signals acquired in directions other than the direction to which the directional microphone is pointed may be muted.
[0029] Beneficial Effects
[0030] According to various embodiments of the present disclosure, the electronic device and the control method may improve user experience by operating an audio signal of a main body by communicating with an external device using a UWB communication method.
[0031] The effects of the present disclosure are not limited to the above-mentioned effects, and other effects that are not mentioned will be clearly understood by those skilled in the art from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 is a diagram illustrating a multi-audio operation method based on ultra-wideband (UWB) according to an embodiment of the present disclosure.
[0033] Figure 2is a block diagram showing a configuration of an electronic device according to an embodiment of the present disclosure.
[0034] Figure 3 is a block diagram of a specific configuration of an electronic device according to an embodiment of the present disclosure.
[0035] Figure 4 is a block diagram illustrating the architecture of a processor according to an embodiment of the present disclosure.
[0036] Figure 5 is a block diagram illustrating a process of controlling volume of multiple microphones according to an embodiment of the present disclosure.
[0037] Figure 6 is a block diagram illustrating a process of controlling volumes of audio signals of multiple devices according to an embodiment of the present disclosure.
[0038] Figure 7 is a flowchart illustrating a process of receiving information of an electronic device of a subject according to an embodiment of the present disclosure.
[0039] Figure 8 2 is a diagram showing an embodiment of receiving information of an external device in a UWB communication manner.
[0040] Fig. 9 is a diagram illustrating a process of acquiring an audio signal of a distant subject according to an embodiment of the present disclosure.
[0041] Fig.10 is a diagram showing the level of a monitoring track according to an embodiment of the present disclosure.
[0042] Fig.11 is a flowchart illustrating a process of measuring a peak level of an audio signal according to an embodiment of the present disclosure.
[0043] Fig.12 is a diagram showing a recording process according to an embodiment.
[0044] Fig.13 is a flowchart illustrating a process of acquiring an audio signal according to an embodiment of the present disclosure.
[0045] Fig.14 is a flowchart illustrating a process of analyzing an acquired audio signal according to an embodiment of the present disclosure.
[0046] Fig.15 is a diagram showing channels of an audio signal according to an embodiment.
[0047] Fig.16 is a flowchart illustrating a process of visualizing a level of an audio signal according to an embodiment of the present disclosure.
[0048] Fig.17 is a diagram illustrating a user interface (UI) including a level of an audio signal according to an embodiment of the present disclosure.
[0049] Fig.18 is a flowchart illustrating a process of controlling a recording level according to an embodiment of the present disclosure.
[0050] Fig.19 is a flowchart illustrating a control method of an electronic device according to an embodiment of the present disclosure.
[0051] Fig.20a is a diagram illustrating a UI that displays a volume of an audio signal of an object according to an embodiment of the present disclosure.
[0052] Fig.20b is a diagram illustrating a UI for controlling a volume of an audio signal of an object according to an embodiment of the present disclosure.
[0053] Fig.21 2 is a diagram showing an example of muting the sound of a photographer.
[0054] Fig. 22 is a diagram showing an embodiment of tracking and displaying sound according to the movement of a subject.
[0055] Fig.23 is a diagram showing an embodiment of individually displaying and controlling audio signals of a plurality of external devices. DETAILED DESCRIPTION
[0056] Hereinafter, various embodiments will be described in detail with reference to the accompanying drawings. Various modifications may be made to the embodiments described herein. Specific embodiments may be shown in the accompanying drawings and described in detail in the specific embodiments. However, it should be understood that the specific embodiments disclosed in the accompanying drawings are only intended to facilitate the understanding of the various embodiments. Therefore, the technical idea is not limited to the specific embodiments disclosed in the accompanying drawings, but includes all equivalents or substitutes that fall within the spirit and scope of the present disclosure.
[0057] Terms including ordinal numbers such as first, second, etc. may be used to describe various elements, but such elements are not limited to the above terms. The above terms are used only for the purpose of distinguishing one component from another.
[0058] In this specification, the terms "including" or "having" and the like are intended to specify the presence of the features, integers, steps, operations, elements, components or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components or combinations thereof. It should be understood that when an element is referred to as being "connected" to another element, it may be directly on or directly connected to another element or layer, or there may be intervening elements or layers. At the same time, when an element is referred to as being "directly connected" to another element, it should be understood that there are no other elements between them.
[0059] Meanwhile, a "module" or "part" of a component used in this specification performs at least one function or operation. In addition, a "module" or "part" may perform a function or operation by hardware, software, or a combination of hardware and software. In addition, in addition to a "module" or "part" to be executed in specific hardware or executed in at least one processor, a plurality of "modules" or a plurality of "parts" may be integrated into at least one module. Unless the context clearly indicates otherwise, a singular expression includes a plural expression.
[0060] In the description of the present disclosure, unless the previous step must be performed before the subsequent step logically and temporally, the order of each step should be understood to be non-restrictive. In other words, except for the above exceptions, even if the process described as the subsequent step is performed before the process described as the previous step, it does not affect the nature of the present disclosure, and the claims should be defined as being independent of the order of the steps. In the present disclosure, "A or B" is defined to refer to both A and B and selectively indicate A or B. It should also be understood that the term "comprising" is intended to cover other elements in addition to the elements listed as included.
[0061] Meanwhile, for the information (data) transmission process performed in the present disclosure, ciphertext / decryption may be applied depending on the need, and all statements describing the information (data) transmission process in the present disclosure and claims should be interpreted as including the case where ciphertext / decryption is performed, even if no separate mention is made in this regard. In addition, in the present disclosure, statements in the form of "sending (transmitting) from A to B" or "A receiving from B" also include the case where an object is sent (transmitted) or received while another medium is included in between, and the statement does not necessarily mean only the case where an object is directly sent (transmitted) or received from A to B.
[0062] In this specification, only the essential components necessary for describing the present disclosure are described, and components irrelevant to the essence of the present disclosure are not mentioned. In addition, only the mentioned components should not be interpreted as exclusively including, but should be interpreted as non-exclusively including any other components.
[0063] In addition, in the description of the present disclosure, when it is determined that the detailed description of the known functions or components related thereto may unnecessarily obscure the subject matter of the present disclosure, the detailed description thereof will be reduced or omitted. Meanwhile, each embodiment may be implemented or operated independently, but each embodiment may be implemented or operated in combination.
[0064] Figure 1 is a diagram illustrating a multi-audio operation method based on ultra-wideband (UWB) according to an embodiment of the present disclosure.
[0065] refer to Figure 1 , showing an electronic device 100 and an external device 200. The electronic device 100 executes an application. For example, the application may be an application that performs functions such as video recording, animation (moving picture), recording, voice recognition, etc. The electronic device 100 captures an image including a subject in response to the application execution. The subject may be located near the external device 200. In addition, there may be a plurality of subjects and a plurality of external devices 200. For example, Figure 1 As shown, the first to third external devices 200 - 1 , 200 - 2 , and 200 - 3 may be located around the electronic device 100 .
[0066] In addition, the electronic device 100 may communicate with the external device 200 and receive data from the external device 200 using an ultra-wideband (UWB) communication method. For example, the data received from the external device 200 may include ranging information and angle information (e.g., angle of arrival (AOA)) of the external device 200 based on the electronic device 100. The electronic device 100 may determine the relative position between the electronic device 100 and the external device 200 based on the ranging information and angle information received from the external device 200. The UWB communication method is a short-range wireless communication technology using a very wide frequency bandwidth of about 500 MHz. The UWB communication method can send data at a speed of about 100 Mbps or more and at low power.
[0067] The electronic device 100 acquires image capture direction information based on the camera direction detected by the sensor. In addition, the electronic device 100 can improve the accuracy of the image capture direction information acquired by receiving GPS information. The electronic device 100 identifies the external device 200 for acquiring the audio signal of the subject based on the acquired image capture direction information, ranging information and angle information. For example, when the identified external device 200 is closer than the predetermined distance, the electronic device 100 obtains the audio signal (e.g., voice) of the subject through the microphone included in the electronic device 100. That is, the electronic device 100 can receive the audio signal of the subject through the microphone. When the identified external device 200 is farther than the predetermined distance, the electronic device 100 acquires the audio signal of the subject through the external device 200. That is, the electronic device 100 can receive the subject audio signal from the external device 200 through the communication interface. As an example, the predetermined distance can be set to 0.5m, 1m, 1.5m, etc. The above examples are embodiments, and the predetermined distance can be appropriately set according to the performance, directivity, etc. of the microphone.
[0068] The electronic device 100 may analyze the acquired audio signal and the captured image. The electronic device 100 may identify the subject from the captured image. In addition, the electronic device 100 may determine the audio signal corresponding to the identified subject and determine the level (or amplitude) of the audio signal. The electronic device 100 displays a user interface (UI) indicating the level of the audio signal together with the captured image based on the determination result. The UI indicating the audio signal level may include augmented reality (AR). That is, the audio signal level may be displayed as AR. For example, the electronic device 100 may identify the first subject and the second subject by analyzing the captured image. In addition, the electronic device 100 may determine the subject corresponding to the audio signal based on the distance and direction of the audio signal input to the microphone. Alternatively, the electronic device 100 may determine the subject corresponding to the audio signal based on the distance and direction of the external device 200. The electronic device 100 may map the identified subject to the corresponding audio signal. The electronic device 100 displays a UI including the audio signal level mapped to the identified subject.
[0069] For example, the electronic device 100 may include a smart phone, a tablet PC, a laptop computer, a navigation device, a tablet PC, and a wearable device. In addition, the external device 200 may include a smart phone, a tablet PC, a laptop computer, a navigation device, a tablet PC, a wearable device, an earphone, a headset, a microphone, a speaker, etc. Hereinafter, the configuration of the electronic device will be described.
[0070] Figure 2 is a block diagram showing a configuration of an electronic device according to an embodiment of the present disclosure, and Figure 31 is a block diagram showing a specific configuration of an electronic device according to an embodiment of the present disclosure. Figure 2 and Figure 3 Describe the electronic device.
[0071] refer to Figure 2 , the electronic device 100 includes a communication interface 110 , a microphone 120 , a camera 130 , a sensor 140 , a display 150 , and a processor 160 .
[0072] The communication interface 110 communicates with the external device in a UWB communication mode. For example, the communication interface 110 may include a UWB communication module. The communication interface 110 may use the UWB communication module to send a message requesting data to the external device and receive a response message from the external device. In addition, since UWB is directional, the communication interface 110 may receive the direction or angle information of the external device. In addition, the communication interface 110 may receive identification information from the external device. For example, the identification information may include the name of the subject, the phone number, the facial image of the subject, and the unique information of the external device. In addition, the communication interface 110 may receive information about the peripheral device connected to the external device. As an embodiment, the facial image of the subject may be extracted by the external device using an image stored in the external device or the connected SNS. The processor 160 may calculate the distance between the electronic device 100 and the external device based on the sending / receiving time between the sending of the request message and the receiving of the response message. That is, the processor 160 may obtain the ranging information based on the sending / receiving time from the sending time of the response request signal to the receiving time of the response signal.
[0073] In addition, when the external device is located farther than a predetermined distance (remote distance), the communication interface 110 can receive an audio signal from the external device. At the same time, the communication interface 110 may include a module capable of performing communication in a method other than UWB (e.g., LTE, Wi-Fi, and Bluetooth). Therefore, the communication interface 110 can be connected to an external device by a communication method such as UWB, LTE, Wi-Fi, or Bluetooth, and receive an audio signal according to the connected communication method. In addition, the communication interface 110 may include a GPS module. The communication interface 110 can receive location information through the GPS module. When the processor 160 determines the position and direction of the electronic device 100, the received location information can be considered together. The communication interface 120 communicates with the external device and may be referred to as a communication unit, a communication module, a transceiver, etc.
[0074] The microphone 120 may receive an audio signal. As an example, the electronic device 100 may include a plurality of microphones. The plurality of microphones may be arranged in an upper area, a lower area, a front area, a rear area, a camera arrangement area, etc. of the electronic device 100. At least one of the plurality of microphones may be a directional microphone. The microphone 120 may acquire an audio signal from a subject located within a predetermined distance under the control of the processor 160.
[0075] The camera 130 captures an image including a subject. As an example, the electronic device 100 may include a plurality of cameras. At least one of the plurality of cameras may be a depth camera.
[0076] The sensor 140 detects the direction that the camera 130 faces. For example, the camera 130 may be fixedly disposed on the electronic device 100. Therefore, the direction that the camera 130 points to may be consistent with the direction that the electronic device 100 points to. In addition, the direction that the camera 130 points to may be an image capture direction. Therefore, the processor 160 may acquire image capture direction information based on the direction information detected by the sensor 140. For example, the sensor 140 may include an acceleration sensor, a gravity sensor, a gyroscope sensor, a geomagnetic sensor, a direction sensor, a motion recognition sensor, a proximity sensor, and the like.
[0077] The display 150 displays the captured image. In addition, the display 150 may display a UI including the level of the acquired audio signal together with the captured image. For example, the display 150 may display the level of the audio signal in the UI in the form of a level meter. In addition, the UI including the level of the audio signal may include augmented reality (AR). The display 150 may be implemented as a liquid crystal display (LCD), an organic light emitting diode (OLED), a flexible display, or a touch screen.
[0078] The processor 160 may control each component of the electronic device 100. For example, the processor 160 may control the communication interface 110 to send / receive data with an external device, and control the sensor 140 to detect an image capture direction. As described above, the processor 160 may acquire ranging information between the electronic device 100 and the external device based on the transmission / reception time between the transmission of the request message and the reception of the response message. In addition, the processor 160 may acquire image capture direction information based on the direction of the camera 130 sensed by the sensor. The processor 160 may improve the accuracy of the acquired image capture direction information by acquiring the image capture direction information using the received position information. The processor 160 identifies an external device for acquiring an audio signal of a subject based on the acquired image capture direction information, ranging information, and angle information. When the external device is located closer than a predetermined distance, the processor 160 controls the microphone 120 to receive an audio signal from the subject. When the external device is located farther than a predetermined distance, the processor 160 controls the communication interface 110 to receive an audio signal of the subject input to the external device.
[0079] The processor 160 may analyze the captured image. The processor 160 may determine the subject in the captured image, and may determine the direction, angle, etc. of the subject. When the electronic device 100 includes a depth camera, the processor 160 may determine the distance to the subject. The processor 160 may identify the subject and the position of the subject based on the direction information, angle information, and ranging information of the external device determined from the analyzed image together with the identification information received through the communication interface 110.
[0080] The processor 160 can control the camera 130 (e.g., variable shutter, etc.), and set a corresponding control interface based on information obtained by analyzing the captured image and information received from the external device through the UWB communication method. At the same time, the processor 160 can send the captured image to a specific external device. The processor 160 can process the acquired audio signal and determine the peak level of the audio signal. An embodiment of the processor 160 processing the audio signal will be described in detail below.
[0081] The processor 160 controls the display 150 to display the captured image. The processor 160 controls the display 150 to display a UI (e.g., AR) indicating the level (amplitude) of the acquired audio signal together with the displayed image. The processor 160 can identify the subject based on the information obtained by analyzing the captured image, and identify the sound position of the acquired audio signal. The processor 160 can determine the audio signal corresponding to the subject. The processor 160 can map the identified subject to the corresponding audio signal. In addition, the processor 160 can control the display 150 to display the level of the audio signal mapped to the area near the subject of the captured image.
[0082] Therefore, when imaging multiple subjects based on UWB distance and angle information, the electronic device 100 of the present disclosure can select and track only a specific subject when recording.
[0083] Meanwhile, the electronic device 100 may further include other components in addition to the above components.
[0084] refer to Figure 3 , the electronic device 100 may further include an input interface 170 , a speaker 180 and a memory 190 .
[0085] The input interface 170 may receive a control command from a user. For example, the input interface 170 may be implemented as a keyboard or a touch pad. The input interface 170 performs a function of receiving a command from a user and may also be referred to as an input unit or an input module.
[0086] Meanwhile, in addition to the above-mentioned keyboard and touchpad, the input interface 170 can also be implemented as a camera 130, a microphone 120, a sensor 140 or a display 150. For example, when the input interface 170 is implemented as a camera 130, the electronic device 100 can image the user's facial expressions or actions. The processor 160 can recognize a control command based on the imaged facial expressions or actions. When the input interface 170 is implemented as a microphone 120, the electronic device 100 can receive the user's voice. The processor 160 can recognize a control command based on the input voice. When the input interface 170 is implemented as a sensor 140, the sensor 140 can receive input of the user's actions, etc. The processor 160 can recognize a control command based on an input signal. In addition, when the display 150 is implemented as a touch screen, the electronic device 100 can receive a control command through the touch screen.
[0087] The speaker 180 may output the acquired audio signal. In addition, the speaker 180 may output the user's input command, state-related information or operation-related information of the electronic device 100 through voice or notification sound.
[0088] The memory 190 may store data for executing the functions of the electronic device 100, and may store programs and commands executed in the electronic device 100. The memory 190 may store acquired audio signals or captured images. In addition, the memory 190 may store identification information. For example, the memory 190 may be implemented in a type such as ROM, RAM, HDD, SSD, or memory card.
[0089] The electronic device 100 may include all of the above components, or may include some of the components. In addition, in addition to the above components, the electronic device 100 may also include other components that perform various functions.
[0090] Figure 4is a block diagram illustrating the architecture of a processor according to an embodiment of the present disclosure.
[0091] See also Figure 4 , the processor 160 may include a pre-processing module 161, a recording thread 162, a monitoring recording track 163, an audio level calculation module 164, an image analysis module 165, a recording level adjustment module 166, and a recording track 167. In addition, the processor 160 may execute the application 10. The aforementioned module 160 may be implemented in the form of hardware or software, and may be included in the processor 160 or stored in the memory 190. When the aforementioned module is stored in the memory 190, the processor 160 may load the module from the memory 190 when processing the audio signal.
[0092] The preprocessing module 161 may receive an audio signal from the microphone 120. Alternatively, the preprocessing module 161 may receive an audio signal from an external device via a communication interface. The preprocessing module 161 may process pulse code modulation (PCM) audio data received from an audio driver. The audio driver may be included in the preprocessing module 161 or may be implemented as a separate module between the microphone 120 and the preprocessing module 161. For example, the preprocessing module 161 may perform processing such as noise suppression and dynamic range control (DRC). In addition, the preprocessing module 161 may perform sensitivity adjustment upon receiving a global recording level adjustment event. When the sensitivity is high, audio signals with the same amplitude may be amplified to a larger size. Since the sensitivity adjusted in the preprocessing module 161 is global, the sensitivity may affect the volume of n recording tracks 167.
[0093] The recording thread 162 can cache the PCM data processed in the preprocessing module 161. The recording thread 162 can synchronize the audio properties between the operation of the audio driver and the operation of the recording track. For example, the recording thread 162 can perform a resampling operation for synchronizing the sampling rate attribute and a reformatting operation for synchronizing the audio format attribute. In addition, the recording thread 162 can copy (or copy) a single audio data to n recording tracks 167. Since the audio data is copied to n recording tracks 167, the limitation that only one application can occupy the resources of one audio signal can be overcome. That is, each of the n applications can use the resources of an audio signal among the resources of the audio signal copied to the n recording tracks 167. Therefore, in the present disclosure, when one application occupies the resources of an audio signal, another application can use the resources of the audio signal, thereby solving the problem of being unable to perform multiple recordings.
[0094] Monitoring recording track 163 can prepare microphone 120 (or audio signal setting) in advance before recording starts, and monitor the noise level around recording. Since monitoring recording track 163 pre-sets the audio signal resources to be used by recording track 167, the recording start time can be shortened. Therefore, the present disclosure has the effect of starting recording without losing the recording start time. In addition, monitoring recording track 163 can monitor the environmental noise level before recording starts, and the monitored noise level is displayed on the screen. Therefore, the present disclosure can help users set the recording level higher when recording in a noisy environment.
[0095] The audio level calculation module 164 may calculate the level of the input audio signal. The audio level calculation module 164 may separate the PCM channels from the input audio signal. For example, the audio level calculation module 164 may separate the received PCM audio data for each channel. The audio level calculation module 164 may calculate the level of the audio data for each separated channel.
[0096] The image analysis module 165 may analyze the captured image input from the camera 130. The image analysis module 165 may determine the subject in the captured image, and may determine the direction, angle, etc. of the subject. When the electronic device 100 includes a depth camera, the image analysis module 165 may determine the distance to the subject. In addition, the image analysis module 165 may determine the presence of an object causing noise.
[0097] The recording level adjustment module 166 can generate an event for adjusting the recording volume. The recording volume adjustment event can include a global recording adjustment event and a local recording adjustment event. The global recording adjustment event can be passed to the pre-processing module 161, and the pre-processing module 161 can adjust the sensitivity, and the local recording adjustment event can be passed to the recording track 167, and the recording track 167 can adjust the recording volume. For example, the recording volume adjustment may include two methods: automatic or manual. In the case of automatic recording volume adjustment, the recording level adjustment module 166 can automatically adjust the recording volume based on the scene analysis data received from the camera 130 and the ambient noise received from the monitoring recording track 163.
[0098] The recording track 167 may deliver the PCM audio data provided from the recording thread 162 to the encoder. The encoder may encode the delivered PCM audio data and store the encoded data in the memory 190. In addition, when a local recording level adjustment event is delivered, the recording track 167 may amplify or attenuate the PCM audio data by the recording level. Since the recording level adjusted in the recording track 167 is local, the recording level may only affect the recording volume of the application (App) corresponding to the corresponding recording track.
[0099] Meanwhile, the processor may include a visualization module. PCM audio data may be classified into microphone mode or directional mode and separated into channels. Preprocessing module 161 may determine a visualization mode and classify the extracted PCM audio data of each channel according to the corresponding mode. The visualization module may store each PCM channel classified according to the mode or visualize each PCM channel to display it on a display.
[0100] The recording thread 162 and the recording track 167 are described in detail below.
[0101] Figure 5 is a block diagram showing a process of controlling the volume of multiple microphones according to an embodiment of the present disclosure, and Figure 6 is a block diagram showing a process of controlling the volume of audio signals of multiple devices according to an embodiment of the present disclosure. Figure 5 and Figure 6 Give a description.
[0102] refer to Figure 5 , the electronic device may include multiple microphones, including a first microphone 120-1, a second microphone 120-2, and an nth microphone 120-n. In addition, the processor 160 may include an audio module 20 and a recording thread 162, and may include multiple recording tracks, including a first recording track 167-1, a second recording track 167-2, and an nth recording track 167-n.
[0103] For example, a single user's voice may be input through multiple microphones 120-1, 120-2, and 120-n of the electronic device. One input audio signal may be passed to the audio module 20. The audio module 20 may include an audio driver for converting the input audio signal into PCM audio data. The processor 160 may generate a recording thread 162 corresponding to the converted PCM audio data. Although the input audio signal is input through multiple microphones 120-1, 120-2, and 120-n, the input audio signal is the same audio signal. Therefore, in Figure 5 In the case of, a recording thread 162 can be generated. The processor 160 can generate a recording thread 162 into multiple recording tracks 167-1, 167-2 and 167-n. Each recording track can be used in each application. Therefore, when n tracks are generated, n applications can use the audio signal resource.
[0104] At the same time, as described above, when the distance between the electronic device and the external device is greater than or equal to the predetermined distance, the electronic device can obtain an audio signal from the external device. For example, the external device can receive an audio signal of an adjacent user (subject) through a microphone, and send the received audio signal to the electronic device through a communication interface. As an embodiment, Figure 6 As shown, the electronic device can obtain the audio signal of the first user through the multiple microphones 120 included in the electronic device, obtain the audio signal of the second user through the microphone 210 included in the second electronic device, and obtain the audio signal of the third user through the microphone 310 included in the Nth electronic device. The acquired user's audio signal can be passed to the audio module 20. The audio module 20 may include an audio driver and convert each input audio signal into PCM audio data. The processor 160 may generate a plurality of recording threads 162-1, 162-2, and 162-N corresponding to the converted PCM audio data. Each of the recording threads 162-1, 162-2, and 162-N may correspond to the audio signal input through the microphones 120, 210, and 310 of each device. The processor 160 may generate a plurality of recording tracks 1671, 1672, and 1673 for the recording threads 162-1, 162-2, and 162-N, respectively.
[0105] Therefore, the electronic device of the present disclosure can support multiple recordings.
[0106] Figure 7 is a flowchart showing a method of receiving information of an electronic device of a subject according to an embodiment of the present disclosure, Figure 8 is a diagram showing an embodiment of receiving information of an external device in a UWB communication manner, and Fig. 9 is a diagram showing a process of acquiring an audio signal of a distant subject according to an embodiment of the present disclosure. Figures 7 to 9 Give a description.
[0107] refer to Figure 7 , the electronic device may request data transmission from an external device (S710), and determine whether the external device supports UWB communication (S720). As an example, the electronic device may use UWB to identify the external device. The electronic device may determine ranging information and angle information about the external device through a UWB signal. The electronic device may request data transmission from one or more external devices, and determine whether the external device supports UWB communication. The external device may be a device located in an area near the subject. Alternatively, the external device may be a device owned (or possessed) by the subject.
[0108] The electronic device may change the UWB communication state information and communicate with the external device (S730). The electronic device may receive information in a UWB communication mode (S740). The electronic device may change the communication state information to UWB and start a specified communication with the external device. The electronic device may receive identification information from the external device through the UWB communication method. For example, the identification information may include subject information, and may include the name of the subject, the phone number, the facial image of the subject, and the unique information of the external device. In addition, the communication interface 110 may receive information about a peripheral device connected to the external device. The electronic device may send a request message to the external device and receive a response message. The electronic device may measure the message sending / receiving time and determine the distance from the external device based on the measured time. Since UWB is directional, the electronic device may receive location-related information (e.g., the direction of the external device, ranging information, and angle information), and may identify the external device based on the received location-related information. The electronic device may select the identified external device from a plurality of external devices. That is, the electronic device may receive an audio signal corresponding to the selected external device.
[0109] As an example, Figure 8 As shown, the user's electronic device 100 may be surrounded by Jane's smart phone 201, Tom's smart phone 202, Brown's smart phone 203, and Kate's smart phone 204. The electronic device may identify the locations and users of Jane's smart phone 201, Tom's smart phone 202, Brown's smart phone 203, and Kate's smart phone 204 through UWB communication. When the electronic device 100 selects Brown's smart phone 203, it may receive Brown's audio signal from Brown's smart phone 203.
[0110] At the same time, when the distance to the main body (or external device) is less than a predetermined distance, the electronic device can receive an audio signal through the microphone. When the distance to the main body (or external device) is greater than or equal to the predetermined distance, the electronic device can receive an audio signal through the microphone of the external device. As an example, Fig. 9As shown, the electronic device 100 can request the transmission of data and send / receive messages with the external device 200-1 of the main body in UWB communication mode. When the main body uses the wireless headset 200-3, the wireless headset 200-3 can be communicatively connected to the external device 200-1 of the main body. The external device 200-1 of the main body can send information about the wireless headset 200-3 to the electronic device 100. The electronic device 100 can recognize the presence of the wireless headset 200-3. In addition, the electronic device 100 can receive the audio signal of the main body through the wireless headset 200-3 and the external device 200-1. Alternatively, the electronic device 100 can directly receive the audio signal of the main body through the wireless headset 200-3.
[0111] The electronic device 100 may monitor the ambient noise in the monitoring recording track of the received audio signal.
[0112] Fig.10 is a diagram showing the level of a monitoring track according to an embodiment of the present disclosure.
[0113] Before the user starts sound recording or video recording, the electronic device can display the level of ambient noise in real time. The electronic device can provide the user with surrounding environment information during sound recording or video recording by providing a visualized volume level.
[0114] The electronic device may generate a monitoring track before starting sound recording or video recording. The monitoring track may analyze the peak level of the audio signal in units of frames in the preprocessing module. In addition, the electronic device may display the analyzed peak level in real time. The method for analyzing the amplitude of the audio signal may include a root mean square (RMS) analysis method and a peak level analysis method. Fig.10 As shown, the peak level refers to the maximum amplitude in real time, and RMS refers to the average amplitude of the interval. RMS can obtain the average audio level value of the interval, but it is not suitable for measuring the real-time audio level. At the same time, since the peak level calculates the audio energy in a short time, it is suitable for representing the real-time audio energy. Therefore, the electronic device of the present disclosure monitors the environmental noise and displays the peak level energy of the noise in real time.
[0115] Fig.11 is a flow chart showing a process of measuring a peak level of an audio signal according to an embodiment of the present disclosure. The peak level may refer to a maximum value during a frame period.
[0116] refer to Fig.11 , the electronic device 100 may initialize the peak level value to the minimum value (S1110). The electronic device may determine whether there is a next frame (S1120). If there is a next frame, the electronic device may determine whether the PCM value of the current frame is less than the peak level (S1130).
[0117] If the PCM value of the current frame is greater than the peak level, the electronic device can determine again whether there is a next frame (S1120). If the PCM value of the current frame is less than the peak level, the electronic device can change the PCM value of the current frame to the peak level (S1140) and determine again whether there is a next frame (S1120).
[0118] If there is no next frame, the electronic device may convert the peak level (S1150). In addition, the electronic device may visualize and display the peak level.
[0119] Meanwhile, when the recording function is already in use, the electronic device can omit the existing recording setting process.
[0120] Fig.12 is a diagram showing a recording process according to an embodiment.
[0121] When recording starts, the electronic device needs to set up various modules to process the audio signal. For example, the electronic device needs to set up (initialize) the codec, audio DSP, kernel driver, audio hardware abstraction layer (HAL), etc., and generate a recording thread 25 and a recording track 26. That is, the initial recording setting process may include at least one of the codec setting process 21, the audio DSP setting process 22, the kernel driver setting process 23, and the audio HAL setting process 24. Therefore, the electronic device may take time to set up the audio signal processing process, and a delay of several milliseconds to tens of milliseconds may occur after receiving a sound recording or video recording command.
[0122] If the electronic device has already used the recording function, the existing recording thread can be connected and the same data can be copied. That is, when the recording thread is active, the electronic device can omit the initial recording setup process and generate multiple recording tracks to process the acquired audio signal. In addition, the electronic device can form multiple recording threads by connecting multiple recording tracks related to the audio signal to the active recording thread. Therefore, the electronic device of the present disclosure can empirically reduce the time for the user to start sound recording and video recording by streamlining the preparation time of the kernel and audio signal processing.
[0123] Fig.13 is a flowchart illustrating a process of acquiring an audio signal according to an embodiment of the present disclosure.
[0124] refer to Fig.13, the electronic device may determine whether to use the recording function (S1310). For example, the electronic device may determine whether the recording thread is in an active state or an inactive state. If the recording thread is in an inactive state, the electronic device may generate a monitoring recording track (S1320). For example, if there is no recording in use, the electronic device may newly generate an environmental noise monitoring recording track.
[0125] The electronic device may connect a microphone path (S1330). For example, when a new recording track to be monitored is generated, the electronic device may control the moving path between the microphone module and the audio driver to obtain an audio signal from a specific microphone device. The electronic device may obtain audio data (S1340). The electronic device may perform a recording thread loop microphone data acquisition operation. For example, the electronic device may obtain the input signal of the microphone in real time by repeatedly performing a recording thread loop on the input signal of the connected microphone device at fixed time intervals.
[0126] The electronic device may perform preprocessing (S1350) on the acquired audio data. For example, the electronic device may process the received PCM audio data. As an embodiment, the electronic device may perform signal processing such as noise attenuation, filtering, and amplification on the PCM audio data. In addition, the electronic device may extract directional audio data using the signal difference (beamforming) between two or more microphone data.
[0127] Meanwhile, if the recording thread is active, the electronic device can generate repeated recording tracks (S1360). For example, if n applications all request a recording operation, the electronic device can omit the microphone path connection process (S1330) (or the initial recording setup process) and reuse the previously established microphone path. Therefore, the electronic device can generate n repeated recording tracks while reducing the setup time.
[0128] The electronic device may connect to an existing recording thread and copy the same data (S1370). For example, the electronic device may connect the generated repeated recording track to a sub-track of a previously generated recording thread loop. In addition, when the electronic device acquires microphone data (audio data), it may copy the same data and send it to each of the connected sub-tracks.
[0129] Fig.14 is a flowchart illustrating a process of analyzing an acquired audio signal according to an embodiment of the present disclosure.
[0130] The electronic device can analyze the received audio, extract and store the channels. For example, during a recording operation, the electronic device can classify the audio signal input from the Nth microphone according to directionality, object or microphone device, and measure the loudness of each sound.
[0131] refer to Fig.14 , the electronic device may perform a pre-processing function (S1410). For example, the electronic device may process the PCM audio data received from the audio driver in a pre-processing module.
[0132] The electronic device may determine the beamforming use condition (S1420). For example, the electronic device may determine whether the acquired PCM data satisfies the beamforming use condition. At least three physically fixed microphones are required to satisfy the beamforming use condition. The electronic device may check whether three or more microphone data exist in the received PCM data.
[0133] When the beamforming use condition is satisfied, the electronic device may perform a directional mode operation (S1430). For example, the electronic device may extract data for each direction (eg, eight directions) by applying beamforming to three or more microphone signals.
[0134] If the beamforming use condition is not met, the electronic device may perform a microphone mode operation (S1450). For example, the electronic device may separate each channel of the acquired PCM data into first microphone data, second microphone data, ..., nth microphone data. In addition, the electronic device may receive first microphone data, second microphone data, ..., Nth microphone data of the Nth external device from the Nth external device, and separate each microphone data. The electronic device may extract and store the PCM channel (S1440).
[0135] Fig.15 is a diagram showing channels of an audio signal according to an embodiment.
[0136] like Fig.15 As shown, separate audio signals may be stored for each directional channel or microphone channel.
[0137] For example, when the acquired audio signal meets the beamforming condition, the electronic device can separate the acquired audio signal into multiple directional channels based on directivity and store them. Alternatively, when the acquired audio signal does not meet the beamforming condition, the electronic device can separate the acquired audio signal into multiple microphone channels based on the number of microphones and store them.
[0138] Fig.16 is a flowchart illustrating a process of visualizing a level of an audio signal according to an embodiment of the present disclosure.
[0139] The electronic device can visualize and display the level of the audio signal. For example, the electronic device can determine the visualization mode by classifying the audio signal according to the directional mode or the microphone mode. In addition, the electronic device can classify and visualize the PCM data extracted according to the corresponding mode of each channel and display the channel with the level of the audio signal.
[0140] refer to Fig.16 , the electronic device may perform a visualization module operation (S1610). For example, the electronic device may use the acquired PCM channel data for a visualization module. The electronic device may separate the PCM channel data (S1620). For example, the electronic device may separate the acquired PCM channel data according to each channel.
[0141] The electronic device may calculate the channel level (S1630). For example, the electronic device may calculate the level of each channel for the separated PCM data. The electronic device may display a channel level screen (S1640). For example, the electronic device may map the object included in the image with the level value of the directional channel or the microphone channel using the level value of each channel. In addition, the electronic device may display the level value of the mapped object and the microphone channel.
[0142] Fig.17 is a diagram illustrating a UI including an audio signal level according to an embodiment of the present disclosure.
[0143] refer to Fig.17 , the electronic device may display an audio setting UI including an audio indicator 31 including an audio level value of a channel or an object, a microphone option type 32, a microphone sensitivity range 33, and a histogram 34. The audio indicator 31 includes an audio level value of a channel or an object.
[0144] The input level of the audio setting can have a value of 0dBFs to -48dBFs. dBFs has no reference value and represents a quantized dynamic range. The level should be prefixed with a minus sign, and the maximum value can be zero. 0dBFs refers to a state in which the level is maximized as data rather than voltage in the internal DSP processing, and dBFs can be a peak value. The microphone of the electronic device can have directionality. Therefore, the electronic device can display a UI of the option type 32 of the microphone, which displays omnidirectional, front and rear modes. The electronic device can include a USB and Bluetooth menu that displays the option type of the external microphone. The range 33 of the microphone sensitivity can be -12 to +12 (25 levels in total). The histogram 34 can display information about the brightness of the captured image.
[0145] In addition, the electronic device may also display a zoom rocker, a ratio, etc. The zoom rocker may adjust zoom in / out at a constant speed.
[0146] Therefore, the present disclosure allows the user to identify the microphone level by displaying the user microphone level. In addition, the present disclosure can always monitor the microphone volume in various scenarios (such as recording, voice recognition, call, VL OG+USB, BT, terminal MIC).
[0147] at the same time, Fig.17 The UI shown is an example, and the UI may be displayed in various forms depending on the shape of the electronic device, the size of the display, and the shape of the display. Alternatively, the menus included in the UI may be displayed in various arrangements and shapes.
[0148] Fig.18 is a flowchart illustrating a process of controlling a recording level according to an embodiment of the present disclosure.
[0149] The electronic device may receive and process events corresponding to the visual audio. For example, when sound recording or video recording begins, the electronic device may adjust the recording level. For example, the electronic device may adjust the audio level in response to a nearby subject and adjust the audio level in response to a distant subject.
[0150] refer to Fig.18 , the electronic device may determine whether the automatic recording level mode is selected (S1810). For example, the electronic device may determine whether the user has selected the automatic recording level control mode.
[0151] When the automatic recording level mode is selected, the electronic device may determine a noise level range (S1820). For example, the electronic device may obtain a volume level of ambient noise from a monitoring module. When the obtained volume level is within a noise level range specified by a user, the electronic device may perform automatic volume adjustment to avoid the noise level.
[0152] If the noise level range is not determined, the electronic device may control the volume by analyzing the acquired image (S1830). For example, in the case of video recording, the electronic device may analyze the acquired image to determine whether there are factors causing environmental noise. If there are noise causing factors, a volume adjustment operation may be performed. Alternatively, the electronic device may determine whether the object of the image is a person, an animal, or an object, and automatically control the volume of each factor.
[0153] The electronic device may perform a pre-processing volume adjustment operation (S1840). For example, when a noise level range is determined (S1820) or when the volume is controlled by analyzing an image (S1830), the electronic device may perform pre-processing volume adjustment. There may be a volume value of the audio signal for each channel, and the electronic device may control the volume value of each channel. That is, the electronic device may control the volume of each directional channel or each microphone channel.
[0154] Meanwhile, when the electronic device is not in the automatic recording level mode, it can determine whether a recording volume control event is received (S1850). For example, the electronic device can manually receive a volume control command. Manual control can be controlled through a volume adjustment window on the screen UI or through a hardware volume key.
[0155] When receiving the recording volume control event, the electronic device can determine whether to control the local track volume (S1860). For example, the electronic device can control the volume of a specific application only separately according to the user's command, and only control the volume of a specific recording track.
[0156] When receiving the local track volume control event (individual recording track volume control event), the electronic device can control the volume of the local recording track (S1870). For example, the electronic device can only control the volume of the audio data of the selected local recording track.
[0157] The electronic device may determine whether to terminate the recording (S188). When the electronic device determines that the recording has not been terminated, the electronic device may obtain the next audio data (S1340).
[0158] Therefore, the electronic device of the present disclosure can adjust the microphone volume while recording a video, and can adjust the microphone or recording level based on the ambient noise. In addition, even when using an external microphone device, the electronic device can record at a uniform level. In addition, the electronic device can control the microphone volume according to each operating situation.
[0159] Fig.19 is a flow chart showing a control method of an electronic device according to an embodiment of the present disclosure. The electronic device can communicate with an external device in a UWB manner.
[0160] refer to Fig.19 , the electronic device captures an image of a subject included in the vicinity of the external device (S1910). Then, the electronic device acquires ranging information and angle information about the external device based on the data received from the external device (S1920). For example, the electronic device may send a response request signal to the external device and receive a response signal. In addition, the electronic device may acquire ranging information based on a transmission / reception time from a transmission time of the response request signal to a reception time of the response signal.
[0161] The electronic device acquires image capture direction information based on the camera direction sensed by the sensor (S1930). At the same time, the electronic device can receive satellite positioning information to increase the accuracy of the image capture direction information. The electronic device identifies an external device for acquiring an audio signal of the subject based on the acquired image capture direction information, ranging information, and angle information (S1940).
[0162] The electronic device acquires the audio signal of the subject through a microphone or an external device based on a predetermined distance (S1950). For example, the electronic device may acquire the audio signal of the subject through a microphone when the distance to the external device is less than a predetermined distance, and acquire the audio signal of the subject through an external device when the distance to the external device is greater than or equal to the predetermined distance.
[0163] At the same time, the electronic device can identify whether the recording thread is in an active state. When the recording thread is in an inactive state, the electronic device can perform an initial recording setup process to store the acquired audio signal. For example, the initial recording setup process may include at least one of a codec setup process, an audio DSP setup process, a kernel driver setup process, and an audio hardware abstraction layer (HAL) setup process. The electronic device can generate a recording thread and generate multiple recording tracks for the generated recording thread. At the same time, when the recording thread is in an active state, the electronic device can omit the initial recording setup process and generate multiple recording tracks to process the acquired audio signal. In addition, the electronic device can form multiple recording threads by connecting multiple recording tracks related to the audio signal to the active recording thread.
[0164] The electronic device may use at least one recorded audio track associated with the acquired audio signal to identify the peak level of the audio signal. For example, the monitoring audio track may identify the peak level of noise in the surrounding environment.
[0165] The electronic device displays a UI indicating the amplitude of the acquired audio signal together with the captured image (S1960). The electronic device can display the identified peak level as the amplitude of the acquired audio signal. In addition, the electronic device can store the acquired audio signal. For example, the electronic device can store and display data related to the acquired audio signal based on the generated multiple recorded audio tracks.
[0166] When the acquired audio signal meets the beamforming condition, the electronic device can separate the acquired audio signal into multiple channels based on directivity and store it. If the acquired audio signal does not meet the beamforming condition, the electronic device can separate the acquired audio signal into multiple channels based on the number of microphones and store it.
[0167] At the same time, the electronics can control the volume of the audio signal for each recorded track or each channel.
[0168] Fig.20a is a diagram showing a UI for displaying a volume of an audio signal of an object according to an embodiment of the present disclosure, and Fig.20b A UI for controlling a volume of an audio signal of an object according to an embodiment of the present disclosure is described.
[0169] refer to Fig.20a , the electronic device can capture and display an image including a subject. In addition, the electronic device can receive direction information, angle information, and identification information of an external device through a UWB communication method. In addition, the electronic device can receive image capture direction information. The electronic device can acquire an audio signal and generate a recording thread and multiple recording tracks. For example, a recording thread may correspond to an audio signal acquired from a subject, and the recording tracks may correspond to multiple applications being executed. The electronic device can divide the audio signal into multiple channels based on a directional mode or a microphone mode according to a beamforming condition. The audio signal divided into multiple channels can be displayed as a visualized audio signal on a display through visualization processing, or stored in a memory. At the same time, the electronic device can identify the subject by analyzing the captured image. In addition, the subject and the audio signal can be mapped based on the image analysis information and the received information. In addition, as Fig.20a As shown in , the audio signal can be displayed by mapping the audio signal to the subject. Fig.20b As shown, the electronic device can control the audio signal of each body or each channel.
[0170] Fig.21 2 is a diagram showing an example of muting the sound of a photographer.
[0171] As an example, the electronic device may include a plurality of microphones, and the plurality of microphones may include a directional microphone. The directional microphone may acquire an audio signal based on a specific subject.
[0172] like Fig.21 As shown, the directional microphone can preferentially acquire the child's voice. In addition, the directional microphone can mute the mother's voice located in other directions. In addition, the electronic device can record the acquired voice. At the same time, the electronic device can display the peak level energy during real-time recording.
[0173] That is, the electronic device may include a directional microphone, and may remove audio signals acquired in directions other than the direction to which the directional microphone is pointed.
[0174] Fig. 22 is a diagram showing an embodiment of tracking and displaying sound according to the movement of a subject.
[0175] like Fig. 22 As shown, the electronic device can track and visualize the sound corresponding to the movement of the subject. The electronic device can track the subject using the audio obtained from the directional microphone and the face of the subject included in the image. The electronic device can record the sound of the target subject by tracking the subject and the subject's voice. In addition, the electronic device can display the peak level energy during real-time recording.
[0176] Fig.23 is a diagram showing an embodiment of individually displaying and controlling audio signals of a plurality of external devices.
[0177] refer to Fig.23 , the electronic device can connect one or more external devices and display or control audio signals at the same time. As described above, the electronic device can generate multiple multi-recording threads according to the number of audio signals, and generate multiple recording tracks under the multi-recording threads. In addition, the electronic device can separate the acquired audio signal into multiple channels. Therefore, the electronic device can display or store all audio signals acquired from multiple devices, and can control the acquired audio signals individually. In addition, the electronic device can display the peak level energy of the audio signal corresponding to each external device in real time.
[0178] The control method of the electronic device according to the above-mentioned various embodiments can be provided as a computer program product. The computer program product may include the S / W program itself or a non-transitory computer-readable medium storing the S / W program.
[0179] A non-transitory computer-readable medium is a medium in which data is stored semi-permanently, rather than a medium in which data is stored for a short period of time (e.g., a register, a cache, a memory, etc.), and can be read by a device. Specifically, the above-mentioned various applications or programs can be stored and provided in a non-transitory computer-readable medium, such as a compact disc (CD), a digital versatile disc (DVD), a hard disk, a Blu-ray disc, a universal serial bus (USB), a memory card, and a read-only memory (ROM).
[0180] Although the present disclosure has been described with reference to embodiments, the present disclosure is not limited to the aforementioned specific embodiments, and those skilled in the relevant art should understand that various modifications and changes may be made without departing from the scope of the present disclosure as defined by the appended claims, and these modifications and changes should not be understood separately from the technical spirit and prospects of the present disclosure.
Claims
1. An electronic device, include: A communication interface configured to communicate with an external device in an ultra-wideband (UWB) manner; a microphone configured to receive an audio signal; a camera configured to capture an image of a subject including those near the external device; and a sensor configured to detect a direction of the camera; a display configured to display the captured image; processor; as well as Memory, Wherein, the processor is configured to: acquiring ranging information and angle information about the external device based on data received from the external device, acquiring image capturing direction information based on the direction of the camera detected by the sensor, identifying an external device for acquiring an audio signal of the subject based on the acquired image capturing direction information, ranging information, and angle information, When the distance to the external device is less than a predetermined distance, the microphone is controlled to acquire an audio signal of the main body, and When the distance to the external device is greater than or equal to a predetermined distance, controlling the communication interface to acquire an audio signal of the main body input to the external device, and controlling the display to display a user interface UI indicating the amplitude of the acquired audio signal together with the captured image, The processor is further configured to: identify whether the recording thread is in an active state, and based on identifying that the recording thread is not in the active state, perform an initial recording setup process to store the acquired audio signal in the memory, generate the recording thread, and generate multiple recording audio tracks for the generated recording thread.
2. The electronic device according to claim 1, in, The processor is configured to store data related to the acquired audio signal in the memory based on the generated plurality of recorded audio tracks, and to display the data on the display.
3. The electronic device according to claim 2, in, The initial recording setting process includes at least one of a codec setting process, an audio DSP setting process, a kernel driver setting process, or an audio hardware abstraction layer HAL setting process.
4. The electronic device according to claim 2, in, When the recording thread is in an active state, the processor is configured to: omit the initial recording setting process, generate multiple recording audio tracks related to the acquired audio signal, and connect the multiple recording audio tracks related to the audio signal to the recording thread in the active state to form multiple recording threads.
5. The electronic device according to claim 2, in, The processor is configured to identify a peak level of the audio signal using at least one recorded audio track associated with the acquired audio signal.
6. The electronic device according to claim 5, in, The processor is configured to control the display to display the identified peak level as the amplitude of the acquired audio signal.
7. The electronic device according to claim 2, in, The processor is configured to: when the acquired audio signal satisfies a beamforming condition, separate the acquired audio signal into a plurality of channels based on directivity and store the plurality of channels; and When the acquired audio signal does not satisfy the beamforming condition, the acquired audio signal is separated into a plurality of channels based on the number of microphones and the plurality of channels are stored.
8. The electronic device according to claim 7, in, The processor is configured to control the volume of the audio signal of each recorded audio track or each channel.
9. The electronic device according to claim 1, in, The processor is configured to control the communication interface to send a response request signal to the external device and receive a response signal, and The processor is configured to acquire the ranging information based on a transmission / reception time from a time when the response request signal is transmitted to a time when the response signal is received.
10. The electronic device according to claim 1, in, The microphone comprises a directional microphone, and The processor mutes audio signals acquired in directions other than the direction in which the directional microphone is pointed.
11. A control method for an electronic device that communicates with an external device in an ultra-wideband (UWB) manner, the control method include: capturing, by a camera of the electronic device, an image of a subject including one near the external device; acquiring ranging information and angle information about the external device based on data received from the external device; acquiring image capturing direction information based on a direction of a camera detected by a sensor of the electronic device; identifying an external device for acquiring an audio signal of the subject based on the acquired image capturing direction information, ranging information, and angle information; When the distance to the external device is less than a predetermined distance, the microphone of the electronic device is controlled to obtain the audio signal of the main body, and when the distance to the external device is greater than or equal to the predetermined distance, the audio signal of the main body is obtained through the external device, and displaying a user interface UI indicating the amplitude of the acquired audio signal together with the captured image, Wherein, the control method further includes: Identify whether the recording thread is active; Based on identifying that the recording thread is not in the active state, performing an initial recording setup process to store the acquired audio signal in a memory of the electronic device; generating the recording thread; and A plurality of recording audio tracks are generated for the generated recording thread.
12. The control method according to claim 11, further comprising: include: Data related to the acquired audio signal is stored and displayed based on the generated plurality of recorded audio tracks.
13. The control method according to claim 12, in, The initial recording setting process includes at least one of a codec setting process, an audio DSP setting process, a kernel driver setting process, or an audio hardware abstraction layer HAL setting process.
14. The control method according to claim 12, further comprising: include: When the recording thread is in an active state, omitting the initial recording setup process and generating a plurality of recording tracks for processing the acquired audio signal; as well as In the process of generating the recording threads, the plurality of recording tracks related to the audio signal are connected to the recording threads in an active state to form a plurality of recording threads.
15. The control method according to claim 12, further comprising: include: A peak level of the audio signal is identified using at least one recorded audio track associated with the acquired audio signal.
