# US 2023/0421946 A1 · Audio data processing method and electronic device supporting same

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0421946 A1
- Document ID: US20230421946A1
- Status: Published application
- Kind: A1
- Application number: 18/466,318
- Filed: 2023-09-13
- Published: 2023-12-28
- Earliest claimed: 2021-03-23
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Junseok PARK; Kyumin KIM; Min LEE
- Web page: https://patentgrep.com/patent/US20230421946A1

## CPC

- G10L 21/0208: Noise filtering
- H04R 1/1083: {Reduction of ambient noise (active noise reduction per se G10K11/175; protective devices for the ear, e.g. providing acoustic protection A61F11/06)}
- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- H04R 3/04: for correcting frequency response
- G10L 2021/02082: {the noise being echo, reverberation of the speech}
- H04R 3/02: for preventing acoustic reaction {, i.e. acoustic oscillatory feedback (specially adapted for hearing aids H04R25/453)}
- H04R 2420/07: Applications of wireless loudspeakers or wireless microphones
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- H04R: LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; ELECTRIC HEARING AIDS; PUBLIC ADDRESS SYSTEMS (producing sounds with frequency not determined by supply frequency G10K)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An electronic device comprising a wireless communication circuit, a microphone, an audio circuit, a processor, and a memory operatively connected to the processor are provided. When a designated application is executed, the electronic device transmits a trigger signal to the audio circuit, transmits the trigger signal to an external electronic device through the wireless communication circuit, acquires a response signal corresponding to the trigger signal by using the microphone from the external electronic device, calculates a path delay time by comparing the trigger signal with the response signal by using the audio circuit, and performs an echo canceling operation based on the path delay time.

## Claims

### Claim 1

An electronic device comprising:
a wireless communication circuit;
a microphone;
an audio processor;
a processor; and
a memory operatively connected to the processor, wherein the memory stores instructions that, when executed, cause the processor to:
in response to a specified application being executed, transmit, to the audio processor, a trigger signal,
transmit, to an external electronic device via the wireless communication circuit, the trigger signal,
acquire, from the external electronic device by using the microphone, a response signal corresponding to the trigger signal,
compare the trigger signal and the response signal to calculate an echo path delay by using the audio processor, and
based on the echo path delay, perform an echo canceling operation.

### Claim 2 (depends on 1)

The electronic device of claim 1,
wherein the audio processor includes echo path delay (EPD) calculating circuitry and echo canceling circuitry,
wherein the instructions, when executed, further cause the processor to:
compare the trigger signal and the response signal by using the EPD calculating circuitry,
transmit, to the echo canceling circuitry, information related to the echo path delay calculated as a result of the comparison, and
based on the echo path delay, eliminate an echo contained in the response signal by using the echo canceling circuitry.

### Claim 3 (depends on 1)

The electronic device of claim 1, wherein the instructions, when executed, further cause the processor to:
transmit, to the audio processor and the external electronic device via the wireless communication circuit, first audio data received while executing the specified application,
acquire, from the external electronic device by using the microphone, second audio data corresponding to the first audio data and output from the external electronic device, and
update the echo path delay by comparing the first audio data and the second audio data by using the audio processor.

### Claim 4 (depends on 1)

The electronic device of claim 1, wherein the instructions, when executed, further cause the processor to:
compare the trigger signal and the response signal by using the audio processor, and
in response to determining that the trigger signal and the response signal are similar to each other as a result of the comparison, calculate the echo path delay.

### Claim 5 (depends on 4)

The electronic device of claim 4, wherein the instructions, when executed, further cause the processor to:
determine that the trigger signal and the response signal are similar to each other by using the audio processor based on determining that the trigger signal and the response signal correspond to a same type as a set audio data type.

### Claim 6 (depends on 1)

The electronic device of claim 1, further comprising:
at least one sensor,
wherein the instructions, when executed, further cause the processor to:
acquire motion information of the electronic device based on a specified period by using the at least one sensor while executing the specified application, and
determine whether the motion information satisfies a specified condition.

### Claim 7 (depends on 6)

