# US 12,400,625 B2 · Musical analysis device, musical analysis method, and non-transitory computer-readable medium

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

- Number: US 12,400,625 B2
- Document ID: US12400625B2
- Status: Granted
- Kind: B2
- Application number: 17/705,117
- Filed: 2022-03-25
- Published: 2022-07-07
- Granted: 2025-08-26
- Earliest claimed: 2019-09-27
- Assignees: Yamaha Corporation
- Applicants: Yamaha Corporation
- Inventors: Kouhei Sumi
- Web page: https://patentgrep.com/patent/US12400625B2

## CPC

- G10H 1/0008: {Associated control or indicating means}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G10G 3/04: using electrical means
- G10H 1/40: Rhythm
- G06N 3/08: Learning methods
- 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/076: for extraction of timing, tempo; Beat detection
- G10H 2210/375: Tempo or beat alterations; Music timing control
- G10H 2250/311: Neural networks for electrophonic musical instruments or musical processing, e.g. for musical recognition or control, automatic composition or improvisation
- 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
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- 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

A musical analysis device comprises an electronic controller including at least one processor. The electronic controller is configured to execute a plurality of modules including a detection module configured to detect, using a detection model through a model training process with machine learning, bar lines based on audio information indicating a musical piece, and a correction module configured to correct positions of the bar lines detected by the detection module based on a reference meter identified from the musical piece.

## Claims

### Claim 1

A musical analysis device comprising:
an electronic controller including at least one processor, the electronic controller being configured to execute a plurality of modules including
a detection module configured to detect, using a detection model through a model training process with machine learning, bar lines based on audio information indicating a musical piece, and
a correction module configured to correct positions of the bar lines detected by the detection module based on a reference meter identified from the musical piece, such that a number of measures having a reference number of beats included in the reference meter increases, and
the correction module being configured to correct the positions of the bar lines to obtain one or more measures having the reference number of beats by dividing a measure having a number of beats greater than or equal to a division number of beats, obtained by adding a prescribed value to the reference number of beats.

### Claim 2 (depends on 1)

The musical analysis device according to claim 1, wherein,
in a case in which a leftover measure having a number of beats less than the reference number of beats is to be generated as a result of the division, and a sum of the number of beats of the leftover measure and a number of beats of an immediately preceding measure located immediately before the leftover measure is less than the division number of beats, the correction module is configured to correct the positions of the bar lines so as not to divide the leftover measure and the immediately preceding measure.

### Claim 3 (depends on 1)

The musical analysis device according to claim 1, wherein
the correction module is configured to correct the positions of the bar lines to obtain a measure having the reference number of beats by combining two or more consecutive measures, each having a number of beats less than the reference number of beats.

### Claim 4 (depends on 3)

The musical analysis device according to claim 3, wherein
the correction module is configured to correct the positions of the bar lines to obtain the measure having the reference number of beats by excluding, from a target of the combining, a measure having a number of beats exceeding ½ of the reference number of beats, and by combining two or more consecutive measures, each having a number of beats less than or equal to ½ of the reference number of beats.

### Claim 5 (depends on 1)

The musical analysis device according to claim 1, wherein
the musical piece includes a plurality of measures having different meters, and
the reference meter is a meter that occurs most frequently in the musical piece.

### Claim 6 (depends on 1)

The musical analysis device according to claim 1, wherein
the electronic controller is configured to further execute an extraction module configured to set a section after a non-chord section, which does not show tonality, ends in the musical piece as a bar line detection target section.

### Claim 7 (depends on 1)

The musical analysis device according to claim 1, wherein
the detection model includes a convolutional neural network and a recurrent neural network learned using the audio information and bar line information, which is training data,
an input of the detection model is a feature vector extracted for each beat from the musical piece, and
an output of the detection model is a bar line presence likelihood estimated for each beat of the musical piece.

### Claim 8

A musical analysis method realized by a computer, the music analysis method comprising:
detecting, using a detection model through a model training process with machine learning, bar lines based on audio information indicating a musical piece; and
correcting positions of the detected bar lines based on a reference meter identified from the musical piece, such that a number of measures having a reference number of beats included in the reference meter increases,
the positions of the bar lines being corrected to obtain one or more measures having the reference number of beats by dividing a measure having a number of beats greater than or equal to a division number of beats, obtained by adding a prescribed value to the reference number of beats.

### Claim 9 (depends on 8)

The musical analysis method according to claim 8, wherein,
in a case in which a leftover measure having a number of beats less than the reference number of beats is to be generated as a result of the division, and a sum of the number of beats of the leftover measure and a number of beats of an immediately preceding measure located immediately before the leftover measure is less than the division number of beats, the positions of the bar lines are corrected so as not to divide the leftover measure and the immediately preceding measure.

### Claim 10 (depends on 8)

The musical analysis method according to claim 8, wherein
the positions of the bar lines are corrected to obtain a measure having the reference number of beats by combining two or more consecutive measures, each having a number of beats less than the reference number of beats.

### Claim 11 (depends on 10)

The musical analysis method according to claim 10, wherein
the positions of the bar lines are corrected to obtain the measure having the reference number of beats by excluding, from a target of the combining, a measure having a number of beats exceeding ½ of the reference number of beats, and by combining two or more consecutive measures, each having a number of beats less than or equal to ½ of the reference number of beats.

### Claim 12 (depends on 8)

The musical analysis method according to claim 8, wherein
the musical piece includes a plurality of measures having different meters, and
the reference meter is a meter that occurs most frequently in the musical piece.

### Claim 13 (depends on 8)

The musical analysis method according to claim 8, further comprising
setting a section after a non-chord section, which does not show tonality, ends in the musical piece as a bar line detection target section.

### Claim 14 (depends on 8)

The musical analysis method according to claim 8, wherein
the detection model includes a convolutional neural network and a recurrent neural network learned using the audio information and bar line information, which is training data,
an input of the detection model is a feature vector extracted for each beat from the musical piece, and
an output of the detection model is a bar line presence likelihood estimated for each beat of the musical piece.

### Claim 15

A musical analysis device comprising:
an electronic controller including at least one processor, the electronic controller being configured to execute a plurality of modules including
a detection module configured to detect, using a detection model through a model training process with machine learning, bar lines based on audio information indicating a musical piece,
a correction module configured to correct positions of the bar lines detected by the detection module based on a reference meter identified from the musical piece, and
an extraction module configured to set a section after a non-chord section, which does not show tonality, ends in the musical piece as a bar line detection target section.

### Claim 16

A music analysis method realized by a computer, the music analysis method comprising:
detecting, using a detection model through a model training process with machine learning, bar lines based on audio information indicating a musical piece;
correcting positions of the detected bar lines based on a reference meter identified from the musical piece; and
setting a section after a non-chord section, which does not show tonality, ends in the musical piece as a bar line detection target section.
