Audio processing method, device, equipment and medium

By combining the characteristic information of suspected skill fragments and target lyrics content fragments, and adopting targeted judgment strategies, the problem of difficulty in balancing accuracy and recall in the existing technology is solved, and the accuracy and recall of singing technique detection are improved.

CN111782868BActive Publication Date: 2024-10-18TENCENT MUSIC ENTERTAINMENT TECH (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010640120.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-06
Publication Date
2024-10-18
Estimated Expiration
2040-07-06

AI Technical Summary

Technical Problem

In the detection of song singing skills in the existing technology, it is difficult to balance the accuracy and recall rates, resulting in a low or high ratio of the number of detected skill segments to the actual number of skill segments in the song to be detected, resulting in poor accuracy and recall.

Method used

By obtaining the characteristic information of the suspected technique fragment and the characteristic information of the target lyric content fragment, combined with the technique characteristics and lyric characteristic information of each suspected technique fragment, different judgment strategies are used to determine whether it is the target technique fragment, avoiding the accuracy caused by the unified filtering strategy. Rate and recall are unbalanced.

Benefits of technology

The accuracy and recall rate of singing skill detection are improved, ensuring the reliability and validity of the detection results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111782868B_ABST
    Figure CN111782868B_ABST
Patent Text Reader

Abstract

The present application discloses an audio processing method, device, equipment and medium, the method comprising: obtaining suspected skill segment data obtained by preliminary detection of a song to be detected, wherein the suspected skill segment data includes a suspected skill segment and first feature information of the suspected skill segment; determining the second feature information of a target lyric content segment corresponding to the suspected skill segment; determining whether the suspected skill segment is a target skill segment based on the first feature information and the second feature information. In this way, the strategies for judging whether different suspected skill segments are real skill segments are different, and need to be specifically determined based on the skill feature information of the suspected skill segment itself and the corresponding lyric feature information, thereby overcoming the problem of imbalance in accuracy and recall rate caused by the same strategy for each suspected skill segment, thereby improving the recall rate of detection while improving the accuracy of singing skill detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an audio processing method, device, equipment and medium. Background Art

[0002] Vocal singing usually includes some singing skills that can reflect the singer's singing level, such as vibrato and glissando. In the relevant song singing skill detection technology, the main thing is to first process the song to be detected to obtain suspected skill segments (tremolo / glissando segments), and then filter each suspected skill segment once according to the feature information with a set of unified filtering strategies to obtain the final skill segment. In the process of implementing the present invention, the inventor found that there are at least the following problems in the above prior art: filtering each suspected skill segment with a set of unified strategies will result in a low ratio of the number of detected skill segments to the number of skill segments actually included in the song to be detected when the accuracy rate is high, and when the ratio of the number of detected skill segments to the number of skill segments actually included in the song to be detected is high, the accuracy rate is low, that is, it will cause a contradiction between the accuracy rate and the recall rate of the detection. Therefore, how to ensure a better balance between the accuracy rate and the recall rate in the detection of song singing skills is a technical problem that needs to be solved by those skilled in the art. Summary of the invention

[0003] In view of this, the purpose of this application is to provide an audio processing method, device, equipment and medium, which can improve the accuracy of singing skill detection and the recall rate of detection. The specific scheme is as follows:

[0004] To achieve the above object, in a first aspect, an audio processing method is provided, comprising:

[0005] Acquire suspected skill segment data obtained by preliminary detection of the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and first feature information of the suspected skill segment;

[0006] Determine second feature information of the target lyrics content segment corresponding to the suspected skill segment;

[0007] Determine whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0008] Optionally, the determining the second feature information of the target lyrics content segment corresponding to the suspected skill segment includes:

[0009] Mapping the suspected skill segment to a lyrics file in a preset format corresponding to the song to be detected, and determining the target lyrics content segment;

[0010] The lyrics feature information of the target lyrics content segment is determined as the second feature information.

[0011] Optionally, mapping the suspected skill segment to a lyrics file in a preset format corresponding to the song to be detected to determine the target lyrics content segment includes:

[0012] The suspected skill segment is matched with each lyric content segment in the preset format lyric file to determine the target lyric content segment corresponding to the suspected skill segment.

[0013] Optionally, matching the suspected skill segment with each lyric content segment in the preset format lyric file includes:

[0014] If the lyrics content segments are segmented based on the granularity of words, then the time segments corresponding to the suspected skill segments are matched with the time segments corresponding to the respective words in the lyrics file in the preset format;

[0015] If the lyrics content segments are segmented based on phonemes, the time segments corresponding to the suspected skill segments are matched with the time segments corresponding to the phonemes in the lyrics file in the preset format.

[0016] Optionally, before matching the suspected skill segment with each lyric content segment in the preset format lyric file, the method further includes:

[0017] All suspected skill segments corresponding to the song to be detected are initially filtered using preset filtering conditions constructed based on skill features.

[0018] Optionally, the determining whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information includes:

[0019] Determining preset lyrics feature requirements corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment;

[0020] Determining whether the second characteristic information meets the preset lyrics characteristic requirement;

[0021] Determine the preset skill feature requirements corresponding to the suspected skill segment according to the judgment result;

[0022] It is determined whether the first feature information meets the preset skill feature requirement to determine whether the suspected skill segment is a target skill segment.

[0023] Optionally, the determining, according to the suspected skill type of the suspected skill segment, a preset lyric feature requirement corresponding to the suspected skill segment includes:

[0024] When the suspected skill segment is a suspected tremolo segment, a first preset lyric feature requirement corresponding to the suspected skill segment is determined; the first preset lyric feature requirement is that the target lyric content segment must be the last segment of a sentence of lyrics;

[0025] And / or, when the suspected skill segment is a suspected tremolo segment, a second preset lyrics feature requirement corresponding to the suspected skill segment is determined; the second preset lyrics feature requirement is that the segment length of the target lyrics content segment must be greater than or equal to the target preset duration threshold.

[0026] Optionally, the determining, according to the suspected skill type of the suspected skill segment, a preset lyric feature requirement corresponding to the suspected skill segment includes:

[0027] When the suspected skill segment is a suspected glissando segment, a third preset lyric feature requirement corresponding to the suspected skill segment is determined; the third preset lyric feature requirement is that the number of the target lyric content segments must be 1.

[0028] Optionally, after determining the third preset lyrics feature requirement corresponding to the suspected skill segment, the method further includes:

[0029] If the preset format lyrics file includes pitch data, a fourth preset lyrics feature requirement corresponding to the suspected skill segment is determined; the fourth preset lyrics feature requirement is that the pitch corresponding to the target lyrics content segment must belong to a preset pitch range.

[0030] In a second aspect, an audio processing device is provided, comprising:

[0031] A preliminary detection module, used to obtain suspected skill segment data obtained by performing preliminary detection on the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and first feature information of the suspected skill segment;

[0032] A feature information determination module, used to determine second feature information of the target lyrics content segment corresponding to the suspected skill segment;

