Musical piece structure analysis device, music piece structure analysis method, and music piece structure analysis program

The music structure analysis device uses learning models to extract features from acoustic signals, identify song boundaries, and classify sections, enhancing the precision of song structure analysis.

JP7537175B2Active Publication Date: 2024-08-21YAMAHA CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020137552
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-17
Publication Date
2024-08-21
Estimated Expiration
2040-08-17

AI Technical Summary

Technical Problem

Existing methods for analyzing the structure of songs, such as identifying sections like intro, verse, bridge, and chorus, are not precise and require more efficient techniques to facilitate accurate playback and performance.

Method used

A music structure analysis device and method that utilize first and second learning models to extract features from acoustic signals, calculate boundary likelihoods, and combine them to identify song composition boundaries, dividing the signal into sections and classifying them based on similarity and specific characteristics.

Benefits of technology

Enables easy and accurate analysis of song structure, allowing users to recognize and classify sections like choruses with high precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537175000004
    Figure 0007537175000004
  • Figure 0007537175000009
    Figure 0007537175000009
  • Figure 0007537175000015
    Figure 0007537175000015
Patent Text Reader

Abstract

To provide a music structure analyzing device that makes it easy to analyze a structure of music.SOLUTION: An acoustic signal of music is acquired by an acquisition unit 11. From the acquired acoustic signal of the music, a first feature quantity representing change in timbre and a second feature quantity representing change in chord are extracted by first and second extraction units 12, 13, respectively. A first learning model M1 is used to output a first border likelihood representing a likelihood of a configuration border of the music from the first feature quantity by a first border likelihood output unit 14. A second learning model M2 is used to output a second border likelihood representing a likelihood of the configuration border of the music from the second feature quantity by a second likelihood output unit 15. The first border likelihood and second border likelihood are weighted and put together to specify the configuration border of the music by a specification unit 16. At the configuration border where the acoustic signal of the music is specified, the music is divided into a plurality of sessions by a division unit 18.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a music structure analysis device for analyzing the structure of a piece of music. , a method for analyzing musical composition structure and a program for analyzing musical composition structure Regarding. [Background technology]

[0002] In order to facilitate the reproduction or performance of a specific portion of a song, an analysis of the general structure of the song, such as an intro, a verse, a bridge, a chorus, or an outro, may be performed. For example, Patent Document 1 describes a method of determining a highlight section of a sound source by using a neural network that learns the relationship between multiple sound sources and classification information of each sound source.

[0003] In the method described in Patent Document 1, a sound source is divided into a plurality of sections by a neural network processing unit, and a feature value for each section is extracted for each section. In addition, the neural network processing unit uses an attention model that calculates a weighted sum of feature values ​​for each section, thereby obtaining weight information indicating the degree to which each section contributes to estimating classification information of the sound source. For each section of the sound source, an important section is determined based on the weight information, and a highlight section is determined based on the determined important section. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2020-516004 [Patent Document 2] JP 2020-112683 A Summary of the Invention [Problem to be solved by the invention]

[0005] In order to precisely analyze the beats or chords of a piece of music, it is necessary to more easily analyze the general structure of the piece of music.

[0006] The object of the present invention is to provide a music structure analysis device that makes it easy to analyze the structure of a music piece. , a method for analyzing musical composition structure and a program for analyzing musical composition structure The purpose of this project is to provide [Means for solving the problem]

[0007] A music structure analysis device according to one aspect of the present invention includes an acquisition unit that acquires an audio signal of a music piece, a first extraction unit that extracts a first feature that indicates a change in tone from the acquired audio signal of the music piece, a second extraction unit that extracts a second feature that indicates a change in chord from the acquired audio signal of the music piece, a first boundary likelihood output unit that outputs a first boundary likelihood that indicates the likelihood of a composition boundary of the music piece from the first feature using a first learning model, a second boundary likelihood output unit that outputs a second boundary likelihood that indicates the likelihood of a composition boundary of the music piece from the second feature using a second learning model, an identification unit that identifies a composition boundary of the music piece by weighting and combining the first boundary likelihood and the second boundary likelihood, and a division unit that divides the audio signal of the music piece into a plurality of sections at the identified composition boundaries.

[0008] Music Structure Analysis According to Another Aspect of the Invention The method includes acquiring an audio signal of a piece of music, extracting a first feature amount indicating a change in timbre from the acquired audio signal of the piece of music, extracting a second feature amount indicating a change in chord from the acquired audio signal of the piece of music, outputting a first boundary likelihood indicating a likelihood of a composition boundary of the piece of music from the first feature amount using a first learning model, outputting a second boundary likelihood indicating the likelihood of a composition boundary of the piece of music from the second feature amount using a second learning model, identifying composition boundaries of the piece of music by weighting and combining the first boundary likelihood and the second boundary likelihood, and dividing the audio signal of the piece of music into a plurality of sections at the identified composition boundaries, and is executed by a computer. .

