# US 2023/0141326 A1 · Systems, devices, and methods for segmenting a musical composition into musical segments

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

- Number: US 2023/0141326 A1
- Document ID: US20230141326A1
- Status: Published application
- Kind: A1
- Application number: 18/094,372
- Filed: 2023-01-08
- Published: 2023-05-11
- Earliest claimed: 2020-01-28
- Assignees: Obeebo Labs Ltd.
- Applicants: Obeebo Labs Ltd.
- Inventors: Colin P. Williams
- Web page: https://patentgrep.com/patent/US20230141326A1

## CPC

- G10H 1/0008: {Associated control or indicating means}
- G10G 1/00: Means for the representation of music
- G10H 1/0025: {Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece (automatically producing a series of tones G10H1/26)}
- G10H 2210/061: for extraction of musical phrases, isolation of musically relevant segments, e.g. musical thumbnail generation, or for temporal structure analysis of a musical piece, e.g. determination of the movement sequence of a musical work
- G10H 2210/066: for pitch analysis as part of wider processing for musical purposes, e.g. transcription, musical performance evaluation; Pitch recognition, e.g. in polyphonic sounds; Estimation or use of missing fundamental
- G10H 2210/105: Composing aid, e.g. for supporting creation, edition or modification of a piece of music
- G10H 2250/135: Autocorrelation
- 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
- G10G: REPRESENTATION OF MUSIC; RECORDING MUSIC IN NOTATION FORM; ACCESSORIES FOR MUSIC OR MUSICAL INSTRUMENTS NOT OTHERWISE PROVIDED FOR, e.g. SUPPORTS (music stands A47B; non-musical aspects of musical toy instruments A63H5/00; metronomes G04F5/02; teaching music G09B15/00)

## Abstract

Systems, devices, and methods for segmenting musical compositions are described. Discrete, musically-coherent segments (such as intro, verse, chorus, bridge, solo, and the like) of a musical composition are identified. Distance measures are used to evaluate whether each bar of a musical composition is more like the bars that directly precede it or more like the bars that directly succeed it, and each respective series of musically similar bars is assigned to the same respective segment. Large changes in the distance measure(s) between adjacent bars may be used to identify boundaries between abutting musical segments. Computer systems and computer program products for implementing segmentation are also described. The results of segmentation may advantageously be applied in computer-based composition of music and musical variations, as well as in other applications involving labeling, characterizing, or otherwise processing music.

## Claims

### Claim 1

A computer-implemented method of segmenting a musical composition into musical segments, the method comprising:
for each bar of the musical composition that is not an initial bar of the musical composition or a last bar of the musical composition:
determining a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition;
determining a second measure of similarity between the bar and at least one bar that directly succeeds the bar in the musical composition; and
one of:
if the first measure of similarity satisfies at least a first criterion, assigning the bar to a first musical segment; or
if the second measure of similarity satisfies at least a second criterion, assigning the bar to a second musical segment, the second musical segment different from the first musical segment.

### Claim 2 (depends on 1)

The method of claim 1 wherein the first musical segment is a same musical segment to which the at least one bar that directly precedes the bar in the musical composition is also assigned.

### Claim 3 (depends on 1)

The method of claim 1 wherein the second musical segment is a same musical segment to which the at least one bar that directly succeeds the bar in the musical composition is also assigned.

### Claim 4 (depends on 1)

The method of claim 1 wherein determining a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition includes determining a correlation distance between the bar and at least one bar that directly precedes the bar in the musical composition, and wherein determining a second measure of similarity between the bar and at least one bar that directly succeeds the bar in the musical composition includes determining a correlation distance between the bar and at least one bar that directly succeeds the bar in the musical composition.

### Claim 5 (depends on 1)

The method of claim 1 wherein the first criterion includes a first threshold value that is representative of a measure of distance between the bar and the at least one bar that directly precedes the bar in the musical composition and the second criterion includes a second threshold value that is representative of a measure of distance between the bar and the at least one bar that directly succeeds the bar in the musical composition.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
for the initial bar of the musical composition, assigning the initial bar to an initial musical segment.

