MIDI Pitch Replacement via Ranking

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for transferring rhythm and harmony between MIDI files are either too general or require large datasets for training, often resulting in unpredictable outcomes and potential errors in musical notes.

Innovation Solution

A method that ranks notes in a target MIDI file based on pitch and replaces their pitch information with corresponding notes from a source MIDI file, maintaining the rhythm while re-harmonizing, using either a naïve approach or machine learning algorithms to ensure accurate and predictable results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Extent of automation

If general methods for transferring rhythm and harmony between MIDI files are used, then the process can be automated, but the results become unpredictable and may contain errors in musical notes

Engineering Contradiction:
Improveautomation of MIDI file processingVSAvoidaccuracy of pitch transfer
Core Design Contradiction:
Extent of automationVSReliability

Solution Approach 1:

The patent applies preliminary action by ranking target notes based on their pitch information before performing the pitch replacement. This pre-ordering ensures that when pitch information is transferred from source notes, it occurs in a systematic sequence that maintains musical correctness. The ranking step prepares the data structure in advance to prevent errors during the actual pitch transfer operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary mechanism by using a ranking system as a mediator between the source MIDI file and target MIDI file. Rather than directly transferring pitch information in an arbitrary manner, the ranking acts as an intermediary that organizes and matches pitch information systematically, ensuring reliable and musically correct transfers while maintaining automation.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If machine learning algorithms are used for pitch transfer, then more accurate results can be achieved, but large datasets are required for training

Engineering Contradiction:
Improveprecision of pitch matchingVSAvoidamount of training data required
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts the essential feature of pitch information from MIDI files and processes it through a deterministic ranking-based algorithm. By taking out only the necessary pitch data and organizing it through ranking, the system achieves accurate pitch matching without requiring large training datasets. This extraction approach eliminates the need for complex machine learning training while maintaining precision.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the approach from statistical learning (machine learning requiring large datasets) to a deterministic parameter-based method (ranking). By changing the fundamental parameter of how pitch matching is achieved—from probabilistic ML models to deterministic ranking algorithms—the system achieves precision without the need for extensive training data.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If pitch information is directly replaced without ranking, then the process is simpler, but wrong notes may be introduced

Engineering Contradiction:
Improvesimplicity of pitch replacement processVSAvoidcorrectness of pitch assignment
Core Design Contradiction:
Ease of manufactureVSManufacturing precision

Solution Approach 1:

The patent applies preliminary action by ranking target notes before pitch replacement. This pre-ordering step adds minimal complexity to the process while ensuring that pitch information is assigned correctly. The ranking prepares the data in advance, making the subsequent pitch replacement both simple to execute and precise in its results.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses a copying approach where pitch information from source notes is copied to corresponding target notes based on ranking. This copying mechanism maintains the simplicity of direct replacement while ensuring correctness through the ranking-based matching, avoiding wrong notes without requiring complex processing.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20230360621A1Automatic preparation of a new MIDI file
Publication Date: 2023.11.09 SOUNDTRAP AB
  • US20230360621A1 patent drawing
  • US20230360621A1 patent drawing
  • US20230360621A1 patent drawing

AI summary

The present disclosure relates to a method of automatically preparing a MIDI file based on a target MIDI file comprising respective note information about each of a plurality of target notes and a source MIDI file comprising respective note information about each of a plurality of source notes. Each note information comprises pitch information defining a pitch of the note. The method comprises ranking the plurality of target notes based on the pitch of each target note. The method also comprises, for each of the ranked target notes, removing the pitch information from the note information of the target note. The method also comprises, for each of the ranked target notes, replacing the removed pitch information with pitch information of a corresponding source note, whereby the target note has the same pitch as the corresponding source note, forming a plurality of new notes of a new MIDI file.