[0009] Music Structure Analysis According to Yet Another Aspect of the Present Invention The program causes a computer to execute a music structure analysis method, and causes the computer to execute the following processes: acquiring an audio signal of a music piece; extracting a first feature amount indicating a change in timbre from the acquired audio signal of the music piece; extracting a second feature amount indicating a change in chord from the acquired audio signal of the music piece; outputting a first boundary likelihood indicating the likelihood of a composition boundary of the music piece from the first feature amount using a first learning model; outputting a second boundary likelihood indicating the likelihood of a composition boundary of the music piece from the second feature amount using a second learning model; identifying a composition boundary of the music piece by weighting and combining the first boundary likelihood and the second boundary likelihood; and dividing the audio signal of the music piece into a plurality of sections at the identified composition boundaries. . Effect of the Invention

[0011] According to the present invention, it is possible to easily analyze the structure of a piece of music. [Brief description of the drawings]

[0012] [Figure 1] 1 is a block diagram showing a configuration of a music structure analysis system including a music structure analysis device according to an embodiment of the present invention. [Diagram 2] 1 is a block diagram showing a configuration of a music structure analysis device. [Diagram 3] FIG. 2 is a block diagram showing an example of a first and second learning model. [Figure 4] 13 is a diagram showing a display example on a display unit by a division result output unit. FIG. [Diagram 5] FIG. 11 is a diagram for explaining determination of similarity by a maximum value search method. [Figure 6] 13 is a diagram showing a display example of a display unit by a classification result output unit. FIG. [Figure 7] A block diagram showing an example of a third learning model. [Figure 8] 3 is a flowchart showing an example of a music structure analysis process performed by the music structure analysis device of FIG. 2. [Figure 9] 3 is a flowchart showing an example of a music structure analysis process performed by the music structure analysis device of FIG. 2. [Figure 10] FIG. 2 is a diagram showing the evaluation results of Example 1 and Comparative Examples 1 and 2. [Figure 11] FIG. 1 is a diagram showing the evaluation results of Example 2 and Comparative Examples 3 and 4. [Figure 12] FIG. 1 is a diagram showing the evaluation results of Example 3 and Comparative Examples 5 and 6. [Figure 13] FIG. 1 is a diagram showing the evaluation results of Examples 4 to 7. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] The following is a musical structure analysis device according to an embodiment of the present invention. , a method for analyzing musical composition structure and a program for analyzing musical composition structure This will be described in detail with reference to the drawings.

[0014] (1) Music structure analysis system Fig. 1 is a block diagram showing the configuration of a music structure analysis system including a music structure analysis device according to an embodiment of the present invention. As shown in Fig. 1, the music structure analysis system 1 includes a RAM (random access memory) 2, a ROM (read only memory) 3, a CPU (central processing unit) 4, a storage device 5, an operation unit 6, and a display unit 7. The RAM 2, the ROM 3, the CPU 4, the storage device 5, the operation unit 6, and the display unit 7 are connected to a bus 8.

[0015] The RAM 2 is, for example, a volatile memory, and is used as a working area for the CPU 4, and temporarily stores various data. The ROM 3 is, for example, a non-volatile memory, and stores a music structure analysis program for executing music structure analysis processing. The CPU 4 executes the music structure analysis program stored in the ROM 3 on the RAM 2 to perform the music structure analysis processing. The music structure analysis processing will be described in detail later.

[0016] The storage device 5 includes a storage medium such as a hard disk, an optical disk, a magnetic disk, or a memory card, and stores one or more pieces of music data MD. The music data MD includes an acoustic signal (audio signal) of a music piece. The storage device 5 may store a music structure analysis program instead of the ROM 3. The storage device 5 also stores a first learning model M1, a second learning model M2, and a third learning model M3 that are created in advance by machine learning.

[0017] The music structure analysis program may be provided in a form stored on a computer-readable recording medium and installed in the ROM 3 or storage device 5. In addition, when the music structure analysis system 1 is connected to a communication network, the music structure analysis program distributed from a server connected to the communication network may be installed in the ROM 3 or storage device 5. The RAM 2, ROM 3 and CPU 4 constitute the music structure analysis device 100.

[0018] The operation unit 6 includes a pointing device such as a mouse or a keyboard, and is operated by the user to make a predetermined selection or designation. The display unit 7 includes, for example, a liquid crystal display, and displays the results of the music structure analysis process. The operation unit 6 and the display unit 7 may be configured as a touch panel display.

[0019] Fig. 2 is a block diagram showing the configuration of music structure analysis device 100. As shown in Fig. 2, music structure analysis device 100 includes a section division unit 10, a section classification unit 20, and a composition type estimation unit 30. The functions of section division unit 10, section classification unit 20, and composition type estimation unit 30 are realized by CPU 4 in Fig. 1 executing a music structure analysis program. Some or all of section division unit 10, section classification unit 20, and composition type estimation unit 30 may be realized by hardware such as electronic circuits.

