Music element digitization processing and analysis method

By defining notes as multi-bit binary characters and performing logical operations, the problem of low efficiency in existing music analysis is solved, and efficient compatibility and scalability of cross-domain note representation and music analysis software are achieved.

CN115705836BActive Publication Date: 2025-10-21刘小璐
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110923456.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-12
Publication Date
2025-10-21
Estimated Expiration
2041-08-12

AI Technical Summary

Technical Problem

Existing music analysis methods are inefficient and not universal, manual analysis is prone to errors, and software compilation requires music theory knowledge and is inefficient.

Method used

Define each note as a multi-bit binary character, complete simple music analysis through logical operations on different character bits, use the note statistics of the entire work to achieve complex music analysis, and establish a mapping relationship between notes and mathematical symbols.

Benefits of technology

It implements a note representation method that is understandable to both software engineers and music researchers, improves the compatibility and scalability of music analysis software, and enables primary analysis such as chord intervals and rhythm patterns, as well as advanced analysis such as music type identification and feature summarization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115705836B_ABST
    Figure CN115705836B_ABST
Patent Text Reader

Abstract

The music element digital processing and analysis method provided by the application defines each note as a 32-bit binary character, wherein the first 7 bits are used to represent the high and low of the note, the 8th-11th bits are used to represent the time value of the note, the 12th-14th bits are used to represent the strength of the note, and the 15th bit and above are used to represent special rhythm types such as triplets. The note digitalization and compilation method of the application greatly simplifies the workload of the music analysis software compiler, so that the music analysis software compiler can complete the music analysis through simple mathematical calculation. By expanding the number of bits to compile more music elements, a common note language system can be established between music analysis software developers and music researchers, the music analysis software programming language standardization is promoted, the music analysis software function expansion capability is greatly improved, and the music research is promoted to a new technical direction of multi-disciplinary cross-fusion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the interdisciplinary field of digital signal processing and statistics, and is applied to music morphology. Specifically, it refers to a method for digitally compiling the notes in a musical work, converting the pitch, rhythm, chords and other elements in the musical work into logically recognizable mathematical symbols, and using statistical laws or calculation formulas to assist in music analysis of form and harmony. Background Art

[0002] Music analysis primarily aims to achieve an objective understanding of musical works through human analysis of their internal elements, and serves as a crucial basis for analyzing the musical and cultural characteristics of different countries and regions. Currently, music analysis operations are performed by both humans and software, which statistically analyzes the musical elements within a work to help determine musical characteristics such as harmony and form. However, manual music analysis is not only labor-intensive but also prone to erroneous results due to distracted attention during prolonged work. Analysis software based on sound and musical notation requires the compiler to possess a certain level of music theory and utilize audio-visual and graphic methods to perform preliminary compilation and in-depth analysis of the musical elements. This method of compiling musical notation is inefficient and not universally applicable. Summary of the Invention

[0003] In view of the above-mentioned defects, the technical problem to be solved by the present invention is how to establish a note representation method that can be understood by both software engineers and music researchers.

[0004] In view of the above-mentioned defects, the purpose of the present invention is to provide a method for digital processing and analysis of musical elements, defining each note as a multi-bit binary character, and using different character bits to represent the pitch, duration, strength and special elements of the note; the use of digitally compiled notes will be more compatible with the underlying logical requirements of music analysis software, that is, through logical operations of different character bits of adjacent notes or all notes within a certain period, primary music analysis auxiliary functions such as chord interval analysis and rhythm type analysis, as well as advanced music analysis auxiliary functions such as music type recognition, music feature induction, and melody similarity evaluation can be completed.

[0005] In order to achieve the above-mentioned effects, the present invention provides a method for digital processing and analysis of musical elements, which defines each note in a musical work as a multi-bit binary character. The binary characters are decomposed into different fields, each field is assigned to a different musical element, and a mapping relationship between the content of the musical element and the logical value of the field is established. Different character bits are used to represent one or more musical elements of the note, and additional character bits are used to divide the general information of the note; simple music analysis is completed through logical operations on different character bits, and complex music analysis is achieved through statistics of the notes of the entire work.