[0033] The skill segment determining module is used to determine whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0034] In a third aspect, an electronic device is provided, including:

[0035] Memory and processor;

[0036] Wherein, the memory is used to store computer programs;

[0037] The processor is used to execute the computer program to implement the aforementioned disclosed audio processing method.

[0038] In a fourth aspect, a computer-readable storage medium is provided for storing a computer program, wherein the computer program implements the aforementioned disclosed audio processing method when executed by a processor.

[0039] In the present application, the suspected skill segment data obtained by preliminary detection of the song to be detected is first obtained, wherein the suspected skill segment data includes the suspected skill segment and the first feature information of the suspected skill segment, and then the second feature information of the target lyric content segment corresponding to the suspected skill segment is determined, and then the suspected skill segment is determined to be the target skill segment based on the first feature information and the second feature information. It can be seen that after obtaining the suspected skill segment, the present application determines the lyrics feature information of the target lyric content segment corresponding to the suspected skill segment, and then the skill feature information of each suspected skill segment and its corresponding lyrics feature information can be combined to determine whether the corresponding suspected skill segment is a real skill segment. In this way, the strategy for judging whether different suspected skill segments are real skill segments is different, and it is necessary to determine it specifically based on the skill feature information of the suspected skill segment itself and the corresponding lyrics feature information, thereby overcoming the problem of imbalance between accuracy and recall rate caused by the same judgment strategy for each suspected skill segment, thereby improving the recall rate of detection while improving the accuracy of singing skill detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0041] Figure 1 A schematic diagram of the system framework applicable to the audio processing solution provided in this application;

[0042] Figure 2 A flow chart of an audio processing method disclosed in this application;

[0043] Figure 3 A flow chart of an audio processing method disclosed in this application;

[0044] Figure 4 A flowchart of a specific audio processing method disclosed in this application;

[0045] Figure 5 A partial flow chart of a specific audio processing method disclosed in this application;

[0046] Figure 6 A vibrato segment spectrogram disclosed in the present application;

[0047] Figure 7 A glide segment spectrogram disclosed in the present application;

[0048] Figure 8 A glide segment spectrogram disclosed in the present application;

[0049] Fig. 9 This is a structural schematic diagram of an audio processing device disclosed in this application;

[0050] Fig.10 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0052] At present, in the technology of detecting singing skills, after processing the song to be detected, after obtaining the suspected skill segments, a unified filtering strategy is used to filter each suspected skill segment according to the characteristics of the suspected skill segment to obtain the final skill segment. This may cause a contradiction between the accuracy and recall rate of detection due to filtering each suspected skill segment with a set of unified strategies, that is, it is difficult to achieve a balance between the accuracy and recall rate of detection. In order to overcome the above technical problems, the present application provides an audio processing method that can improve the recall rate of detection while improving the accuracy of singing skill detection.

[0053] For ease of understanding, the system framework applicable to the audio processing method of the present application is first introduced. It is understandable that the number of computer devices is not limited in the embodiments of the present application, and it can be that multiple computer devices work together to complete the audio processing function. In one possible case, please refer to Figure 1 .Depend on Figure 1 It can be known that the hardware component framework may include: a first computer device 101 and a second computer device 102. The first computer device 101 and the second computer device 102 are connected to each other through a network 103.

[0054] In the embodiment of the present application, the hardware structure of the first computer device 101 and the second computer device 102 is not specifically limited. The first computer device 101 and the second computer device 102 perform data exchange to realize the audio processing function. Further, in the embodiment of the present application, the form of the network 103 is not limited. For example, the network 103 can be a wireless network (such as WIFI, Bluetooth, etc.) or a wired network.

[0055] The first computer device 101 and the second computer device 102 may be the same type of computer device, such as the first computer device 101 and the second computer device 102 are both servers; or they may be different types of computer devices, such as the first computer device 101 may be a terminal or an intelligent electronic device, and the second computer device 102 may be a server. In another possible scenario, a server with strong computing power may be used as the second computer device 102 to improve data processing efficiency and reliability, thereby improving audio processing efficiency. At the same time, a terminal or intelligent electronic device with low cost and wide application range may be used as the first computer device 101 to realize the interaction between the second computer device 102 and the user.

[0056] For an example, please refer to Figure 2 After acquiring the song to be detected, the terminal processes the song to be detected, obtains suspected skill segment data, and sends the suspected skill segment data to the server through the network. After receiving the suspected skill segment data, the server determines the second feature information of the target lyric content segment corresponding to the suspected skill segment, and then determines whether the suspected skill segment is the target skill segment based on the first feature information and the second feature information in the suspected skill segment data. After obtaining the target skill segment, the server can also send the target skill segment to the terminal through the network.

[0057] See also Figure 3 As shown, the embodiment of the present application discloses an audio processing method, the method comprising:

[0058] Step S11: obtaining suspected skill segment data obtained by preliminary detection of the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and the first feature information of the suspected skill segment.

[0059] In practical applications, it is necessary to first obtain the suspected skill segment data obtained by preliminary detection of the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and the first characteristic information of the suspected skill segment, and the first characteristic information is not limited to the segment duration, amplitude range and number of cycles of the suspected skill segment. The suspected skill segment corresponds to a certain time segment, for example, a suspected skill segment is a segment between the 10th and 11th seconds of the song to be detected.

[0060] In a specific implementation process, the current computer device may first obtain the song to be detected, and then perform a preliminary detection on the song to be detected to obtain the corresponding suspected skill segment data. Specifically, the current computer device may first obtain the song to be detected, and then separate the dry sound from the song to be detected, and then extract the fundamental frequency sequence from the dry sound, and then perform calculation analysis on the fundamental frequency sequence to obtain the suspected skill segment data. Among them, the current computer device obtains the song to be detected, including obtaining the song to be detected through its own input unit, such as the current computer device collects the song to be detected through the voice acquisition module, or the current computer device obtains the song to be detected from the song library. The current computer device can also obtain the song to be detected sent by other devices through the network (which can be a wired network or a wireless network). Of course, the embodiment of the present application does not limit the way in which other devices (such as other computer devices) obtain the song to be detected. For example, other devices (such as terminals) can receive songs to be detected input by users through voice input modules.

[0061] In a specific implementation process, the current computer device can directly obtain the suspected skill segment data sent by other devices through the network and obtained after preliminary detection of the song to be detected. After obtaining the suspected skill segment data, the current computer device can perform subsequent processing. The method in which other devices (such as other computer devices) obtain the song to be detected is not limited here. For example, other devices (such as terminals) can obtain the song to be detected from a preset song library.

[0062] Step S12: Determine the second characteristic information of the target lyrics content segment corresponding to the suspected skill segment.

[0063] In the specific implementation process, after the current computer device obtains the suspected skill segment data, it is also necessary to determine the second characteristic information of the target lyric content segment corresponding to the suspected skill segment, wherein the target lyric content segment refers to a lyric content segment whose time segment overlaps with the time segment of the suspected skill segment, and the second characteristic information includes but is not limited to the segment duration, quantity, position, etc. of the target lyric content segment, and the position indicates whether the target lyric content segment is the last segment of a sentence of lyrics. The lyric content segment is a segment obtained after segmenting the lyrics content in the song to be detected. In actual applications, a lyric content segment can be a word or a phoneme.

