Method and Apparatus for the Composition of Music
20220122569 · 2022-04-21
Inventors
Cpc classification
G10H1/0025
PHYSICS
G10H2210/145
PHYSICS
International classification
Abstract
A system and method for making musical decisions is provided. The approach is based on algorithms which compose music driven by an input of desired emotional tension over time. A method for abstraction and quantification of musical structures is detailed, as well as the application of this method in a generative algorithm that produces musical sequences. The overall goal of this method is to use a set of abstractions and guidelines to generate emotionally appropriate new music in real time.
Claims
1. A computer implemented method of making a musical choice, comprising: defining a domain of at least one musical state; inputting a target musical tension value; analyzing the vertical musical tension of at least one possible musical choice; analyzing the horizontal musical tension of at least one possible musical choice; making a musical choice based on the vertical and horizontal tensions of possible next states in comparison to the target tension value.
2. The method of claim 1, wherein the vertical tension of a possible next state is analyzed by considering the relationships between coexisting elements of the next state.
3. The method of claim 1, wherein the vertical tension is analyzed by considering the relationship between a particular element present in the next state and any globally defined parameter.
4. The method of claim 1, wherein the horizontal tension of a possible next state is analyzed by comparing corresponding elements of the current and next states.
5. A computer implemented method for choosing a next chord, comprising: defining a musical domain of chords; inputting a target musical tension value; analyzing the vertical musical tension of at least one possible next chord; analyzing the horizontal musical tension of at least one possible next chord; selecting a next chord based on the closest match to the target tension.
6. The method of claim 5, wherein the vertical tension of a possible next chord is analyzed by considering the harmonic relationships between the notes that comprise the next chord.
7. The method of claim 5, wherein the vertical tension of a possible next chord is analyzed by considering the chord quality of the next chord.
8. The method of claim 5, wherein the vertical tension of a possible next chord is analyzed by considering the relationship between a particular note present in the next chord and any globally defined parameters.
9. The method of claim 5, wherein the vertical tension of a possible next chord is analyzed by considering the relationship between the notes that comprise the next chord and a globally defined musical key.
10. The method of claim 5, wherein the horizontal tension of a possible next chord is analyzed by comparing the chord quality and number of notes in the current and next chords.
11. The method of claim 5, wherein the horizontal tension of a possible next chord is analyzed by comparing the root notes of the current and next chords.
12. The method of claim 5, wherein the horizontal tension of a possible next chord is analyzed by determining the notes shared in common between the current and next chords.
13. The method of claim 5, wherein the horizontal tension of a possible next chord is analyzed by determining the number of notes in the current chord that are one semitone above a note in the next chord.
14. The method of claim 5, wherein the total tension is calculated by computing the sum of the horizontal and vertical tensions.
15. The method of claim 5, wherein the total tension is calculated to be the greater of the horizontal and vertical tensions.
16. A computer implemented method for choosing a next note, comprising: defining a musical domain of notes; inputting a musical target tension value; analyzing the vertical musical tension of at least one possible next note; analyzing the horizontal musical tension of at least one possible next note; selecting a next note based on the closest match to the target tension.
17. The method of claim 16, wherein the vertical tension is analyzed by considering the relationship between a possible next note and any other musical elements present at the same time.
18. The method of claim 16, wherein the vertical tension is analyzed by considering the relationship between a possible next note and any globally defined parameters.
19. The method of claim 16, wherein the vertical tension is analyzed by considering the relationship between a possible next note and a globally defined musical key.
20. The method of claim 16, wherein the horizontal tension of a possible next note is analyzed by considering the interval between the current note and a possible next note.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010]
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0020] The present invention uses a jazz approach to music theory to inform generation. Jazz music theory is not exclusive to jazz music; it is simply a flexible and powerful method of abstracting, analyzing, creating, and communicating musical structures. This theory is related to but largely distinct from the classical approach to music theory. Basic jazz theory can be generalized and abstracted such that a few key concepts can be used to analyze very complex structures, and an additional benefit is that one state does not restrict the available choices for the next musical or emotional state, making it especially powerful when considering a wide variety of possible musical and emotional directions. This use of jazz theory enables the present invention to have the key advantages of being able to generate completely new music, as well as being able to create music in real time.
[0021] In the present invention, chords are represented by conventional jazz chord symbols, which are composed of two components: a “root” and a “quality.” The root of a chord is the tonal foundation of a chord. The chord quality determines the other notes in the chord relative to the root.
Algorithm Structure
[0022]
[0023]
[0024] To use the concept of tension and release in the present invention as shown in
[0025] As shown in
[0026]
[0027] To analyze vertical tension 600, the system first evaluates the tension within the chord 601 by determining the chord quality (see
[0028] The next step is to evaluate if the chord root is in or out of the key 602. The root of the chord is the note that the chord is constructed from, and together with the chord quality, determines the notes that comprise the chord. A root note that is outside of the key will result in an increase in the calculated tension. Considering the root note's relationship to the greater musical context independent of the rest of the chord provides a broad measure of the entire chord's relationship to the musical context, as the rest of the chord is constructed off of the root note.
[0029] Finally, the system analyzes if the chord tones themselves are in or out of the key 603. This provides a more detailed analysis of the chord's relationship to the musical context, and is a secondary, higher-resolution consideration after analyzing the root note.
[0030]
[0031] To analyze horizontal tension 700, the system first evaluates the distance between chord roots 701. This distance is measured in ascending semitones, and is an effective indication of harmonic movement and function. Each distance has a corresponding degree of tension or release.
[0032] Next, the method then checks for a dominant V to I sequence 702. This specific chord movement is central to harmonic movement in Western music, and is thus specifically checked for.
[0033] The third step is to evaluate for common chord tones 703. This is a measurement of the magnitude of harmonic movement—if many chord tones are shared between two chords, the magnitude of tension or release generated will be smaller.
[0034] Finally, the system evaluates for leading tones 704. Leading tones are defined as notes in a chord that are a semitone below a note in the previous chord, and are a common means of harmonic resolution. The existence of one or more leading tones results in a greater degree of release.
[0035] For instance, if the current chord is C major, the movement C major.fwdarw.A minor, which is diatonic, has a root note interval of a major 6th, and shares in common 2 chord tones with C major, has the slightly released TRQ. The movement C major.fwdarw.A7 b 9, however, has the same root note interval but is a dominant chord with a chromatic alteration (b 9) and two chord tones not in the key of C major, so it has a more tense TRQ.
[0036] The input for the present invention is an array (for a generation of fixed length) or continuous stream (for a real time generation of unknown length) of TRQ values that represents the desired tension or release of the generation over time. Depending on the application, this tension/release profile can be obtained directly from the user or from another source—for instance, if the present invention is being used to generate music to accompany a video game, the events occurring in the game could be used to produce the profile.
[0037] Before generation starts, it is necessary to define the set of possible states that the generation could output. When generating chords, this is accomplished by specifying a domain of possible roots and chord qualities. For instance, a possible domain could include the root notes [C F G], and the chord qualities [major minor 7], yielding overall possible combinations of: C major, C minor, C7, F major, F minor, F7, G major, G minor, and G7.
[0038] Whenever the present invention reaches a musical state, the TRQs of all possible next states are calculated, and the algorithm chooses the state with a TRQ that most closely matches the target profile. This state becomes the current state, and the process is repeated. The algorithm can be executed with multiple “threads,” where several of the closest matches are selected at each stage of the algorithm, creating an N-ary tree structure as shown in
[0039]
[0040]
Example Implementation
[0041]
[0042]
Alternative Embodiments
[0043] The present invention's core tension/release driven algorithm could be applied effectively to the generation of any musical structure—the TRQ would be adapted to calculate the tension or release imparted by each possible musical choice. If multiple musical structures are being generated (for instance, chords and melody), the tension or release of the individual components would be calculated, as well as the tension or release created by their coexistence.
[0044] The simplicity and flexibility of the single tension/release input allows the present invention to be adapted for a large variety of applications. Creators producing games, movies, installations, or VR experiences could use the present invention to create music that conforms to the intended tone. Using sentiment analysis, the emotional content of a text source could be used to calculate a TRQ over time, so the algorithm could be used to generate musical accompaniment for an online messaging conversation, e-book, or social network feed.