[0020] The section division unit 10 identifies composition boundaries of an audio signal of a piece of music, and divides the audio signal at the identified composition boundaries into a plurality of sections. The section classification unit 20 classifies the sections divided by the section division unit 10 into clusters based on similarity. Hereinafter, classifying sections into clusters is referred to as clustering. The composition type estimation unit 30 estimates a section that corresponds to a specific composition type of the piece of music from the sections clustered by the section classification unit 20. Details of the section division unit 10, the section classification unit 20, and the composition type estimation unit 30 will be described below.

[0021] (2) Section division 2, the section division unit 10 includes an acquisition unit 11, a first extraction unit 12, a second extraction unit 13, a first boundary likelihood output unit 14, a second boundary likelihood output unit 15, an identification unit 16, a reception unit 17, a division unit 18, and a division result output unit 19. The acquisition unit 11 acquires song data MD selected by a user from the song data MD stored in the storage device 5. The user can select the desired song data MD by operating the operation unit 6.

[0022] The first extraction unit 12 extracts a first feature quantity indicating a change in timbre from the audio signal of the music data MD acquired by the acquisition unit 11. The first feature quantity is, for example, a Mel-Scale Log-Spectrum (MSLS). A complex spectrum is obtained by performing a discrete Fourier transform on the audio signal for each beat. The MSLS is extracted by calculating the logarithm of the filter bank energy obtained by applying a Mel-scale filter bank to the absolute value of the complex spectrum. In this example, the MSLS is an 80-dimensional vector.

[0023] The second extraction unit 13 extracts a second feature amount indicating a change in chord from the audio signal of the music data MD acquired by the acquisition unit 11. The second feature amount is, for example, a chroma vector. In the high frequency region, a part of the chroma vector is extracted by arranging 12 values ​​obtained by adding up the intensities of frequency components corresponding to each of the 12 semitones of the equal temperament included in the audio signal for each beat across multiple octaves and the intensity value of the audio signal. Moreover, the remaining part of the chroma vector is extracted by performing a similar process in the low frequency region. Therefore, in this example, the chroma vector is a 26-dimensional vector.

[0024] The first boundary likelihood output unit 14 outputs a first boundary likelihood indicating the likelihood of a composition boundary of a piece of music for each beat by inputting the first feature amount extracted by the first extraction unit 12 to a first learning model M1 stored in the storage device 5. The second boundary likelihood output unit 15 outputs a second boundary likelihood indicating the likelihood of a piece of music for each beat by inputting the second feature amount extracted by the second extraction unit 13 to a second learning model M2 stored in the storage device 5.

[0025] The identification unit 16 identifies the composition boundary of the music piece by weighting and combining the first and second boundary likelihoods output by the first and second boundary likelihood output units 14 and 15, respectively, for each beat. In this example, a beat whose weighted combined value is equal to or greater than a predetermined threshold is identified as the composition boundary of the music piece. The weight coefficient may be a predetermined constant value or a variable value.

[0026] The receiving unit 17 receives a weighting coefficient specification from the operation unit 6. A user can specify a weighting coefficient by operating the operation unit 6. When the weighting coefficient is a predetermined constant value, the section division unit 10 does not need to include the receiving unit 17. When the weighting coefficient is received by the receiving unit 17, the identification unit 16 weights and combines the first boundary likelihood and the second boundary likelihood based on the received weighting coefficient.

[0027] The division unit 18 divides the audio signal of the music piece into a plurality of sections at the composition boundaries identified by the identification unit 16. The division unit 18 also provides the audio signal divided into a plurality of sections to a section classification unit 20. The division result output unit 19 causes the display unit 7 to visibly display the results of the section division by the division unit 18. If the results of the section division do not need to be displayed on the display unit 7, the section division unit 10 does not need to include the division result output unit 19.

[0028] Fig. 3 is a block diagram showing an example of the first and second learning models M1 and M2. As shown in Fig. 3, in this example, in the first learning model M1, a CNN (Convolutional Neural Network) layer M11, a linear layer M12, a bidirectional GRU (Gated Recurrent Unit) layer M13, and a linear layer M14 are arranged in this order from input to output. In the second learning model M2, a linear layer M21, a bidirectional GRU layer M22, and a linear layer M23 are arranged in this order from input to output.

[0029] A large number of pieces of music data for learning, to which labels indicating compositional boundaries of music are assigned, are prepared in advance as learning data. In each learning data, a label "1" is assigned to a portion corresponding to a beat that is a compositional boundary, and a label "0" is assigned to a portion corresponding to a beat that is not a compositional boundary. A first learning model M1 for outputting a first boundary likelihood is created by performing deep learning using a first feature amount extracted from a large number of learning data. Similarly, a second learning model M2 for outputting a second boundary likelihood is created by performing deep learning using a second feature amount extracted from a large number of learning data.