[0006] Preferably, the above-mentioned simple music analysis is completed through logical operations of different character bits, and complex music analysis is achieved through statistics of notes of the entire work. The results of music form and harmony analysis are obtained based on logical operations between various fields of digitally compiled notes, interval relationships are obtained through logical operations of high and low bits of adjacent or separated notes, rhythm types are obtained through logical operations of adjacent note duration bits, and strength and weakness change trends are obtained through logical operations of adjacent or separated strength and weakness.

[0007] Preferably, the above method specifically comprises the following steps:

[0008] S1. Define each note as a multi-bit binary character, where the character length depends on the upper limit state space of the musical elements that the note needs to carry. Use different self-reset methods to represent one or more musical elements of the note. Establish a universal musical element-logical value mapping table and use this as a reference to translate five-line musical notation, simplified musical notation, or reduced musical notation into a digital score composed of digitized musical notes.

[0009] S2. For adjacent, digitally encoded notes, perform logical operations on different character positions to complete simple music analysis, using the difference calculation results of the pitch position to determine the interval relationship, and using the difference calculation results of the time value position to determine the rhythm type;

[0010] S3. Perform statistics, trend and cluster calculations on all digitally compiled notes in a musical work, and establish a weak correlation between specific musical rules and the results of mathematical analysis. This can be used as an aid to achieve quantitative modeling of complex emotional factors in music and realize complex music analysis.

[0011] Preferably, the above-mentioned musical elements include but are not limited to the pitch, duration, strength, special markings such as triplets, beat, number of measures, order within measures and vibrato of notes.

[0012] Preferably, the above-mentioned simple music analysis includes but is not limited to chord analysis, interval analysis, rhythm analysis, music type recognition analysis, music feature summary analysis and similar phrase occurrence frequency statistical analysis.

[0013] Preferably, the above-mentioned complex music analysis includes but is not limited to music feature summary analysis and emotional color judgment analysis.

[0014] Preferably, the above method can also define each note in the musical work as a multi-digit decimal or hexadecimal character, the decimal or hexadecimal character is decomposed into different fields, and the notes are digitally compiled and the form and harmony music analysis is realized through logical operations.

[0015] Preferably, the above method defines each note as a 16-bit binary character, specifically including:

[0016] S101, bits 1-7 are used to represent the pitch of notes. A blank note is encoded as 0000000, large character group 2 A is encoded as 0000001, large character group 2 A-sharp is encoded as 0000010, large character group 2 B is encoded as 0000011, and so on. Small character group 5 C is encoded as 1011000.

[0017] S102. Bits 8-11 are used to represent the duration of a note. A whole note is encoded as 0000, a half note is encoded as 0001, a quarter note is encoded as 0010, an eighth note is encoded as 0011, a sixteenth note is encoded as 0100, and a thirty-second note is encoded as 0101. When a tie appears (i.e., a note is added to the original duration), bit 11 is set to 1 and bits 8-10 are encoded to represent a whole note + a half note, a half note + a quarter note, or other special duration lengths.

[0018] S103, bits 12-14 are used to represent the strength of the note, ppp is compiled as 000, pp is compiled as 001, p is compiled as 010, mp is compiled as 011, mf is compiled as 100, f is compiled as 101, ff is compiled as 110, and fff is compiled as 111.

[0019] S104, the 15th bit and above are used to represent triplets, measure numbers, the position of notes in the measure, and beats; if the notes still carry other musical element information, the representation method is further expanded to 64 bits based on the original 32 bits.

[0020] A digital processing and analysis system for musical elements, used to provide language tools for music researchers to conduct theoretical and systematic music research, including:

[0021] A digital note representation conversion module is used to define each note in a musical work as a multi-bit binary character, using different character bits to represent the note's pitch, duration, dynamics, and other musical elements, and using additional character bits to divide the note's measure number, position within the measure, tempo, and other general information;

