# US 2017/0294194 A1 · Audio fingerprinting based on audio energy characteristics

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

- Number: US 2017/0294194 A1
- Document ID: US20170294194A1
- Status: Published application
- Kind: A1
- Application number: 15/285,984
- Filed: 2016-10-05
- Published: 2017-10-12
- Earliest claimed: 2016-04-08
- Assignees: Source Digital, Inc.
- Applicants: Source Digital, Inc.
- Inventors: Patrick GREENE
- Web page: https://patentgrep.com/patent/US20170294194A1

## CPC

- G10L 25/54: for retrieval
- G06F 16/632: Query formulation
- G06F 16/683: using metadata automatically derived from the content
- G10H 1/0008: {Associated control or indicating means}
- G10L 25/21: the extracted parameters being power information
- G10H 2210/031: Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal
- G10H 2240/141: Library retrieval matching, i.e. any of the steps of matching an inputted segment or phrase with musical database contents, e.g. query by humming, singing or playing; the steps may include, e.g. musical analysis of the input, musical feature extraction, query formulation, or details of the retrieval process
- G10H 2250/235: Fourier transform; Discrete Fourier Transform [DFT]; Fast Fourier Transform [FFT]
- G10H 2250/261: Window, i.e. apodization function or tapering function amounting to the selection and appropriate weighting of a group of samples in a digital signal within some chosen time interval, outside of which it is zero valued
- 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)
- G10H: ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE

## Abstract

Audio fingerprinting includes obtaining audio samples of a piece of audio, generating frequency representations of the audio samples, identifying increasing and decreasing energy regions in frequency bands of the frequency representations, and generating hashes of features of the piece of audio. Each hash of features corresponds to portions of the identified energy regions appearing in a respective time window. Each feature is defined as a numeric value that encodes information representing: a frequency band of an energy region appearing in the respective time window, whether the energy region appearing in the respective time window is an increasing energy region or whether the energy region appearing in the respective time window is a decreasing energy region, and a placement of the energy region appearing in the respective time window.

## Claims

### Claim 1

A method of audio fingerprinting comprising:
obtaining audio samples of a piece of audio, each of the audio samples corresponding to a specific time;
generating frequency representations of the audio samples, the frequency representations being divided in frequency bands;
identifying energy regions in the frequency bands, each of the energy regions being one of an increasing energy region and a decreasing energy region, an increasing energy region defined as a time region within one of the frequency bands during which audio energy increases from a start time to an end time of the time region and a decreasing energy region defined as a time region within one of the frequency bands during which audio energy decreases from a start time to an end time of the time region, wherein the identifying the energy regions includes ignoring a time region within the one of the frequency bands during which audio energy fluctuates such that net energy change during the time region is zero from a start time to an end time of the time region;
analyzing portions of the identified energy regions appearing within time windows to generate hashes of features of the piece of audio, each hash of features corresponding to portions of the identified energy regions appearing in a respective time window, each feature defined as a numeric value that encodes information representing: a frequency band of an energy region appearing in the respective time window, whether the energy region appearing in the respective time window is an increasing energy region or whether the energy region appearing in the respective time window is a decreasing energy region, and a placement of the energy region appearing in the respective time window, the placement of the energy region appearing in the respective time window corresponding to one of:
whether the energy region appearing in the respective time window starts before and ends after the respective time window,
whether the energy region appearing in the respective time window starts before and ends within the respective time window,
whether the energy region appearing in the respective time window starts within and ends after the respective time window, and
whether the energy region appearing in the respective time window starts within and ends within the respective time window; and
storing each hash of features together with the specific time.

### Claim 2 (depends on 1)

The method of claim 1, comprising:
converting each hash of features to a MinHash representation of the features or MinHash values; and
storing the MinHash values together with the specific time.

### Claim 3 (depends on 1)