[0064] In actual scenarios, singing techniques in songs usually appear in specific lyrics, so the lyrics feature information of the corresponding lyrics content segment of the suspected skill segment in the song to be detected can be used to assist in determining whether the suspected skill segment is the final skill segment. For example, by analyzing the occurrence scenario of vibrato, it can be found that vibrato mainly has the following characteristics: first, vibrato changes periodically and the amplitude is stable; second, vibrato often occurs on the last word in a sentence of lyrics. It can be obtained that the lyrics where vibrato segments appear meet the following characteristics: most of them are the last word in a sentence of lyrics, and the duration of the word is generally longer.

[0065] In the specific implementation process, the position where each suspected skill segment appears on the song to be detected can be determined based on the time segment corresponding to each suspected skill segment, and then it can be determined whether a lyric content segment appears at the position where the suspected skill segment appears. If a lyric content segment appears, the lyric content segment that appears will be determined as the target lyric content segment, and the number, segment length and position of the lyric content segment that appears will be used as the second characteristic information of the target lyric content segment.

[0066] For example, if the time segment corresponding to a suspected skill segment is 10-11 seconds, then the suspected skill segment appears between the 10th and 11th seconds of the song to be detected, and then determine whether a lyric content segment appears between the 10th and 11th seconds of the song to be detected. If a lyric content segment appears, the appearing lyric content segment is determined as the target lyric content segment, and the number of appearing lyric content segments, the segment length of the appearing lyric content segment, and whether the 10th to 11th second of the song to be detected is the last segment of a sentence of lyrics are determined to obtain the second feature information.

[0067] Step S13: determining whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0068] After obtaining the position information, it is also necessary to determine whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0069] In the specific implementation process, it is possible to first determine whether the second characteristic information meets the corresponding preset requirements, and determine the preset requirements that the first characteristic information needs to meet based on the judgment result, and then determine whether the first characteristic information meets the corresponding preset requirements, thereby determining whether the suspected skill fragment is the target skill fragment.

[0070] In the present application, the suspected skill segment data obtained by preliminary detection of the song to be detected is first obtained, wherein the suspected skill segment data includes the suspected skill segment and the first feature information of the suspected skill segment, and then the second feature information of the target lyric content segment corresponding to the suspected skill segment is determined, and then the suspected skill segment is determined to be the target skill segment based on the first feature information and the second feature information. It can be seen that after obtaining the suspected skill segment, the present application determines the lyrics feature information of the target lyric content segment corresponding to the suspected skill segment, and then the skill feature information of each suspected skill segment and its corresponding lyrics feature information can be combined to determine whether the corresponding suspected skill segment is a real skill segment. In this way, the strategy for judging whether different suspected skill segments are real skill segments is different, and it is necessary to determine it specifically based on the skill feature information of the suspected skill segment itself and the corresponding lyrics feature information, thereby overcoming the problem of imbalance between accuracy and recall rate caused by the same judgment strategy for each suspected skill segment, thereby improving the recall rate of detection while improving the accuracy of singing skill detection.

[0071] See also Figure 4 As shown, the embodiment of the present application discloses a specific audio processing method, which includes:

[0072] Step S21: obtaining suspected skill segment data obtained by preliminary detection of the song to be detected, wherein the suspected skill segment data includes suspected skill segments and first feature information of each of the suspected skill segments.

[0073] Step S22: Mapping the suspected skill segment to the lyrics file in a preset format corresponding to the song to be detected, and determining the target lyrics content segment.

[0074] In practical applications, the suspected skill segment can be mapped to the preset format lyrics file corresponding to the song to be detected to determine the target lyrics content segment. The preset format lyrics file is a pre-stored lyrics file. When the preset format lyrics file is needed, the preset format lyrics file can be read.

[0075] Among them, mapping the suspected skill segment to the preset format lyric file corresponding to the song to be detected to determine the target lyric content segment may include: matching the suspected skill segment with each lyric content segment in the preset format lyric file to determine the target lyric content segment. Among them, the lyric content segment can be divided by character granularity or by phoneme granularity. A phoneme is the smallest speech unit divided according to the natural attributes of speech. Analyzing according to the pronunciation actions in a syllable, one action constitutes one phoneme. Phonemes are divided into two major categories: vowels and consonants. For example, the Chinese syllable "ā" has only one phoneme, "ài" has two phonemes, "dài" has three phonemes, etc.

[0076] In practical applications, the preset format lyric file may include: a QRC format lyric file or an LRC (lyric) format lyric file. The QRC format lyric file can be used to implement the Karaoke function, and the lyric display is accurately positioned word by word, with each word having a corresponding time tag, making the lyric synchronization display more accurate. The LRC format lyric file can be used to implement the Karaoke function and can also be viewed and edited with ordinary word processing software. In addition, the preset format lyric file can also be in other formats, which are not specifically limited here.

[0077] In the first specific implementation manner, according to the different division granularities of the lyric content segments, matching the suspected skill segment with each lyric content segment in the preset format lyric file may include: if the lyric content segment is segmented by character granularity, then matching the time segment corresponding to the suspected skill segment with the time segments corresponding to each character in the preset format lyric file to determine the target lyric content segment.

[0078] In a specific implementation manner, in the process of matching the time segment corresponding to the suspected skill segment with the time segments corresponding to each character in the preset format lyric file, the time segment of the suspected skill segment can be used as a benchmark for matching.

[0079] For example, the first suspected skill segment is taken as a benchmark, and the time segment of the first suspected skill segment is matched with the time segment of the first word. If the start time of the first word is greater than the end time of the first suspected skill segment, it means that the first suspected skill segment is before the first word, and the first suspected skill segment is discarded, and the next suspected skill segment is updated as a benchmark for matching until there is no word or suspected skill segment that needs to be matched; if the end time of the first word is less than the start time of the first suspected skill segment, it means that the first word is before the first suspected skill segment and has not yet reached the first suspected skill segment, and the next word is updated for matching, until there is no word or suspected skill segment that needs to be matched. There are no words or suspected skill segments that need to be matched; except for the above two situations, it means that the time segment of the first suspected skill segment overlaps with the time segment of the first word, then determine the ratio of the duration of the overlapping part to the duration of the current suspected skill segment, and when the ratio is less than or equal to the first preset ratio, update the next word to match the current suspected skill segment until the start time of the word to be matched is greater than the end time of the current suspected skill segment, or there are no words to be matched; when the ratio is greater than or equal to the second preset ratio, it indicates that the current suspected skill segment matches the current word, and the next suspected skill segment to be matched can be updated as a benchmark for matching until there are no suspected skill segments or words that need to be matched. Among them, the first preset ratio is less than the second preset ratio. In this way, it can be determined which words have overlapping time segments with the time segment of the current suspected skill segment.