[0022] The music form and harmony analysis module of digital notes is used to complete simple music analysis of chord intervals and rhythm types through logical operations on different character positions, as well as complex music analysis that summarizes musical characteristics and judges emotional colors through statistics of notes in the entire work.

[0023] A computer-readable storage medium stores a computer program, which implements the above method when executed by a processor.

[0024] The present invention establishes a note representation system based on binary logical operations, and can compile more musical elements by expanding the number of bits. It can establish a common note language system for music analysis software developers and music researchers, promote the standardization of music analysis software programming languages, greatly enhance the function expansion capabilities of music analysis software, and promote the development of music research towards new technologies of multidisciplinary cross-integration. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0026] Figure 1 A schematic diagram of a flow chart of an embodiment of a method for digitally processing and analyzing music elements according to the present invention is shown;

[0027] Figure 2 A schematic flow chart of another embodiment of the method for digitally processing and analyzing music elements of the present invention is shown;

[0028] Figure 3 A flow chart of another embodiment of the method for digital processing and analysis of music elements of the present invention is shown. DETAILED DESCRIPTION

[0029] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present invention by illustrating examples of the present invention.

[0030] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, the elements defined by the phrase "comprising..." do not exclude the presence of other identical elements in the process, method, article, or device comprising the elements.

[0031] The present invention provides an embodiment of a method for digitally processing and analyzing musical elements, in which each note in a musical work is defined as a multi-bit binary character, the binary character is decomposed into different fields, each field is assigned to a different musical element, a mapping relationship between the content of the musical element and the logical value of the field is established, one or more musical elements of the note are represented by different character bits, and the general information of the note is divided by additional character bits; simple music analysis is completed through logical operations on different character bits, and complex music analysis is achieved through statistics of the notes of the entire work.

[0032] In some embodiments, simple music analysis is completed through logical operations of different character bits, and complex music analysis is achieved through statistics of notes of the entire work. The form and harmony music analysis results are obtained based on logical operations between the various fields of digitally compiled notes, the interval relationship is obtained through logical operations of high and low bits of adjacent or separated notes, the rhythm type is obtained through logical operations of adjacent note duration bits, and the trend of strength and weakness changes is obtained through logical operations of adjacent or separated strength and weakness.

[0033] like Figure 1 As shown, the present invention provides an embodiment of a method for digital processing and analysis of music elements, which specifically includes the following steps:

[0034] S1. Define each note as a multi-bit binary character, where the character length depends on the upper limit state space of the musical elements that the note needs to carry. Use different self-reset methods to represent one or more musical elements of the note. Establish a universal musical element-logical value mapping table and use this as a reference to translate five-line musical notation, simplified musical notation, or reduced musical notation into a digital score composed of digitized musical notes.

[0035] S2. For adjacent, digitally encoded notes, perform logical operations on different character positions to complete simple music analysis, using the difference calculation results of the pitch position to determine the interval relationship, and using the difference calculation results of the time value position to determine the rhythm type;

[0036] S3. Perform statistics, trend and cluster calculations on all digitally compiled notes in a musical work, and establish a weak correlation between specific musical rules and the results of mathematical analysis. This can be used as an aid to achieve quantitative modeling of complex emotional factors in music and realize complex music analysis.

[0037] In some embodiments, musical elements include but are not limited to the pitch, duration, dynamics, special markings such as triplets, beat, number of measures, order within measures, and vibrato.

[0038] In some embodiments, simple music analysis includes but is not limited to chord analysis, interval analysis, rhythm analysis, music type recognition analysis, music feature summary analysis, and similar phrase occurrence frequency statistical analysis.

[0039] In some embodiments, complex music analysis includes but is not limited to music feature summary analysis and emotional color judgment analysis.

[0040] The present invention also provides an embodiment of a method for digital processing and analysis of musical elements, in which each note in a musical work is defined as a multi-digit decimal system, the decimal characters are decomposed into different fields, and the notes are digitally compiled and the form and harmony music analysis is realized through logical operations.

[0041] The present invention also provides an embodiment of a method for digital processing and analysis of musical elements, in which each note in a musical work is defined as a multi-digit hexadecimal character, the hexadecimal character is decomposed into different fields, and the notes are digitally compiled and the form and harmony music analysis is realized through logical operations.