[0030] FIG. 4 is a diagram showing a display example of the display unit 7 by the division result output unit 19. As shown in FIG. 4, as a result of the process of the music structure analysis process, the division result of the division unit 18 into sections is displayed on the display unit 7 by the division result output unit 19. In the display example of FIG. 4, the music data MD is shown by a band-shaped indicator extending in the time axis direction (horizontal direction in this example). In addition, above the indicator of the music data MD, the waveform of the sound signal to be analyzed is shown. Note that the waveform of the sound signal may be displayed below the indicator, or may be displayed so as to overlap with the indicator. Alternatively, the waveform of the sound signal may be displayed in another manner capable of presenting the association with the indicator. The music data MD is divided into a plurality of sections s1 to s12 at the composition boundaries identified by the identification unit 16. Each of the sections s1 to s12 is shown by a rectangular indicator to which a unique color is assigned. The user can easily recognize the composition boundaries of the music by visually checking the display unit 7.

[0031] (3) Section Classification 2, the section classification unit 20 includes an acquisition unit 21, a determination unit 22, a classification unit 23, and a classification result output unit 24. The acquisition unit 21 acquires an audio signal of a piece of music divided into a plurality of sections from the section division unit 10. The determination unit 22 determines the similarity between the plurality of sections into which the audio signal acquired by the acquisition unit 21 is divided.

[0032] In this example, the Euclidean distances of the first feature amounts in the multiple sections are compared, and the cosine similarities of the second feature amounts in the multiple sections are compared. If a chord label indicating a chord is added to the music data MD, the edit distances (Levenshtein distances) of the chord labels in the multiple sections are compared. The chord label may be added to the music data MD by chord analysis. Based on the overall result of these comparisons, the similarity of the multiple sections is determined.

[0033] The classification unit 23 clusters the multiple sections based on the similarity determined by the determination unit 22. Furthermore, the classification unit 23 provides the clustered acoustic signals to the configuration type estimation unit 30. The classification result output unit 24 causes the display unit 7 to visually display the result of clustering by the classification unit 23. If the result of clustering does not need to be displayed on the display unit 7, the section classification unit 20 does not need to include the classification result output unit 24.

[0034] The above comparison of the multiple sections, i.e., comparison of Euclidean distance, cosine similarity, and edit distance, is performed using a maximum search method. FIG. 5 is a diagram for explaining the determination of similarity using the maximum search method. In the example of FIG. 5, the similarity between section s1 and section s2 is determined. Here, section s2 is longer than section s1. In this case, while section s1 is shifted from the beginning to the end of section s2, the similarity between section s1 and each part of section s2 having the same size as section s1 is evaluated in sequence.

[0035] In the example of FIG. 5, the similarity between section s1 and part A of section s2 is the highest. In this case, the similarity between section s1 and part A of section s2 is determined to be the similarity between section s1 and section s2. This determination method can mitigate the effect of an error in identifying the composition boundary of the music piece by the section division unit 10. Also, if the difference in length between the two sections being compared is equal to or greater than a predetermined value, a penalty that reduces the similarity may be introduced. This allows similar sections to be clustered more appropriately.

[0036] In this manner, in the present embodiment, the comparison of the multiple sections is performed using the maximum value search method, but the present embodiment is not limited to this. For example, the comparison of the multiple sections may be performed using a dynamic programming method such as a dynamic time warping (DTW) method.

[0037] Fig. 6 is a diagram showing an example of display on the display unit 7 by the classification result output unit 24. As shown in Fig. 6, as a result of the music structure analysis process, the result of clustering by the classification unit 23 is displayed on the display unit 7 by the classification result output unit 24. In the display example of Fig. 6, a unique identifier consisting of an alphabet such as "A0" or "B0" and a number is assigned to each section s1 to s12. The alphabet of the identifiers of sections belonging to the same cluster is the same, such as "B0" and "B1".

[0038] A user can easily recognize sections that belong to the same cluster by visually checking the alphabet of the identifier, and can easily recognize the number of sections that belong to the same cluster by visually checking the number following the alphabet.

[0039] (4) Configuration type estimation unit 2, the configuration type estimation unit 30 includes an acquisition unit 31, a calculation unit 32, an estimation unit 33, and an estimation result output unit 34. The acquisition unit 31 acquires the clustered acoustic signals from the section classification unit 20. The calculation unit 32 calculates a score S indicating the likelihood of a portion of a specific configuration type for each cluster, based on the acoustic signals acquired by the acquisition unit 31.

[0040] The estimation unit 33 estimates a section corresponding to a specific composition type from the multiple sections based on the score S calculated by the calculation unit 32. In this example, the specific composition type is the first chorus (hereinafter referred to as the opening chorus). The estimation result output unit 34 causes the section estimation result by the estimation unit 33 to be visibly displayed on the display unit 7. If the section estimation result does not need to be displayed on the display unit 7, the composition type estimation unit 30 does not need to include the estimation result output unit 34.