[0080] After the matching of the current suspected skill segment is completed, the characters whose time segments overlap with the time segment of the current suspected skill segment are determined as the target lyrics content segments corresponding to the current suspected skill segment.

[0081] In the above process, when the ratio is less than or equal to the first preset ratio, the next word needs to be updated to match the current suspected skill segment until the start time of the word to be matched is greater than the end time of the current suspected skill segment, or there is no word to be matched. This is because in many cases, more than one word may appear at the location of a suspected skill segment. For example, the time segment of a suspected skill segment is from the 10th second to the 15th second, there is a word with a time segment from the 10th second to the 14th second, and there is another word with a time segment from the 14th second to the 16th second, then it is determined that 2 words appear within the time segment of the suspected skill segment.

[0082] For example, the song to be detected includes 6 characters, which are character 1, character 2, character 3, character 4, character 5, and character 6 in the order of their appearance in the song to be detected. The suspected skill fragments corresponding to the song to be detected are two suspected skill fragments, which are suspected skill fragment A and suspected skill fragment B in the order of their appearance in the song to be detected. First, using the suspected skill segment A as a reference, match the time segment corresponding to the suspected skill segment A with the time segment corresponding to word 1. If the end time of the suspected skill segment A is less than the start time of word 1, the suspected skill segment A is in front of word 1, and the suspected skill segment A is discarded. Matching is performed using the suspected skill segment B as a reference. If the start time of the suspected skill segment A is greater than the end time of word 1, the suspected skill segment A is behind word 1, and word 1 is discarded, and word 2 is continued to be matched. Except for these two cases, both indicate that the suspected skill segment A and word 1 overlap, then determine the ratio of the duration of the overlapping part to the duration of the suspected skill segment A. If the ratio is greater than or equal to the second preset ratio, then it indicates that the suspected skill segment A matches word 1, and the suspected skill segment B can be updated as a reference, and then word 2 is matched. Repeat the above process. If the ratio is less than or equal to the first preset ratio, word 2 is updated to match with the suspected skill segment A until the start time of the word to be matched is greater than the end time of the current suspected skill segment, or there is no word to be matched. After the matching is completed, the words whose time segments overlap with the time segments of the suspected skill segment A are determined as the target lyrics content segments corresponding to the suspected skill segment A, and the words whose time segments overlap with the time segments of the suspected skill segment B are determined as the target lyrics content segments corresponding to the suspected skill segment B.

[0083] In another specific implementation, in the process of matching the time segments corresponding to each of the suspected skill segments with the time segments corresponding to each of the characters in the lyrics file in the preset format, the matching can also be performed based on the time segments of the characters.

[0084] For example, the first word to be matched is first taken as a benchmark, and then the time segment of the first suspected skill segment is matched with the time segment of the first word. If the end time of the first word is less than the start time of the first suspected skill segment, it means that the first word is located before the first suspected skill segment and has not yet reached the first suspected skill segment, and the next word is updated as a benchmark for matching until there is no word or suspected skill segment to be matched; if the start time of the first word is greater than the end time of the first suspected skill segment, it means that the first suspected skill segment is before the first word, the first suspected skill segment is discarded, and the next suspected skill segment is updated to proceed. The first suspected skill segment is matched until there is no word or suspected skill segment to be matched; except for the above two cases, it indicates that the time segment of the first suspected skill segment overlaps with the time segment of the first word, then the ratio of the overlapping part duration to the segment duration of the current word is determined, and when the ratio is less than or equal to the third preset ratio, the next suspected skill segment is updated to match the current word until the start time of the suspected skill segment to be matched is greater than the end time of the current word, or there is no suspected skill segment to be matched; when the ratio is greater than or equal to the fourth preset ratio, it indicates that the current suspected skill segment matches the current word, and the next word to be matched can be updated as a benchmark until there is no suspected skill segment or word to be matched. Wherein, the third preset ratio is less than the fourth preset ratio.

[0085] After the current character is matched, the target information corresponding to the current character is recorded, wherein the target information includes the time information of the suspected skill segment whose time segment overlaps with the time segment of the current character, and the time information includes the start time and the receiving time. After completing the matching of each character and each suspected skill segment, the target information corresponding to each character is counted, and the target lyrics content segment corresponding to the suspected skill segment can be determined. Specifically, determining the target lyrics content segment corresponding to any suspected skill segment includes: traversing the target information corresponding to each character, determining whether the time information of the suspected skill segment appears in the target information corresponding to the current character, and if so, determining the current character as the target lyrics content segment corresponding to the suspected skill segment.

[0086] In the above process, when the ratio is less than or equal to the third preset ratio, it is necessary to update the matching of the next suspected skill segment with the current character until the start time of the suspected skill segment to be matched is greater than the end time of the current character, or there is no suspected skill segment to be matched, because there may be multiple suspected skill segments within the time segment corresponding to one character. For example, for the character "天" in "天XXXXXXXXXX", assuming the time marked in the lyrics file for the character "天" is 10 - 10.6 seconds, and there are currently 3 suspected skill segments: 10 - 10.3 seconds, 10.32 - 10.35 seconds, and 10.35 - 10.55 seconds. If the segment 10 - 10.3 seconds has been mapped to the character "天", then the latter two suspected skill segments, 10.32 - 10.35 seconds and 10.35 - 10.55 seconds, actually do not need to be compared anymore because they are still within the time range of the character "天".

[0087] For example, the song to be detected contains 6 characters, which are character 1, character 2, character 3, character 4, character 5, and character 6 in the order they appear in the song to be detected. The suspected skill segments corresponding to the song to be detected are two suspected skill segments, which are suspected skill segment A and suspected skill segment B in the order they appear in the song to be detected. First, taking character 1 as the benchmark, match the time segment corresponding to suspected skill segment A with the time segment corresponding to character 1. If the end time of suspected skill segment A is less than the start time of character 1, then suspected skill segment A is before character 1, discard suspected skill segment A, and continue to match with suspected skill segment B; if the start time of suspected skill segment A is greater than the end time of character 1, then suspected skill segment A is after character 1, discard character 1, and update character 2 as the benchmark for matching; in addition to these two cases, it means that there is an overlap between suspected skill segment A and character 1. Then determine the ratio of the duration of the overlapping part to the duration of the segment of character 1. If the ratio is greater than or equal to the fourth preset ratio, then suspected skill segment A and character 1 are matched, update character 2 as the benchmark, and then take out suspected skill segment B for matching, repeating the above process. If the ratio is less than or equal to the third preset ratio, match character 1 with suspected skill segment B until the start time of the suspected skill segment to be matched is greater than the end time of the current suspected skill segment, or there is no character to be matched.

[0088] After the matching of the current character is completed, record the target information corresponding to the current character, and after the matching of all 6 characters is completed, count the 6 pieces of target information obtained to determine the target lyric content segments corresponding to suspected skill segment A and suspected skill segment B.