[0042] like Figure 2 As shown, the present invention also provides an embodiment of a method for digitally processing and analyzing musical elements, in which each note is defined as a 16-bit binary character, specifically comprising:

[0043] S101, bits 1-7 are used to represent the pitch of notes. A blank note is encoded as 0000000, large character group 2 A is encoded as 0000001, large character group 2 A-sharp is encoded as 0000010, large character group 2 B is encoded as 0000011, and so on. Small character group 5 C is encoded as 1011000.

[0044] S102. Bits 8-11 are used to represent the duration of a note. A whole note is encoded as 0000, a half note is encoded as 0001, a quarter note is encoded as 0010, an eighth note is encoded as 0011, a sixteenth note is encoded as 0100, and a thirty-second note is encoded as 0101. When a tie appears (i.e., a note is added to the original duration), bit 11 is set to 1 and bits 8-10 are encoded to represent a whole note + a half note, a half note + a quarter note, or other special duration lengths.

[0045] S103, bits 12-14 are used to represent the strength of the note, ppp is compiled as 000, pp is compiled as 001, p is compiled as 010, mp is compiled as 011, mf is compiled as 100, f is compiled as 101, ff is compiled as 110, and fff is compiled as 111.

[0046] S104, the 15th bit and above are used to represent triplets, measure numbers, the position of notes in the measure, and beats; if the notes still carry other musical element information, the representation method is further expanded to 64 bits based on the original 32 bits.

[0047] Taking the decimal system as an example, the present invention further provides an embodiment of a method for digitally processing and analyzing musical elements, in which each note is defined as an 8-bit decimal character, specifically including:

[0048] S1011, bits 1-2 are used to represent the pitch of notes. A blank note is encoded as 00, large note group 2 A is encoded as 01, large note group 2 A-sharp is encoded as 02, large note group 2 B is encoded as 03, and so on. Small note group 5 C is encoded as 88.

[0049] S1012, bits 3-4 are used to represent the duration of a note. A whole note is encoded as 00, a half note as 01, a quarter note as 02, an eighth note as 03, a sixteenth note as 4, and a thirty-second note as 05. When a tie appears (i.e., a note is added to the original duration), bit 4 is set to 1 and bit 3 is encoded to represent a whole note + half note, a half note + quarter note, or other special duration lengths.

[0050] S1013, the 5th bit is used to represent the strength of the note, ppp is compiled as 0, pp is compiled as 1, p is compiled as 2, mp is compiled as 3, mf is compiled as 4, f is compiled as 5, ff is compiled as 6, and fff is compiled as 7.

[0051] S1014: The 6th bit and above are used to represent triplets, measure numbers, the position of notes in the measure, and beats. If the notes still carry other musical element information, the representation method is further expanded to 16 bits based on the original 8 bits.

[0052] Taking hexadecimal as an example, the present invention further provides an embodiment of a method for digitally processing and analyzing musical elements, in which each note is defined as an 8-bit hexadecimal character, specifically including:

[0053] S1021, bits 1-2 are used to represent the pitch of the note. A blank note is encoded as 00, large note group 2 A is encoded as 01, large note group 2 A-sharp is encoded as 02, large note group 2 B is encoded as 03, and so on. Small note group 5 C is encoded as 58.

[0054] S1022. Bits 3 and 4 are used to represent the duration of a note. A whole note is encoded as 00, a half note as 01, a quarter note as 02, an eighth note as 03, a sixteenth note as 4, and a thirty-second note as 05. When a tie appears (i.e., a note is added to the original duration), bit 4 is set to 1 and bit 3 is encoded to represent a whole note + a half note, a half note + a quarter note, or other special duration lengths.

[0055] S1023, the 5th bit is used to represent the strength of the note, ppp is compiled as 0, pp is compiled as 1, p is compiled as 2, mp is compiled as 3, mf is compiled as 4, f is compiled as 5, ff is compiled as 6, and fff is compiled as 7.