The method of claim 1, comprising:
converting each hash of features to a MinHash representation of the features having one hundred MinHash values;
sharding the one hundred MinHash values with a shard size of five to obtain twenty rows or groups of five MinHash shard values;
combining the five MinHash shard values within a row or group into a 64 bit number to obtain a fingerprint hash having twenty 64 bit numbers; and
storing the fingerprint hash together with the specific time.

### Claim 4 (depends on 1)

The method of claim 1, wherein the obtaining the audio samples of the piece of audio includes:
sampling the piece of audio at 8 kHz using a sampling window size of 4096 samples and a window overlap of 31/32.

### Claim 5 (depends on 1)

The method of claim 1, wherein the frequency bands include forty four frequency bands ranging from a first frequency band that starts at 200 Hz to a forty fourth frequency band that ends at 3300 Hz.

### Claim 6 (depends on 1)

The method of claim 1, wherein the frequency bands include forty four frequency bands whose bandwidth decrease logarithmically from a first frequency band that starts at 200 Hz to a forty fourth frequency band that ends at 3300 Hz.

### Claim 7 (depends on 1)

The method of claim 1, wherein each of the time windows has a window size of 1000 milliseconds and a window overlap of 950 milliseconds.

### Claim 8

A system for audio fingerprinting comprising:
a sampler configured to obtain audio samples of a piece of audio, each of the audio samples corresponding to a specific time;
a transformer configured to transform the audio samples into frequency representations of the audio samples, the frequency representations being divided in frequency bands;
an energy streamer configured to identify energy regions in the frequency bands, each of the energy regions being one of an increasing energy region and a decreasing energy region, an increasing energy region defined as a time region within a frequency band, of the frequency bands, during which audio energy increases from a start time to an end time of the time region and a decreasing energy region defined as a time region within a frequency band, of the frequency bands, during which audio energy decreases from a start time to an end time of the time region, wherein the energy streamer is configured to ignore a time region within the one of the frequency bands during which audio energy fluctuates such that net energy change during the time region is zero from a start time to an end time of the time region;
an energy hasher configured to analyze portions of the identified energy regions appearing within time windows to generate hashes of features of the piece of audio, each hash of features corresponding to portions of the identified energy regions appearing in a respective time window, each feature defined as a numeric value that encodes information representing: a frequency band of an energy region appearing in the respective time window, whether the energy region appearing in the respective time window is an increasing energy region or whether the energy region appearing in the respective time window is a decreasing energy region, and a placement of the energy region appearing in the respective time window, the placement of the energy region appearing in the respective time window corresponding to one of:
whether the energy region appearing in the respective time window starts before and ends after the respective time window,
whether the energy region appearing in the respective time window starts before and ends within the respective time window,
whether the energy region appearing in the respective time window starts within and ends after the respective time window, and
whether the energy region appearing in the respective time window starts within and ends within the respective time window; and
a non-transitory storage medium configured to store each hash of features together with the specific time.

### Claim 9 (depends on 8)

The system of claim 8, comprising:
a MinHash hasher configured to convert each hash of features to a MinHash representation of the features or MinHash values; and
the non-transitory storage medium or another non-transitory storage medium is configured to store the MinHash values and the specific time.

### Claim 10 (depends on 8)

The system of claim 8, comprising:
a MinHash hasher configured to convert each hash of features to a MinHash representation of the features having one hundred MinHash values;
a sharder configured to shard the one hundred MinHash values with a shard size of five to obtain twenty rows or groups of five MinHash shard values;
a combiner configured to combine the five MinHash shard values within a row or group into a 64 bit number to obtain a fingerprint hash having twenty 64 bit numbers; and
the non-transitory storage medium or another non-transitory storage medium configured to store the fingerprint hash and the specific time.

### Claim 11 (depends on 8)

The system of claim 8, comprising:
a sampler configured to obtain the audio samples of the piece of audio by sampling the piece of audio at 8 kHz using a sampling window size of 4096 samples and a window overlap of 31/32.