### Claim 7 (depends on 6)

The method of claim 6 wherein for a bar that directly succeeds the initial bar of the musical composition, determining a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition includes determining a first measure of similarity between the bar that directly succeeds the initial bar of the musical composition and the initial bar of the musical composition, and wherein:
if the first measure of similarity satisfies at least the first criterion, assigning the bar to a first musical segment includes assigning the bar that directly succeeds the initial bar of the musical composition to the initial musical segment; whereas
if the second measure of similarity satisfies at least the second criterion, assigning the bar to a second musical segment includes assigning the bar that directly succeeds the initial bar of the musical composition to a musical segment that is different from the initial musical segment.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
for the last bar of the musical composition:
determining a first measure of similarity between the last bar of the musical composition and at least one bar that directly precedes the last bar in the musical composition; and
one of:
if the first measure of similarity satisfies at least a first criterion, assigning the last bar of the musical composition to a same musical segment as the at least one bar that directly precedes the last bar in the musical composition; or
if the first measure of similarity does satisfy the at least a first criterion, assigning the last bar in the musical composition to a second musical segment, the second musical segment different from the musical segment to which the at least one bar that directly precedes the last bar in the musical composition is assigned.

### Claim 9

A system for segmenting a musical composition into musical segments, the system comprising:
at least one processor; and
a non-transitory processor-readable storage medium communicatively coupled to the at least one processor, the non-transitory processor-readable storage medium storing processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to, for each bar of the musical composition that is not an initial bar of the musical composition or a last bar of the musical composition:
determine a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition;
determine a second measure of similarity between the bar and at least one bar that directly succeeds the bar in the musical composition; and
one of:
if the first measure of similarity satisfies at least a first criterion, assign the bar to a first musical segment; or
if the second measure of similarity satisfies at least a second criterion, assign the bar to a second musical segment, the second musical segment different from the first musical segment.

### Claim 10 (depends on 9)

The system of claim 9 wherein the first musical segment is a same musical segment to which the at least one bar that directly precedes the bar in the musical composition is also assigned.

### Claim 11 (depends on 9)

The system of claim 9 wherein the second musical segment is a same musical segment to which the at least one bar that directly succeeds the bar in the musical composition is also assigned.

### Claim 12 (depends on 9)

The system of claim 9 wherein the processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to determine a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition, cause the at least one processor to determine a correlation distance between the bar and at least one bar that directly precedes the bar in the musical composition, and wherein the processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to determine a second measure of similarity between the bar and at least one bar that directly succeeds the bar in the musical composition, cause the at least one processor to determine a correlation distance between the bar and at least one bar that directly succeeds the bar in the musical composition.

### Claim 13 (depends on 9)

The system of claim 9 wherein the first criterion includes a first threshold value that is representative of a measure of distance between the bar and the at least one bar that directly precedes the bar in the musical composition and the second criterion includes a second threshold value that is representative of a measure of distance between the bar and the at least one bar that directly succeeds the bar in the musical composition.

### Claim 14 (depends on 9)

The system of claim 9 wherein the non-transitory processor-readable storage medium further stores processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to, for the initial bar of the musical composition, assign the initial bar to an initial musical segment.

### Claim 15 (depends on 14)

The system of claim 14 wherein for a bar that directly succeeds the initial bar of the musical composition, the processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to determine a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition, cause the at least one processor to determine a first measure of similarity between the bar that directly succeeds the initial bar of the musical composition and the initial bar of the musical composition, and wherein:
if the first measure of similarity satisfies at least the first criterion, the processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to assign the bar to a first musical segment, cause the at least one processor to assign the bar that directly succeeds the initial bar of the musical composition to the initial musical segment; whereas
if the second measure of similarity satisfies at least the second criterion, the processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to assign the bar to a second musical segment, cause the at least one processor to assign the bar that directly succeeds the initial bar of the musical composition to a musical segment that is different from the initial musical segment.