[0056] S1024, the 6th bit and above are used to represent triplets, measure numbers, the position of notes in the measure, and beats; if the notes still carry other musical element information, the representation method is further expanded to 16 bits based on the original 8 bits.

[0057] like Figure 3 As shown, the present invention also provides an embodiment of a method for digitally processing and analyzing musical elements, in which each note is defined as a 16-bit binary character, specifically comprising:

[0058] S201, bits 1-7 are used to represent the pitch of notes. A blank note is encoded as 0000000, large character group 2 A is encoded as 0000001, large character group 2 A-sharp is encoded as 0000010, large character group 2 B is encoded as 0000011, and so on. Small character group 5 C is encoded as 1011000.

[0059] S202, bits 8-11 are used to represent the duration of a note. A whole note is encoded as 0000, a half note is encoded as 0001, a quarter note is encoded as 0010, an eighth note is encoded as 0011, a sixteenth note is encoded as 0100, and a thirty-second note is encoded as 0101. When a tie appears (i.e., a note is added to the original duration), bit 11 is set to 1 and bits 8-10 are encoded to represent a whole note + a half note, a half note + a quarter note, or other special duration lengths.

[0060] S203, bits 12-14 are used to represent the strength of the note, ppp is compiled as 000, pp is compiled as 001, p is compiled as 010, mp is compiled as 011, mf is compiled as 100, f is compiled as 101, ff is compiled as 110, and fff is compiled as 111.

[0061] S204, the 15th to 17th bits represent special symbols such as triplets, with no special rhythm pattern encoded as 000, triplets as 0,1, quintuplets as 010, sextuplets as 011, septuplets as 100, nonuplets as 101, etc.; bits 18-25 are used to represent the measure number, and up to 256 measures can be marked; bits 26-29 are used to represent the sequence number of the note in the measure, and a maximum of 16 notes can be encoded in a measure; bits 30-32 are used to represent the beat, with 000, 001, 010, 011, 100, and 101 corresponding to typical beats such as 2 / 4, 3 / 4, 4 / 4, 3 / 8, 6 / 8, and 2 / 2, respectively.

[0062] The present invention provides an embodiment of a method for digitally processing and analyzing music elements, comprising:

[0063] Step 1: Define each note as a multi-bit binary character, where the character length depends on the upper limit state space of the musical elements that the note needs to carry. Use different self-reset methods to represent the pitch, duration, strength, and other special elements of the note. Establish a universal musical element-logical value mapping table and use this as a benchmark to translate the five-line, simplified, or reduced musical notation into a digital score composed of digitized musical notes.

[0064] Step 2: For adjacent, digitally encoded notes, logical operations are performed on their different character positions to complete simple music analysis. The pitch difference operation results are used to determine the interval relationship, and the time difference operation results are used to determine the rhythm type.

[0065] Step 3: Perform statistics, trend and cluster calculations on all digitally compiled notes in the music work, and establish a weak correlation between specific musical rules and mathematical analysis results. This will assist in the quantitative modeling of complex emotional factors such as the summary of musical characteristics and emotional color judgment. For example, it can determine the origin of a music work based on typical rhythm types, and the age of a music work based on chord frequency distribution, etc., to provide digital decision support for music researchers in conducting music analysis.

[0066] The present invention provides an embodiment of a method for digital processing and analysis of musical elements, establishes a musical note representation method that can be understood by both software engineers and music researchers, defines each musical note as a multi-bit binary character, and uses different character bits to represent the pitch, duration, strength, and special elements of the musical note; the use of digitally compiled musical notes will be more compatible with the underlying logical requirements of music analysis software, that is, through logical operations on different character bits of adjacent notes or all notes within a certain period, primary music analysis auxiliary functions such as chord interval analysis and rhythm type analysis, as well as advanced music analysis auxiliary functions such as music type recognition, music feature summary, and melody similarity evaluation can be completed.

[0067] In some embodiments, binary characters are decomposed into different fields, each field is assigned to a different music element, and a mapping relationship between the music element content and the field logical value is established.