[0041] In this example, a score S indicating the likelihood of a chorus being a specific composition type is calculated for each cluster. Here, the choruses of popular songs are considered to have the following characteristics: They often have a climax, and the power of the audio signal is relatively high. Choruses often occur repeatedly, appearing multiple times in a song. Furthermore, the first or last chord is often the tonic chord of the key. Furthermore, songs with vocals often contain singing voices. Taking these characteristics into consideration, the score S indicating the likelihood of a chorus is expressed by the following formula (1).

[0042]

number

[0043] In formula (1), S p is a score indicating the magnitude of the power of the audio signal, and is obtained, for example, as the median value of the first feature amount that is integrated and normalized for each beat. S c is a score indicating the similarity of the first or last chord to the tonic chord of the key, and is expressed, for example, by the following formula (2).

[0044]

number

[0045] In formula (2), α is a coefficient determined based on the number of sections belonging to the same cluster, i.e., the number of repetitions of similar sections. The value of coefficient α increases as the number of sections increases. c1 ,S c2 are scores that indicate the similarity of the first chord and the last chord to the tonic chord of the key. c1 ,S c2 ) is the score S c1 ,S c2 The smaller score is used.

[0046] Each score S c1 ,S c2 is calculated based on the basic space of the TPS (Tonal Pitch Space). c1 ,S c2 The value of is 0 to 8.5, and the greater the similarity, the smaller the value. Therefore, if the first or last chord matches the tonic chord of the key, the score S c1 or score S c2 The value of is 0. As disclosed in Patent Document 2, the key may be detected using a learning model created by learning the relationship between a time series of a predetermined feature of an audio signal and the key.

[0047] In formula (1), S v W is the average value for each beat of the likelihood that a song contains vocals (hereinafter referred to as vocal likelihood). The vocal likelihood is obtained, for example, by inputting the first feature amount to a third learning model M3 stored in the storage device 5. p ,W c ,W v are the scores S p ,S c ,S v is the weighting factor for P dis a penalty to reduce the score when a section is extremely short. Penalty P d The value of is negative if the length of the section is less than a predetermined value, and is 0 if the length of the section is equal to or greater than the predetermined value.

[0048] Fig. 7 is a block diagram showing an example of the third learning model M3. As shown in Fig. 7, in this example, in the third learning model M3, a CNN layer M31, a linear layer M32, a bidirectional GRU layer M33, and a linear layer M34 are arranged in this order from the input to the output.

[0049] A large number of pieces of music data for training, each of which is labeled with a label indicating whether or not vocals are included, are prepared in advance as training data. In each piece of training data, a label "1" is assigned to a portion corresponding to a beat that includes vocals, and a label "0" is assigned to a portion corresponding to a beat that does not include vocals. A third training model M3 for outputting a vocal likelihood for each beat is created by performing deep learning using the first feature amount extracted from the large number of training data.

[0050] The estimation unit 33 selects a cluster corresponding to the chorus based on the score S. Furthermore, the estimation unit 33 estimates that the first section that includes vocals among the sections belonging to the selected cluster is the section corresponding to the opening chorus based on the vocal likelihood.

[0051] (5) Song structure analysis processing Figures 8 and 9 are flowcharts showing an example of music structure analysis processing by the music structure analysis device 100 of Figure 2. The music structure analysis processing of Figures 8 and 9 is performed by the CPU 4 of Figure 1 executing a music structure analysis program stored in the ROM 3 or the storage device 5.

[0052] First, the acquisition unit 11 determines whether or not music data MD has been selected based on the user's operation of the operation unit 6 (step S1). If music data MD has not been selected, the acquisition unit 11 waits until music data MD is selected. If music data MD has been selected, the acquisition unit 11 acquires the selected music data MD from the storage device 5 (step S2).

[0053] The first extraction unit 12 extracts a first feature from the audio signal of the music data MD acquired in step S2 (step S3). The second extraction unit 13 extracts a second feature from the audio signal of the music data MD acquired in step S2 (step S4). Steps S3 and S4 may be executed either first or simultaneously.

[0054] The first boundary likelihood output unit 14 outputs the first boundary likelihood for each beat based on the first feature extracted in step S3 and the first learning model M1 stored in the storage device 5 (step S5). The second boundary likelihood output unit 15 outputs the second boundary likelihood for each beat based on the second feature extracted in step S4 and the second learning model M2 stored in the storage device 5 (step S6). Either step S5 or step S6 may be executed first, or they may be executed simultaneously.

[0055] The reception unit 17 judges whether or not a weighting factor designation has been accepted based on the user's operation of the operation unit 6 (step S7). If a weighting factor designation has been accepted, the determination unit 16 identifies the composition boundaries of the music based on the first and second boundary likelihoods output for each beat in steps S5 and S6, respectively, and the designated weighting factor (step S8). If a weighting factor designation has not been accepted, the determination unit 16 identifies the composition boundaries of the music based on the first and second boundary likelihoods output for each beat in steps S5 and S6, respectively, and a preset weighting factor (step S9).