[0089] In a second specific implementation, according to the different granularities of the division of the lyrics content segments, matching the suspected skill segments with the lyrics content segments in the preset format lyrics file may include: if the lyrics content segments are segmented at the granularity of phonemes, then matching the time segments corresponding to the suspected skill segments with the time segments corresponding to the phonemes in the preset format lyrics file. In the process of obtaining the preset format lyrics file, the lyrics may be divided at the phoneme level. The phoneme level division is more accurate than the division at the word level, and more information may be obtained to assist in determining whether the suspected skill segment is the final skill segment. The matching method when the lyrics content segments are segmented at the granularity of phonemes may be the same as the aforementioned matching method.

[0090] In addition to the above two segmentation methods, other segmentation methods with higher accuracy can also be used, which can reduce the probability of misjudging suspected skill segments due to errors in the start time or end time corresponding to the time segment, and further improve the accuracy of detection.

[0091] In the actual implementation process, the preset format lyrics file may also include the pitch data of the lyrics content in the song to be detected, so that the pitch data can be used to assist in determining whether the suspected skill segment is the target skill segment, thereby improving the accuracy of skill detection.

[0092] Step S23: determining the lyrics feature information of the target lyrics content segment as the second feature information.

[0093] After the target lyric content segment corresponding to the suspected skill segment is determined, the lyric feature information of the target lyric content segment may be determined as the second feature information.

[0094] In the actual implementation process, the target lyrics content segment corresponding to the suspected skill segment is determined, and accordingly the number of the target lyrics content segments and the segment duration corresponding to each of the target lyrics content segments can be obtained, and then the position of the target lyrics content segment is determined, and the second feature information can be obtained. Among them, the position indicates whether the target lyrics segment is the last segment of a sentence of lyrics.

[0095] Step S24: determining whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0096] It can be understood that after the second feature information is determined, it can be determined whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0097] In the actual implementation process, after the target skill segment is determined, the target skill segment can be stored so as to obtain the suspected skill segment data again, and when the obtained suspected skill segment data needs to be skill detected, the target skill segment can be directly called as the detection result. In this way, it is possible to avoid detecting the same suspected skill segment data again, saving computing resources.

[0098] In practical applications, before matching the suspected skill segments with each of the lyrics content segments, it may also include: using a preset filtering condition constructed based on skill features to preliminarily filter all the suspected skill segments corresponding to the song to be detected, and obtain the suspected skill segments retained after filtering. Then match each of the suspected skill segments retained after filtering with the lyrics content segment. Specifically, each of the suspected skill segments may be preliminarily filtered using a preset filtering amplitude range, and the suspected skill segments whose amplitude range belongs to the preset filtering amplitude range are used as the suspected skill segments retained after filtering; and / or, each of the suspected skill segments may be preliminarily filtered using a preset filtering duration threshold, and the suspected skill segments whose segment duration is greater than or equal to the preset filtering duration threshold are used as the suspected skill segments retained after filtering; and / or, each of the suspected skill segments may be preliminarily filtered using a preset filtering cycle number threshold, and the suspected skill segments whose cycle number is greater than or equal to the preset filtering cycle number threshold are used as the suspected skill segments retained after filtering. Before matching the suspected skill segment with the lyric content segment, preliminary filtering of the suspected skill segment can filter out the suspected skill segment with a low possibility of eventually becoming the target skill segment, thereby reducing the workload in the matching process, speeding up data processing, and improving the efficiency of the entire audio processing.

[0099] It can be seen that this embodiment can accurately determine the lyrics content fragments corresponding to each suspected skill fragment by matching the suspected skill fragments with the various lyrics content fragments in the preset format lyrics file corresponding to the song to be detected, and obtain the characteristic information of the corresponding lyrics content fragments, thereby ensuring the smooth implementation of the subsequent process of judging whether the suspected skill fragment is the final skill fragment based on the characteristic information of the lyrics content fragment, thereby solving the problem of low accuracy caused by relying solely on the characteristic information of the suspected skill fragment itself for judgment.

[0100] See also Figure 5 As shown, determining whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information may specifically include:

[0101] Step S31: determining preset lyrics feature requirements corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment.

[0102] In the process of determining whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information, a preset lyric feature requirement corresponding to the suspected skill segment may be first determined according to the suspected skill type of the suspected skill segment.

[0103] The suspected technique types include but are not limited to suspected vibrato and suspected glissando. Figure 6 The figure shows the performance of vibrato in the spectrogram. The spectrogram refers to the two-dimensional energy diagram after the short-time spectrum of the audio signal is transformed. The horizontal axis is time, the vertical axis is frequency, and the coordinate point value is the energy of the speech data. It can be seen that vibrato mostly changes periodically, has a stable amplitude and lasts for a long time. Figure 7 As shown in the figure, this is the performance of glissando in the spectrogram. From this, we can see that glissando mostly consists of three parts: steady-up / down-steady.

[0104] In a first specific implementation process, when the suspected skill segment is a suspected tremolo segment, the first preset lyrics feature requirement corresponding to the suspected skill segment is determined, wherein the first preset lyrics feature requirement is that the target lyrics content segment must be the last segment of a line of lyrics. In the actual process, tremolo mostly occurs in the last segment of a line of lyrics, so the last segment of a line of lyrics can be first determined as the preset lyrics feature requirement corresponding to the suspected tremolo segment. In addition, the first preset lyrics feature requirement can also include that the number of the target lyrics content segments must be 1.

[0105] In a second specific implementation process, when the suspected skill segment is a suspected tremolo segment, a second preset lyric feature requirement corresponding to the suspected skill segment is determined, wherein the second preset lyric feature requirement is that the segment duration of the target lyric content segment must be greater than or equal to the target preset duration threshold. In actual processes, tremolo mostly occurs in a lyric content segment with a long duration, so the preset lyric feature requirement for the suspected tremolo segment can also be determined as the lyric segment that occurs in a lyric segment with a duration greater than or equal to the corresponding threshold.

[0106] In the specific implementation process, only the requirement that the target lyric content segment is the last segment of a sentence can be set as the preset lyric feature requirement, or only the requirement that the segment duration of the target lyric content segment is greater than or equal to the target preset duration threshold can be set as the preset lyric feature requirement, or both the requirement that the target lyric content segment is the last segment of a sentence and the requirement that the segment duration of the target lyric content segment is greater than or equal to the target preset duration threshold can be set as the preset lyric feature requirement.

[0107] In the third specific implementation process, when the suspected skill segment is a suspected glide segment, the third preset lyric feature requirement corresponding to the suspected skill segment is determined, where the third preset lyric feature requirement is that the number of target lyric content segments is required to be 1. In an actual scenario, a glide means that there is no direct interval jump between two notes, but the pitch changes continuously to connect the two notes. In singing, it usually occurs within one character. Therefore, the preset lyric feature requirement for determining a suspected glide segment on one lyric content segment can be set first, which can improve the accuracy of detected glides.