The electronic device of claim 6, wherein the instructions, when executed, further cause the processor to:
in response to determining that the motion information satisfies the specified condition, update the echo path delay by using the audio processor based on first audio data and second audio data.

### Claim 8 (depends on 7)

The electronic device of claim 7,
wherein the first audio data corresponds to audio data received by using the wireless communication circuit, and
wherein the second audio data corresponds to audio data output from the external electronic device and corresponding to the first audio data.

### Claim 9 (depends on 7)

The electronic device of claim 7, wherein the instructions, when executed, further cause the processor to:
compare the first audio data and the second audio data by using the audio processor, and
update the echo path delay based on determining that the first audio data and the second audio data are similar to each other as a result of the comparison.

### Claim 10 (depends on 9)

The electronic device of claim 9, wherein the instructions, when executed, further cause the processor to:
determine that the first audio data and the second audio data are similar to each other by using the audio processor based on determining that the first audio data and the second audio data correspond to a same type as at least a portion of the first audio data.

### Claim 11

A method for an electronic device to provide a function of processing audio data, the method comprising:
in response to a specified application being executed, transmitting, to an audio processor, a trigger signal;
transmitting, to an external electronic device via a wireless communication circuit, the trigger signal;
acquiring, from the external electronic device by using a microphone, a response signal corresponding to the trigger signal;
calculating an echo path delay by comparing the trigger signal and the response signal by using the audio processor; and
based on the echo path delay, performing an echo canceling function.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
comparing the trigger signal and the response signal by using echo path delay (EPD) calculating circuitry included in the audio processor;
transmitting, to echo canceling circuitry included in the audio processor, information related to the echo path delay calculated as a result of the comparison; and
based on the echo path delay, removing an echo contained in the response signal by using the echo canceling circuitry.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
transmitting, to the audio processor and the external electronic device via the wireless communication circuit, first audio data received while executing the specified application;
acquiring, from the external electronic device by using the microphone, second audio data corresponding to the first audio data and output from the external electronic device; and
updating the echo path delay by comparing the first audio data and the second audio data by using the audio processor.

### Claim 14 (depends on 11)

The method of claim 11, wherein the calculating of the echo path delay by comparing the trigger signal and the acquired response signal by using the audio processor comprises:
comparing the trigger signal and the response signal by using the audio processor; and
calculating the echo path delay in response to determining that the trigger signal and the response signal are similar to each other as a result of the comparison.

### Claim 15 (depends on 14)

The method of claim 14, wherein the comparing of the trigger signal and the response signal by using the audio processor, and the calculating of the echo path delay in response to determining that the trigger signal and the response signal are similar to each other as the result of the comparison comprises:
determining that the trigger signal and the response signal are similar to each other by using the audio processor based on determining that the trigger signal and the response signal correspond to a same type as a set audio data type.

### Claim 16 (depends on 11)

The method of claim 11, further comprising:
acquiring motion information of the electronic device based on a specified period by using at least one sensor while executing the specified application; and
determining whether the motion information satisfies a specified condition.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
in response to determining that the motion information satisfies the specified condition, updating the echo path delay by using the audio processor based on first audio data and second audio data.

### Claim 18 (depends on 17)

The method of claim 17,
wherein the first audio data corresponds to audio data received using the wireless communication circuit, and
wherein the second audio data corresponds to audio data output from the external electronic device and corresponding to the first audio data.

### Claim 19 (depends on 17)

The method of claim 17, wherein the updating of the echo path delay by using the audio processor based on the first audio data and the second audio data comprises:
comparing the first audio data and the second audio data by using the audio processor; and
updating the echo path delay based on determining that the first audio data and the second audio data are similar to each other as a result of the comparison.

### Claim 20 (depends on 19)

The method of claim 19, wherein the comparing of the first audio data and the second audio data by using the audio processor, and the updating of the echo path delay based on determining that the first audio data and the second audio data are similar to each other as the result of the comparison comprises:
determining that the first audio data and the second audio data are similar to each other by using the audio processor based on determining that the first audio data and the second audio data correspond to a same type as at least a portion of the first audio data.
