# US 2016/0300555 A1 · System and method for optical music recognition

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

- Number: US 2016/0300555 A1
- Document ID: US20160300555A1
- Status: Published application
- Kind: A1
- Application number: 15/027,248
- Filed: 2014-12-24
- Published: 2016-10-13
- Earliest claimed: 2013-12-31
- Assignees: Tonara Ltd.
- Applicants: Tonara Ltd.
- Inventors: Evgeni Begelfor; Michael Zakai; Ron Regev
- Web page: https://patentgrep.com/patent/US20160300555A1

## CPC

- G06V 30/304: Music notations
- G06V 30/19187: {Graphical models, e.g. Bayesian networks or Markov models}
- G10G 1/00: Means for the representation of music
- G10H 1/0033: {Recording/reproducing or transmission of music for electrophonic musical instruments}
- G10H 1/18: Selecting circuits
- G10H 2210/051: for extraction or detection of onsets of musical sounds or notes, i.e. note attack timings
- G10H 2210/071: for rhythm pattern analysis or rhythm style recognition
- G10H 2210/081: for automatic key or tonality recognition, e.g. using musical rules or a knowledge base
- G10H 2220/455: Camera input, e.g. analyzing pictures from a video camera and using the analysis results as control data
- G10H 2250/015: Markov chains, e.g. hidden Markov models [HMM], for musical processing, e.g. musical analysis or musical composition
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- 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)
- 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

Music recognition is carried out by accepting a musical score of musical elements in a digital format, transforming the digital format into a composite musical data object that models the musical score, defining the key signatures in the composite musical data object probabilistically, computing start times to play musical elements in respective measures of the composite musical data object without regard to rhythmic values of other musical elements in the respective measures, and generating an output including the defined key signatures and computed start times.

## Claims

### Claim 1

A method of music recognition, comprising the steps of:
accepting a musical score of musical elements in a digital format, the musical elements comprising measures, key signatures, and first barlines and second barlines;
transforming the digital format into a composite musical data object that models the musical score, wherein the musical elements in the composite musical data object have coordinates;
defining the key signatures in the composite musical data object probabilistically;
computing start times to play musical elements in respective measures of the composite musical data object without regard to rhythmic values of other musical elements in the respective measure; and
generating an output comprising the defined key signatures and computed start times.

### Claim 2 (depends on 1)

The method according to claim 1, wherein defining the key signatures in the composite musical data object is performed by submitting presumptive key signatures for computation in a hidden Markov model.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the hidden Markov model comprises:
an initial probability matrix populated by probabilities that the composite musical data object begins with a key; and
a transitional probability matrix populated by probabilities of a transition from one key to another key in the composite musical data object.

### Claim 4 (depends on 1)

The method according to claim 1, wherein computing start times comprises the steps of:
identifying anomalous rhythmic elements in the respective measures of the composite musical data object that are inconsistent with the rhythmic values of the other musical elements therein; and
computing the start times of the anomalous rhythmic elements according to the coordinates of the anomalous rhythmic elements relative to the coordinates of the respective measures.

### Claim 5 (depends on 1)

The method according to claim 1, wherein computing start times of one of the musical elements is performed using an equation
t
note
-
t
start
t
end
-
t
start
=
px
note
-
px
start
px
end
-
px
start
,
where tstart and tend are musical times at a beginning and end of a current measure, respectively; tnote is the musical time that the one musical element begins; pxstart and pxend are beginning and ending coordinates of the one musical element, respectively, and pxstart represents coordinates of a first playable musical object in the current measure.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising generating the digital format by optically scanning the musical score.

### Claim 7 (depends on 1)

The method according to claim 1, wherein transforming the digital format into a composite musical data object comprises producing the musical score in a new digital format that is acceptable to a processor.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the musical elements comprise a plurality of chords having respective chord intervals and wherein computing start times comprises computing a union of the chord intervals.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising computing a union of a plurality of unions of chord intervals and determining whether the unions are within a single measure.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising the steps of:
making a determination that the union of the chord intervals in one of the measures is less than a predetermined proportion of an expected duration of the one measure; and
responsively to the determination reporting that the one measure is a candidate for a pick-up measure.

### Claim 11 (depends on 1)

The method according to claim 1, further comprising the step of executing the output as a musical performance.

### Claim 12

A computer software product for music recognition, including a non-transitory computer-readable storage medium in which computer program instructions are stored, which instructions, when executed by a computer, cause the computer to perform the steps of:
accepting a musical score of musical elements in a digital format, the musical elements comprising measures, key signatures, and first barlines and second barlines;
transforming the digital format into a composite musical data object that models the musical score, wherein the musical elements in the composite musical data object have coordinates;
defining the key signatures in the composite musical data object probabilistically;
computing start times to play musical elements in respective measures of the composite musical data object without regard to rhythmic values of other musical elements in the respective measure; and
generating an output comprising the defined key signatures and computed start times.

### Claim 13 (depends on 12)

The computer software product according to claim 12, wherein defining the key signatures in the composite musical data object is performed by submitting presumptive key signatures for computation in a hidden Markov model, wherein the hidden Markov model comprises:
an initial probability matrix populated by probabilities that the composite musical data object begins with a key; and
a transitional probability matrix populated by probabilities of a transition from one key to another key in the composite musical data object.

### Claim 14 (depends on 12)

The computer software product according to claim 12, wherein computing start times comprises the steps of:
identifying anomalous rhythmic elements in the respective measures of the composite musical data object that are inconsistent with the rhythmic values of the other musical elements therein; and
computing the start times of the anomalous rhythmic elements according to the coordinates of the anomalous rhythmic elements relative to the coordinates of the respective measures.

### Claim 15 (depends on 12)

The computer software product according to claim 12, wherein computing start times of one of the musical elements is performed using an equation
t
note
-
t
start
t
end
-
t
start
=
px
note
-
px
start
px
end
-
px
start
,
where tstart and tend are musical times at a beginning and end of a current measure, respectively; tnote is the musical time that the one musical element begins; pxstart and pxend are beginning and ending coordinates of the one musical element, respectively, and pxstart represents coordinates of a first playable musical object in the current measure.

### Claim 16 (depends on 12)

The computer software product according to claim 12, wherein computing start times comprises the steps of identifying anomalous rhythmic elements in the respective measures of the composite musical data object that are inconsistent with the rhythmic values of the other musical elements therein and computing the start times of the anomalous rhythmic elements according to the coordinates of the anomalous rhythmic elements relative to the coordinates of the respective measures, and wherein defining the key signatures in the composite musical data object is performed by submitting presumptive key signatures for computation in the hidden Markov model.

### Claim 17 (depends on 12)

The computer software product according to claim 12, wherein the musical elements comprise a plurality of chords having respective chord intervals and wherein computing start times comprises computing a union of the chord intervals.

### Claim 18 (depends on 12)

The computer software product according to claim 12, further comprising computing a union of a plurality of unions of chord intervals and determining whether the unions are within a single measure.

### Claim 19 (depends on 12)

The computer software product according to claim 12, further comprising the steps of:
making a determination that the union of the chord intervals in one of the measures is less than a predetermined proportion of an expected duration of the one measure; and
responsively to the determination reporting that the one measure is a candidate for a pick-up measure.
