# US 2023/0162714 A1 · Musical piece generation device, musical piece generation method, musical piece generation program, model generation device, model generation method, and model generation program

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

- Number: US 2023/0162714 A1
- Document ID: US20230162714A1
- Status: Published application
- Kind: A1
- Application number: 17/991,819
- Filed: 2022-11-21
- Published: 2023-05-25
- Earliest claimed: 2021-11-24
- Assignees: Yamaha Corporation
- Applicants: Yamaha Corporation
- Inventors: Masahiro SUZUKI
- Web page: https://patentgrep.com/patent/US20230162714A1

## CPC

- 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/091: for performance evaluation, i.e. judging, grading or scoring the musical qualities or faithfulness of a performance, e.g. with respect to pitch, tempo or other timings of a reference performance
- G10H 2210/131: Morphing, i.e. transformation of a musical piece into a new different one, e.g. remix
- G10H 2210/161: Note sequence effects, i.e. sensing, altering, controlling, processing or synthesising a note trigger selection or sequence, e.g. by altering trigger timing, triggered note values, adding improvisation or ornaments or also rapid repetition of the same note onset
- G10H 2220/151: Musical difficulty level setting or selection
- 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

## Abstract

A musical piece generation device includes an electronic controller including at least one processor. The electronic controller is configured to execute a plurality of modules including a data acquisition module configured to acquire target musical piece data indicating at least a part of a musical piece, a parameter acquisition module configured to acquire a value of a difficulty level parameter, a generation module configured to, by using a trained generative model, generate, from the target musical piece data and the value of the difficulty level parameter, new musical piece data indicating at least a part of a new musical piece obtained by changing a difficulty level of the musical piece to a difficulty level specified by the difficulty level parameter, and an output module configured to output the new musical piece data that has been generated.

## Claims

### Claim 1

A musical piece generation device comprising:
an electronic controller including at least one processor,
the electronic controller being configured to execute a plurality of modules including
a data acquisition module configured to acquire target musical piece data indicating at least a part of a musical piece,
a parameter acquisition module configured to acquire a value of a difficulty level parameter,
a generation module configured to, by using a trained generative model, generate, from the target musical piece data and the value of the difficulty level parameter, new musical piece data indicating at least a part of a new musical piece obtained by changing a difficulty level of the musical piece to a difficulty level specified by the difficulty level parameter, and
an output module configured to output the new musical piece data that has been generated.

### Claim 2 (depends on 1)

The musical piece generation device according to claim 1, wherein
the value of the difficulty level parameter indicates a width of a performance sound range of the new musical piece after the difficulty level of the musical piece is changed.

### Claim 3 (depends on 1)

The musical piece generation device according to claim 1, wherein
the value of the difficulty level parameter indicates a maximum number of simultaneously operated operators in a musical instrument used for the new musical piece after the difficulty level of the musical piece is changed.

### Claim 4 (depends on 1)

The musical piece generation device according to claim 1, wherein
the target musical piece data include an input token sequence arranged to indicate at least the part of the musical piece, and
the new musical piece data include an output token sequence that is output from the trained generative model and arranged to indicate at least the part of the new musical piece.

### Claim 5

A musical piece generation method executed by a computer, the method comprising:
acquiring target musical piece data indicating at least a part of a musical piece;
acquiring a value of a difficulty level parameter;
generating, by using a trained generative model, from the target musical piece data and the value of difficulty level parameter, new musical piece data indicating at least a part of a new musical piece obtained by changing a difficulty level of the musical piece to a difficulty level specified by the difficulty level parameter; and
outputting the new musical piece data that has been generated.

### Claim 6 (depends on 5)

The musical piece generation method according to claim 5, wherein
the value of the difficulty level parameter indicates a width of a performance sound range of the new musical piece after the difficulty level of the musical piece is changed.

### Claim 7 (depends on 5)

The musical piece generation method according to claim 5, wherein
the value of the difficulty level parameter indicates a maximum number of simultaneously operated operators in a musical instrument used for the new musical piece after the difficulty level of the musical piece is changed.

### Claim 8 (depends on 5)

The musical piece generation method according to claim 5, wherein
the target musical piece data include an input token sequence arranged to indicate at least the part of the musical piece, and
the new musical piece data include an output token sequence that is output from the trained generative model and arranged to indicate at least the part of the new musical piece.

### Claim 9

A model generation method executed by a computer, the method comprising:
acquiring a plurality of training datasets each of which includes a combination of training data and correct answer data, the training data including training musical piece data that indicate at least a part of a musical piece and including a difficulty level parameter for training, the correct answer data including new training musical piece data indicating at least a part of a new musical piece generated by changing a difficulty level of the musical piece of the training musical piece data to a difficulty level specified by the difficulty level parameter; and
executing machine learning of a generative model by using the plurality of training datasets that have been acquired, the machine learning being configured by training the generative model such that, with respect to each of the training datasets, musical piece data, which are generated by the generative model from the training musical piece data and a value of the difficulty level parameter that are included in the training data, match the new training musical piece data included in the correct answer data.

### Claim 10 (depends on 9)

The model generation method according to claim 9, wherein
the value of the difficulty level parameter included in the training data indicates a width of a performance sound range of the new musical piece after the difficulty level of the musical piece is changed.

### Claim 11 (depends on 9)

The model generation method according to claim 9, wherein
the value of difficulty level parameter included in the training data indicates a maximum number of simultaneously operated operators in a musical instrument used for the new musical piece after the difficulty level of the musical piece is changed.