[0056] The division unit 18 divides the audio signal of the music piece into a plurality of sections at the composition boundaries identified in step S8 or step S9 (step S10). The division result output unit 19 causes the display unit 7 to display the results of the division into sections in step S10 (step S11). Step S11 may be omitted.

[0057] The determination unit 22 determines the similarity of the multiple sections divided in step S10 (step S12). The classification unit 23 clusters the multiple sections divided in step S10 based on the similarity determined in step S12 (step S13). The classification result output unit 24 causes the display unit 7 to display the result of the clustering in step S13 (step S14). Step S14 may be omitted.

[0058] The calculation unit 32 calculates a score S indicating the likelihood of a specific composition type for each cluster based on the acoustic signal in which the multiple sections are classified into clusters in step S13 (step S15). The estimation unit 33 estimates a section that corresponds to a part of a specific composition type from the multiple sections based on the score S calculated in step S15 (step S16). The estimation result output unit 34 displays the section estimation result in step S16 on the display unit 7 (step S17), and ends the music structure analysis process. Step S17 may be omitted.

[0059] (6) Effects of the embodiment As described above, the music structure analysis device 100 according to the present embodiment includes an acquisition unit 11 that acquires an audio signal of a music piece, a first extraction unit 12 that extracts a first feature amount indicating a change in tone from the acquired audio signal of the music piece, a second extraction unit 13 that extracts a second feature amount indicating a change in chord from the acquired audio signal of the music piece, a first boundary likelihood output unit 14 that outputs a first boundary likelihood indicating the likelihood of a composition boundary of the music piece from the first feature amount using a first learning model M1, a second boundary likelihood output unit 15 that outputs a second boundary likelihood indicating the likelihood of a composition boundary of the music piece from the second feature amount using a second learning model M2, an identification unit 16 that identifies a composition boundary of the music piece by weighting and combining the first boundary likelihood and the second boundary likelihood, and a division unit 18 that divides the audio signal of the music piece into a plurality of sections at the identified composition boundaries. This makes it possible to easily analyze the structure of the music piece.

[0060] The music structure analysis device 100 may further include an estimation unit 33 that estimates a section that corresponds to the chorus of the music from the divided sections. In this case, the user can easily recognize the section that corresponds to the chorus of the music.

[0061] The music structure analysis device 100 may further include a reception unit 17 that receives a weighting factor, and the determination unit 16 may weight and combine the first boundary likelihood and the second boundary likelihood based on the received weighting factor. In this case, the weighting factor can be appropriately changed depending on the music.

[0062] Furthermore, the music structure analysis device 100 may include a classification unit 23 that classifies the divided sections into clusters based on similarity, and the estimation unit 33 may estimate a section that corresponds to a specific composition type of the music from the divided sections based on the section classification results. In this case, the user can easily recognize a section that corresponds to a specific composition type of the music.

[0063] The music structure analysis device 100 may further include a classification result output section 24 that outputs the section classification results in a visually recognizable manner. In this case, the user can more easily recognize the section classification results.

[0064] Furthermore, the music structure analysis device 100 may include a classification unit 23 that classifies the divided sections into clusters based on similarity, and the estimation unit 33 may estimate a section that corresponds to the chorus of the music from the multiple sections based on the number of sections that belong to the classified cluster. In this case, the section that corresponds to the chorus of the music can be more easily identified.

[0065] Alternatively, the music structure analysis device 100 may include a calculation unit 32 that calculates a score for each section based on at least one of the similarity of the first chord or the last chord in the section of the acquired audio signal of the music to the tonic chord of the key and the likelihood that the section contains vocals, and the estimation unit 33 may estimate a section that corresponds to a part of a specific composition type of the music from among the multiple sections based on the calculated score. In this case, the section that corresponds to a part of a specific composition type of the music can be more easily identified.

[0066] (7) Other embodiments (a) In the above embodiment, the composition boundaries of a piece of music are identified by a weighted combination of the first boundary likelihood and the second boundary likelihood, but the embodiment is not limited to this. The composition boundaries of a piece of music may be identified by other methods.

[0067] (b) In the above embodiment, the music structure analysis device 100 includes the section division unit 10, but the embodiment is not limited to this. As long as the acquisition unit 21 is capable of acquiring an audio signal of a music piece divided into a plurality of sections, the music structure analysis device 100 does not need to include the section division unit 10.

[0068] (c) In the above embodiment, the estimation unit 33 estimates a section that corresponds to the chorus of a song using all of the number of sections belonging to a cluster, the similarity of the leading chord or the ending chord to the tonic chord of the key, and the vocal likelihood, but the embodiment is not limited to this. The estimation unit 33 may estimate a section that corresponds to the chorus of a song using the number of sections belonging to a cluster, the similarity of the leading chord or the ending chord to the tonic chord of the key, and part of the vocal likelihood. When the estimation unit 33 estimates a section that corresponds to the chorus of a song without using the number of sections belonging to a cluster, the song structure analysis device 100 does not need to include the section classification unit 20.