[0068] In some embodiments, musical elements include but are not limited to the pitch, duration, strength, triplets and other special markings of notes, beat, number of measures, order within measures, vibrato, etc.

[0069] In some embodiments, the specific mapping relationship between the musical element content and the field logical value is not limited, and therefore, the maximum field length of binary characters is not limited. It should be noted that digitally encoding notes using decimal or hexadecimal systems and implementing musical form and harmony analysis through logical operations also fall within the scope of the present invention.

[0070] In some embodiments, the music analysis software obtains the form and harmony music analysis results based on the logical operations between the digitally compiled note fields, obtains the interval relationship through the logical operations of the high and low bits of adjacent or separated notes, obtains the rhythm type through the logical operations of the duration bits of adjacent notes, and obtains the trend of strength changes through the logical operations of adjacent or separated strengths and weaknesses, etc.

[0071] In some embodiments, the functions of the music analysis software include but are not limited to chord analysis, interval analysis, rhythm analysis, music type identification, music feature summary, and frequency statistics of similar phrases.

[0072] In some embodiments, the music analysis model is established by methods including but not limited to database matching, fuzzy search, neural network clustering, etc.

[0073] In some embodiments, the specific implementation method of translating the five-line notation, simplified notation or reduced notation into digital notation and then inputting it into the music analysis software for music analysis is not limited.

[0074] In some embodiments, the music analysis software training method and correction means are not limited.

[0075] In some embodiments, the output form and specific usage of the music analysis results are not limited.

[0076] The present invention also provides an embodiment of a music element digital processing and analysis system, which is used to provide a language tool for music researchers to conduct theoretical and systematic music research, including:

[0077] A digital note representation conversion module is used to define each note in a musical work as a multi-bit binary character, using different character bits to represent the note's pitch, duration, dynamics, and other musical elements, and using additional character bits to divide the note's measure number, position within the measure, tempo, and other general information;

[0078] The music form and harmony analysis module of digital notes is used to complete simple music analysis of chord intervals and rhythm types through logical operations on different character positions, as well as complex music analysis that summarizes musical characteristics and judges emotional colors through statistics of notes in the entire work.

[0079] The present invention shows an embodiment of a method for digitally compiling musical notes, in which each musical note is defined as a 16-bit binary character:

[0080] (1) Bits 1-7 are used to represent the pitch of the note. A blank note is encoded as 0000000, large character group 2 A is encoded as 0000001, large character group 2 A-sharp is encoded as 0000010, large character group 2 B is encoded as 0000011, and so on. Small character group 5 C is encoded as 1011000.

[0081] (2) Bits 8-11 are used to represent the duration of a note. A whole note is encoded as 0000, a half note as 0001, a quarter note as 0010, an eighth note as 0011, a sixteenth note as 0100, and a thirty-second note as 0101. When a tie appears (i.e., a note is added to its original duration), the 11th bit is set to 1 and bits 8-10 are encoded to represent special duration lengths such as a whole note + a half note, a half note + a quarter note, etc. Dots can also be encoded in the same way.

[0082] (3) Bits 12-14 are used to represent the strength of the note. ppp is compiled as 000, pp is compiled as 001, p is compiled as 010, mp is compiled as 011, mf is compiled as 100, f is compiled as 101, ff is compiled as 110, and fff is compiled as 111.

[0083] (4) The 15th and above bits are used to represent triplets, measure numbers, the position of notes in a measure, beats, etc. A reference compilation method is: bits 15-17 represent special symbols such as triplets, and no special rhythm pattern is compiled as 000, triplets are compiled as 0,1, quintuplets are compiled as 010, sextuplets are compiled as 011, septuplets are compiled as 100, and nonuplets are compiled as 101, etc.; bits 18-25 are used to represent measure numbers, and a maximum of 256 measures can be marked; bits 26-29 are used to represent the number of notes in a measure, and a maximum of 16 notes can be compiled in a measure; bits 30-32 are used to represent beats, and 000, 001, 010, 011, 100, and 101 correspond to typical beats such as 2 / 4, 3 / 4, 4 / 4, 3 / 8, 6 / 8, and 2 / 2, respectively. It should be noted that if the notes still carry other musical element information, the original 32-bit representation method needs to be further expanded to 64-bit.

