Microphone switching for translation
Dynamic microphone switching in translation applications ensures high-quality audio input by selecting the optimal microphone based on signal quality and noise levels, improving translation accuracy and efficiency.
Patent Information
- Application Number
- JP2026079070
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2026-03-13
- Filing Date
- 2026-05-08
- Publication Date
- 2026-11-27
AI Technical Summary
Existing translation applications struggle with providing high-quality audio input for translation, especially in environments where microphones are obstructed or multiple speakers are involved, leading to suboptimal translation experiences.
Dynamic control of audio input switching between local and remote microphones based on signal quality, noise levels, and user voice presence, ensuring the highest quality audio signal is selected for translation.
Enhances translation quality by selecting the best microphone for audio input, saving processing and battery power while providing a more natural conversational experience.
Smart Images

Figure 2026185817000001_ABST
Abstract
Description
[Technical Field]
[0001] (Cross-reference to Related Applications) This application claims the benefit of U.S. Provisional Application No. 63 / 806,596, filed on May 15, 2025, entitled "MICROPHONE SWITCHING FOR TRANSLATIONS", the entire disclosure of which is incorporated herein by reference.
[0002] This disclosure relates generally to audio devices, and more particularly, to microphone switching for translation, for example. [Background Art]
[0003] Electronic devices may include translation applications that can translate text written in one language into text written in another language. Some translation applications can translate utterances spoken in one language into text written in another language. [Brief Description of Drawings]
[0004] Certain features of the technology disclosed herein are set forth in the appended claims. However, for purposes of illustration, some embodiments of the technology are illustrated in the following figures.
[0005] [Figure 1] 1 is an example system architecture including various electronic devices that may implement the system of the present disclosure, in accordance with one or more implementations.
[0006] [Figure 2] FIG. 4 is a schematic diagram illustrating a use case in which a translation operation involving multiple microphones of multiple respective devices is performed, according to an implementation of the technology of the present disclosure.
[0007] [Figure 3]This is a schematic diagram illustrating another use case in which a translation operation involving multiple microphones in multiple devices is performed according to an implementation of the technology of the present invention.
[0008] [Figure 4] This is a schematic diagram showing an electronic device that performs translation operations according to one or more implementations of the technology of the present invention.
[0009] [Figure 5A] This timing diagram shows exemplary input to a translation application in a first use case involving redundant utterances, using one or more implementations of the technology of the present invention.
[0010] [Figure 5B] This is another timing diagram illustrating exemplary input to a translation application in a first use case involving redundant utterances, using one or more implementations of the technology of the present invention.
[0011] [Figure 6] This is a timing diagram showing input to a translation application in a second use case involving redundant utterances, using one or more implementations of the technology of the present invention.
[0012] [Figure 7] This is a schematic diagram showing an electronic device that performs bidirectional translation operation according to one or more implementations of the technology of the present application.
[0013] [Figure 8] This timing diagram shows an electronic device that controls input to a translation application in a use case of bidirectional translation involving repetitive utterances, based on one or more implementations of the technology of the present invention.
[0014] [Figure 9] This invention provides an example of an electronic device that provides notification in one or more forms of implementation of the present technology.
[0015] [Figure 10]A flow diagram of an exemplary process for microphone switching for translation, according to one or more implementations of the technology of the present application.
[0016] [Figure 11] A flow diagram of an exemplary process for performance translation, according to one or more implementations of the technology of the present application.
[0017] [Figure 12A] An aspect of an example of dynamic control of a field of view of a beam for processing a microphone signal, according to one or more implementations of the technology of the present application. [Figure 12B] An aspect of an example of dynamic control of a field of view of a beam for processing a microphone signal, according to one or more implementations of the technology of the present application.
[0018] [Figure 13A] Another example aspect of dynamic control of a field of view of a beam for processing a microphone signal, in accordance with one or more implementations of the technology of the present application. [Figure 13B] Another example aspect of dynamic control of a field of view of a beam for processing a microphone signal, in accordance with one or more implementations of the technology of the present application.
[0019] [Figure 14] A flow diagram of an exemplary process for dynamic control of a field of view of a beam for processing a microphone signal, according to one or more implementations of the technology of the present application.
[0020] [Figure 15] Fig. 11 illustrates an electronic system in which one or more implementations of the techniques of the present application may be implemented. DETAILED DESCRIPTION
[0021] The detailed descriptions below are intended to describe various configurations of the present invention and are not intended to represent only one configuration in which the present invention can be practiced. The accompanying drawings are incorporated herein and constitute some of the embodiments for carrying out the invention. The embodiments for carrying out the invention include certain details to provide a complete understanding of the present invention. However, the present invention is not limited to the certain details shown herein and can be realized using one or more other implementations. In one or more implementations, the structure and components are shown in block diagram form to avoid obscuring the concepts of the present invention.
[0022] The implementations of the technology described herein provide dynamic control of audio input to a translation application. For example, a translation application may operate on an electronic device and be configured to generate translated audio output in response to receiving audio input. Dynamic control of audio input can help provide the highest quality audio signal for translation and / or provide the user with a more natural conversational style translation experience.
[0023] For example, audio input to a translator in a first device (e.g., a portable electronic device such as a smartphone) may be switched between a first microphone signal from a first microphone of the first device, a second microphone signal from a second microphone of a second device (e.g., an audio output device such as earphones or headphones, or a head-mounted device), and / or no input. As will be explained in more detail below, switching between the first and second microphone signals can help provide the highest quality audio signal for translation by selecting the microphone that is physically closest to the person speaking and / or a microphone positioned to receive the person's speech along an unobstructed acoustic path. As will be explained in more detail below, switching between a microphone signal and no signal can help save processing and / or battery power while providing the user with a more natural conversational style translation experience.
[0024] Switching may be based on a first microphone signal, a second microphone signal, and / or other signals such as a context signal, and may be performed at various times throughout the translation session using the translation application. For example, switching may be based on the signal-to-noise ratio of one or both microphone signals, the noise level detected using one or both microphones, and / or the presence of the user's own voice in one or both microphone signals. Switching may also be based on one or more other input selection criteria and / or signals, such as the state of the translator application on the first device, the physical state of the first device, the activation trigger of the translator application, and / or other criteria that may be based on information from the processor and / or one or more sensors of the first device.
[0025] Figure 1 shows an exemplary system architecture 100, including various electronic devices that can implement the system of the present application, relating to one or more implementation forms. However, not all of the depicted components are to be used in all implementation forms, and one or more implementation forms may include additional or different components than those shown in the figure. Variations in the configuration and type of components can be made without departing from the spirit or scope of the claims set forth herein. Additional, different, or fewer components may be provided.
[0026] The system architecture 100 includes an audio device 150, an electronic device 104 (e.g., a handheld electronic device such as a smartphone or tablet), an electronic device 110, an electronic device 115, and a server 120, all of which are communicably coupled by a network 106 (e.g., a local or wide area network). For illustrative purposes, the system architecture 100 is shown in Figure 1 as including the audio device 150, electronic device 104, electronic device 110, electronic device 115, and server 120; however, the system architecture 100 may include any number of electronic devices and / or audio devices, and any number of servers, or a data center including multiple servers.
[0027] The audio device 150 may be implemented as headphones (e.g., a pair of speakers mounted in speaker housings coupled together by a headband) or earphones (e.g., earphones of a pair of earphones, each having a speaker housed in a housing that fits the user's ear). Each audio device 150 may include one or more speakers, such as speaker 152, configured to emit sound into the ears of user 101, and one or more sensors, such as sensor 151. Sensor 151 may include one or more microphones configured to receive audio input (e.g., based on the user's own voice, ambient sounds, and / or other external audio inputs). Sensor 151 may include other sensors, such as inertial measurement unit (IMU) sensors (e.g., accelerometers, magnetometers, and / or gyroscopes). In one or more implementations, the audio device 150 may be integrated with and / or communicatively coupled (for example, and collaboratively coupled) with another device, such as a smartwatch, smart ring, or wearable device such as a head-mounted device (HMD), which includes one or more displays for displaying visual content (e.g., movies, shows, other video content, and / or game content) corresponding to the audio content output by the audio device 150. In one or more implementations, if the audio device 150 is implemented as a head-mounted device, the head-mounted device may include one or more interfaces for mechanically coupling its housing to one or more structures (e.g., straps, arms, or other attachment mechanisms) configured to secure the housing to the wearer (e.g., the wearer's head).In one or more implementations, a head-mountable device may be realized as smart glasses (a device that may be provided with one or more lenses or other transparent elements mounted on a frame such as eyeglasses or sunglasses frames) through which the user can directly view their physical environment, and the displayed content may be displayed in combination with (e.g., overlaid on and / or integrated with) the user's direct view of the physical environment through the lenses or other transparent elements. For example, in one implementation, an audio device may be provided as a single pair of smart glasses having one or more speakers 152 and one or more microphones 206, and the lenses mounted on a frame having arms may be provided as transmissive displays or arranged so that display content (e.g., virtual content) can be displayed and / or projected onto them.
[0028] Although not shown in Figure 1 (see, for example, Figure 2), each audio device may include processing circuits (e.g., including memory and / or one or more processors) and communication circuits (e.g., one or more antennas, etc.) for receiving and / or processing audio content and / or control signals from one or more of the electronic devices 104, 110, 115, and / or the server 120, and / or for providing audio data and / or other signals to the electronic devices 104, 110, 115, and / or the server 120. The processing circuit of audio device 150 can operate speaker 152 to produce sound. Memory may store one or more machine learning models and / or one or more rule-based processes for performing one or more operations described herein.
[0029] The audio device 150 may include a communication circuit for communication with electronic device 104, electronic device 110, electronic device 115, and / or server 120 (for example, directly or via network 106), the communication circuit including one or more wireless interfaces such as a WLAN radio, a cellular radio, a Bluetooth radio, a Zigbee radio, a Near Field Communication (NFC) radio, and / or other wireless radios. The electronic devices 104, electronic device 110, electronic device 115, and / or server 120 may include a communication circuit for communication with the audio device 150 and / or with other electronic devices 104, electronic device 110, electronic device 115, and / or server 120 (for example, directly or via network 106), the communication circuit including one or more wireless interfaces such as a WLAN radio, a cellular radio, a Bluetooth radio, a Zigbee radio, a Near Field Communication (NFC) radio, and / or other wireless radios.
[0030] In one or more implementations, the audio device 150 may also include one or more machine learning models trained to recognize the voice of user 101, any of the various oral commands from the voice of user 101, and / or any of the various standardized sounds such as police or ambulance sirens, smoke or fire alarms, and / or travel announcements (e.g., station announcements or bus stop announcements).
[0031] The audio device 150 can be communicatively coupled to companion devices such as electronic devices 104, 110, and / or 115. Such companion devices can generally contain more computing resources and / or available power compared to the audio device 150. In one or more implementations, the memories of electronic devices 104, 110, and / or 115 may store code and / or instructions for one or more applications, such as translation applications. In one or more implementations, the memories of electronic devices 104, 110, and / or 115 may store one or more machine learning models trained to perform one or more parts of the translation operations described herein. Electronic devices 104, 110, and / or 115 may also include one or more machine learning models trained to recognize the voice of user 101, any of the various oral commands from the voice of user 101, and / or any of the various standardized sounds, such as police or ambulance sirens, smoke or fire alarms, travel announcements (e.g., station announcements, or bus stop announcements), based on audio data received from audio device 150.
[0032] The audio device 150 can operate in various modes. For example, the audio device 150 can operate in a first operating mode (e.g., a pass-through operating mode), in which ambient sounds are passed to the user's ears (one or more) by the speaker(s) of the audio device 150. In this first operating mode, audio content such as translated audio and / or media content (e.g., received from electronic device 104) may be output by the speaker(s) 152 of the audio device 150 without noise cancellation content, allowing external sounds to pass through to the user and / or amplify external sounds while the audio content is being played. The audio device 150 can also operate in a second operating mode (e.g., a noise cancellation operating mode such as active noise cancellation (ANC) operation, which may be adaptive ANC operation that adaptively cancels residual ambient noise using error signals from error microphones) in which ambient sounds received by one or more microphones of the audio device 150 are canceled or suppressed to prevent ambient sounds from reaching the user's ears. In this second operating mode, audio content (e.g., translated audio content and / or media content such as music, podcasts, audio associated with applications, games, and videos) may be played back by the audio device in combination with noise-canceling content (e.g., noise-canceling content generated based on ambient sounds received by one or more microphones of the audio device 150 in order to disruptively interfere with ambient sounds and thereby cancel them out).
[0033] The audio device 150 may also include one or more sensors, such as a touch sensor and / or force sensor, for receiving user input. For example, the user / wearer of the audio device 150 can tap the touch sensor or briefly pinch the force sensor to control the audio content being played, control the volume of playback, start or end a translation session, and / or switch between transparent operation mode and noise cancellation operation mode. In one or more implementations, the user can press down the force sensor while the audio device is operating in noise cancellation operation mode to temporarily switch to transparent operation mode until the force sensor is released. In one or more implementations, the user 101 can provide input to the sensor(s) 151 in the audio device 150 and / or in companion devices such as electronic device 104, electronic device 110, and / or electronic device 115 to enable or disable translation operation.
[0034] The electronic device 104 may be, for example, a portable computing device such as a smartphone, laptop computer, peripheral devices (e.g., digital camera, headphones), tablet device, smartwatch, smart band, or any other suitable device including processing and / or communication circuits for providing audio content to an audio device (one or more) 150. In Figure 1, the electronic device 104 is shown as an example mobile smartphone device having a touchscreen. In one or more implementations, the electronic device 104 and / or the audio device 150 may be, and / or include all or part of, the electronic devices discussed below with respect to the electronic system discussed below with respect to Figure 11.
[0035] The electronic device 110 may be, for example, a portable computing device such as a smartphone, a tablet device, a laptop computer, a peripheral device (e.g., a digital camera, headphones), a wearable device such as a tablet device, a smartwatch, or a smart band, or any other suitable device including processing and / or communication circuits for providing audio content to an audio device (one or more) 150. In Figure 1, the electronic device 110 is shown as an example, a tablet device having a touchscreen. In one or more implementations, the electronic device 104 and / or the audio device 150 may be, and / or include all or part of, the electronic devices discussed below with respect to the electronic system discussed below with respect to Figure 11.
[0036] The electronic device 115 may be, for example, a desktop computer, a portable computing device such as a laptop computer, a smartphone, a peripheral device (e.g., a digital camera, headphones), a tablet device, a home hub device, or a wearable device such as a watch or band. In Figure 1, the electronic device 115 is depicted as a desktop computer as an example. However, this is merely illustrative. In some implementations, the electronic device 115 may be realized as a home control device (e.g., a hub device or other device) that is communicatively coupled to one or more network-connected devices in a home or building and configured to generate control signals for operating one or more network-connected devices. The electronic device 115 may also be, and / or include all or part thereof, the electronic system discussed below with respect to Figure 11.
[0037] In one or more implementations, two or more of the devices in Figure 1 may be owned by and / or registered to the same user's account. For example, audio device 150 and electronic device 104 (e.g., and / or electronic device 110 and / or electronic device 115) may be owned by user 101's account, registered (e.g., with server 120), and / or logged in to.
[0038] Server 120 can form all or part of a network of computers or a group of servers 130, such as a cloud computing implementation or a data center implementation. For example, Server 120 stores data and software and includes specific hardware (e.g., a processor, graphics processor, and other dedicated or custom processors for user authentication and / or authorization, account services, and / or streaming media content to electronic device 104, electronic device 110, and / or electronic device 115). In one implementation, Server 120 may function as a cloud storage server. In one or more implementations, Server 120 may store a machine learning model trained to translate audio data containing utterances in one or more first languages (e.g., English, French, Spanish, Dutch, German, Swedish, Hindi, one or more Chinese languages) into audio data containing computer-generated utterances in one or more second languages (e.g., one or more other languages from English, French, Spanish, Dutch, German, Swedish, Hindi, one or more Chinese languages). A translation model may be configured to translate one language to one other language, multiple different languages to one language, or multiple different languages to multiple other different languages. In one or more implementations, audio device 150, electronic device 104, electronic device 110, and / or electronic device 115 can obtain one or more translation models for execution on audio device 150, electronic device 104, electronic device 110, and / or electronic device 115. For example, user 101 can select from one or more target translation languages using the user interface of a translation application on audio device 150, electronic device 104, electronic device 110, and / or electronic device 115, thereby causing the device to download the corresponding translation model(s) for those one or more selected target translation applications.For example, an English-speaking person can download an English-French translation model to audio device 150, electronic device 104, electronic device 110, and / or electronic device 115 before or during a trip to France or another French-speaking country.
[0039] Figure 2 shows an exemplary use case in which an electronic device 104 acts as a companion device to a user's audio device 150 during translation operation, according to an aspect of the present disclosure. As shown in Figure 2, the audio device 150 may include a processing circuit 202, a speaker 152, one or more sensors 204, and / or one or more microphones 206. For example, the sensors 204 and microphones 206 may be an implementation of the sensor 151 in Figure 1. As shown, the audio device 150 may include a plurality of microphones 206. The plurality of microphones 206 may include a microphone 206 positioned (e.g., behind the speaker 152) to receive ambient sounds, a microphone 206 positioned (e.g., closest to the wearer's mouth) to receive voice input from the wearer, and / or a microphone 206 positioned (e.g., in front of the speaker 152) as an error microphone to detect sounds in or near the wearer's ear canal (e.g., residual sounds or uncancelled ambient sounds). The sensor(s) 204 may include inertial measuring unit (IMU) sensors (e.g., accelerometer, magnetometer, and / or gyroscope), proximity sensors, touch sensors, force sensors, and / or other sensors. In the example of Figure 2, the audio device 150 is implemented as an earphone and may be one of a pair of earphones having the same or similar components and configured for wired or wireless communication between the pair of earphones.
[0040] The electronic device 104 may include a processing circuit 210, a memory 212, a communication circuit 215, one or more speakers 216, one or more microphones 214, and / or one or more sensors 218. As shown in the figure, the electronic device 104 may include multiple microphones 214 in various locations. The sensor(s) 218 may include an optical sensor, an inertial measuring unit (IMU) sensor (e.g., an accelerometer, a magnetometer, and / or a gyroscope), a proximity sensor, a touch sensor, a force sensor, and / or other sensors.
[0041] In the example in Figure 2, user 101 may be attempting to converse with person 201, who is not user 101. In one exemplary use case, user 101 may be able to speak and understand one language, such as English, and person 201 may be able to speak and understand a different language, such as Spanish. User 101 may not be able to speak or understand person 201's other language (for example, or may have only limited ability to speak and understand it). For example, to enable such a conversation, electronic device 104 can perform a translation operation that translates utterances from person 201 in a second language (for example, Spanish) (including, for example, words, phrases, sentences, etc.) into an audio output that includes a computer-generated translation of person 201's utterances in the second language into a first language (for example, English).
[0042] For example, the voice 222 of person 201 may be received by one or more microphones 206 of audio device 150 and / or by one or more microphones 214 of electronic device 104. Input audio data, such as microphone signals containing a representation of the voice 222 of person 201, may be transmitted from audio device 150 to electronic device 104 (e.g., a companion device). A translation application running in electronic device 104 can generate translated audio data in response to receiving input audio data from audio device 150 and / or microphone signals from microphones 214 of electronic device 104. As shown, the translated audio data may be transmitted from electronic device 104 to audio device 150. The speaker 152 of audio device 150 can then generate an audio output 225 corresponding to the translated audio data, which includes a computer-generated translation of the voice 222 of person 201. In this way, the electronic device 104 and the audio device 150 enable user 101 to understand person 201's speech in virtually real time (for example, with a delay of 1 second, 2 seconds, or less) even when person 201 is speaking in a language that user 101 does not understand.
[0043] In the example in Figure 2, for the sake of simplicity in the initial explanation, the only sound shown as being received by microphone 206 of audio device 150 and microphone 214 of electronic device 104 is the voice of person 201. In this example, both microphone 206 of audio device 150 and microphone 214 of electronic device 104 receive the voice 222 of person 201. However, as shown in Figure 3, the translation operation using electronic device 104 and audio device 150 does not always occur when the voice 222 of person 201 is the only sound received by the microphones, or when the microphones of both devices receive the voice 222.
[0044] For example, user 101 may also speak at some point while person 201 is speaking in their own voice 222 (e.g., overlapping utterances may occur). In such use cases, user 101's voice 324 may also be received by microphone 206 of audio device 150 (e.g., overlapping or partially overlapping with person 201's voice 222). Voice 324 may also be received by one or more of the microphones 214 of electronic device 104.
[0045] Figure 3 also shows how, in several use cases, an obstacle 300 (e.g., a container or other object) may block or suppress the voice 222 of person 201 from reaching the microphone 214 of electronic device 104. For example, electronic device 104 may be located one or more times inside a container such as a pocket, bag, handbag, backpack, or other container. In these exemplary use cases, the microphone 214 of electronic device 104 may be physically prevented from receiving part or all of the voice 222 of person 201.
[0046] For example, as shown in Figure 3, the voice 222 of person 201 may be received in combination with other sounds (including, for example, the voice 324 of user 101), and / or the microphone 214 of electronic device 104 may be blocked or obstructed to varying degrees. Therefore, it may be beneficial to be able to variably and / or dynamically control which microphone provides audio input to the translation application in electronic device 104 (based on, for example, the state in the physical environment surrounding electronic device 104 and audio device 150). Aspects of the present invention can provide dynamic control of input to the translation application in a manner that adaptively responds to changes in the state of electronic device 104 and / or changes in the state of the sound environment surrounding audio device 150 and / or electronic device 104.
[0047] For example, Figure 4 is a block diagram of the electronic device 104 showing various operations that may be performed by the electronic device 104 during translation operation. Various parts of the architecture in Figure 4 can be implemented in software, firmware, and / or hardware, including one or more processors and a memory device containing instructions that, when executed by the processors, cause the processors to perform the operations described herein. For example, in Figure 4, a trapezoidal box may indicate that a microphone 214, a speaker 216, one or more sensors 218, a communication circuit 215, and an IMU 411 may be hardware components, and a rectangular box may indicate that one or more signal analyzers (SAs) 407, one or more voice activity detectors (VADs) 408, a condition detector 406, an input controller 400, and a translator application 402 may be implemented in software, including by the execution of instructions by one or more processors (e.g., the processing circuit 210 in Figure 2) and a memory device (e.g., memory 212), which contain instructions that, when executed by the processors, cause the processors to perform the operations described herein.
[0048] As shown in Figure 4, one or more microphones 214 of the electronic device 104 may receive direct audio input, such as the voice 222 of person 201 in Figures 2 and / or 3. As shown, the communication circuit 215 of the electronic device may also receive incoming audio data, such as input audio data from the audio device 150 as shown in Figures 2 and 3. For example, the input audio data may be encoded microphone signals from one or more microphones 206 of the audio device 150. Direct audio input may include the voice 222 of person 201 when person 201 is speaking, and may also include the voice 324 of user 101 when person 201 is speaking. Incoming audio data from the audio device 150 may include the voice 222 of person 201 when person 201 is speaking, and may also include the voice 324 of user 101 when user 101 is speaking (for example, in use cases where the audio device 150 is mainly worn by user 101).
[0049] As shown in the figure, the electronic device 104 may include an input controller 400 that controls the input to the translator application 402. In the example in Figure 4, the input controller 400 is shown separately from the translator application 402. In one or more other implementations, some or all of the functions of the input controller 400 described herein may be performed by the translator application (for example, to internally control the input to the translation block 452 of the translator application). The input controller 400 can dynamically control the input to the translator application continuously, periodically, and / or in response to one or more decision point triggers during translation operation. For example, decision point triggers may include the start of a translation session, a change in the state of the translator application 402, a change in the quality and / or content of microphone signals from various microphones, and / or a change in the state of the electronic device 104.
[0050] In one or more implementations, the translator application 402 may include one or more machine learning models and / or one or more rule-based processes trained and / or programmed to (i) receive audio input containing audio content in a first language, and (ii) produce a corresponding audio output containing a computer-generated version of the audio content translated into a second language different from the first language. For example, the translator application 402 may include an automatic speech recognition (ASR) 450 that converts utterances expressed as microphone signals into text, a translation block 452 that translates text in the first language into translated text in the second language, and a speech generator 454 that generates an audio signal (e.g., translated audio data) based on the translated text in the second language. However, this example of the functionality of the translator application is illustrative, and in other implementations, the translator application may generate translated audio data in a different way (for example, using a machine learning model trained to generate translated audio data directly from input audio data without first converting the input audio data to text). In various implementations, the translation block 452 may be configured (e.g., trained) to perform direct translation of words and / or phrases into a second language, or it may include a large language model (e.g., on the device, or off the device with explicit permission from the people whose voices(singular or plural) should be translated) that translates the meaning of utterances in the first language into corresponding words in the second language. As illustrated, the translated audio data generated by the translator application 402 may be provided to the communication circuit 215 for transmission to the audio device 150 (e.g., encoding). For example, when (e.g., decoded) and provided to the speaker 152 of the audio device 150, the translated audio data may cause the speaker 152 to generate sounds that mimic the voice of the person speaking the translated text.
[0051] As shown in Figure 4, the input controller 400 may include a switch 404 (e.g., a digital switch or a software switch). The switch 404 may be controlled by a control signal generated by a condition detector 406 of the input controller 400. As shown in the figure, the control signal can control the switch 404 to selectively provide to the translator application 402 (e.g., to the translation block 452 of the translator application) one of the following: a local microphone signal from the microphone(s) 214 of the electronic device 104, a remote microphone signal derived from incoming audio data from the audio device 150, or a null input 410 to the translator application.
[0052] As shown in the figure, the condition detector 406 can receive a variety of input signals that can be used by the condition detector 406 to control the switch 404 (for example, to select an input to the translator application 402). As shown, the input signals to the condition detector 406 may include signal analysis information from one or more signal analyzers 407 (e.g., one or more noise levels (sound pressure level or SPL) and / or one or more signal-to-noise ratios (SNR) of one or more of the local microphone signals and / or remote microphone signals), one or more voice activity detection signals from one or more VADs 408 (e.g., VAD1, VAD2), one or more sensor signals from one or more sensors 218, one or more IMU signals from IMU 411 (e.g., orientation and / or motion signals), and / or application state information from the translator application.
[0053] In one or more implementations, the condition detector 406 may determine device state information about the electronic device 104 based on sensor signals (one or more) from the sensor(s) 218 and / or IMU signals from the IMU 411. In one or more other implementations, the device state information may be determined by a separate process in the electronic device 104 and provided to the condition detector 406.
[0054] For example, the condition detector 406 may use sensor signals and / or IMU signals to determine whether the electronic device 104 (e.g., and / or one or more of its microphones 214) is under obstructed conditions (e.g., in a pocket or bag that could obstruct one or more of the microphones 214) or unobstructed conditions (e.g., in the hand of user 101 or person 201, or on a table or surface near or between user 101 and person 201). For example, the sensor(s) 218 may include one or more proximity sensors. Proximity sensor signals may be used to determine whether an object (e.g., inside a container such as a pocket or bag) is in contact with or close to (e.g., within 1 centimeter) the electronic device 104, thereby indicating that the electronic device 104 is in an obstructed state. In one or more implementations, the condition detector 406 may use other information to determine and / or confirm the obstructed / unobstructed conditions of the electronic device 104. For example, the electronic device 104 can perform one or more acoustic tests that compare the microphone signals of multiple microphones 214 (for example, depending on a predetermined output of one or more speakers 216) to determine whether one or more of the electronic device's microphones 214 are blocked or obstructed. As another example, if the IMU signal indicates that the electronic device 104 is facing downwards, the condition detector 406 can determine that the electronic device 104 is not obstructed (for example, placed face down on a table or surface), even if the proximity sensor signal indicates that the surface of the electronic device is in close proximity to an object (for example, a table or surface).As another example, if the IMU signal indicates that the electronic device 104 is moving with characteristic hand movements of user 101 (e.g., walking motion or hand movements during conversation), the condition detector 406 can determine that the electronic device 104 is not obstructed (e.g., being held by user 101 or person 201) even if the proximity sensor signal indicates that an object (e.g., a hand) is in proximity to one or more parts of the electronic device 104 (e.g., due to the user's hand or fingers covering the proximity sensor while leaving the microphone(s) 214 unobstructed).
[0055] In one or more implementations, the condition detector 406 can use other input signals to determine and / or confirm whether the electronic device 104 is under a blocked or unblocked condition. For example, application state information received from a translator application may indicate the state of the user interface of the translator application. For example, the application state information may indicate that the user interface of the translator application is active and / or displayed in the foreground of the display of the electronic device 104, thereby indicating that the electronic device 104 is unblocked (for example, in combination with the other signals mentioned above that indicate the device is unblocked, and / or one or more of the other signals indicate that the device may be under a blocked condition). In use cases where the application state information indicates that the user interface of the translator application is minimized, locked, or in the background, the user interface state information may contribute to indicating or confirming other input signals that indicate the electronic device 104 is under a blocked condition. As another example, the condition detector 406 can receive an indication that the electronic device 104 is unlocked, thereby contributing to an indication or confirmation that the electronic device 104 is unobstructed (for example, in combination with the other signals mentioned above that indicate the device is unobstructed, and / or one or more of the other signals indicate that the device may be in an obstructed state).
[0056] In some examples, when the condition detector 406 determines that the electronic device 104 is unobstructed, the condition detector 406 can control the switch 404 to provide a local microphone signal from the microphone(s) 214 of the electronic device 104 to the translator application 402. In some examples, when the condition detector 406 determines that the electronic device 104 is obstructed, the condition detector 406 can control the switch 404 to provide a remote microphone signal from the audio device 150 to the translator application 402. However, these decisions by the condition detector 406 may also depend on other input signals received by the condition detector (in addition to the device state), such as one or more VAD signals received from the VAD(s) 408.
[0057] For example, a VAD signal may indicate when one or more voices (e.g., voice 222 of person 201 and / or voice 324 of user 101) are active (e.g., present in the local microphone signal and / or incoming audio data). For example, a VAD(s) 408 may receive both local and remote microphone signals and determine from the local and / or remote microphone signals whether one or more voices are present. For example, a VAD(s) 408 may include its own Voice Activity Detector (OVAD) and Target Voice Activity Detector (TVAD). The OVAD may be configured to detect voice 324 of user 101. The TVAD may be configured to detect voice 222 of person 201 other than user 101. For example, OVAD may be trained with the user's own voice, trained on the user's own language utterances, and / or detect the user's own voice based on the (e.g., approximate) known location of the user's mouth relative to the audio device 150 (e.g., based on the near-field characteristics of the user's voice in close proximity to microphone 206 of audio device 150, such as different arrival times of voice 324 in different microphones of audio device 150). For example, TVAD may be trained to detect utterances in another language and / or detect other speakers based on location information of target speakers other than the user (e.g., in response to detection of far-field characteristics of a person's voice, such as common or identical arrival times of voice 222 in microphones of audio device 150, in microphone signals from microphone 206 of audio device 150 and / or microphone 214 of electronic device 104).
[0058] In one or more implementations, the OVAD of VAD(s)408 may generate a first VAD signal (e.g., VAD1) indicating whether the user's own voice is present in the local microphone signal and / or remote microphone signal, and the TVAD of VAD(s)408 may generate a second VAD signal (e.g., VAD2) indicating whether the voice of a target person (e.g., person 201) is present in the local microphone signal and / or remote microphone signal. In one or more implementations, the first and second VAD signals may each contain a binary value indicating the corresponding user / person utterance versus non-utterance. Using the first VAD signal from OVAD and the second VAD signal from TVAD, the electronic device 104 can automatically switch between translating the target person's voice and (i) pausing translation during the user's own utterance, and / or (ii) translating the user's own utterance.
[0059] In the example in Figure 4, the VAD408 operates in the electronic device 104 to detect the user's own voice and the target voice in the local microphone signal and / or remote microphone signal. In one or more other implementations, one or more of the VAD408s (e.g., OVAD and / or TVAD) can operate in the audio device 150 for the remote microphone signal before the remote microphone signal is provided from the audio device 150 to the electronic device 104. In one or more implementations, the remote microphone signal may consist of a single stream to which the VAD408 (in the electronic device 104 or audio device 150) can label a time window or time interval as containing only the user's own voice (e.g., OVAD=1 and TVAD!=1), only the target voice (TVAD=1 and OVAD!=1), no voice detection (e.g., OVAD=0 and TVAD=0), or both the user's own voice and the target voice (e.g., OVAD=1 and TVAD=1).
[0060] In one or more other implementations, the remote microphone signal can be a multi-stream signal containing multiple streams, such as its own audio stream and the target audio stream, some or all of which can be provided to the translator application 452. For example, the audio device 150 may include an OVAD that detects the user's own voice in the microphone signal(s) from the microphone(s) 206 of the audio device 150, and a TVAD that detects the voice of the target person in the microphone signal(s) from the microphone(s) 206 of the audio device 150. Audio device 150 can generate, based on the outputs of OVAD and TVAD, a first audio stream (e.g., the user's own voice stream) that emphasizes the user's own voice in the microphone signal from one or more microphones 206 of audio device 150 (e.g., the user's own voice stream), and a second audio stream (e.g., the target voice stream) that emphasizes the voice of the target person in the microphone signal from one or more microphones 206 of audio device 150 (e.g., the target voice stream). The first and second audio streams can then be provided from audio device 150 to electronic device 104 as remote microphone signals (e.g., simultaneously, as multi-stream signals).Providing multi-stream audio in this way makes it easier to continue providing translation of the target person's utterances even while the user is speaking (as opposed to pausing translation by, for example, providing a null input to the translation application when both the target person and the user are speaking).
[0061] In one or more implementations, the audio stream itself may be included in the remote microphone signal only when the user's own voice is detected (e.g., using OVAD on audio device 150). In one or more other implementations, the audio stream itself may be provided regardless of whether the user's voice is present in the audio stream (e.g., configured to use user-targeted beamforming and / or ambient noise cancellation designed to enhance the user's voice). For example, if buffers containing or not containing the user's own voice are each included in the audio stream, the buffered time windows or time intervals of the audio stream may be labeled as containing or not containing the user's own voice. In one or more implementations, the target audio stream may be included in the remote microphone signal only when the target person's voice is detected (e.g., using TVAD on audio device 150). In one or more other implementations, the target audio stream may be provided regardless of whether the target person's voice is present in the target audio stream (e.g., configured to use remote target beamforming and / or ambient noise cancellation to enhance the target person's voice). For example, if the target audio stream contains buffers that either contain or do not contain the voice of the target person, the buffered time windows or time intervals of the target audio stream may be labeled as containing or not containing the voice of the target person.
[0062] In one or more implementations, a remote microphone signal may be provided with or include metadata for one or more audio streams contained therein. For example, the metadata may include OVAD and / or TVAD labels for the time windows and / or time intervals of one or more audio streams contained therein, and / or spatial information such as direction of arrival (DOA) information for the time windows and / or time intervals of one or more audio streams contained therein (determined, for example, based on multiple microphone signals from multiple microphones 206 of audio device 150).
[0063] In one or more implementations, spatial information may be used by an electronic device 104 (e.g., by a speech generator 454 and / or a subsequent spatializer) to generate spatialized translated audio data to be provided to the audio device 150. For example, the spatialized audio output, when output by the speaker 152 of the audio device 150, may be perceived by the user 101 as coming from the same spatial location (e.g., direction) as the subject person (e.g., person 201) (e.g., diverging from or emitting from the same spatial location). In some implementations, the spatialization of the audio output may take into account the movement of the user's head and / or the audio device 150 during the delay between the time the subject utterance 324 occurs in the physical environment and the time the spatialized translation of that utterance is output from the device's speaker (e.g., by tracking the position and / or movement of the user's head and modifying the spatialization to remove detected head movement so that the perceived location of the spatialized audio output remains static regardless of any movement of the user's head). In one or more implementations, spatialized audio data can be voice-matched to the voice of person 201. For example, metadata for one or more audio streams may include voice characteristic information (e.g., tone, timbre, prosody, rhythm, tempo, etc.) determined by the audio device 150 for the target person, and speech generation can produce spatialized audio output having the same or similar voice characteristics. This spatialization and / or voice matching can help the user perceive their environment naturally during a translation session, for example, when multiple people are talking around the user, when the user's head is moving, and / or when the target person is moving relative to the user.
[0064] In one or more implementations, the audio device 150 and / or electronic device 104 may use the respective determined locations of one or more people speaking in the physical environment around user 101 to filter out ambient speech around user 101 from local microphone signals and / or remote microphone signals (for example, to emphasize speech from one or more target speakers) and / or suppress it otherwise (for example, where each location is determined using DOA information acquired based on the difference between multiple microphone signals from multiple microphones and / or based on other signals, such as images of one or more people). For example, user 101 may be conversing with person 201 in a physical environment where other people are also speaking (for example, other people are talking into their phones or talking to even more people in the physical environment). As another example, user 101 may be listening to a conversation between two (or more) other people, with or without actively participating in the conversation, including, for example, periods when the user is simply not speaking, or when two (or more) other people are speaking in a different language and the user may not understand what is being said in their own language. In these exemplary use cases, it may be beneficial to enhance the speech of the speakers within the dynamically adjustable “field of view” (FOV) of the microphone array and filter out or otherwise suppress the speech of people outside that dynamic field of view. For example, in a use case where user 101 is conversing with person 201 in a physical environment where people other than user 101 and person 201 are also speaking, audio device 150 and / or electronic device 104 may dynamically adjust the beam generated by the cooperation of the multiple microphones of audio device 150 and / or electronic device 104 to move with person 201 relative to user 101 (for example, due to user 101 moving or rotating their head and / or due to person 201's own movement) and / or change shape to exclude the voices of people other than person 201.In some examples, person 201 may be identified as a person based on a higher signal-to-noise ratio of person 201's voice compared to the voices of other persons, and / or based on other signals such as the user's head being oriented toward person 201 (e.g., determined using the image sensors and / or motion / or orientation sensors of audio device 150 and / or electronic device 104), the user interacting with person 201 (e.g., speaking toward person 201, looking at person 201, and / or facing toward person 201), and the depth or distance of person 201 from the user. As another example, in a use case where user 101 may be listening to a conversation between two (or more) other people, the beam (e.g., the beam's FOV) may be enlarged in size and / or shape compared to the beam used when user 101 is speaking to a single other person (e.g., to emphasize the voices of the two (or more) people the user is listening to), and may enlarge or shrink (and / or change shape) as the two (or more) people move away from each other or toward each other (e.g., to include the location of another person joining the conversation between the two (or more) other people the user 101 is listening to). In this way, whether the voices of one, two, or more people being heard by user 101 are translated from another language into computer-generated utterances in the user's language, or whether the voices are simply passed to the user's ears without being translated by the speaker(s)206 of audio device 150, the dynamic beam (e.g., the dynamic FOV of the beam, including its direction, shape, and / or size) can help ensure that the incoming audio signal (e.g., to the user's ears and / or translation application) contains the voice(s) of a person(s) or people of interest to the user.
[0065] In one or more implementations, the time windows or time intervals of the local microphone signal and the remote microphone signal may be buffered in the electronic device 104, respectively. The first VAD signal and the second VAD signal may be generated in the electronic device 104 and / or in the audio device 150 for each window or time interval. The condition detector 406 can control the input to the translator application 402 (for example, control the switch 404) based (for example, partially) on the first VAD signal and the second VAD signal.
[0066] For example, Figure 5A is a timing diagram showing how the input controller 400 can control the input to the translator application 402 (for example, control the switch 404) based (for example, partially) on the first VAD signal and the second VAD signal. In this example, the first VAD signal and the second VAD signal are generated locally in the electronic device 104. For example, Figure 5A shows the timeline 500 of the voice 324 of user 101, the timeline 502 of the voice 222 of person 201, the timeline 504 of the local microphone signal of microphone 214 of electronic device 104, the timeline 506 of the remote microphone signal of microphone 206 of audio device 150, and the timeline 508 of the input buffer 509 from which the translator application can read the input audio data for translation.
[0067] In the example of Figure 5A, box 507 indicates that microphone 214 of electronic device 104 is blocked (for example, electronic device 104 is determined to be under a blocked condition or state by a condition detector 406, etc.). Therefore, in the example of Figure 5A, none of the buffers 511 of local audio data from microphone 214 are provided to the input buffer 509 of the translator application. Instead, buffers 513 of remote audio data from microphone(s) 206 (for example, of audio device 150) are provided to the input buffer 509 of the translator application (for example, after being passed from audio device 150 to electronic device 104). However, Figure 5A also shows that in the example of Figure 5A, where a single stream is provided from microphone(s) 206 of audio device 150, there may be times during the translation operation when no data is provided to the input buffer 509 of the translator application (for example, switch 404 in Figure 4 is switched to null input 410).
[0068] For example, a translation operation using the electronic device 104 and the audio device 150 can be initiated at time T1. For example, a translation operation can be initiated at time T1 in response to the user launching the translator application 402, starting a translation session in the system control center of the electronic device 104, pressing or otherwise interacting with the "Start" option in the user interface of the translator application 402, providing user input (e.g., tap, press, press and hold, multiple presses, providing voice input to the virtual assistant application to start a translation session, or other default input to start a translation session and / or launch the translator application 402), and / or in response to the electronic device 104 (e.g., VAD 408) automatically detecting an utterance in a language other than the user 101's primary language that is close to the electronic device 104.
[0069] In the example in Figure 5A, the timeline includes a portion 510 in which there is no utterance in the remote microphone signal (e.g., from time T1 to time T2 and from time T5 to time T6), a portion 512 in which only the target utterance (e.g., utterance from person 201 for translation) is present in the remote microphone signal (e.g., from time T2 to time T3 and from time T6 to time T7), a portion 514 in which both the user's utterance (e.g., utterance from user 101) and the target utterance (e.g., utterance from person 201 for translation) are present in the remote microphone signal (e.g., from time T3 to time T4 and from time T7 to time T8), and a portion 516 in which only the user's utterance (e.g., utterance from user 101) is present in the remote microphone signal (e.g., from time T4 to time T5 and from time T8 onwards).
[0070] As shown in the figure, during the portion 512 (e.g., from time T2 to time T3 and from time T6 to time T7) in which only the target utterance (e.g., the utterance from person 201 for translation) is present in the remote microphone signal, the remote microphone signal is provided to the input buffer 509 for translation (e.g., from the buffer 513 that stores the remote microphone data). As shown in Figure 5A, during the overlapping utterance portion 514 in which both the user's utterance (e.g., the utterance from user 101) and the target utterance (e.g., the utterance from person 201 for translation) are present in the remote microphone signal, the buffer containing the voice 222 of person 201 may not be provided to the input buffer 509 (e.g., by not providing audio data to the input buffer 509, such as by giving the input buffer 509 a null signal as in the example in Figure 4, or by providing the input buffer 509 with only the buffer 513 containing the user utterance 324). In this way, in some implementations, translation may be paused when user 101 is speaking simultaneously with person 201. In this way, user 101 can experience less interrupted output from audio device 150 while speaking, and thus user 101 can have a more natural conversational style interaction with person 201. In other implementations, as will be described in more detail below, the translation of person 201's voice 222 can continue while user 101 is speaking (e.g., by continuing to provide a local microphone signal or a remote microphone signal to the translator application for the translation of person 201's voice 222), and the audio output of the translation by audio device 150 can instead be ducked (e.g., reduced in volume relative to other audio content) or blurred (e.g., temporally blending or smearing the voice, low-pass filtering, and / or adding reverberation and / or echo) to help avoid interrupting user 101 while user 101 is speaking (e.g., while still allowing a reduced amount of the translated utterances of other people to reach the user).For example, as will be explained in more detail below in relation to Figure 5B, a multistream signal having its own audio stream and a target audio stream can facilitate the continuous provision of a translation of person 201's voice 222 during periods of overlapping speech.
[0071] Figure 5A also illustrates how, in several implementations and / or use cases, a single stream is provided in microphone-rejected signals from microphone(s) 206 (e.g., from audio device 150) during the time when the user's own voice is detected (e.g., between overlapping speech portions 514 and / or portions 516, VAD1=1 or OVAD=1), a remote microphone signal may be provided to a translator application 402 (e.g., to its input buffer 509 or a separate input buffer) (e.g., for output by speaker(s) 216 of electronic device 104, for translating the user's own voice from the user's language to the language of person 201). In this example in Figure 5A, since a single stream is provided from the audio device 150 (e.g., microphone(s) 206), buffer 513 is used only by the translation application to translate either the user's own utterances or the target utterances, and the translation of the target utterances is paused when user utterances are present (e.g., whether or not buffer 513 containing the user's own voice is being translated). In other implementations where multiple streams are provided from the audio device 150, as will be described in more detail below, the translation of the target utterances can continue even when user utterances are present.
[0072] For example, Figure 5B shows an example where two streams, buffers 587 and 589, are included in a remote microphone signal from microphone(single or multiple) 206. In this example, buffer 587 is its own audio buffer generated from the time window or time interval of its own audio stream of the remote microphone signal, and buffer 589 is the target audio buffer of the target audio stream of the remote microphone signal. In contrast to Figure 5A, Figure 5B shows how, when a multistream signal is provided from the audio device 150, a target audio buffer 589 containing a representation of the target person's voice (e.g., when the voice 222 of person 201 is present) can be provided to the input buffer 509 for translation, even when user utterances 324 are present (e.g., even during overlapping utterance periods). As illustrated, buffer 589 containing the user's own utterances may optionally also be provided to a translator application to translate the user's own utterances into the language of person 201. In the example of Figure 5B, the timeline 504 showing buffer 511 from microphone 214 of electronic device 104 is omitted for simplicity of the figure. However, it is understood that the buffer 511 from the microphone 214 of the electronic device 104 can be generated as in the example in Figure 5A and as in the example in Figure 5B.
[0073] Figure 6 is a timing diagram illustrating an example of how input to the translator application 402 (e.g., via input to the input buffer(s) 509) may be controlled differently in different use cases. For example, Figure 6 shows that the box 507 in Figure 5A has been removed and it has been determined (e.g., by the condition detector 406) that the electronic device 104 is not obstructed. For example, the electronic device 104 may be on a table or other surface between the user 101 and the person 201, the user 101 may be holding the electronic device 104 near the person 201, or the person 201 may be holding the electronic device 104. In the example of Figure 6, portions 510, 512, 514, and 516 of the timeline are the same as those in Figure 5A, and as in Figure 5A, when the user's own voice is detected, either a buffer containing the user's own voice or a null input is provided to the input buffer 509. However, in Figure 6, during portions 512 (e.g., from time T2 to time T3 and from time T6 to time T7) in which only the target utterance (e.g., utterance from person 201 for translation) is present in the remote microphone signal and / or local microphone signal, the local microphone signal is provided to the input buffer 509 (e.g., by the input controller 400 described in relation to Figure 4) for translation in Figure 6 (e.g., not the remote microphone signal in the example of Figure 5A). In the example of Figure 6, the remote microphone signal (e.g., the entire remote microphone signal in a single-stream implementation, or its own audio stream in a multi-stream implementation) may still be provided to the input buffer 509 or other input buffers during portions 514 and 516 in which the user's own voice is present in the remote microphone signal and / or local microphone signal (e.g., for output by speaker(s) 216 of electronic device 104, for translation of the user's own voice in person 201's language).
[0074] For example, Figure 7 shows a block diagram of an electronic device 104 that performs translation operations in a use case where, in addition to (for example, the voice 222 of person 201 being translated into user 101's language and transmitted as translated audio data for output by audio device 150), the user's own voice is also translated into person 201's language for output by speaker(single or multiple) 216 of electronic device 104. In this exemplary use case, speaker(single or multiple) 216 may output a computer-generated translated version of user 101's voice, and speaker(single or multiple) 152 of audio device 150 may output a computer-generated translated version of person 201's voice, so that user 101 and person 201 can have (for example, substantially) real-time conversations with each other, speaking in their respective languages. However, as shown in Figure 7, portions of translated user utterances output by the speaker(s)(single or multiple) 216 of the electronic device 104 may be received by the microphone(s)(single or multiple) 214 of the electronic device 104. In one or more implementations, the electronic device 104 may include an echo canceller 700. For example, the echo canceller 700 can use known translated user audio data (e.g., and the known output time of that data by the speaker(single or multiple) 216) to suppress or cancel portions of the local microphone signal corresponding to translated user utterances output by the speaker(single or multiple) 216. In the example in Figure 7, echo cancellation is performed before the local microphone signal is provided to the signal analyzer(single or multiple) 407, VAD(s)(single or multiple) 408, and switch 404. In one or more other implementations, echo cancellation may be performed at other points in the processing flow, such as after the VAD(s) 408 (for example, the output of the VAD(s) 408 may be used to selectively control when echo cancellation is performed) and before the signal analyzer 407 and switch 404. For example, in some implementations, echo cancellation may be performed only during the time when the output from the speaker(s) 216 overlaps with the translation of the person's voice 201.
[0075] For example, Figure 8 is a timing diagram illustrating an exemplary use case in which translated user utterances are output by the speaker(s)(single or multiple) 216 of the electronic device 104. The example in Figure 8 includes a timeline 800 showing the translated user utterances 802 being output by the speaker(s)(single or multiple) 216 of the electronic device 104 between time T4 and time T6', which is between time T6 and time T7 in Figures 5A and 6. In the example in Figure 8, portions 510, 512, 514, and 516 of the timeline are the same as those in Figure 6, and as in Figures 5A and 6, when the user's own voice is detected, a buffer containing only the user's utterances 324 or a null input is provided to the input buffer 509. However, as illustrated, echo cancellation may be performed during the echo cancellation period 804 (for example, by the echo canceller 700 in Figure 7). As illustrated, echo cancellation is not always performed while the speaker is operating to output translated user utterances. In the example in Figure 8, echo cancellation is performed during an echo cancellation period 804 in which the translated user utterance being output by speaker(s) 216 overlaps with the voice 222 of person 201 being provided as input to the translator application 402 (for example, via input buffer 509). In this way, power and / or computing resources can be saved by avoiding performing echo cancellation when the microphone 214 of the electronic device 104 is not providing input to the translator application 402.
[0076] In the example in Figure 8, as in the examples in Figures 5A and 6, the remote microphone signal is a single-stream signal, and the translator application translates only the user's own utterance 324 or the voice 222 of person 201. However, it should be understood that the echo cancellation operation described with respect to Figures 7 and 8 can also be performed in the implementation form of Figure 5B, where the remote microphone signal is a multi-stream signal, and both the user's own utterance 324 and the voice 222 of person 201 are translated during overlapping utterance periods.
[0077] In the various examples described herein, the output of the translator application is computer-generated speech in a second language, with no other content present, of words spoken by person 201 in a first language. However, in some use cases, the microphone signal may contain other content. For example, user 101 may be watching a play, opera, or film in which characters speak in a language the user does not understand, and the play, opera, or film may contain other soundtrack content such as music or background sounds. In these use cases, the translator application and / or one or more other processes in the electronic device 104 may filter out or otherwise suppress the other soundtrack content, suppress or blur the other soundtrack content, or pass through the other soundtrack content as is (for example, so that the user receives the complete audio of the play, opera, or film, either alone or primarily modified by the spoken words being translated). In these use cases, translated utterances of one or more characters or performers in a play, opera, film, etc., may be spatialized and / or voice-matched to the respective locations and / or voices of the speaker(s) of those characters or performers in the play, opera, film, etc., as described herein. In other examples, the utterances to be translated may arise from recordings of a person's previous utterances or other (e.g., raw) utterances (e.g., announcements at a moving train or bus stop, airport announcements, sporting event announcements, concert sounds, etc.) received through a loudspeaker.
[0078] As described herein, the electronic device 104 may selectively provide the translator application 402 with a local microphone signal, a remote microphone signal, or a null input, including by providing the translator application with a remote microphone signal when the device status indicates that the electronic device is in an obstructed state. However, in some use cases, such as in a noisy environment, or when the person 201 is speaking softly or is far from the audio device 150 and / or the electronic device 104 (e.g., resulting in a high SPL or low SNR determination by the signal analyzer(s) 407), translation may be limited or unavailable. Therefore, in some use cases, the electronic device 104 (e.g., the translator application 402) may provide the user 101 with a notification to move the electronic device 104 closer to the person 201 to be translated (e.g., including, in some use cases, removing the electronic device 104 from a container) so that the local microphone signal can be used for translation.
[0079] For example, Figure 9 shows a notification 902 that may be provided by the user interface 900 of the translation application 402 (a notification containing text such as, for example, "Move this device closer to the person to be translated"). In the example of Figure 9, the notification 902 is provided by the display 904 of the electronic device 104. However, this is merely illustrative, and in various implementations, the notification may be provided by one or more other output components of the electronic device 104 and / or the audio device 150 (e.g., an audio notification, a haptic notification, or any other notification output).
[0080] In response to notification 902, user 101 may move electronic device 104 closer to person 201 to improve reception of person 201's voice 222 for translation. In one or more other implementations, user 101 may move another device having one or more microphones (e.g., a smartwatch, a tablet device, one earphone from a pair of earphones corresponding to audio device 150, or any other device communicatively coupled to and / or associated with the same account as the device performing the translation operation) closer to person 201, and input controller 400 may provide microphone signals from one or more microphones of the other device to the translator application 402 for translation of the utterances expressed therein.
[0081] In various implementations, the user interface 900 may provide other functions for the user to interact with the translator application 402. For example, the user interface 900 may include selectable options for initiating a translation session, the language of the utterance to be translated, and / or the language to which the utterance will be translated. As described herein, the translator application 402 may manage the download and / or storage of one or more translation models for one or more selected languages in the electronic device 104. In other examples, the language to be translated may be automatically detected by the electronic device 104, and the corresponding language model may be automatically downloaded (e.g., without user input) (or accessed if previously downloaded). Automatic detection of the language to be translated may include automatic detection of utterances close to the user 101 in a language other than the user's language (e.g., a user language previously selected by the user or automatically determined by the electronic device 104 based on the user's own utterances), and determination of the language of the utterances. Automatic detection of the language to be translated can enable conversations with multiple people in multiple languages (for example, in a group or roundtable discussion where multiple people speak multiple different languages). In this example, while the electronic device 104 performs microphone switching (e.g., dynamic input control) as described herein, the translator application 402 can translate each of the different languages detected in utterances around user 101 into user 101's language. In one or more implementations, whether multiple speakers are speaking multiple different languages or one common language, the audio output of the translated utterances can be spatialized (e.g., by the coordinated operation of multiple speakers 152 of audio device 150 using location and / or direction of arrival determined using multiple microphones of audio device 150 and / or electronic device 104), so that each person's translated utterance is perceived by user 101 as originating from that person's direction.As described herein, this spatialization may take into account any movement of the user's head during any delay time that may occur between each person's utterance and the output of its translation (for example, as a result, the utterance is output at the location of the utterance at the time it occurred).
[0082] Figure 10 is a flowchart of an exemplary process 1000 that may be performed for microphone switching for translation according to an implementation of the technology of the present application. For illustrative purposes, process 1000 is described herein primarily with reference to the audio device 150 and electronic device 104 described in relation to Figures 1 to 9. However, process 1000 is not limited to the audio device 150 and electronic device 104 described in relation to Figures 1 to 9, and one or more blocks (or operations) of process 1000 may be performed by one or more other components of other suitable devices, including electronic device 110, electronic device 115, and / or server 120. Furthermore, for illustrative purposes, some of the blocks of process 1000 are described herein as being performed sequentially or linearly. However, multiple blocks of process 1000 may be performed in parallel. In addition, the blocks of process 1000 do not need to be performed in the order shown, and / or one or more blocks of process 1000 do not need to be performed and / or can be replaced by other operations.
[0083] As shown in Figure 10, in block 1002, a first microphone signal (e.g., a local microphone signal) is obtained from a first microphone (e.g., microphone 214) of a first device (e.g., electronic device 104) (e.g., in the input controller 400). In one or more implementations, multiple first microphone signals may be obtained from multiple first microphones in the first device.
[0084] In block 1004, the first device (e.g., input controller 400) can acquire a second microphone signal (e.g., remote microphone signal) from the second microphone (e.g., microphone 206) of the second device (e.g., audio device 150, which in some examples may be implemented as an earphone, earphone pair, headphones, or head-mountable device such as smart glasses) (e.g., via a wired or wireless connection). For example, the first device may include a communication circuit (e.g., communication circuit 215) for receiving wired or wireless transmissions from the second device and / or transmitting wired or wireless transmissions (e.g., control signals, translated audio data, and / or media content for output by the speaker of the second device) to the second device.
[0085] In block 1006, the first device (e.g., input controller 400 and / or condition detector 406) can control the audio input to the translator application (e.g., translator application 402) in the first device based on the first microphone signal and the second microphone signal, and the translator application is configured to generate an audio translation (e.g., translated audio data) of the audio content (e.g., voice 222) in the audio input from a first language (e.g., of a person 201 other than user 101 of the first and second devices) to a second language (e.g., of user 101).
[0086] For example, at least one of the first microphone signal or the second microphone signal may include a representation of the voice (e.g., voice 222) of a person (e.g., person 201) speaking the first language other than the user of the first device (e.g., user 101), and process 1000 may also include generating an audio output (e.g., translated audio data) that includes a representation of a voice (e.g., computer-generated voice) speaking the second language using a translator application in response to the controlled audio input. For example, the voice (e.g., computer-generated voice) speaking the second language may be computer-generated voice, and the first device may select a computer-generated voice from among a plurality of computer-generated voices stored in the first device. For example, the first device may select a computer-generated voice from among a plurality of computer-generated voices based on the voice (e.g., voice 222) of a person speaking the first language. For example, the first device may determine that the voice of a person speaking the first language is low-pitched, high-pitched, and / or has a specific accent (e.g., corresponding to the first language). The first device may select one of several computer-generated voices that sound similar to the voice of a person speaking the first language (for example, having a high pitch, a low pitch, and / or the same or similar accent).
[0087] In one or more use cases, controlling the audio input in block 1006 may include selecting either the first microphone signal or the second microphone signal as the audio input (e.g., by operating switch 404, or by condition detector 406) based at least in part on the signal-to-noise ratio of the first microphone signal (e.g., if one of the microphone signals has a low signal-to-noise ratio, the device may select the other microphone signal for input to the translator application). In one or more other use cases, controlling the audio input may include deciding whether to provide any audio input to the translator application (e.g., by condition detector 406) based at least in part on determining whether the voice (e.g., voice 324) of the user of the first device (e.g., user 101) is present in the second microphone signal (e.g., if VAD1=1). For example, determining whether to provide an arbitrary audio input to the translator application, at least in part, based on a determination of whether the voice of the user of the first device is present in the second microphone signal, may include: providing at least one of the first or second microphone signals as an audio input to the translator application at a first time (e.g., between T2 and T3 or between T6 and T7 in Figures 5A, 6, and / or 8) based on a first determination that the voice of the user of the first device is not present in the second microphone signal; and determining at a second time (e.g., between T3 and T5 or between T7 and T8 in Figures 5A, 6, and / or 8) based on a second determination that the voice of the user of the first device is present in the second microphone signal, that the audio input (e.g., null input 410) should not be provided to the translator application. In this example, no translation is generated while the user is speaking.However, in other examples, translation may continue even while the user is speaking (for example, by providing at least one of the first or second microphone signals as audio input to the translator application), and the translated audio output may be ducked or blurred so that the user can hear a reduced version of the translation while the user is speaking.
[0088] For example, in one or more implementations, the second microphone signal from the second device may include a multistream signal that includes its own audio stream configured to emphasize the voice representation of the user of the first device (e.g., user 101) and a target audio stream configured to emphasize the voice representation of a person other than the user of the first device (e.g., person 201) (e.g., voice 222). In this example, selecting the first microphone signal or the second microphone signal as an audio input based at least partially on the signal-to-noise ratio of the first microphone signal may include selecting the target audio stream of the first microphone signal or the second microphone signal as an audio input based at least partially on the signal-to-noise ratio of the first microphone signal, regardless of whether the voice representation of the user of the first device is present in the first microphone signal or in its own audio stream of the second microphone signal. For example, at least one of the target audio streams of the first microphone signal or the second microphone signal may include a representation of the voice of a person speaking a first language other than the user of the first device, and process 1000 may also include using the first device and, based on the audio input, generating a spatialized audio output that includes a voice spoken in a second language and configured to be perceived as originating from the location of a person other than the user of the first device.
[0089] In one or more use cases, controlling the audio input may include selecting a first microphone signal or a second microphone signal as the audio input (e.g., by condition detector 406 and / or switch 404) at least in part based on the conditions of the first device (e.g., obstructed or unobstructed conditions). For example, the first device (e.g., condition detector 406) may determine the conditions of the first device using sensor signals from at least one sensor (e.g., sensor(s)218) in the first device. For example, at least one sensor may include a proximity sensor or an orientation sensor (e.g., an IMU sensor of IMU411, such as a gyroscope, accelerometer, or magnetometer). For example, determining the conditions of the first device may include determining whether the first microphone of the first device is obstructed. In one or more implementations, the first device (e.g., condition detector 406) may determine the condition of the first device at least in part based on user input that has activated the translator application and / or translation session (for example, if a user has provided input to the first device to activate the translator application, the first device may determine that it is likely that the first device is not being obstructed because the user is interacting with the first device). In one or more use cases, controlling the audio input may include selecting a first microphone signal or a second microphone signal as the audio input at least in part based on the state of the translator application on the first device (e.g., condition detector 406 and / or switch 404). For example, the state of the translator application may include the state of the user interface of the translator application (e.g., user interface 900) (e.g., foreground state, active state, background state, minimized state). In one or more use cases, the first device may provide a prompt (e.g., notification 902, or audio or haptic notification) to move the first device (e.g., toward the person to be translated) at least in part based on a second microphone signal from the second device.
[0090] In one or more use cases, the translator application can also generate a translation (e.g., translated user audio signal) of the voice (e.g., voice 324) of the user of the first device (e.g., user 101) from the second language to the first language for output by the speaker (e.g., speaker 216) of the first device, based on a second microphone signal from the second device. The first device (e.g., echo canceller 700) can also perform an echo cancellation operation on the first microphone signal from the first device before providing the translator application with the first microphone signal for translation of the voice (e.g., voice 222) of a person other than the user (e.g., person 201) from the first language to the second language.
[0091] According to aspects of the present invention, an electronic device (e.g., electronic device 104) is provided, comprising: a first microphone (e.g., microphone 214); a memory (e.g., memory 212) for storing a translator application (e.g., translator application 402) configured to generate an audio translation of audio content in an audio input from a first language to a second language; and one or more processors, wherein the one or more processors are configured to: acquire a first microphone signal from the first microphone; acquire a second microphone signal from a second microphone (e.g., microphone 206) of an audio device (e.g., audio device 150) separate from the electronic device; and control the audio input to the translator application based on the first and second microphone signals. The electronic device may also include a communication circuit (e.g., communication circuit 215). At least one of the first microphone signal or the second microphone signal may include a representation of the voice (e.g., voice 324) of a person other than the user of the electronic device (e.g., user 101) (e.g., person 201) speaking in a first language, and one or more processors may be further configured to wirelessly receive the first microphone signal from the audio device using a communication circuit, generate an audio output having computer-generated voice speaking in a second language using a translator application in response to a controlled audio input, and provide the audio device with the audio output for output of computer-generated voice by the speaker of the audio device (e.g., speaker 152) using a communication circuit.
[0092] In one or more implementations, memory stores the vocal characteristics (e.g., tone, pitch, accent, etc.) of multiple computer-generated speeches, and one or more processors may be further configured to select a computer-generated speech from among the multiple computer-generated speeches based at least partially on the voice of a person in a first microphone signal or a second microphone signal (for example, by selecting one of the computer-generated speeches having vocal characteristics similar to those of a person speaking a first language).
[0093] In one or more implementations, one or more processors may be configured to control audio input by selecting either the first or second microphone signal as the audio input, at least in part on the sound pressure level (SPL) of the first microphone signal. As another example, one or more processors may be configured to control audio input by determining whether to provide any audio input (e.g., or a null input 410) to the translator application, at least in part on determining whether the voice (e.g., voice 324) of the user of the electronic device (e.g., user 101) is present in the second microphone signal.
[0094] According to aspects of the present invention, a system is provided comprising an audio device (e.g., audio device 150) including a first microphone (e.g., microphone 206) and an electronic device (e.g., electronic device 104) including a second microphone (e.g., microphone 214). The audio device may be configured to transmit a first microphone signal from the first microphone to the electronic device, and the electronic device may be configured to receive a second microphone signal from the second microphone and to control the audio input to a translator application in the electronic device based on the first and second microphone signals, the translator application being configured to produce an audio translation of the audio content in the audio input from a first language to a second language.
[0095] As discussed herein, in some use cases, the translation operations described herein may be used for the translation of performances (e.g., operas, plays, musicals, concerts, films, etc.). For example, Figure 11 is a flowchart of an exemplary process 1100 for performance translation according to one or more implementations of the technology of the present application. For illustrative purposes, process 1100 is described herein primarily with reference to the audio device 150 and electronic device 104 described in relation to Figures 1 to 9. However, process 1100 is not limited to the audio device 150 and electronic device 104 described in relation to Figures 1 to 9, and one or more blocks (or operations) of process 1100 may be performed by one or more other components of other suitable devices, including electronic device 110, electronic device 115, and / or server 120. Furthermore, for illustrative purposes, some of the blocks of process 1100 are described herein as being performed sequentially or linearly. However, multiple blocks of process 1100 may be performed in parallel. In addition, the blocks of process 1100 do not need to be executed in the order shown, and / or one or more blocks of process 1100 do not need to be executed and / or can be replaced by other actions.
[0096] In block 1102, audio input corresponding to a performance (e.g., opera, play, musical, concert, film, etc.) may be acquired during the performance using at least one microphone (e.g., one or more microphones 206 and / or one or more microphones 214) of a device (e.g., audio device 150 and / or electronic device 104). For example, user 101 is an audience member of the performance and may be wearing and / or possessing audio device 150 and / or electronic device 104. The audio input may include speech in a first language and ambient sounds. For example, speech may include speech from a character in the performance, and ambient sounds may include at least one of other speech from other characters in the performance or music.
[0097] In block 1104, during a performance, a translation of the utterances in the second language may be obtained from a translation application 402 described herein, for example (e.g., generated locally on the device or obtained from another device). For example, the first device may include an audio device such as earphones, and obtaining a translation of the utterances in the second language may include providing the companion device with at least a portion of the audio input from the earphones (e.g., a single stream of the target audio buffer or multiple streams of multiple audio buffers) and receiving computer-generated speech speaking the translation of the utterances in the second language from the companion device. In another example, the audio device may generate the translation locally on the audio device.
[0098] In one or more implementations, process 1100 may also include removing (e.g., filtering, suppressing, or canceling) utterances in the first language from the audio output (e.g., utterances in the first language may be removed from the audio output). In one or more other implementations, the audio output may include a modified version of the utterances in the first language (e.g., process 1100 may include modifying the utterances in the first language within the audio output). For example, process 1100 may also include generating a modified version of the utterances in the first language (e.g., on the device or another device) by reducing the volume of the utterances in the first language and / or blurring the utterances in the first language. For example, a modified version of the utterances in the first language may include a reduced-volume version and / or a blurred version of the utterances in the first language.
[0099] In block 1106, during the performance, audio output may be output using at least one speaker of the device (e.g., one or more speakers 152). The audio output may include ambient sounds and computer-generated speech speaking translations of utterances in a second language (e.g., obtained from a translation application in block 1104).
[0100] In one or more implementations, the utterances in the first language may be spoken by a character in a performance at a location within the device's physical environment (e.g., on a stage or on a movie screen), and process 1100 may also include determining the location of the character within the device's physical environment and spatializing the computer-generated speech speaking the translation of the utterances according to the location. For example, outputting audio output using at least one speaker in block 1106 may make the spatialized computer-generated speech speaking the translation of the utterances perceptible as originating from or arising from the character's location. In one or more implementations, process 1100 may also include determining one or more characteristics of the character's voice and voice-matching the computer-generated speech speaking the translation of the utterances with one or more characteristics of the character's voice before outputting. For example, the computer-generated speech speaking the translation of the utterances may be spatialized according to the location and / or the computer-generated speech speaking the translation of the utterances may be voice-matched with one or more characteristics of the character's voice.
[0101] As described herein, in various use cases, it may be beneficial to be able to highlight the speech of one or more people speaking within the dynamically adjustable “field of view” (FOV) of the microphone array. This may be useful for generating audio input to a translation application and / or for electronically delivering (e.g., untranslated) speech to a user’s ears via headphones or earphones. Figures 12A and 12B illustrate an example of dynamic control of the beam’s field of view for processing microphone signals by one or more implementations of the technology of the present application. In the example of Figures 12A and 12B, a top-down schematic diagram of user 101 engaged in a conversation with person 201 is shown (for example, this may be detectable by audio device 150 and / or electronic device 104 based on the fact that user 101’s attention vector 1200 and person 201’s attention vector 1202 are oriented toward or nearly toward each other, as determined by detecting the direction of arrival of person 201’s voice using a camera having a visual FOV 1208 and / or using the microphone of audio device 150). In this example, the attention vector 1200 of user 101 and the attention vector 1202 of person 201 can indicate the respective directions in which user 101 and person 201 are looking or facing, and / or the respective directions in which user 101 and person 201 are speaking. In this example, another person 1204 is present in the physical environment of user 101 and person 201 and is speaking and / or facing in a direction 1205 away from user 101. For example, the other person 1204 may be involved in a conversation with one or more additional people.
[0102] As shown in Figure 12A, the field of view 1206 of the microphone 206 of the audio device 150 (defined, for example, by an angular boundary such that it extends between a first angular limit θ1 and a second angular limit θ2) may include the location of person 201 when user 101 is looking in the direction of person 201 and / or speaking to person 201. Figure 12B shows how the FOV 1206 can be dynamically adjusted based on the location of person 201, the locations of other people 1204, and the movement of the audio device 150 (indicated, for example, by a change in the attention vector 1200). In the example in Figure 12B, the size of the FOV 1206 (e.g., the angular size Δθ between the first angular limit θ1 and the second angular limit θ2) and the center of the FOV 1206 are adjusted in response to the movement of the device, so that throughout the time period (e.g., when user 101 and person 201 are engaged in conversation), person 201 remains within the FOV 1206 while excluding the location of person 1204 from the field of view 1206. In the example in Figure 12B, the second angular limit θ2 is greater than the first angular limit θ1 due to the rotation of the device in the direction of the angular limit θ2 and due to the presence of person 1204 who is not engaged in conversation with user 101. In this way, the beam with the FOV 1206 can be used to process the microphone signal to emphasize the voice of person 201 and suppress the voice of person 1204.
[0103] Figures 13A and 13B illustrate another example of dynamic control of the beam field of view for processing microphone signals, according to one or more implementations of the technology of the present application. In the example of Figures 13A and 13B, person 201 is conversing with person 1304, and user 101 is paying attention to the conversation (for example, this may be detectable by audio device 150 and / or electronic device 104 based on user 101's attention vector 1200, person 201's attention vector 1202, and / or person 1304's attention vector 1305, determined using a camera having a visual FOV 1208 and / or using the microphone of audio device 150 to detect the direction of arrival of the voices of person 201 and person 1304). User 101 may be an active participant in the conversation between person 201 and person 1304, or a passive listener of the conversion (with the explicit permission of person 201 and person 1304).
[0104] As shown in Figure 13A, the field of view 1206 of the microphone 206 of the audio device 150 may include the locations of person 201 and person 1304 when user 101 is looking and / or speaking in a direction approximately toward person 201 and person 1304. Figure 13B shows how the FOV 1206 can be dynamically adjusted based on the location of person 201, the location of the other person 1304, and the movement of the audio device 150 (e.g., indicated by a change in the attention vector 1200). In the example in Figure 13B, the size (e.g., the angular size Δθ between a first angular limit θ1 and a second angular limit θ2) and center of the FOV 1206 are adjusted in response to the movement of the device, so that person 201 and person 1304 remain within the FOV 1206 over a period of time (e.g., when user 101 is present for a conversation between person 201 and person 1304). In the example of Figure 13B, the second angular limit θ2 becomes greater than the first angular limit θ1 due to the rotation of the device in the direction of the angular limit θ2 and the action to keep person 1304 within the FOV 1206. In this way, the beam with FOV 1206 can be used to enhance the voices of person 201 and person 1304 and suppress sounds and / or other sounds outside the FOV 1206.
[0105] Figure 14 is a flowchart of an exemplary process 1400 for dynamic control of the beam field of view for processing microphone signals, according to one or more implementations of the technology of the present application. For illustrative purposes, process 1400 is described herein primarily with reference to the audio device 150 and electronic device 104 described in relation to Figures 1 to 9 and Figures 12A to 13B. However, process 1400 is not limited to the audio device 150 and electronic device 104 described in relation to Figures 1 to 9 and Figures 12A to 13B, and one or more blocks (or operations) of process 1400 may be performed by one or more other components of other suitable devices, including electronic device 110, electronic device 115, and / or server 120. Furthermore, for illustrative purposes, some of the blocks of process 1400 are described herein as being performed sequentially or linearly. However, multiple blocks of process 1400 may be performed in parallel. In addition, the blocks of process 1400 do not need to be executed in the order shown, and / or one or more blocks of process 1400 do not need to be executed and / or may be replaced by other actions.
[0106] In block 1402, the first location of a first person (e.g., person 201) and the second location of a second person (e.g., person 1204 or person 1304) may be determined by a device having multiple microphones (e.g., microphone 206 and / or microphone 214) (e.g., audio device 150 and / or electronic device 104). Determining the first location and / or the second location may include determining the first location and / or the second location based on the direction of arrival of the voices of the first person and / or the second person to the device, and / or based on one or more images of the physical environment of the first person and the second person (e.g., captured by one or more cameras of the device and / or another device).
[0107] In block 1404, each of the multiple microphone signals can be acquired from multiple microphones. The microphone signals can be acquired while one or both of the first person and the second person are speaking in one or more languages.
[0108] In block 1406, the size (e.g., Δθ) of the beam's field of view (e.g., FOV 1206) for processing multiple individual microphone signals may be dynamically determined (e.g., by the device having the microphones or by a companion device to which the microphone signals are provided) while acquiring multiple individual microphone signals and over the time period during which the first voice of a first person is present in each of the multiple microphone signals, based on a first location, a second location, and the movement of the device (determined by one or more inertial sensors of the device, such as an accelerometer, gyroscope, and / or magnetometer). In one or more implementations, the orientation or direction of the beam may also be dynamically determined.
[0109] In block 1408, each of the multiple microphone signals may be processed over a period of time (for example, by a device having a microphone and / or by a companion device to which the microphone signal is provided) using a beam with a field of view of a dynamically determined size to generate audio output data including a version of the voice of a first person.
[0110] In block 1410, audio output data, including a first voice version of a first person, may be provided for output by a speaker (e.g., a speaker of a device having a microphone) over a period of time. The audio output data may be generated in the device having a speaker and / or by another device (e.g., a companion device) and provided to the device having a speaker. In one or more implementations, the audio output data may be spatialized for spatial output by multiple speakers.
[0111] In some examples (for instance, in the examples of Figures 12A and 12B), the field of view includes a first location of a first person over a period of time, and dynamically determining the size of the beam's field of view based on the first location, a second location, and the movement of the device includes expanding the size of the field of view as the device moves, while excluding the second location from the field of view. For example, dynamically determining the size of the beam's field of view based on the first location, the second location, and the movement of the device may include dynamically determining the size of the beam's field of view based on the first location, the second location, the movement of the device, and indications that the device user is engaged in a conversation with a first person (e.g., attention vector 1200, attention vector 1202, images of the user and / or the first person, and / or the direction of arrival of the first person's voice). In some examples, the second person is engaged in a conversation with a third person over a period of time.
[0112] In some examples (for instance, in the examples in Figures 13A and 13B), dynamically determining the size of the beam's field of view based on a first location, a second location, and the movement of the device may include expanding the size of the field of view as the device moves, while keeping the first and second locations within the field of view. For example, the first and second individuals may engage in conversation with each other and / or with the user of the device.
[0113] In some examples, the first voice version of the first person includes a pass-through playback of the first voice of the first person (e.g., untranslated). In other examples, the first voice version of the first person may include a computer-generated voice speaking a translation of the first voice of the first person.
[0114] Aspects of the present invention can improve the efficiency, accuracy, and / or latency of electronically generated translations of speech itself and speech generated substantially in real time. For example, switching the input of a translation application between multiple microphones of one or more devices located in different physical locations relative to the person speaking may help provide a more accurate translation. As another example, pausing the translation operation (for example, by pausing the provision of input signals to the translation application when the user of the electronic device is speaking) may help reduce the processing and / or battery power used by the electronic device. Thus, these and other aspects of the present invention, when implemented by one or more electronic devices such as a smartphone and one or more audio devices, can bring improvements to other technologies (e.g., electronic translation) and the capabilities of the computing devices on which those other technologies are implemented.
[0115] As described above, one aspect of the technology is the collection and use of data available from specific legitimate sources to perform microphone switching for translation. This disclosure assumes that, in some cases, such collected data may include personal data that uniquely identifies or can be used to identify a particular person. Such personal data may include voice samples, voice profiles, demographic data, location-based data, online identifiers, telephone numbers, email addresses, home addresses, biometric data or records relating to a user's health or fitness level (e.g., vital sign measurements, medication information, exercise information, mobility information, respiratory information, heart rate information), date of birth, or any other personal information.
[0116] This disclosure acknowledges that such use of personal data in this technology may be for the benefit of the user. For example, personal data may be used to switch microphones for translation.
[0117] This disclosure assumes that entities responsible for collecting, analyzing, disclosing, transferring, storing, or otherwise using such personal data will adhere to well-established privacy policies and / or privacy practices. Specifically, such entities are expected to implement and consistently apply privacy practices that are generally recognized as meeting or exceeding industry or government requirements for maintaining user privacy. Such information regarding the use of personal data should be conspicuously and readily accessible to users and should be updated as data collection and / or use changes. Personal data from users should be collected only for legitimate use. Furthermore, such collection / sharing should be done after obtaining user consent or on other legitimate grounds specified in applicable law. In addition, such entities should consider taking all necessary steps to protect and secure access to such personal data and to ensure that others with access to personal data faithfully adhere to those privacy policies and procedures. Furthermore, such entities may undergo third-party evaluations to demonstrate their compliance with widely accepted privacy policies and practices. In addition, policies and practices should be adapted to the specific types of personal data collected and / or accessed, and should conform to applicable laws and standards, including jurisdiction-specific considerations that may play a role in imposing higher standards. For example, in the United States, the collection or access to certain health data may be subject to federal and / or state laws, such as the Health Insurance Portability and Accountability Act (HIPAA). Health data in other countries, on the other hand, may be subject to other regulations and policies and should be addressed accordingly.
[0118] Notwithstanding the foregoing, the Disclosure also envisions embodiments that allow a user to selectively prevent the use of or access to personal data. Specifically, the Disclosure envisions that hardware and / or software elements may be provided to prevent or prevent access to such personal data. For example, when performing microphone switching for translation, the technology may be configured to allow a user to choose to “opt in” or “opt out” of participating in the collection and / or sharing of personal data during or at any time thereafter of registering for the service. In addition to providing “opt-in” and “opt-out” options, the Disclosure envisions providing notices regarding access to or use of personal data. For example, a user may be notified when downloading an app that will access their personal data, and then reminded again immediately before the app accesses the personal data.
[0119] Furthermore, the intent of this disclosure is that personal data should be managed and processed in a manner that minimizes the risk of unintentional or unauthorized access or use. Risks can be minimized by limiting data collection and deleting data when it is no longer needed. In addition, where applicable in certain health-related applications, data anonymization can be used to protect user privacy. Anonymization may be facilitated, where appropriate, by removing identifiers, controlling the amount or specificity of stored data (e.g., collecting location data at the city level rather than at the address level or a scale insufficient for facial recognition), controlling how data is stored (e.g., aggregating data across users), and / or by other means such as differential privacy.
[0120] Therefore, while this disclosure extensively covers the use of personal data to implement one or more different disclosed embodiments, it is also conceivable that these different embodiments could be implemented without requiring access to such personal data. In other words, the different embodiments of the Technology would not be rendered inoperable by the absence of all or part of such personal data.
[0121] Figure 15 shows an electronic system 1500 in which one or more implementations of the present technology may be realized. The electronic system 1500 may be an audio device 150, an electronic device 104, an electronic device 110, an electronic device 115, and / or a server 120, as shown in Figure 1, and / or parts thereof. The electronic system 1500 may include various types of computer-readable media and interfaces for various other types of computer-readable media. The electronic system 1500 includes a bus 1508, one or more processing units 1512, a system memory 1504 (and / or buffer), a ROM 1510, a permanent storage device 1502, an input device interface 1514, an output device interface 1506, and one or more network interfaces 1516, or subsets and variations thereof.
[0122] Bus 1508 collectively represents all system buses, peripheral buses, and chipset buses that communicate with a large number of internal devices of the electronic system 1500. In one or more implementations, bus 1508 communicates with one or more processing units 1512 to the ROM 1510, system memory 1504, and permanent storage device 1502. From these various memory units, one or more processing units 1512 retrieve instructions to be executed and data to be processed in order to perform the processes of this disclosure. One or more processing units 1512 may be a single processor or a multi-core processor in different implementations.
[0123] The ROM 1510 stores static data and instructions required by one or more processing units 1512 and other modules of the electronic system 1500. On the other hand, the permanent storage device 1502 may be a read / write memory device. The permanent storage device 1502 may be a non-volatile memory unit that stores instructions and data even when the electronic system 1500 is turned off. In one or more implementations, a mass storage device (such as a magnetic disk or optical disk and its corresponding disk drive) may be used as the permanent storage device 1502.
[0124] In one or more implementations, a removable storage device (such as a floppy disk, flash drive, and corresponding disk drive) may be used as the permanent storage device 1502. Similar to the permanent storage device 1502, the system memory 1504 may be a read-write memory device. However, unlike the permanent storage device 1502, the system memory 1504 may be a volatile read-write memory, such as random-access memory. The system memory 1504 can store any instructions and data that one or more processing units 1512 may need at runtime. In one or more implementations, the processes of this disclosure are stored in the system memory 1504, the permanent storage device 1502, and / or ROM 1510 (each implemented as a non-temporary computer-readable medium). From these various memory units, one or more processing units 1512 retrieve the instructions to be executed and the data to be processed in order to execute the processes of one or more implementations.
[0125] Bus 1508 also connects to an input device interface 1514 and an output device interface 1506. The input device interface 1514 allows a user to communicate information to the electronic system 1500 and select commands. Input devices that may be used with the input device interface 1514 may include, for example, an alphanumeric keyboard and a pointing device (also referred to as a "cursor control device"). The output device interface 1506 may, for example, enable the display of images generated by the electronic system 1500. Output devices that may be used with the output device interface 1506 may include, for example, printers and display devices such as liquid crystal displays (LCDs), light-emitting diode (LED) displays, organic light-emitting diode (OLED) displays, flexible displays, flat panel displays, solid-state displays, projectors, or any other devices for outputting information. One or more implementations may include devices that function as both input and output devices, such as a touchscreen. In these implementations, the feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or haptic feedback, and user input can be received in any form, including acoustic input, voice input, or haptic input.
[0126] Finally, as shown in Figure 15, the bus 1508 also connects the electronic system 1500 to one or more networks and / or one or more network nodes, such as the electronic device 150 shown in Figure 1, via one or more network interfaces 1516. In this way, the electronic system 1500 may be part of a network of computers (such as a LAN, wide area network ("WAN"), or intranet) or a network such as the Internet. Any or all components of the electronic system 1500 can be used in conjunction with this disclosure.
[0127] The functions described above can be implemented in computer software, firmware, or hardware. This technology can be implemented using one or more computer program products. A programmable processor and computer can be included in a mobile device or packaged as a mobile device. Process and logic flows can be executed by one or more programmable processors and one or more programmable logic circuits. General-purpose and dedicated computing devices and storage devices can be interconnected through a communication network.
[0128] Some implementations include electronic components such as microprocessors, storage devices and memory that store computer program instructions in machine-readable or computer-readable media (also called computer-readable storage media, machine-readable media, or machine-readable storage media). Some examples of such computer-readable media include RAM, ROM, read-only compact disks (CD-ROMs), write-once compact disks (CD-Rs), rewritable compact disks (CD-RWs), read-only multipurpose disks (e.g., DVD-ROMs, dual-layer DVD-ROMs), various recordable / rewritable DVDs (e.g., DVD-RAMs, DVD-RWs, DVD+RWs, etc.), flash memory (e.g., SD cards, miniSD cards, microSD cards, etc.), magnetic and / or solid-state hard disks, read-only recordable Blu-ray® discs, ultra-high-density optical discs, any other optical or magnetic media, and floppy disks. Computer-readable media are executable by at least one processing unit and can store computer programs containing instruction sets for performing various operations. Examples of computer programs or computer code include machine code, such as that produced by a compiler, and files containing high-level code that is executed by a computer, electronic component, or microprocessor using an interpreter.
[0129] The above description primarily refers to microprocessors or multicore processors that run software, but some implementations are performed by one or more integrated circuits, such as application-specific integrated circuits (ASICs) or field-programmable gate arrays (FPGAs). In some implementations, such integrated circuits execute instructions stored within the circuit itself.
[0130] As used herein and in any of the claims, the terms “computer,” “server,” “processor,” and “memory” all mean an electronic device or other technical device. These terms exclude persons or groups of persons. For the purposes of this specification, the term “display” or “display” means to display on an electronic device. As used herein and in any of the claims, the terms “computer-readable medium” and “computer-readable media” are strictly limited to tangible physical objects that store information in a format readable by a computer. These terms exclude any wireless signals, wired download signals, and any other transient signals.
[0131] To provide user interaction, implementations of the subject matter described herein can be implemented on a computer having a display device for displaying information to the user, such as a CRT (cathode ray tube) monitor or an LCD (liquid crystal display) monitor, a keyboard and a pointing device, such as a mouse or trackball, to which the user can provide input to the computer. User interaction can also be provided using other types of devices. For example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback, and input from the user may be received in any form, including acoustic input, voice input, or tactile input. In addition, the computer can interact with the user by sending documents to and receiving documents from the device the user is using, for example, by sending web pages to a web browser on the user's client device in response to a request received from that web browser.
[0132] Embodiments of the subject matter described herein can be implemented, for example, in a computing system including a backend component as a data server, or a computing system including a middleware component, such as an application server, or a computing system including a client computer having a graphical user interface or web browser on which a user can interact with the implementation of the subject matter described herein, or in a computing system including any combination of one or more such backend components, middleware components, or frontend components. The components of the system can be interconnected in any form or via a medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LANs") and wide area networks ("WANs"), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad-hoc peer-to-peer networks).
[0133] A computer system can include clients and servers. Generally, clients and servers are remote to each other and can interact via a communication network. The client-server relationship is established through computer programs running on each computer and having a client / server relationship with each other. In some embodiments, the server sends data (e.g., an HTML page) to a client device (for example, to display data to a user interacting with the client device and to receive user input from the user). Data generated on the client device (e.g., the results of user interaction) can be received by the server from the client device.
[0134] Those skilled in the art will understand that the various exemplary blocks, modules, elements, components, methods, and algorithms described herein can be implemented as electronic hardware, computer software, or a combination of both. Above, to demonstrate this hardware-software compatibility, the various exemplary blocks, modules, elements, components, methods, and algorithms have been generally described in terms of their functionality. Whether such functionality is implemented in hardware or software depends on the design constraints imposed on the overall system and the specific application. The described functions can be implemented in various ways for each particular application. The various components and blocks may be arranged differently (for example, in a different order or divided in a different way) without departing in any way from the scope of the art of this application.
[0135] The specific order or hierarchy of steps in the disclosed process is understood to be an example of an exemplary approach. The specific order or hierarchy of steps in the process may be rearranged based on design preferences. Some of the steps may be performed simultaneously. The claims of the attached method present elements of various steps in a sample order and are not intended to be limited to the specific order or hierarchy presented.
[0136] The foregoing description is provided to enable those skilled in the art to implement the various embodiments described herein. The foregoing description provides various embodiments of the art of the present application, and the art of the present application is not limited to these embodiments. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein can be applied to other embodiments as well. Therefore, the claims are not intended to limit the embodiments to those shown herein, but the entire scope corresponding to the literal claims should be recognized, and references to elements in the singular are not intended to mean "one and only one," but rather "one or more," unless otherwise specified. Unless otherwise specified, the term "some" refers to one or more things. Masculine pronouns (e.g., his) include feminine and neuter genders (e.g., her and her), and vice versa. Headings and subheadings, if any, are used for convenience only and do not limit the inventions described herein.
[0137] As used herein, the term "website" can include any aspect of a website, including one or more web pages, one or more servers used to host or store web-related content, etc. Thus, the term "website" can be used interchangeably with the terms "web page" and "server." The predicates "configured to," "operable to," and "programmed to" are not intended to imply any specific tangible or intangible modification of the subject matter, but rather to be used interchangeably. For example, a processor configured to monitor and control operations or components may also mean that the processor is programmed to monitor and control operations, or that the processor is operable to monitor and control operations. Similarly, a processor configured to execute code may be interpreted as a processor programmed to execute code, or operable to execute code.
[0138] As used herein, the term "automatic" may include performance by a computer or machine without user intervention, such as performance by instructions in response to predicate actions by a computer or machine or other initiating mechanism. The word "example" is used herein to mean "to serve as an example or illustration." No embodiment or design described herein as an "example" should necessarily be construed as being preferable or advantageous to any other embodiment or design.
[0139] The terms "aspect" and similar phrases do not imply that such an aspect is essential to the technology of the Application, or that such an aspect applies to all configurations of the Technology of the Application. Disclosure relating to one aspect may apply to all configurations or one or more configurations. An aspect may provide one or more embodiments. The terms "an aspect" and similar phrases refer to one or more aspects, and vice versa. The terms "embodiment" and similar phrases do not imply that such an embodiment is essential to the technology of the Application, or that such an embodiment applies to all configurations of the Technology of the Application. Disclosure relating to one embodiment may apply to all embodiments or one or more embodiments. An embodiment may provide one or more embodiments. The terms "embodiment" and similar phrases may refer to one or more embodiments, and vice versa. The terms "configuration" and similar phrases do not imply that such a configuration is essential to the technology of the Application, or that such a configuration applies to all configurations of the Technology of the Application. Disclosure relating to a configuration may apply to all configurations or one or more configurations. A configuration may provide one or more embodiments. The phrase "a configuration" can refer to one or more configurations, and vice versa.
Claims
1. It is a method, To acquire a first microphone signal from the first microphone of the first device, The first device acquires the second microphone signal from the second microphone of the second device, A method comprising controlling the audio input to a translator application in the first device, based on the first microphone signal and the second microphone signal, the translator application being configured to generate an audio translation of the audio content in the audio input from a first language to a second language.
2. The method according to claim 1, wherein at least one of the first microphone signal or the second microphone signal includes a representation of the voice of a person other than the user of the first device who speaks in the first language, and the method further includes using the translator application in response to the controlled audio input to generate an audio output which includes the voice speaking in the second language.
3. The method according to claim 1, wherein controlling the audio input includes selecting the first microphone signal or the second microphone signal as the audio input, at least in part, based on the signal-to-noise ratio of the first microphone signal.
4. The second microphone signal from the second device is The first device's own audio stream configured to emphasize the voice representation of the user of the first device, The multistream signal includes a target audio stream configured to emphasize the representation of the voice of a person other than the user of the first device, The method according to claim 3, wherein selecting the first microphone signal or the second microphone signal as the audio input, at least in part on the signal-to-noise ratio of the first microphone signal, includes selecting the target audio stream of the first microphone signal or the second microphone signal as the audio input, regardless of whether the representation of the voice of the user of the first device is present in the first microphone signal or in the audio stream of the second microphone signal, at least in part on the signal-to-noise ratio of the first microphone signal.
5. The method according to claim 4, wherein at least one of the target audio streams of the first microphone signal or the second microphone signal includes the representation of the voice of a person other than the user of the first device who speaks in the first language, and the method further includes using the first device and based on the audio input to generate a spatialized audio output which includes a voice that speaks in the second language and is configured to be perceived as originating from the location of the person other than the user of the first device.
6. The method according to claim 1, wherein controlling the audio input includes determining whether to provide the translation application with any audio input, at least in part, based on a determination of whether the voice of the user of the first device is present in the second microphone signal.
7. Determining whether to provide audio input to the translation application, at least in part, based on the determination of whether the user's voice of the first device is present in the second microphone signal, In the first time period, based on the first determination that the voice of the user of the first device is not present in the second microphone signal, at least one of the first microphone signal or the second microphone signal is provided to the translation application as the audio input, The method according to claim 6, further comprising determining, at a second time, that the audio input should not be provided to the translator application based on a second determination that the voice of the user of the first device is present in the second microphone signal.
8. The method according to claim 1, wherein controlling the audio input includes selecting the first microphone signal or the second microphone signal as the audio input, at least in part on the conditions of the first device.
9. The method according to claim 8, further comprising determining the condition of the first device using sensor signals from at least one sensor in the first device, wherein the at least one sensor comprises a proximity sensor or an orientation sensor, and determining the condition of the first device further comprises determining whether the first microphone of the first device is blocked.
10. The method according to claim 8, further comprising determining the conditions of the first device based at least in part on user input that launched the translation application.
11. The method according to claim 1, wherein controlling the audio input includes selecting the first microphone signal or the second microphone signal as the audio input, at least in part, based on the state of the user interface of the translator application in the first device.
12. The method according to claim 11, wherein the second device is a head-mountable device.
13. The method according to claim 1, further comprising providing the first device with a prompt to move the first device based at least in part on the second microphone signal from the second device.
14. Based on the second microphone signal from the second device, the translator application generates a translation of the first device user's voice from the second language to the first language for output by the first device's speaker, Before providing the first microphone signal to the translation application to translate the voice of a person other than the user from the first language to the second language, an echo cancellation operation is performed on the first microphone signal from the first device, The method according to claim 1, further comprising:
15. It is an electronic device, The first microphone and, A memory that stores a translator application configured to generate audio translations of audio content in audio input from a first language to a second language, The system comprises one or more processors, and the one or more processors are The first microphone signal is acquired from the first microphone. A second microphone signal is acquired from a second microphone of an audio device separate from the aforementioned electronic device. An electronic device configured to control the audio input to the translation application based on the first microphone signal and the second microphone signal.
16. The device further comprises a communication circuit, wherein at least one of the first microphone signal or the second microphone signal includes a representation of the voice of a person other than the user of the electronic device, speaking in the first language, and the one or more processors The first microphone signal is wirelessly received from the audio device using the communication circuit. In response to the controlled audio input, the translator application generates an audio output including computer-generated speech in the second language. The electronic device according to claim 15, further configured to use the communication circuit to provide the audio device with the audio output for the output of the computer-generated sound by the speaker of the audio device.
17. The electronic device according to claim 16, wherein the memory stores the audio characteristics of a plurality of computer-generated voices, and one or more processors are further configured to select the computer-generated voice from the plurality of computer-generated voices based at least partially on the voice of the person in the first microphone signal or the second microphone signal.
18. The electronic device according to claim 15, wherein one or more processors are configured to control the audio input by selecting the first microphone signal or the second microphone signal as the audio input, at least in part on the sound pressure level of the first microphone signal.
19. The electronic device according to claim 15, wherein the one or more processors are configured to control the audio input by determining whether to provide the audio input to the translation application, at least in part, based on a determination of whether the voice of the user of the electronic device is present in the second microphone signal.
20. It is a system, An audio device equipped with a first microphone, The audio device comprises an electronic device having a second microphone, wherein the audio device is configured to transmit a first microphone signal from the first microphone to the electronic device, and the electronic device is The second microphone signal is acquired from the second microphone. A system configured to control the audio input to a translation application in the electronic device based on the first microphone signal and the second microphone signal, wherein the translation application is configured to generate an audio translation of the audio content in the audio input from a first language to a second language.
21. It is an electronic device, One or more microphones, One or more speakers, The system comprises one or more processors, and the one or more processors are During the performance, one or more microphones are used to acquire an audio input corresponding to the performance, wherein the audio input includes speech in a first language and ambient sounds. During the aforementioned performance, a translation of the aforementioned utterance into a second language was obtained. An electronic device configured to output an audio output during the performance by operating one or more speakers, the audio output including ambient sound and computer-generated speech that speaks the translation of the utterance in the second language.
22. The electronic device according to claim 21, wherein the utterance in the first language is removed from the audio output.
23. The electronic device according to claim 21, wherein the audio output further includes a modified version of the utterance in the first language.
24. The electronic device according to claim 23, wherein the modified version of the utterance in the first language includes a volume-reduced version of the utterance in the first language.
25. The electronic device according to claim 23, wherein the modified version of the utterance in the first language includes a blurred version of the utterance in the first language.
26. The electronic device according to claim 21, wherein the utterance includes utterances from a character in the performance, and the ambient sound includes at least one of other utterances from other characters in the performance or music.
27. The electronic device according to claim 21, wherein the utterance in the first language is spoken by a character in the performance at a location within the physical environment of the electronic device, and the computer-generated voice that speaks the translation of the utterance is spatialized according to the location.
28. The electronic device according to claim 27, wherein outputting the audio output using one or more speakers makes the spatialized computer-generated speech translation of the utterance perceptible as originating from the character's location.
29. The electronic device according to claim 27, wherein the computer-generated voice that speaks the translation of the utterance is voice-matched to one or more characteristics of the voice of the character.
30. The electronic device includes earphones and is capable of obtaining the translation of the utterance in the second language. To provide at least a portion of the aforementioned audio input to the companion device from the earphones, The electronic device according to claim 21, comprising receiving from the companion device the computer-generated speech that speaks the translation of the utterance in the second language.
31. It is a method, Determining the first location of a first person and the second location of a second person for a device having multiple microphones, The process involves acquiring multiple microphone signals from the aforementioned multiple microphones, During the time period while acquiring each of the plurality of microphone signals and while the first voice of the first person is present in each of the plurality of microphone signals, the size of the beam field of view for processing each of the plurality of microphone signals is dynamically determined based on the first location, the second location, and the movement of the device. During the aforementioned time period, the beam having the field of view of the dynamically determined size is used to process each of the plurality of microphone signals to generate audio output data including a version of the first person's voice. A method comprising providing audio output data, which includes the version of the first voice of the first person, for output by a speaker during the aforementioned time period.
32. The method according to claim 31, wherein the field of view includes the first location of the first person over the time period, and dynamically determining the size of the field of view of the beam based on the first location, the second location, and the movement of the device includes expanding the size of the field of view while excluding the second location from the field of view in accordance with the movement of the device.
33. The method according to claim 32, wherein dynamically determining the size of the field of view of the beam based on the first location, the second location, and the movement of the device includes dynamically determining the size of the field of view of the beam based on the first location, the second location, the movement of the device, and an indication that the user of the device is engaged in a conversation with a first person.
34. The method according to claim 33, wherein the second person is involved in a conversation with the third person during the time period.
35. The method according to claim 31, wherein dynamically determining the size of the field of view of the beam based on the first location, the second location, and the movement of the device includes expanding the size of the field of view in response to the movement of the device while maintaining the first location and the second location within the field of view.
36. The method according to claim 35, wherein the first person and the second person are involved in a conversation with the user of the device.
37. The method according to claim 31, wherein the version of the first voice of the first person includes pass-through playback of the first voice of the first person.
38. The method according to claim 31, wherein the version of the first voice of the first person includes a computer-generated voice that speaks a translation of the first voice of the first person.
39. It is a method, During the performance, the device uses at least one microphone to acquire an audio input corresponding to the performance, wherein the audio input includes speech in a first language and ambient sounds. During the aforementioned performance, to obtain a translation of the aforementioned utterance in a second language, A method comprising, during the performance, outputting an audio output using at least one speaker of the device, which includes the ambient sound and a computer-generated voice speaking the translation of the utterance in the second language.
40. The method according to claim 39, further comprising modifying the utterance in the first language in the audio output.