[0069] (d) In the above embodiment, the estimation unit 33 estimates a section that corresponds to the chorus of a song from among the multiple sections, but the embodiment is not limited to this. The estimation unit 33 may estimate a section that corresponds to another composition type such as an intro, an A-melody, a B-melody, or an outro from among the multiple sections.

[0070] (8) Examples of identifying constituent boundaries In the following Examples 1 to 3 and Comparative Examples 1 to 6, first and second learning models M1 and M2 were created using a large amount of learning data. Furthermore, evaluation music data to which labels indicating the compositional boundaries of the music were added was prepared as evaluation data. The learning data included 12,593 pieces of labeled MIDI (Musical Instrument Digital Interface) data that had been converted into audio by software, and 3,938 sets of actual music and labeled MIDI data. Furthermore, some of the learning data was padded.

[0071] In Example 1, a set of 409 pieces of labeled MIDI data and real music was used as evaluation data, and the constituent boundaries of the audio signal were identified using the first and second learning models M1 and M2. Here, the weighting coefficient of the first boundary likelihood was set to 0.4, and the weighting coefficient of the second boundary likelihood was set to 0.6. In addition, the recall, precision, and F-measure of the identified constituent boundaries were evaluated based on the labels of the evaluation data. In Comparative Examples 1 and 2, the constituent boundaries were identified and evaluated in the same manner as in Example 1, using only the first and second learning models M1 and M2, respectively. FIG. 10 is a diagram showing the evaluation results of Example 1 and Comparative Examples 1 and 2.

[0072] In Example 2, the same configuration boundary was specified and evaluated as in Example 1, except that 100 pieces of music data from a research music database were used as evaluation data. In Comparative Examples 3 and 4, the same configuration boundary was specified and evaluated as in Example 2, using only the first and second learning models M1 and M2, respectively. Figure 11 is a diagram showing the evaluation results of Example 2 and Comparative Examples 3 and 4.

[0073] In Example 3, the same configuration boundary was specified and evaluated as in Example 2, except that 76 pieces of music data in other genres from the research music database were used as evaluation data. In Comparative Examples 5 and 6, the same configuration boundary was specified and evaluated as in Example 3, using only the first and second learning models M1 and M2, respectively. Figure 12 is a diagram showing the evaluation results of Example 3 and Comparative Examples 5 and 6.

[0074] From the comparison results of Examples 1 to 3 and Comparative Examples 1 to 6 shown in Figs. 10 to 12, it was confirmed that by performing weighted synthesis of the first and second boundary likelihoods, it is possible to identify the constituent boundaries of an audio signal with higher overall accuracy than when only the first or second boundary likelihood is used. On the other hand, it was confirmed that the accuracy of identifying the constituent boundaries decreases depending on the genre of the music. Even in such cases, it is considered possible to prevent the accuracy of identifying the constituent boundaries from decreasing by appropriately selecting the weight coefficients of the first boundary likelihood and the second boundary likelihood according to the genre of the music.

[0075] (9) Example of estimation of composition type In the following Examples 4 to 7, a third learning model M3 was created using 3938 pieces of MIDI data, to which labels indicating the composition boundaries of the music pieces and labels indicating the presence or absence of vocals were added, as learning data. In addition, evaluation music data, to which the same labels as those of the learning data were added, was prepared as evaluation data.

[0076] In Example 4, 200 sets of labeled MIDI data and real music were used as evaluation data. When clustering was not performed, the accuracy rates of the estimation results of the section corresponding to the first chorus for the evaluation data when vocal likelihood was not used and when vocal likelihood was used were evaluated. In addition, when clustering was performed, the accuracy rates of the estimation results of the section corresponding to the first chorus for the evaluation data when vocal likelihood was not used and when vocal likelihood was used were evaluated.

[0077] In Example 5, the evaluation was performed similarly to Example 4, except that the section was estimated not only to the first chorus but also to any chorus. In Example 6, the evaluation was performed similarly to Example 4, except that 100 pieces of music data from a research music database were used as evaluation data. In Example 7, the evaluation was performed similarly to Example 6, except that the section was estimated not only to the first chorus but also to any chorus. The vocal likelihood was obtained using a third learning model M3, and it was determined to be correct when 70% or more of the estimated section was a chorus.

[0078] Fig. 13 is a diagram showing the evaluation results of Examples 4 to 7. From the comparison results of Examples 4 to 7 shown in Fig. 13, it was confirmed that the accuracy rate of the estimation result of the section corresponding to the chorus increases by using the vocal likelihood. It was also confirmed that the accuracy rate of the estimation result of the section corresponding to the chorus increases significantly by performing clustering. [Explanation of symbols]