### Claim 16 (depends on 9)

The system of claim 9 wherein the non-transitory processor-readable storage medium further stores processor-executable instructions and/or data that, when executed by the at least one processor, cause the at least one processor to, for the last bar of the musical composition:
determine a first measure of similarity between the last bar of the musical composition and at least one bar that directly precedes the last bar in the musical composition; and
one of:
if the first measure of similarity satisfies at least a first criterion, assign the last bar of the musical composition to a same musical segment as the at least one bar that directly precedes the last bar in the musical composition; or
if the first measure of similarity does satisfy the at least a first criterion, assign the last bar in the musical composition to a second musical segment, the second musical segment different from the musical segment to which the at least one bar that directly precedes the last bar in the musical composition is assigned.

### Claim 17

A computer program product comprising a non-transitory processor-readable storage medium storing processor-executable instructions and/or data that, when executed by at least one processor communicatively coupled to the non-transitory processor-readable storage medium, cause the at least one processor to, for each bar of the musical composition that is not an initial bar of the musical composition or a last bar of the musical composition:
determine a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition;
determine a second measure of similarity between the bar and at least one bar that directly succeeds the bar in the musical composition; and
one of:
if the first measure of similarity satisfies at least a first criterion, assign the bar to a first musical segment; or
if the second measure of similarity satisfies at least a second criterion, assign the bar to a second musical segment, the second musical segment different from the first musical segment.

### Claim 18 (depends on 17)

The computer program product of claim 17 wherein the first musical segment is a same musical segment to which the at least one bar that directly precedes the bar in the musical composition is also assigned, and wherein the second musical segment is a same musical segment to which the at least one bar that directly succeeds the bar in the musical composition is also assigned.

### Claim 19 (depends on 17)

The computer program product of claim 17 wherein the non-transitory processor-readable storage medium further stores processor-executable instructions and/or data that, when executed by at least one processor communicatively coupled to the non- transitory processor-readable storage medium, cause the at least one processor to, for the initial bar of the musical composition, assign the initial bar to an initial musical segment, and wherein:
for a bar that directly succeeds the initial bar of the musical composition, the processor-executable instructions and/or data that, when executed by at least one processor communicatively coupled to the non-transitory processor-readable storage medium, cause the at least one processor to determine a first measure of similarity between the bar and at least one bar that directly precedes the bar in the musical composition, cause the at least one processor to determine a first measure of similarity between the bar that directly succeeds the initial bar of the musical composition and the initial bar of the musical composition, and wherein:
if the first measure of similarity satisfies at least the first criterion, the processor-executable instructions and/or data that, when executed by at least one processor communicatively coupled to the non-transitory processor-readable storage medium, cause the at least one processor to assign the bar to a first musical segment, cause the at least one processor to assign the bar that directly succeeds the initial bar of the musical composition to the initial musical segment; whereas
if the second measure of similarity satisfies at least the second criterion, the processor-executable instructions and/or data that, when executed by at least one processor communicatively coupled to the non-transitory processor-readable storage medium, cause the at least one processor to assign the bar to a second musical segment, cause the at least one processor to assign the bar that directly succeeds the initial bar of the musical composition to a musical segment that is different from the initial musical segment.

### Claim 20 (depends on 17)

The computer program product of claim 17 wherein the non-transitory processor-readable storage medium further stores processor-executable instructions and/or data that, when executed by at least one processor communicatively coupled to the non-transitory processor-readable storage medium, cause the at least one processor to, for the last bar of the musical composition:
determine a first measure of similarity between the last bar of the musical composition and at least one bar that directly precedes the last bar in the musical composition; and
one of:
if the first measure of similarity satisfies at least a first criterion, assign the last bar of the musical composition to a same musical segment as the at least one bar that directly precedes the last bar in the musical composition; or
if the first measure of similarity does satisfy the at least a first criterion, assign the last bar in the musical composition to a second musical segment, the second musical segment different from the musical segment to which the at least one bar that directly precedes the last bar in the musical composition is assigned.
