# US 2021/0343278 A1 · Systems and methods for generating a cleaned version of ambient sound

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

- Number: US 2021/0343278 A1
- Document ID: US20210343278A1
- Status: Published application
- Kind: A1
- Application number: 17/375,962
- Filed: 2021-07-14
- Published: 2021-11-04
- Earliest claimed: 2019-08-30
- Assignees: Spotify AB
- Applicants: Spotify AB
- Inventors: Daniel BROMAND; Richard MITIC; Björn E. ROTH
- Web page: https://patentgrep.com/patent/US20210343278A1

## CPC

- G10L 15/20: Speech recognition techniques specially adapted for robustness in adverse environments, e.g. in noise, of stress induced speech (G10L21/02 takes precedence)
- G10L 21/0208: Noise filtering
- G06F 3/165: {Management of the audio stream, e.g. setting of volume, audio stream path}
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 21/0264: characterised by the type of parameter measurement, e.g. correlation techniques, zero crossing techniques or predictive techniques
- G10L 25/84: for discriminating voice from noise
- G10L 2015/223: {Execution procedure of a spoken command}
- G10L 2021/02161: {Number of inputs available containing the signal or the noise to be suppressed}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A first electronic device is provided. While a media content item provided by a media-providing service is emitted by a second electronic device that is remote from the first electronic device, the first electronic device receives, from the media-providing service, data that includes an audio stream that corresponds to the media content item. The first electronic device detects ambient sound that includes sound corresponding to the media content item emitted by the second electronic device. The first electronic device generates a cleaned version of the ambient sound, which includes: using the data received from the media-providing service to align the audio stream with the ambient sound; and performing a subtraction operation to subtract the audio stream from the ambient sound. The first electronic device detects a voice command in the cleaned version of the ambient sound.

## Claims

### Claim 1

A method performed by a first electronic device associated with a media-providing service, the method comprising:
while a media content item provided by the media-providing service is emitted by a second electronic device that is remote from the first electronic device:
receiving, from the media-providing service, data that includes an audio stream that corresponds to the media content item;
detecting ambient sound that includes sound corresponding to the media content item emitted by the second electronic device; and
generating a cleaned version of the ambient sound, including:
using the data received from the media-providing service to align the audio stream with the ambient sound; and
performing a subtraction operation to subtract the audio stream from the ambient sound; and
detecting a voice command in the cleaned version of the ambient sound.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data received from the media-providing service further includes timing information and offset information that indicates a difference between an initial position of the media content item and a current playback position of the media content item.

### Claim 3 (depends on 2)

The method of claim 2, wherein the timing information includes a clock signal.

### Claim 4 (depends on 2)

The method of claim 2, wherein the timing information includes an indication of latency between the second electronic device and the first electronic device.

### Claim 5 (depends on 2)

The method of claim 2, wherein the offset information includes an indication of a time duration between the initial position of the media content item and the current playback position of the media content item.

### Claim 6 (depends on 2)

The method of claim 2, wherein the offset information includes an indication of a data amount that corresponds to the difference between the initial position of the media content item and the current playback position of the media content item.

### Claim 7 (depends on 1)

The method of claim 1, wherein at least a portion of the data received from the media-providing service is received from the second electronic device.

### Claim 8 (depends on 1)

The method of claim 1, wherein at least a portion of the data received from the media-providing service is received from a first server associated with the media-providing service.

### Claim 9 (depends on 1)

The method of claim 1, wherein the audio stream has a lower data rate than the media content item that is streamed to the second electronic device.

### Claim 10 (depends on 2)

The method of claim 2, wherein the timing information is embedded in the audio stream.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first electronic device is not playing the media content item.

### Claim 12 (depends on 1)

The method of claim 1, wherein the first electronic device is playing the media content item.

### Claim 13

A first electronic device associated with a media-providing service, comprising:
one or more processors; and
memory storing instructions for execution by the one or more processors, the instructions including instructions for:
while a media content item provided by the media-providing service is emitted by a second electronic device that is remote from the first electronic device:
receiving, from the media-providing service, data that includes an audio stream that corresponds to the media content item;
detecting ambient sound that includes sound corresponding to the media content item emitted by the second electronic device; and
generating a cleaned version of the ambient sound, including:
using the data received from the media-providing service to align the audio stream with the ambient sound; and
performing a subtraction operation to subtract the audio stream from the ambient sound; and
detecting a voice command in the cleaned version of the ambient sound.

### Claim 14 (depends on 13)

The first electronic device of claim 13, wherein the data received from the media-providing service further includes timing information and offset information that indicates a difference between an initial position of the media content item and a current playback position of the media content item.

### Claim 15 (depends on 14)

The first electronic device of claim 14, wherein the timing information includes a clock signal.

### Claim 16 (depends on 14)

The first electronic device of claim 14, wherein the timing information includes an indication of latency between the second electronic device and the first electronic device.

### Claim 17 (depends on 14)

The first electronic device of claim 14, wherein the offset information includes an indication of a time duration between the initial position of the media content item and the current playback position of the media content item.

### Claim 18 (depends on 14)

The first electronic device of claim 14, wherein the offset information includes an indication of a data amount that corresponds to the difference between the initial position of the media content item and the current playback position of the media content item.

### Claim 19 (depends on 13)

The first electronic device of claim 13, wherein at least a portion of the data received from the media-providing service is received from the second electronic device.

### Claim 20

A non-transitory computer-readable storage medium storing instructions for execution by a first electronic device associated with a media-providing service, the instructions including instructions for:
while a media content item provided by the media-providing service is emitted by a second electronic device that is remote from the first electronic device:
receiving, from the media-providing service, data that includes an audio stream that corresponds to the media content item;
detecting ambient sound that includes sound corresponding to the media content item emitted by the second electronic device; and
generating a cleaned version of the ambient sound, including:
using the data received from the media-providing service to align the audio stream with the ambient sound; and
performing a subtraction operation to subtract the audio stream from the ambient sound; and
detecting a voice command in the cleaned version of the ambient sound.