[0084] According to the above compilation method, in a 3 / 4 time musical work, the 3rd measure, the 4th note, no special rhythmic patterns such as triplets, mf intensity, eighth note duration, small note 1 group C can be expressed as:

[0085] 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 1 0 0 0

[0086] The same musical piece, the same measure, the fifth note, no special rhythmic patterns such as triplets, f intensity, quarter note duration, and E in the octave 1 can be represented as:

[0087] 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 0 0 0 1 1 0 1 0 1 1 0 0

[0088] The same musical piece, the same measure, the sixth note, no special rhythmic patterns such as triplets, f intensity, eighth note duration, small note 1 group G can be expressed as:

[0089] 0 0 1 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 1 0 0 1 1 0 1 0 1 1 1 1

[0090] To perform interval analysis on the above three notes, it is necessary to extract the 1st to 7th character bits and perform difference calculations, the results are 0000100 and 0000011 respectively, then the interval relationship corresponding to this combination is a major triad; to perform rhythm analysis on the above three notes, it is necessary to extract the 8th to 12th bits and perform difference calculations, the results are 0001 and -0001, then the rhythm type corresponding to this combination is syncopation; to perform strength analysis on the above three notes, it is necessary to extract the 12th to 14th bits and perform difference calculations, the results are 001 and 000, then this combination corresponds to crescendo processing; by refining the above steps, software engineers who are accustomed to logical operations can easily write programs to calculate all the notes in the music work and obtain music analysis results.

[0091] The present invention provides an embodiment of a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following method steps:

[0092] Each note is defined as a multi-bit binary character, where the character length depends on the upper limit state space of the musical elements that the note needs to carry. Different self-reset methods are used to represent one or more musical elements of the note. A universal musical element-logical value mapping table is established and used as a reference to translate the five-line, simplified, or reduced musical notation into a digital spectrum composed of digitized musical notes.

[0093] For adjacent, digitally encoded notes, perform logical operations on different character positions to complete simple music analysis, using the difference operation results of the pitch position to determine the interval relationship, and using the difference operation results of the time value position to determine the rhythm type;

[0094] Perform statistics, trend and cluster calculations on all digitally compiled notes in a musical work, and establish a weak correlation between specific musical rules and mathematical analysis results. This helps to achieve quantitative modeling of complex emotional factors in music and realize complex music analysis.

[0095] The present invention provides an embodiment of a computer program product, comprising a computer program / instructions, characterized in that when the computer program / instructions are executed by a processor, the computer program / instructions implement the following method steps:

[0096] Each note is defined as a multi-bit binary character, where the character length depends on the upper limit state space of the musical elements that the note needs to carry. Different self-reset methods are used to represent one or more musical elements of the note. A universal musical element-logical value mapping table is established and used as a reference to translate the five-line, simplified, or reduced musical notation into a digital spectrum composed of digitized musical notes.

[0097] For adjacent, digitally encoded notes, perform logical operations on different character positions to complete simple music analysis, using the difference operation results of the pitch position to determine the interval relationship, and using the difference operation results of the time value position to determine the rhythm type;

[0098] Perform statistics, trend and cluster calculations on all digitally compiled notes in a musical work, and establish a weak correlation between specific musical rules and mathematical analysis results. This helps to achieve quantitative modeling of complex emotional factors in music and realize complex music analysis.

[0099] Compared with the prior art, the present invention has the following advantages:

[0100] First of all, the present invention proposes a digital note compilation method, which can be converted into each other with the five-line notation, simplified notation, reduced notation, etc., and can be better understood by people without a music background, greatly simplifying the work difficulty of developers of music analysis software and music artificial intelligence recognition software.

[0101] Secondly, the digital note compilation method described in the present invention is highly scalable. Its core idea is to map the musical elements understood perceptually into rationally compiled mathematical elements one by one. Musical elements can be continuously added by expanding the number of bits of the note value, so that a single note carries as much music information as possible.

