Music analysis device, music analysis method, and program
The music analysis device identifies song structure by detecting frequency band peaks and levels to analyze songs without vocal components, effectively distinguishing sections like the chorus in club music.
Patent Information
- Application Number
- JP2022553386
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-02
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-10-02
AI Technical Summary
Existing song analysis methods based on repeated phrases are ineffective for songs lacking vocal components or emphasizing melody in instrumental sounds, such as club music.
A music analysis device that detects peaks in specific frequency bands, such as snare drum and bass, to identify time intervals and levels, allowing for the detection of characteristic sections like the chorus without relying on phrase repetition.
Accurately analyzes the structure of songs without vocal components by identifying the start and end points of sections like the chorus, enhancing detection of characteristic sections in genres like club music.
Smart Images

Figure 0007544837000002 
Figure 0007544837000003 
Figure 0007544837000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a music analysis device, a music analysis method, and a program. [Background technology]
[0002] There are known techniques for analyzing the structure of a song based on audio data. For example, Patent Document 1 describes a technique for extracting a section of a song called a chorus based on a repeated phrase. This technique is effective when the same phrase is repeated in a song that includes vocal components, such as popular music. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2008-65153 A Summary of the Invention [Problem to be solved by the invention]
[0004] On the other hand, in music of other genres, such as club music, the music may not contain vocal components and the melody may not be emphasized even in the instrumental sounds, so a music analysis method based on repeated phrases such as that disclosed in Patent Document 1 may not necessarily work effectively.
[0005] Therefore, an object of the present invention is to provide a music analysis device, a music analysis method, and a program that are capable of analyzing the structure of a piece of music without relying on repeated phrases. [Means for solving the problem]
[0006] [1] A music analysis device comprising: a peak interval detection unit that detects the time intervals at which peaks of a first frequency band appear in audio data of a song; a section group search unit that searches for a first group of sections in which the time intervals become gradually shorter from a plurality of sections included in the song; a level detection unit that detects the level of a second frequency band different from the first frequency band in the audio data; and a section identification unit that identifies the second group of sections that appear after the first group of sections and have a level exceeding a threshold as a characteristic section in the song. [2] The music analysis device according to [1], wherein the first frequency band is a frequency band corresponding to a snare drum sound. [3] The music analysis device according to [1] or [2], wherein the section group search unit searches for a first section group in which the time interval becomes gradually shorter over at least two stages. [4] A music analysis device according to any one of [1] to [3], wherein the length of a section corresponds to a bar of a piece of music. [5] The music analysis device according to any one of [1] to [4], wherein the second frequency band is a low frequency band. [6] The music analysis device according to any one of [1] to [5], further comprising a display control unit that visualizes and displays information regarding characteristic sections. [7] A music analysis device according to any one of [1] to [6], wherein the peak interval detection unit detects time intervals by complementing partial loss of peaks. [8] A method for analyzing music, comprising the steps of: detecting a time interval at which a peak of a first frequency band appears in audio data of a song; searching for a first group of sections from a plurality of sections included in the song, the time intervals of which become gradually shorter; detecting the level of a second frequency band different from the first frequency band in the audio data; and identifying a second group of sections that appears after the first group of sections and has a level exceeding a threshold as a characteristic section of the song. [9] A program for causing a computer to function as a music analysis device having a peak interval detection unit that detects the time intervals at which peaks in a first frequency band appear in the audio data of a song; a section group search unit that searches for a first group of sections in which the time intervals become gradually shorter from multiple sections included in the song; a level detection unit that detects the level of a second frequency band different from the first frequency band in the audio data; and a section identification unit that identifies a second group of sections that appear after the first group of sections and have a level exceeding a threshold as a characteristic section in the song.
[0007] According to the above configuration, the start and end points of characteristic sections in a song can be detected based on the time intervals at which peaks in a first frequency band appear and the level of a second frequency band, thereby making it possible to analyze the structure of a song without relying on the repetition of phrases. [Brief description of the drawings]
[0008] [Figure 1] 1 is a schematic block diagram of a music analysis device according to an embodiment of the present invention. [Diagram 2] FIG. 13 is a diagram for conceptually explaining peak detection. [Diagram 3] FIG. 13 is a diagram for conceptually explaining detection of a time interval and search for a section group. [Figure 4] FIG. 13 is a diagram for conceptually explaining how to specify the start position of a chorus section. [Diagram 5] FIG. 13 is a diagram for conceptually explaining how to specify the end position of a chorus section. [Figure 6] FIG. 13 is a diagram showing an example of visualized information regarding a chorus section. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are designated by the same reference numerals, and redundant description will be omitted.
[0010] 1 is a schematic block diagram of a music analysis device according to an embodiment of the present invention. In the illustrated example, the music analysis device 100 includes an audio data input unit 110, an audio data processing unit 120 including band pass filters (BPFs) 121A and 121B, a peak interval detection unit 130, a section group search unit 140, a level detection unit 150, a section identification unit 160, and a display control unit 170. The music analysis device 100 is implemented by a computer having, for example, a communication interface, a processor, and a memory, and the functions of the audio data processing unit 120, the peak interval detection unit 130, the section group search unit 140, the level detection unit 150, the section identification unit 160, and the display control unit 170 are realized by the processor operating according to a program stored in the memory or received via the communication interface.
[0011] FIG. 2 is a diagram for conceptually explaining the detection of a peak in the example shown in FIG. 1. In the example of FIG. 1, the audio data input unit 110 accepts input of audio data of a song. The audio data processing unit 120 applies the BPF 121A to the audio data to extract a level waveform of a first frequency band. Here, FIG. 2(a) is an example of a level waveform before applying the BPF 121A, and FIG. 2(b) is an example of a level waveform of the first frequency band extracted by the BPF 121A. In this embodiment, the first frequency band is a frequency band corresponding to a snare drum sound, and specifically, a frequency band of 1 kHz to 4 kHz is exemplified. The peak interval detection unit 130 detects a peak P of the first frequency band in the extracted level waveform, as shown in the example of FIG. 2(c). In this embodiment, each peak P is a sounding position of the snare drum in the song.
[0012] 3 is a diagram for conceptually explaining detection of a time interval and search for a section group in the example shown in FIG. 1. In the example shown in the figure, the peak interval detection unit 130 detects a time interval i in which a peak P in the first frequency band appears as shown in FIG. 3(a). 1 ,i 2, . . . In consideration of intentional skipping of pronunciation and missed detection of peak P, the peak interval detection unit 130 complements partial missing of peak P to detect time interval i 1 ,i 2 ,... may be detected.
[0013] On the other hand, the section group search unit 140 searches for a time interval i in which a peak P appears as shown in FIG. 3(b) from a plurality of sections of a predetermined length included in a piece of music. 1 ,i 2 ,..., the set of intervals SG where...,..., are gradually shortened 1 (Section S 1 ,S 2 In this embodiment, each interval S 1 ,S 2 The length of each of the segments SG 1 are consecutive bars in which the intervals between peaks P become shorter in stages, for example, 200 ms, 100 ms, and 50 ms. 1 ,i 2 ,...,becomes shorter in two or more stages, the set of intervals SG 1 You may also search for:
[0014] 4 is a diagram for conceptually explaining how to identify the start position of the chorus section in the example shown in FIG. 1. In the example shown in the figure, the section identification unit 160 identifies the section group SG 1 (Section S 1 ,S 2 ,S 3 Includes Section S 1 (not shown) followed by the section S 4 is specified as the first section of the chorus section. Here, the chorus section is an example of a characteristic section in a piece of music, and in other examples, it may not necessarily be a section called a chorus. Also, appearing next does not necessarily mean appearing immediately after, and for example, it may be appearing after the section group SG 1 After that, a blank section is inserted due to a break in the song, and the following section S4 may be identified as the first section of the chorus section.
[0015] For example, in music genres such as club music, in the build-up or pre-chorus section before the chorus section, percussion sounds such as snare drum sounds are often played repeatedly at intervals that become shorter in stages, such as quarter notes → eighth notes → sixteenth notes. In this embodiment, the section determination unit 160 focuses on this point and determines the start point of the chorus section. As described above, since each section corresponds to a measure of a music piece, the start point of the chorus section is determined, for example, from the time interval i at which the peak P shown in FIG. 3 appears. 1 ,i 2 ,··· marks the start of the next bar in a group of bars that gradually get shorter.
[0016] FIG. 5 is a diagram for conceptually explaining the determination of the end position of the chorus section in the example shown in FIG. 1. In addition to the above-mentioned BPF 121A, the audio data processing unit 120 applies the BPF 121B to the audio data input to the audio data input unit 110 to extract a level waveform of the second frequency band. Here, FIG. 5(a) is an example of a level waveform before applying the BPF 121B, and FIG. 5(b) is an example of a level waveform of the second frequency band extracted by the BPF 121B. In this embodiment, the second frequency band is a bass frequency band, specifically, a frequency band of 50 Hz to 150 Hz. The level detection unit 150 detects the level of the second frequency band, for example, as shown in FIG. 5(c). Specifically, the level detection unit 150 may detect a peak level for each sampling section in the level waveform of the second frequency band extracted by the BPF 121B. Alternatively, the level detection section 150 may detect the level from an average level waveform obtained by further filtering the level waveform of the second frequency band by the audio data processing section 120.
[0017] On the other hand, the section identification unit 160 detects the section group SG 1A group of sections SG that appear following the second frequency band and whose level exceeds the threshold TH 2 is identified as a chorus section. In other words, the end point of the chorus section is identified based on the level of the second frequency band detected by the level detection section 150. In the example of FIG. 5(c), a section group SG 2 is the section S identified as the first section of the chorus section in the example of Figure 4. 4 In this case, the section determination unit 160 determines the section group SG 2 The end point of the chorus section is identified as the end point of the chorus section.
[0018] For example, in music genres such as club music, the bass often remains relatively loud during the chorus section. In this embodiment, the section determination unit 160 determines the end point of the chorus section by focusing on this point. As described above, each section corresponds to a bar of the music, so the end point of the chorus section is the start position of the first bar after the level of the second frequency band falls below the threshold.
[0019] 6 is a diagram showing an example of visualized information related to a chorus section. In the illustrated example, the display control unit 170 causes a music section display 502 to be displayed together with a waveform display 501 on, for example, the display of a computer implementing the music analysis device 100. The music section display 502 displays a section group SG identified as a chorus section in the example shown in FIG. 5 together with other sections identified using, for example, other available music analysis techniques. 2 The section group search unit 140 searches for the section group SG in which the time intervals of the peaks P indicating the sounding positions of the snare drum are shortened in stages. 1 may be indicated by indicator 502B indicating a build-up or pre-chorus section.
[0020] The music analysis device 100 according to the present embodiment is implemented as, for example, a DJ application that analyzes the structure of a song for a DJ performance. In another example, the music analysis device may be implemented as a karaoke system that adds effects to each part of a song, a sampler that extracts a specific part of a song, or the like. In these cases, the music analysis device does not necessarily have to visualize and display information about the chorus section by the display control unit. For example, in the case of a karaoke system, information indicating the start and end points of the chorus section may be input to a function that controls the effects. Also, in the case of a sampler, information indicating the start and end points of the chorus section may be input to a function that determines the part of the song to be extracted.
[0021] According to one embodiment of the present invention as described above, the start point of the chorus section is detected based on the time interval at which a peak appears in a first frequency band (e.g., a frequency band corresponding to a snare drum sound), and the end point of the chorus section is detected based on the level of a second frequency band (e.g., a bass frequency band). Therefore, in this embodiment, the structure of a song can be analyzed without relying on the repetition of phrases. This makes it possible to accurately detect characteristic sections in a song, such as a chorus section, even in a song of a genre such as club music, which does not include vocal components or does not emphasize the melody even in instrumental sounds.
[0022] Although the preferred embodiments of the present invention have been described in detail above with reference to the accompanying drawings, the present invention is not limited to these examples. It is clear that a person skilled in the art in the technical field to which the present invention pertains can come up with various modified or altered examples within the scope of the technical ideas described in the claims, and it is understood that these also naturally fall within the technical scope of the present invention. [Explanation of symbols]
[0023] 100...music analysis device, 110...audio data input section, 120...audio data processing section, 121A, 121B...band pass filters (BPF), 130...peak interval detection section, 140...section group search section, 150...level detection section, 160...section identification section, 170...display control section, 501...waveform display, 502...music section display, P...peak, S 1 ,S 2 ,S 3 ,S 4 …Section, SG 1 ,SG 2 … interval group, i 1 ,i 2 ...time interval.
Claims
1. an audio data processing unit for extracting a level waveform of a frequency band corresponding to a snare drum sound and a level waveform of a bass frequency band from audio data of a musical piece; a peak interval detection unit that detects a time interval at which peaks appear in a level waveform of a frequency band corresponding to the snare drum sound extracted by the audio data processing unit; a section group searching unit that searches a first section group, the first section group having a time interval that is gradually shortened, from a plurality of sections included in the music piece; a level detection unit that detects a second section group in which the level of the bass frequency band exceeds a predetermined threshold from the level waveform of the bass frequency band extracted by the audio data processing unit; a section identification unit that identifies the second section group, which appears following the first section group and which has been detected by the level detection unit, as a chorus section in the music piece; A music analysis device comprising:
2. The music analysis device according to claim 1 , wherein the section group search section searches for the first section group in which the time intervals become gradually shorter over at least two stages.
3. The music analysis device according to claim 1 , wherein the length of the section corresponds to a bar of the music.
4. The music analysis device according to claim 1 , further comprising a display control unit that visualizes and displays information about the chorus section.
5. The music analysis device according to claim 1 , wherein the peak interval detection section detects the time interval by complementing partial loss of the peaks.
6. extracting a level waveform of a frequency band corresponding to a snare drum sound and a level waveform of a bass frequency band from audio data of a song; detecting a time interval at which a peak appears in a level waveform of the extracted frequency band corresponding to the snare drum sound; searching for a first group of sections, the first group including sections having gradually shorter time intervals, from a plurality of sections included in the music piece; detecting a second group of sections in which the level of the bass frequency band exceeds a predetermined threshold from the extracted level waveform of the bass frequency band; identifying the second group of sections that appears following the first group of sections and that have been detected in the detecting step as chorus sections in the music piece; A music analysis method including:
7. an audio data processing unit for extracting a level waveform of a frequency band corresponding to a snare drum sound and a level waveform of a bass frequency band from audio data of a musical piece; a peak interval detection unit that detects a time interval at which peaks appear in a level waveform of a frequency band corresponding to the snare drum sound extracted by the audio data processing unit; a section group searching unit that searches a first section group, the first section group having a time interval that is gradually shortened, from a plurality of sections included in the music piece; a level detection unit that detects a second section group in which the level of the bass frequency band exceeds a predetermined threshold from the level waveform of the bass frequency band extracted by the audio data processing unit; a section identification unit that identifies the second section group, which appears following the first section group and which has been detected by the level detection unit, as a chorus section in the music piece; A program for causing a computer to function as a music analysis device comprising:
Citation Information
Patent Citations
Musical piece structure analyzing method, program and device
JP2008065153A
Music structure analysis device, method for analyzing music structure, and music structure analysis program
WO2017195292A1
Lighting control device, lighting control method, and lighting control program
WO2017195326A1