[0108] In the actual implementation process, the preset lyric feature requirement for determining a suspected glide segment on one lyric content segment is necessary because sometimes the transition segment between two lyrics will be misjudged as a real glide segment. For example Figure 8 the shown suspected glide segment, which includes three parts: steady - rising - steady, conforms to the characteristics of a glide. However, in fact, the suspected glide segment corresponds to the two characters "少 (shǎo)" and "旅 (lǚ)" in "XXX少旅X" of the song "XXXX". Therefore, the suspected glide segment is not a real glide segment.

[0109] In the actual implementation process, when the suspected skill segment is a suspected glide segment, if the preset format lyric file includes pitch data, the fourth preset lyric feature requirement corresponding to the suspected skill segment is determined, where the fourth preset lyric feature requirement is that the pitch corresponding to the target lyric content segment belongs to a preset pitch range, and the preset pitch range is the fourth tone and / or the second tone. In the actual process, glides mostly occur on characters with the second tone or the fourth tone. Therefore, when the preset format lyric file includes pitch data, the preset lyric feature requirement for determining a glide segment on a lyric content segment with the second tone or the fourth tone can be set.

[0110] In addition, since the glissando generally includes three parts: steady-up / down-steady, when the suspected skill segment is a glissando segment, the fifth preset lyrics feature requirement corresponding to the suspected skill segment can also be determined, wherein the fifth preset lyrics feature requirement is that the difference between the segment duration of the target lyrics content segment and the segment duration of the suspected skill segment must be greater than the first preset difference threshold, and / or the difference between the start time of the target lyrics content segment and the start time of the suspected skill segment must be greater than or equal to the second difference threshold, and / or the difference between the end time of the target lyrics content segment and the end time of the suspected skill segment must be greater than or equal to the third difference threshold. That is, it can be required that the duration of the glissando segment should not be too close to the duration of the corresponding word, and / or the start time of the glissando segment should not be too close to the start time of the corresponding word, and / or the end time of the glissando segment should not be too close to the end time of the corresponding word, so that it can be ensured that the final glissando segment can completely include the three parts of steady-up / down-steady, meeting the requirements of the glissando segment.

[0111] Step S32: Determine whether the second characteristic information meets the preset lyrics characteristic requirement.

[0112] After determining the preset lyrics feature requirements corresponding to the suspected skill segment, it is also necessary to determine whether the second feature information meets the preset lyrics feature requirements, so as to determine the requirements that the first feature information corresponding to the suspected skill segment needs to meet. In the actual implementation process, the skill segment feature requirements that need to be met are different according to the different lyrics features corresponding to the suspected skill segment, so it is necessary to first determine whether the second feature information corresponding to the suspected skill segment meets the corresponding preset lyrics feature requirements.

[0113] For example, when the suspected skill segment is a suspected tremolo segment and it is determined that the suspected skill segment corresponds to the first preset lyrics feature requirement, it is necessary to determine whether the second feature information of the suspected skill segment meets the first preset lyrics feature requirement.

[0114] Step S33: determining the preset skill feature requirements corresponding to the suspected skill segment according to the judgment result.

[0115] After determining whether the second characteristic information meets the preset lyrics characteristic requirement, the preset skill characteristic requirement corresponding to the suspected skill segment can be determined according to the determination result.

[0116] Specifically, when the suspected skill segment is a suspected tremolo segment, and the second characteristic information corresponding to the suspected skill segment meets the preset lyrics characteristic requirement, the first preset skill characteristic requirement corresponding to the suspected skill segment is determined, wherein the first preset skill characteristic requirement is that the segment duration in the first characteristic information must be greater than or equal to the first segment duration threshold. In addition, the first preset skill characteristic requirement may also include requirements that other information in the first characteristic information needs to meet, for example, the number of tremolo cycles in the first characteristic information must be greater than or equal to the first cycle number threshold, and / or the tremolo amplitude in the first characteristic information must belong to the first preset amplitude range, etc.

[0117] In the actual implementation process, when the second characteristic information corresponding to the suspected skill segment meets the preset lyrics characteristic requirement, the corresponding preset skill characteristic requirement can also be determined according to the specific preset lyrics characteristic requirement met by the second characteristic information. For example, when the second characteristic information of a suspected skill segment meets the first preset lyrics characteristic requirement, the segment length of the suspected skill segment must be greater than 3 seconds as its corresponding preset skill characteristic requirement, and when the second characteristic information of a suspected skill segment meets the second preset lyrics characteristic requirement, the segment length of the suspected skill segment must be greater than 4 seconds as its corresponding preset skill characteristic requirement.

[0118] When the suspected skill segment is a suspected tremolo segment, and the second characteristic information corresponding to the suspected skill segment does not meet the preset lyrics characteristic requirement, the second preset skill characteristic requirement corresponding to the suspected skill segment is determined, wherein the second preset skill characteristic requirement is that the segment duration in the first characteristic information must be greater than or equal to the second segment duration threshold. In addition, the second preset skill characteristic requirement may also include requirements that other information in the first characteristic information needs to meet, for example, the number of tremor cycles in the first characteristic information must be greater than or equal to the second cycle number threshold, and / or the tremor amplitude in the first characteristic information must belong to the second preset amplitude range, etc. Among them, the second segment duration threshold is greater than the first segment duration threshold, and / or the second cycle number threshold is greater than the first cycle number threshold, and / or the second preset amplitude range is less than the first preset amplitude range. When the second characteristic information of the suspected skill segment does not meet the preset lyrics characteristic requirement, the probability that the suspected skill segment is a true skill segment is relatively small, so the corresponding preset skill characteristic requirement when the preset lyrics characteristic requirement is not met is stricter than when the preset lyrics characteristic requirement is met.

[0119] Similarly, when the second feature information corresponding to the suspected skill segment does not meet the preset lyrics feature requirement, the corresponding preset skill feature requirement can also be determined according to the specific preset lyrics feature requirement that the second feature information does not meet.

[0120] When the suspected skill segment is a suspected glissando segment, the method for determining the preset skill feature requirement is the same as that for the suspected vibrato segment. For example, when the suspected skill segment is a suspected glissando segment, and the second feature information corresponding to the suspected skill segment meets the preset lyrics feature requirement, the third preset skill feature requirement corresponding to the suspected skill segment is determined, wherein the third preset skill feature requirement is that the segment duration in the first feature information must be greater than or equal to the third segment duration threshold. In the specific implementation process, the third preset skill feature requirement may also include other requirements that the first feature information needs to meet.

[0121] In the specific implementation process, when the suspected skill segment is a suspected glissando segment and the corresponding second feature information meets the preset lyrics feature requirements, the suspected skill segment can also be directly determined as the target skill segment without determining the corresponding preset skill feature requirements and judging whether the first feature information meets the preset skill feature requirements. For example, a suspected skill segment is a suspected glissando segment and its corresponding second feature information meets the aforementioned third preset lyrics feature requirements. Then, the suspected skill segment is directly determined as the target skill segment. There is no need to determine the preset skill feature requirements corresponding to the suspected skill segment and judge whether the first feature information of the suspected skill segment meets the corresponding preset skill feature requirements.