[0102] Finally, the digital note compilation method of the present invention is well compatible with various neural networks. The pitch, duration, and strength information represented by the notes are independent of each other. Through logical operations on different character positions, artificial intelligence analysis of each independent musical element is completed, and ultimately quantitative modeling of complex emotional factors such as music feature summary and emotional color judgment is achieved, providing important assistance for music researchers to carry out interdisciplinary integration.

[0103] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing this application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0104] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0105] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0107] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0109] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0110] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0111] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0112] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0113] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0114] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A method for digitally processing and analyzing musical elements, comprising: defining each note in a musical work as a multi-bit binary character, decomposing the binary character into different fields, assigning each field to a different musical element, establishing a mapping relationship between the content of the musical element and the logical value of the field, using different character bits to represent one or more musical elements of the note, and using additional character bits to divide the general information of the note; obtaining a form and harmony music analysis result based on logical operations between the digitally compiled note fields, obtaining interval relationships through logical operations on the high and low bits of adjacent or separated notes, obtaining rhythm types through logical operations on the duration bits of adjacent notes, and obtaining dynamic change trends through logical operations on the strength bits of adjacent or separated notes; the musical elements include the pitch, duration, strength, triplets, beats, number of bars, order within a bar, and vibrato of the note; simple music analysis includes chord analysis, interval analysis, rhythmic pattern analysis, music type recognition analysis, music feature summary analysis, and statistical analysis of the frequency of similar phrases; complex music analysis includes music feature summary analysis and emotional color judgment analysis; specifically comprising the following steps: S1. Define each note as a multi-bit binary character, where the character length depends on the upper limit state space of the musical elements that the note needs to carry. Use different character bits to represent one or more musical elements of the note. Establish a universal musical element-logical value mapping table and use this as a reference to translate five-line musical notation, simplified musical notation, or reduced musical notation into a digital score composed of digitized musical notes. S2. For adjacent, digitally encoded notes, perform logical operations on different character positions to complete simple music analysis, using the difference calculation results of the pitch position to determine the interval relationship, and using the difference calculation results of the time value position to determine the rhythm type; S3. Perform statistics, trend and cluster calculations on all digitally compiled notes in a musical work, and establish a weak correlation between specific musical rules and the results of mathematical analysis. This can be used as an aid to achieve quantitative modeling of complex emotional factors in music and realize complex music analysis.

2. The method for digital processing and analysis of music elements according to claim 1, characterized in that: The method can also define each note in the musical work as a multi-digit decimal or hexadecimal character, decompose the decimal or hexadecimal character into different fields, and digitally compile the notes and implement form and harmony music analysis through logical operations.

3. The method for digital processing and analysis of music elements according to claim 1, wherein: The method defines each note as a 16-bit binary character, specifically including: S101, bits 1-7 are used to represent the pitch of notes. A blank note is encoded as 0000000, large character group 2 A is encoded as 0000001, large character group 2 A-sharp is encoded as 0000010, large character group 2 B is encoded as 0000011, and so on. Small character group 5 C is encoded as 1011000. S102. Bits 8-11 are used to represent the duration of a note. A whole note is encoded as 0000, a half note as 0001, a quarter note as 0010, an eighth note as 0011, a sixteenth note as 0100, and a thirty-second note as 0101. When a tie appears, bit 11 is set to 1 and bits 8-10 are encoded to represent a whole note + a half note, a half note + a quarter note, or other special duration lengths. S103, bits 12-14 are used to represent the strength of the note, ppp is compiled as 000, pp is compiled as 001, p is compiled as 010, mp is compiled as 011, mf is compiled as 100, f is compiled as 101, ff is compiled as 110, and fff is compiled as 111; S104, the 15th bit and above are used to represent triplets, measure numbers, the position of notes in the measure, and beats; if the notes still carry other musical element information, the representation method is further expanded to 64 bits based on the original 32 bits.

4. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • System and device of digital music

    CN102930861A

  • Digital translation method, device and system for numbered musical notation and translator

    CN106933810A