### Claim 12 (depends on 8)

The system of claim 8, wherein the frequency bands include forty four frequency bands ranging from a first frequency band that starts at 200 Hz to a forty fourth frequency band that ends at 3300 Hz.

### Claim 13 (depends on 8)

The system of claim 8, wherein the frequency bands include forty four frequency bands whose bandwidth decrease logarithmically from a first frequency band that starts at 200 Hz to a forty fourth frequency band that ends at 3300 Hz.

### Claim 14 (depends on 8)

The system of claim 8, wherein each of the time windows has a window size of 1000 milliseconds and a window overlap of 950 milliseconds.

### Claim 15

A device for audio fingerprinting comprising:
a processor; and
a non-transitory computer-readable medium,
the processor configured to receive audio samples of a piece of audio, each of the audio samples corresponding to a specific time, process the audio samples, and compare the processed audio samples to processed audio samples stored in the non-transitory computer-readable medium to at least one of identify or synchronize the piece of audio, wherein the processor is configured to process the audio samples by:
transforming the audio samples into frequency representations of the audio samples, the frequency representations being divided in frequency bands;
identifying energy regions within the frequency bands, each of the energy regions being one of an increasing energy region and a decreasing energy region, an increasing energy region defined as a time region within one of the frequency bands during which audio energy increases from a start time to an end time of the time region and a decreasing energy region defined as a time region within one of the frequency bands during which audio energy decreases from a start time to an end time of the time region, wherein the identifying the energy regions includes ignoring a time region within the one of the frequency bands during which audio energy on average does not increase or decrease from a start time to an end time of the time region;
analyzing portions of the identified energy regions appearing within time windows to generate hashes of features of the piece of audio, each hash of features corresponding to portions of the identified energy regions appearing in a respective time window, each feature defined as a numeric value that encodes information representing: a frequency band of an energy region appearing in the respective time window, whether the energy region appearing in the respective time window is an increasing energy region or whether the energy region appearing in the respective time window is a decreasing energy region, and a placement of the energy region appearing in the respective time window, the placement of the energy region appearing in the respective time window corresponding to one of:
whether the energy region appearing in the respective time window starts before and ends after the respective time window,
whether the energy region appearing in the respective time window starts before and ends within the respective time window,
whether the energy region appearing in the respective time window starts within and ends after the respective time window, and
whether the energy region appearing in the respective time window starts within and ends within the respective time window.

### Claim 16 (depends on 15)

The device of claim 15, wherein the processor is configured to convert each hash of features to a MinHash representation of the features having MinHash values; and
the non-transitory storage medium or another non-transitory storage medium is configured to store the MinHash values and the specific time.

### Claim 17 (depends on 15)

The device of claim 15, wherein the processor is configured to:
convert each hash of features to a MinHash representation of the features having one hundred MinHash values;
shard the one hundred MinHash values with a shard size of five to obtain twenty rows or groups of five MinHash shard values;
combine the five MinHash shard values within a row or group into a 64 bit number to obtain a fingerprint hash having twenty 64 bit numbers; and
the non-transitory storage medium or another non-transitory storage medium is configured to store the fingerprint hash and the specific time.

### Claim 18 (depends on 15)

The device of claim 15, wherein the processor is configured to:
obtain the audio samples of the piece of audio by sampling the piece of audio at 8 kHz using a sampling window size of 4096 samples and a window overlap of 31/32.

### Claim 19 (depends on 15)

The device of claim 15, wherein the frequency bands include forty four frequency bands whose bandwidth decrease logarithmically from a first frequency band that starts at 200 Hz to a forty fourth frequency band that ends at 3300 Hz.

### Claim 20 (depends on 15)

The device of claim 15, wherein the processor sets each of the time windows to have a window size of 1000 milliseconds and a window overlap of 950 milliseconds.

### Claim at position 21

21-23. (canceled)