[0079] 1...music structure analysis system, 2...RAM, 3...ROM, 4...CPU, 5...storage device, 6...operation unit, 7...display unit, 8...bus, 10...section division unit, 11, 21, 31...acquisition unit, 12...first extraction unit, 13...second extraction unit, 14...first boundary likelihood output unit, 15...second boundary likelihood output unit, 16...identification unit, 17...reception unit, 18...division unit, 19...division result output unit, 20...section classification unit, 22...determination unit, 23... Classification unit, 24... classification result output unit, 30... composition type estimation unit, 32... calculation unit, 33... estimation unit, 34... estimation result output unit, 100... music structure analysis device, MD... music data, M1... first learning model, M11, M31... CNN layer, M12, M14, M21, M23, M32, M34... linear layer, M13, M22, M33... bidirectional GRU layer, M2... second learning model, M3... third learning model, s1 to s12... sections

Claims

1. an acquisition unit that acquires an audio signal of a piece of music; a first extraction unit that extracts a first feature amount indicating a change in timbre from the acquired audio signal of the music piece; a second extraction unit that extracts a second feature amount indicating a chord change from the acquired audio signal of the music piece; a first boundary likelihood output unit that uses a first learning model to output a first boundary likelihood indicating a likelihood of a composition boundary of a piece of music from the first feature amount; a second boundary likelihood output unit that uses a second learning model to output a second boundary likelihood indicating a likelihood of a composition boundary of a piece of music from the second feature amount; an identification unit that identifies a composition boundary of a piece of music by weighting and combining the first boundary likelihood and the second boundary likelihood; A division unit that divides an audio signal of a piece of music into a plurality of sections at specified structural boundaries.

2. The music structure analysis device according to claim 1 , further comprising an estimation unit that estimates a section corresponding to a chorus of the music from the plurality of divided sections.

3. A reception unit that receives a designation of a weighting factor is further provided, The music structure analysis device according to claim 1 , wherein the determination unit weights and combines the first boundary likelihood and the second boundary likelihood based on the received weight coefficient.

4. A division unit that divides the acquired audio signal of the music piece into a plurality of sections; A classification unit that classifies the divided sections into clusters based on similarity; The musical piece structure analysis device according to any one of claims 1 to 3, further comprising an estimation unit that estimates a section that corresponds to a specific structural type of the musical piece from the divided sections based on a section classification result.

5. 5. The music structure analysis device according to claim 4, further comprising a classification result output section that outputs the section classification results in a visually recognizable manner.

6. A classification unit that classifies the divided sections into clusters based on similarity; The musical structure analysis device according to any one of claims 1 to 3, further comprising an estimation unit that estimates a section corresponding to a chorus of a musical piece from the plurality of sections based on the number of sections belonging to the classified clusters.

7. a calculation unit that calculates a score for each section based on at least one of a similarity to a tonic chord of a key of a first chord or a last chord in the section of an audio signal of a piece of music divided into a plurality of sections and a likelihood that the section includes vocals; The musical composition structure analysis device according to any one of claims 1 to 3, further comprising an estimation unit that estimates a section that corresponds to a part of a specific musical composition type from the plurality of sections based on the calculated score.

8. Acquiring an audio signal of a piece of music, extracting a first feature quantity indicating a change in timbre from the acquired audio signal of the music piece; extracting a second feature quantity indicating a chord change from the acquired audio signal of the music piece; outputting a first boundary likelihood indicating a likelihood of a composition boundary of a piece of music from the first feature quantity using a first learning model; outputting a second boundary likelihood indicating a likelihood of a composition boundary of the music piece from the second feature quantity using a second learning model; identifying a composition boundary of a piece of music by weighting and combining the first boundary likelihood and the second boundary likelihood; Dividing an audio signal of a piece of music into a number of sections with identified compositional boundaries; A computer-implemented method for analyzing music structure.

9. A program for causing a computer to execute a music structure analysis method, comprising: obtaining an audio signal of a piece of music; A process of extracting a first feature amount indicating a change in timbre from the acquired audio signal of the music piece; extracting a second feature value indicating a chord change from the acquired audio signal of the music piece; a process of outputting a first boundary likelihood indicating a likelihood of a composition boundary of a piece of music from the first feature quantity using a first learning model; outputting a second boundary likelihood indicating a likelihood of a composition boundary of a piece of music from the second feature quantity using a second learning model; a process of identifying a composition boundary of a piece of music by weighting and combining the first boundary likelihood and the second boundary likelihood; a process of dividing an audio signal of a piece of music into a plurality of sections at identified compositional boundaries; A music structure analysis program executed by the computer.

Citation Information

Patent Citations

  • Information processing apparatus, information processing method, and program

    JP2014006480A

  • Music analysis device and music analysis method

    JP2017090848A

  • Acoustic analysis method and acoustic analysis device

    JP2020112683A

  • Method, device and computer program for determining highlight sections of a sound source

    JP2020516004A

  • Information processing device and method, and program

    WO2007055238A1