[0122] Step S34: determining whether the first feature information meets the preset skill feature requirement to determine whether the suspected skill segment is a target skill segment.

[0123] Accordingly, after the preset feature information requirement is determined, it can be determined whether the first feature information meets the preset skill feature requirement to determine whether the suspected skill segment is a target skill segment.

[0124] It can be seen that in the present embodiment, for different suspected skill segments, it is necessary to determine whether they are the final skill segments based on the corresponding skill segment feature information and the corresponding lyric content segment feature information. In this way, different skill segments need to meet different requirements. They can be determined based on the feature information of each suspected skill segment itself and the feature information of the corresponding lyric content. This solves the problem of imbalance in accuracy and recall rate caused by the need for each existing skill segment to meet unified requirements before being determined as the final skill segment, thereby improving the detection recall rate while improving the accuracy rate.

[0125] The following uses the process of a karaoke APP rating songs sung by users as an example to illustrate the technical solution in this application.

[0126] Assuming that this karaoke APP collects the song "XXXX" to be detected sung by the user through the voice input module of the smart device on which the karaoke APP is installed, the karaoke APP performs a preliminary detection on the song "XXXX" to be detected and obtains the suspected skill segment data corresponding to the song to be detected.

[0127] The suspected skill segment data includes 6 suspected skill segments and the first feature information corresponding to each suspected skill segment. The 6 suspected skill segments include 4 suspected glissando skill segments and 2 suspected tremolo skill segments. The 4 suspected glissando skill segments are segment C, segment D, segment E, and segment F, and the first feature information of segment C is that the segment duration is 3 seconds; the first feature information of segment D is that the segment duration is 4 seconds, the first feature information of segment E is that the segment duration is 2 seconds, and the first feature information of segment F is that the segment duration is 1 second. The 2 suspected tremolo skill segments are segment M and segment N, and the first feature information of segment M is that the segment duration is 5 seconds, and the first feature information of segment N is that the segment duration is 8 seconds.

[0128] The preset lyrics feature requirements include that the number of words corresponding to the suspected glissando segment must be 1, and the word corresponding to the suspected tremolo segment must be the last word of a line of lyrics. The preset skill feature requirements include: when the second feature information of the suspected glissando segment meets the preset lyrics feature requirements, the segment length of the suspected glissando segment must be greater than or equal to 3 seconds, and when the second feature information of the suspected glissando segment meets the non-preset lyrics feature requirements, the suspected glissando segment is not a target skill segment. When the second feature information of the suspected tremolo segment meets the preset lyrics feature requirements, the segment length of the suspected tremolo segment must be greater than or equal to 4 seconds, and when the second feature information of the suspected tremolo segment does not meet the preset lyrics feature requirements, the segment length of the suspected tremolo segment must be greater than or equal to 7 seconds.

[0129] Then, the characters corresponding to the six suspected skill segments are determined, and the second feature information corresponding to the six suspected skill segments is obtained. The second feature information corresponding to segment C includes that the number of characters corresponding to segment C is 1; the second feature information corresponding to segment D includes that the number of characters corresponding to segment D is 2; the second feature information corresponding to segment E includes that the number of characters corresponding to segment E is 2, and the second feature information corresponding to segment F is that the number of characters appearing at the position of the segment is 1; the second feature information corresponding to segment M includes that the character corresponding to segment M is the last character of a line of lyrics; the second feature information corresponding to segment N includes that the character corresponding to segment N is not the last character of a line of lyrics.

[0130] According to the first feature information and the second feature information corresponding to the six suspected skill segments, as well as the preset lyrics feature requirements and the preset skill feature requirements, segments C, M, and N can be determined as target skill segments.

[0131] Match the fragments C, M, and N with the reference skill fragments corresponding to the original singer's version of "XXXX" stored in the database, and rate the song "XXXX" to be tested sung by the user according to the matching results. If three fragments can be matched, the song "XXXX" to be tested sung by the user is SSS grade, if any two fragments can be matched, the song "XXXX" to be tested sung by the user is SS grade, and if only any one fragment can be matched, the song "XXXX" to be tested sung by the user is S grade.

[0132] See also Fig. 9 As shown, the embodiment of the present application discloses an audio processing device, including:

[0133] A preliminary detection module 11 is used to obtain suspected skill segment data obtained by performing preliminary detection on the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and first feature information of the suspected skill segment;

[0134] A feature information determination module 12, used to determine second feature information of the target lyrics content segment corresponding to the suspected skill segment;

[0135] The skill segment determining module 13 is configured to determine whether the suspected skill segment is a target skill segment according to the first feature information and the second feature information.

[0136] In the present application, the suspected skill segment data obtained by preliminary detection of the song to be detected is first obtained, wherein the suspected skill segment data includes the suspected skill segment and the first feature information of the suspected skill segment, and then the second feature information of the target lyric content segment corresponding to the suspected skill segment is determined, and then the suspected skill segment is determined to be the target skill segment based on the first feature information and the second feature information. It can be seen that after obtaining the suspected skill segment, the present application determines the lyrics feature information of the target lyric content segment corresponding to the suspected skill segment, and then the skill feature information of each suspected skill segment and its corresponding lyrics feature information can be combined to determine whether the corresponding suspected skill segment is a real skill segment. In this way, the strategy for judging whether different suspected skill segments are real skill segments is different, and it is necessary to determine it specifically based on the skill feature information of the suspected skill segment itself and the corresponding lyrics feature information, thereby overcoming the problem of imbalance between accuracy and recall rate caused by the same judgment strategy for each suspected skill segment, thereby improving the recall rate of detection while improving the accuracy of singing skill detection.

[0137] In some specific embodiments, the feature information determination module 12 is specifically used to:

[0138] A first information determination unit is used to map the suspected skill segment to a lyrics file in a preset format corresponding to the song to be detected, and determine the target lyrics content segment;

[0139] A second information determining unit is used to determine the lyrics feature information of the target lyrics content segment as the second feature information

[0140] In some specific embodiments, the first information determination unit is specifically used to

[0141] The suspected skill segment is matched with each lyric content segment in the preset format lyric file to determine the target lyric content segment

[0142] In some specific embodiments, the feature information determination module 12 is specifically used for: when the lyrics content segment is segmented at a word granularity, the time segment corresponding to the suspected skill segment is matched with the time segment corresponding to each word in the preset format lyrics file; when the lyrics content segment is segmented at a phoneme granularity, the time segment corresponding to the suspected skill segment is matched with the time segment corresponding to each phoneme in the preset format lyrics file.

[0143] In some specific embodiments, the audio processing device further includes:

[0144] The filtering module is used to perform preliminary filtering on all suspected skill segments corresponding to the song to be detected using preset filtering conditions constructed based on skill features.

[0145] In some specific embodiments, the skill segment determination module 13 specifically includes:

[0146] A first requirement determination unit, configured to determine a preset lyric feature requirement corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment;

[0147] A first judging unit, configured to judge whether the second characteristic information meets the preset lyrics characteristic requirement;

[0148] A second requirement determination unit, configured to determine a preset skill feature requirement corresponding to the suspected skill segment according to the judgment result;

[0149] The second judgment unit is used to judge whether the first feature information meets the preset skill feature requirement, so as to determine whether the suspected skill segment is a target skill segment.

[0150] In some specific embodiments, the first requirement determination unit is specifically configured to:

[0151] When the suspected skill segment is a suspected tremolo segment, a first preset lyric feature requirement corresponding to the suspected skill segment is determined; the first preset lyric feature requirement is that the target lyric content segment must be the last segment of a sentence of lyrics;

[0152] And / or, when the suspected skill segment is a suspected tremolo segment, a second preset lyrics feature requirement corresponding to the suspected skill segment is determined; the second preset lyrics feature requirement is that the segment length of the target lyrics content segment must be greater than or equal to the target preset duration threshold.

[0153] In some specific embodiments, the first requirement determination unit may also be used to:

[0154] When the suspected skill segment is a suspected glissando segment, a third preset lyric feature requirement corresponding to the suspected skill segment is determined; the third preset lyric feature requirement is that the number of the target lyric content segments must be 1.

[0155] In some specific embodiments, the first requirement determination unit may also be used to:

[0156] If the preset format lyrics file includes pitch data, a fourth preset lyrics feature requirement corresponding to the suspected skill segment is determined; the fourth preset lyrics feature requirement is that the pitch corresponding to the target lyrics content segment must belong to a preset pitch range.

[0157] Furthermore, an embodiment of the present application also provides an electronic device. Fig.10 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0158] Fig.10 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the audio processing method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be a server.

[0159] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0160] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, and audio data 223, etc. The storage method can be temporary storage or permanent storage.

[0161] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, so as to realize the operation and processing of the massive audio data 223 in the memory 22 by the processor 21, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the audio processing method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. The data 223 can include various audio data collected by the electronic device 20.

[0162] Furthermore, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the audio processing method disclosed in any of the aforementioned embodiments.

[0163] Among them, the specific process of the above audio processing method can refer to the corresponding content disclosed in the aforementioned embodiment, and will not be repeated here.

[0164] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0165] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0166] Finally, it should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a series of processes, methods, articles or equipment containing other elements include not only those elements, but also other elements not explicitly listed, or also include elements inherent to such processes, methods, articles or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or equipment that includes the elements.

[0167] The above is a detailed introduction to an audio processing method, device, equipment and medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. An audio processing method, characterized in that: include: Acquire suspected skill segment data obtained by preliminary detection of the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and first feature information of the suspected skill segment; Determine second feature information of the target lyrics content segment corresponding to the suspected skill segment; Determine the preset lyrics feature requirements corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment; determine whether the second feature information meets the preset lyrics feature requirements; determine the preset skill feature requirements corresponding to the suspected skill segment according to the judgment result; determine whether the first feature information meets the preset skill feature requirements to determine whether the suspected skill segment is a target skill segment; The step of determining the second characteristic information of the target lyrics content segment corresponding to the suspected skill segment includes: Mapping the suspected skill segment to a lyrics file in a preset format corresponding to the song to be detected, and determining the target lyrics content segment; The lyrics feature information of the target lyrics content segment is determined as the second feature information.

2. The audio processing method according to claim 1, characterized in that: The step of mapping the suspected skill segment to a lyrics file in a preset format corresponding to the song to be detected to determine the target lyrics content segment includes: The suspected skill segment is matched with each lyric content segment in the preset format lyric file to determine the target lyric content segment.

3. The audio processing method according to claim 2, characterized in that: The matching of the suspected skill segment with each lyric content segment in the preset format lyric file includes: If the lyrics content segments are segmented based on the granularity of words, then the time segments corresponding to the suspected skill segments are matched with the time segments corresponding to the respective words in the lyrics file in the preset format; If the lyrics content segments are segmented based on phonemes, the time segments corresponding to the suspected skill segments are matched with the time segments corresponding to the phonemes in the lyrics file in the preset format.

4. The audio processing method according to claim 2, characterized in that: Before matching the suspected skill segment with each lyric content segment in the preset format lyric file, the method further includes: All suspected skill segments corresponding to the song to be detected are initially filtered using preset filtering conditions constructed based on skill features.

5. The audio processing method according to claim 1, characterized in that: The step of determining the preset lyrics feature requirement corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment includes: When the suspected skill segment is a suspected tremolo segment, a first preset lyric feature requirement corresponding to the suspected skill segment is determined; the first preset lyric feature requirement is that the target lyric content segment must be the last segment of a sentence of lyrics; And / or, when the suspected skill segment is a suspected tremolo segment, a second preset lyrics feature requirement corresponding to the suspected skill segment is determined; the second preset lyrics feature requirement is that the segment length of the target lyrics content segment must be greater than or equal to the target preset duration threshold.

6. The audio processing method according to claim 1, characterized in that: The step of determining the preset lyrics feature requirement corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment includes: When the suspected skill segment is a suspected glissando segment, a third preset lyric feature requirement corresponding to the suspected skill segment is determined; the third preset lyric feature requirement is that the number of the target lyric content segments must be 1.

7. The audio processing method according to claim 6, characterized in that: After determining the third preset lyrics feature requirement corresponding to the suspected skill segment, the method further includes: If the preset format lyrics file includes pitch data, a fourth preset lyrics feature requirement corresponding to the suspected skill segment is determined; the fourth preset lyrics feature requirement is that the pitch corresponding to the target lyrics content segment must belong to a preset pitch range.

8. An audio processing device, characterized in that: include: A preliminary detection module, used to obtain suspected skill segment data obtained by performing preliminary detection on the song to be detected, wherein the suspected skill segment data includes the suspected skill segment and first feature information of the suspected skill segment; A feature information determination module, used to determine second feature information of the target lyrics content segment corresponding to the suspected skill segment; A skill segment determination module is used to determine the preset lyrics feature requirements corresponding to the suspected skill segment according to the suspected skill type of the suspected skill segment; determine whether the second feature information meets the preset lyrics feature requirements; determine the preset skill feature requirements corresponding to the suspected skill segment according to the judgment result; determine whether the first feature information meets the preset skill feature requirements to determine whether the suspected skill segment is a target skill segment; Among them, the characteristic information determination module is specifically used to execute: mapping the suspected skill segment to the preset format lyrics file corresponding to the song to be detected to determine the target lyrics content segment; determining the lyrics characteristic information of the target lyrics content segment as the second characteristic information.

9. An electronic device, characterized in that: include: Memory and processor; Wherein, the memory is used to store computer programs; The processor is used to execute the computer program to implement the audio processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein when the computer program is executed by a processor, the audio processing method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Method for content presentation during trick mode operations

    CN103181164A

  • Audio data processing method and device

    CN105788589A