CN109410972A - Generate the method, apparatus and storage medium of sound effect parameters - Google Patents

Generate the method, apparatus and storage medium of sound effect parameters Download PDF

Info

Publication number
CN109410972A
CN109410972A CN201811302799.4A CN201811302799A CN109410972A CN 109410972 A CN109410972 A CN 109410972A CN 201811302799 A CN201811302799 A CN 201811302799A CN 109410972 A CN109410972 A CN 109410972A
Authority
CN
China
Prior art keywords
music
target
singer
sound effect
effect parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811302799.4A
Other languages
Chinese (zh)
Other versions
CN109410972B (en
Inventor
陈琳琳
彭学杰
刘佳泽
陈普森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201811302799.4A priority Critical patent/CN109410972B/en
Publication of CN109410972A publication Critical patent/CN109410972A/en
Application granted granted Critical
Publication of CN109410972B publication Critical patent/CN109410972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L21/00Processing of the speech or voice signal to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
    • G10L21/003Changing voice quality, e.g. pitch or formants
    • G10L21/007Changing voice quality, e.g. pitch or formants characterised by the process used
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Abstract

The invention discloses a kind of method, apparatus and storage medium for generating sound effect parameters, belong to electronic technology field.The described method includes: obtaining target collection of music, which includes at least one music that target singer is sung;Music in the target collection of music is analyzed, and determines the music singing characteristics of target singer based on the analysis results;Target sound effect parameters are generated according to the music singing characteristics of target singer;After the play instruction that music player receives the music sung for target singer, the music player obtains the target sound effect parameters, audio effect processing is carried out to the music that target singer sings according to the target sound effect parameters, and the music sung the target singer after progress audio effect processing plays out.The method provided in an embodiment of the present invention for generating sound effect parameters can be improved the flexibility that audio effect processing is carried out to music.

Description

Generate the method, apparatus and storage medium of sound effect parameters
Technical field
The present invention relates to electronic technology field, in particular to a kind of method, apparatus and storage medium for generating sound effect parameters.
Background technique
Currently, a kind of common mode that music has become people's daily leisure is listened to.It is abundant in order to provide the user with Music effect, music player usually can to music carry out audio effect processing, and to carry out audio effect processing after sound Pleasure plays out.Wherein, so-called audio effect processing refers to that carry out spatial loop to music according to sound effect parameters broadens or dynamic around, sound field The processing of state enhancing etc..
In the related technology, server can provide the audio type of fixed type, music dress for music player User can be supplied to for the audio type of the fixation type by setting, and so that user selects, music player can basis The audio type of user's selection obtains corresponding sound effect parameters, and carries out audio effect processing to music according to the sound effect parameters.
However, poor to the flexibility of music progress audio effect processing in the related technology.
Summary of the invention
The embodiment of the invention provides a kind of method, apparatus and storage medium for generating sound effect parameters, can be improved to sound The happy flexibility for carrying out audio effect processing.The technical solution is as follows:
In a first aspect, providing a kind of method for generating sound effect parameters, which comprises
Target collection of music is obtained, the target collection of music includes at least one music that target singer is sung;
Music in the target collection of music is analyzed, and determines the target singer's based on the analysis results Music singing characteristics;
Target sound effect parameters are generated according to the music singing characteristics of the target singer;
After the play instruction that music player receives the music sung for the target singer, the music Playing device obtains the target sound effect parameters, the music that the target singer is sung according to the target sound effect parameters into Row audio effect processing, and the music sung the target singer after progress audio effect processing plays out.
Optionally, the music in the target collection of music is analyzed, comprising:
It obtains the beat of every a piece of music in the target collection of music, play an instrument and sound in target frequency bands is strong Degree, the target frequency bands are the frequency range higher than first frequency threshold value, alternatively, the target frequency bands are lower than second frequency threshold value Frequency range, the first frequency threshold value are greater than the second frequency threshold value;
Analysis is obtained as a result, the analysis result includes the beat obtained, described plays an instrument and in the target The statistical value of intensity of sound in frequency range.
Optionally, the music singing characteristics for determining the target singer based on the analysis results, comprising:
Music singing characteristics set is obtained, the music singing characteristics set includes each sound in p music singing characteristics The corresponding beat of happy singing characteristics plays an instrument and the intensity of sound in the target frequency bands, p are positive integer;
Target music singing characteristics are obtained from the music singing characteristics set, the target music singing characteristics are corresponding Beat, play an instrument and in the target frequency bands intensity of sound and the statistical result in statistical value matching degree most It is high;
The target music singing characteristics are retrieved as to the music singing characteristics of the target singer
It is optionally, described to generate target sound effect parameters according to the music singing characteristics of the target singer, comprising:
Obtain the corresponding sound effect parameters of music singing characteristics of the target singer;
The target sound effect parameters are generated according to the corresponding sound effect parameters of the music singing characteristics of the target singer.
Optionally, the acquisition target collection of music, comprising:
The m song that the target singer sings is obtained from musical database, m is the positive integer greater than 1;
N song is obtained from the m song, the playback volume of every a piece of music in the n song is all larger than mesh Playback volume threshold value is marked, n is the positive integer more than or equal to 1 and less than or equal to m;
The target collection of music is obtained, the target collection of music includes the n song.
Second aspect, provides a kind of device for generating sound effect parameters, and described device includes:
Module is obtained, for obtaining target collection of music, the target collection of music includes that target singer is sung At least one music;
Determining module for analyzing the music in the target collection of music, and determines institute based on the analysis results State the music singing characteristics of target singer;
Generation module, for generating target sound effect parameters according to the music singing characteristics of the target singer;
After the play instruction that music player receives the music sung for the target singer, the music Playing device obtains the target sound effect parameters, the music that the target singer is sung according to the target sound effect parameters into Row audio effect processing, and the music sung the target singer after progress audio effect processing plays out.
Optionally, the determining module, is used for:
It obtains the beat of every a piece of music in the target collection of music, play an instrument and sound in target frequency bands is strong Degree, the target frequency bands are the frequency range higher than first frequency threshold value, alternatively, the target frequency bands are lower than second frequency threshold value Frequency range, the first frequency threshold value are greater than the second frequency threshold value;
Analysis is obtained as a result, the analysis result includes the beat obtained, described plays an instrument and in the target The statistical value of intensity of sound in frequency range.
Optionally, the determining module, is used for:
Music singing characteristics set is obtained, the music singing characteristics set includes each sound in p music singing characteristics The corresponding beat of happy singing characteristics plays an instrument and the intensity of sound in the target frequency bands, p are positive integer;
Target music singing characteristics are obtained from the music singing characteristics set, the target music singing characteristics are corresponding Beat, play an instrument and in the target frequency bands intensity of sound and the statistical result in statistical value matching degree most It is high;
The target music singing characteristics are retrieved as to the music singing characteristics of the target singer
Optionally, the generation module, is used for:
Obtain the corresponding sound effect parameters of music singing characteristics of the target singer;
The target sound effect parameters are generated according to the corresponding sound effect parameters of the music singing characteristics of the target singer.
Optionally, the acquisition module, is used for:
The m song that the target singer sings is obtained from musical database, m is the positive integer greater than 1;
N song is obtained from the m song, the playback volume of every a piece of music in the n song is all larger than mesh Playback volume threshold value is marked, n is the positive integer more than or equal to 1 and less than or equal to m;
The target collection of music is obtained, the target collection of music includes the n song.
The third aspect, provides a kind of device for generating sound effect parameters, and described device includes:
Processor and memory;
The processor is configured to executing the instruction stored in the memory;
The processor realizes any generation sound effect parameters of above-mentioned first aspect by executing described instruction Method.
Fourth aspect provides a kind of computer readable storage medium, is stored in the computer readable storage medium Instruction, when described instruction is run on a processor, so that the processor executes any generation of above-mentioned first aspect The method of sound effect parameters.
Technical solution bring beneficial effect provided in an embodiment of the present invention includes at least:
The target collection of music formed by obtaining at least one music sung by target singer, and to the target Music in collection of music is analyzed, to determine the music singing characteristics of target singer based on the analysis results, then, according to The music singing characteristics of target singer generate target sound effect parameters, wherein receive in music player for the mesh After the play instruction for marking the music that singer sings, available target sound effect parameters of the music player, according to the mesh Mark with phonetic symbols imitates the music that parameters on target singer sings and carries out audio effect processing, and drills the target singer after progress audio effect processing The music sung plays out, thus it is possible, on the one hand, can enrich since target sound effect parameters can be generated for music The audio type that device provides, then enables music player provide more abundant music effect for user, separately On the one hand, the target sound effect parameters of generation are to be specially adapted for the sound effect parameters for the music that target singer is sung, therefore, The music effect for the music that target singer is sung can pointedly be improved, and these two aspects can improve pair The flexibility of music progress audio effect processing.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of schematic diagram of implementation environment provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart of method for generating sound effect parameters provided in an embodiment of the present invention.
Fig. 3 is the flow chart of another method for generating sound effect parameters provided in an embodiment of the present invention.
Fig. 4 is a kind of block diagram of device for generating sound effect parameters provided in an embodiment of the present invention.
Fig. 5 is the block diagram of another device for generating sound effect parameters provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
In practical applications, in order to provide the user with music effect abundant, it usually needs carry out audio to music Processing, then again plays out the music for carrying out audio effect processing.
In the related technology, server can provide the audio type of fixed type for music player, for example, this is fixed The audio type of type may include classic audio type, popular audio type and rock and roll audio type etc..Music player The audio type of the fixation type can be supplied to user, to be selected by users, when user is in the sound of the fixation type After having selected a kind of audio type in effect type, the audio type that music player can be selected based on user obtains corresponding Sound effect parameters, and audio effect processing is carried out to music according to the sound effect parameters.
However, since server in the related technology is only capable of providing the audio type of fixed type for music player, because This, music player is only capable of providing the music effect of some fixations according to the audio type of the fixation type, meanwhile, phase In the technology of pass, need to be manually selected used audio type when carrying out audio effect processing by user, therefore, it is more likely that there is user The case where audio type of selection is not particularly suited for the music for needing to carry out audio effect processing, and these can all influence to carry out music The flexibility of audio effect processing.
The embodiment of the invention provides a kind of methods for generating sound effect parameters, in the method for the generation sound effect parameters, clothes The target collection of music that business available at least one music sung by target singer of device forms, and to the target music Music in set is analyzed, to determine the music singing characteristics of target singer, then, server root based on the analysis results Target sound effect parameters are generated according to the music singing characteristics of target singer, wherein are received to be directed in music player and be somebody's turn to do After the play instruction for the music that target singer sings, available target sound effect parameters of the music player, according to this The music that target audio parameters on target singer sings carries out audio effect processing, and to the target singer after progress audio effect processing The music of performance plays out, thus it is possible, on the one hand, can enrich and broadcast for music since target sound effect parameters can be generated The audio type for putting device offer, then enables music player provide more abundant music effect for user, On the other hand, the target sound effect parameters of generation are to be specially adapted for the sound effect parameters for the music that target singer is sung, therefore, Its music effect that can pointedly improve the music that target singer is sung, and these two aspects can improve The flexibility of audio effect processing is carried out to music.
In the following, by being said to implementation environment involved by the method provided in an embodiment of the present invention for generating sound effect parameters It is bright.
Wherein, in one embodiment of the invention, which may include server, wherein the server can To obtain the target collection of music that at least one music sung by target singer forms, and in the target collection of music Music analyzed, with based on the analysis results determine target singer music singing characteristics, then, which can root Target sound effect parameters are generated according to the music singing characteristics of target singer, which can be used for singing target The music that person is sung carries out audio effect processing.
It should be pointed out that in embodiments of the present invention, above-mentioned server can be a server, or by more The server cluster of platform server composition.
As shown in Figure 1, in another embodiment of the present invention, which may include server 101 and music Playing device 102, wherein can be carried out by cable network or wireless network between server 101 and music player 102 Communication.In implementation environment shown in Fig. 1, the target sound effect parameters of generation can be sent to music by server 101 In device 102, to carry out sound according to the music that target audio parameters on target singer is sung by music player 102 Effect processing.
It should be pointed out that in embodiments of the present invention, which can be smart phone, plate electricity Brain, desktop computer, wearable device, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, E-book reader or mobile unit etc..
Referring to FIG. 2, it illustrates a kind of flow chart for the method for generating sound effect parameters provided in an embodiment of the present invention, it should The method for generating sound effect parameters can be applied in the server in implementation environment involved by the embodiment of the present invention, such as Fig. 2 Shown, the method for the generation sound effect parameters may comprise steps of:
Step 201, server obtain target collection of music.
Wherein, which includes at least one music that target singer is sung.
Step 202, server analyze the music in the target collection of music, and determine the mesh based on the analysis results Mark the music singing characteristics of singer.
Step 203, server generate target sound effect parameters according to the music singing characteristics of target singer.
Wherein, after the play instruction that music player receives the music sung for target singer, the sound Music playing device obtains the target sound effect parameters, carries out sound to the music that target singer sings according to the target sound effect parameters Effect processing, and the music sung the target singer after progress audio effect processing plays out.
In conclusion the method provided in an embodiment of the present invention for generating sound effect parameters, by obtaining by target singer institute The target collection of music at least one music composition sung, and the music in the target collection of music is analyzed, with root The music singing characteristics of target singer are determined according to analysis result, it is then, raw according to the music singing characteristics of target singer At target sound effect parameters, wherein receive the play instruction for the music sung for target singer in music player Afterwards, available target sound effect parameters of the music player are sung according to target audio parameters on target singer Music carries out audio effect processing, and the music sung the target singer after progress audio effect processing plays out, in this way, a side Face can enrich the audio type provided for music player, then make sound since target sound effect parameters can be generated Music playing device can provide more abundant music effect for user, and on the other hand, the target sound effect parameters of generation are It is specially adapted for the sound effect parameters for the music that target singer is sung, therefore, can pointedly improves target performance The music effect for the music that person is sung, and these two aspects can improve the flexibility that audio effect processing is carried out to music.
Referring to FIG. 3, it illustrates a kind of flow chart for the method for generating sound effect parameters provided in an embodiment of the present invention, it should The method for generating sound effect parameters can be applied in the server in implementation environment involved by the embodiment of the present invention, such as Fig. 3 Shown, the method for the generation sound effect parameters may comprise steps of:
Step 301, server obtain the m song of target singer performance from musical database.
It can store the music of multidigit singer performance in musical database, wherein can wrap in multidigit singer Include target singer.In the music that the multidigit singer that server can be stored from the musical database sings, the mesh is obtained The m song that singer sings is marked, m is the positive integer greater than 1.
Optionally, in step 301, institute that the target singer stored in the available musical database of server is sung There is music.
Optionally, in order to improve in subsequent step determine target singer music singing characteristics accuracy, step In 301, the music total duration stored in the available musical database of server is more than that the target of target duration threshold value is sung The music that person is sung.The target duration threshold value can be set by technical staff, for example, the target duration threshold value can be 1 minute or 2 minutes etc..
Optionally, for the purposes of improve subsequent step in determine target singer music singing characteristics accuracy, In step 301, the uplink time stored in the available musical database of server is later than the target singer of object time The music sung.The object time can be set by technical staff, for example, the object time can be in January, 2017 Part etc..
Optionally, or in order to improve the accuracy of the music singing characteristics of the target singer determined in subsequent step, In step 301, music that the target singer stored in the available musical database of server is sung a solo.
Step 302, server obtain target collection of music.
The target collection of music includes the n song that server is obtained from the m song.
Under normal conditions, the favorable rating for the different music that user sings same singer is not consistent, for example, a certain Singer has sung two songs, and wherein a piece of music compares is liked by user, and another song may not benefited from Like at family.In practical application, whether certain a piece of music is liked to be characterized by the playback volume of the song by user, generally In the case of, the higher music of playback volume compares to be liked by user, and the lower music of playback volume may not be liked by user.
In view of above situation, in the next steps, user in the music that server can only sing target singer More favorite music is analyzed, to determine that it is special that the music of target singer is sung according to the more favorite music of the user Sign, in this way, the calculating that the music that server in the next steps sings target singer is analyzed on the one hand can be reduced Amount on the other hand can be according to the sound for the target singer that the favorite music of user determines in the music that target singer sings Happy singing characteristics, then can generate specially applicable sound effect parameters for the favorite music of user (that is to say mesh described below Mark sound effect parameters), to improve the music effect of the favorite music of user.
To achieve the goals above, server is in the m head sound for obtaining target singer from musical database and being sung After pleasure, n song can be obtained from the m song, wherein the playback volume of every a piece of music in the n song is all larger than Target playback volume threshold value, n are the positive integer more than or equal to 1 and less than or equal to m.
It should be pointed out that above-mentioned target playback volume threshold value can be set by technical staff, the embodiment of the present invention to it not It is specifically limited.
It may also be noted that in specific implementation, server can not be executed obtains n song from m song Technical process, in this case, above-mentioned target collection of music may include the m song that server obtains in step 301.
Step 303, server obtain the beat of every a piece of music in target collection of music, play an instrument and in target frequency bands Interior intensity of sound.
The beat of music is used to characterize the speed degree of music rhythm, and in practical applications, the beat of music generally can be with Including a quarter bat and four-quarter time etc..Under normal conditions, the speed degree of music rhythm and the music of singer are drilled Sing that feature is closely bound up, for example, the music singing characteristics of singer be express one's emotion feature the usual rhythm of music it is slower, singer's Music singing characteristics are that the usual rhythm of music of rock and roll feature is very fast.
Wherein, the music singing characteristics of singer refer to that music that singer is sung showed on the whole has generation Unique looks of table.
In embodiments of the present invention, server can obtain target music collections by modes such as the description informations of reading music The beat of every a piece of music in conjunction.
Playing an instrument generally for music may include piano, violin, seven-stringed plucked instrument in some ways similar to the zither and Chinese lute etc., it is generally the case that music Play an instrument also tended to the music singing characteristics of singer it is closely bound up.For example, the music singing characteristics of singer are the people The music of race's feature usually may include suona horn, Chinese lute and seven-stringed plucked instrument in some ways similar to the zither etc., and the music singing characteristics of singer are feature of expressing one's emotion Music usually may include piano etc..
In embodiments of the present invention, for every a piece of music in target collection of music, server can isolate this Each track that music includes, wherein the track of music can be corresponding with playing an instrument, and server is isolating the music packet After each track included, playing an instrument for the music can be obtained according to the track isolated.
In embodiments of the present invention, target frequency bands can be the frequency range higher than first frequency threshold value, alternatively, target frequency bands are Lower than the frequency range of second frequency threshold value, wherein first frequency threshold value is greater than second frequency threshold value.In other words, of the invention real It applies in example, target frequency bands can be high audio section or bass frequency range.Wherein, above-mentioned first frequency threshold value and second frequency threshold value It can be set by technical staff according to music theory common sense, the embodiment of the present invention is not especially limited it.
Intensity of sound of the music in target frequency bands is generally also related to the music singing characteristics of singer, for example, singing The music singing characteristics of person are that intensity of sound of the music of national characteristics in high pitch frequency range is generally higher.
Step 304, server obtain analysis result.
In obtaining target collection of music the beat of every a piece of music, play an instrument and sound in target frequency bands is strong After degree, server can to the beat of acquisition, play an instrument and target frequency bands in intensity of sound carry out statistical analysis, To analyzed as a result, the analysis result may include the statistical value of beat, the statistical value to play an instrument and target frequency The statistical value of intensity of sound in section.
Optionally, the statistical value of beat can indicate that the beat of the music in target collection of music is the general of a certain beat Rate, the statistical value to play an instrument can indicate the music in target collection of music play an instrument for it is a certain play an instrument it is general The statistical value of rate, the intensity of sound in target frequency bands can indicate sound of the music in target frequency bands in target collection of music The mean value of intensity or median etc..
Step 305, server obtain music singing characteristics set.
Wherein, which includes the music pair of each music singing characteristics in p music singing characteristics The beat answered plays an instrument and the intensity of sound in target frequency bands, p are positive integer.
Step 306, server obtain target music singing characteristics from music singing characteristics set, and by the target music Singing characteristics are retrieved as the music singing characteristics of target singer.
Wherein, the corresponding beat of music of the target music singing characteristics, play an instrument and the sound in target frequency bands The matching degree highest of statistical value in intensity and above-mentioned statistical result.
Step 307, server obtain the corresponding sound effect parameters of music singing characteristics of target singer, and according to acquisition The sound effect parameters generate target sound effect parameters.
Wherein, after the play instruction that music player receives the music sung for target singer, the music The available target sound effect parameters of playing device carry out the music that target singer sings according to the target sound effect parameters Audio effect processing, and the music sung the target singer after progress audio effect processing plays out.In other words, in the present invention Some embodiments in, which can be sent to sound after generating the target sound effect parameters by server Music playing device, with by the music player when the music sung target singer is played out to the sound played It is happy to carry out audio effect processing.
In one possible implementation, server can be by the corresponding sound of music singing characteristics of target singer Effect parameter is retrieved as the target sound effect parameters.
In alternatively possible implementation, server can be in the music singing characteristics for obtaining target singer After corresponding sound effect parameters, which is transferred to the professional with music knowledge, by the professional Target sound effect parameters are made according to the sound effect parameters.
In conclusion the method provided in an embodiment of the present invention for generating sound effect parameters, by obtaining by target singer institute The target collection of music at least one music composition sung, and the music in the target collection of music is analyzed, with root The music singing characteristics of target singer are determined according to analysis result, it is then, raw according to the music singing characteristics of target singer At target sound effect parameters, wherein receive the play instruction for the music sung for target singer in music player Afterwards, available target sound effect parameters of the music player are sung according to target audio parameters on target singer Music carries out audio effect processing, and the music sung the target singer after progress audio effect processing plays out, in this way, a side Face can enrich the audio type provided for music player, then make sound since target sound effect parameters can be generated Music playing device can provide more abundant music effect for user, and on the other hand, the target sound effect parameters of generation are It is specially adapted for the sound effect parameters for the music that target singer is sung, therefore, can pointedly improves target performance The music effect for the music that person is sung, and these two aspects can improve the flexibility that audio effect processing is carried out to music.
Referring to FIG. 4, it illustrates a kind of block diagram for the device 400 for generating sound effect parameters provided in an embodiment of the present invention, The device 400 of the generation sound effect parameters can be the server in implementation environment involved by the embodiment of the present invention.Such as Fig. 4 institute Show, the device 400 of the generation sound effect parameters may include: to obtain module 401, determining module 402 and generation module 403.
Wherein, the acquisition module 401, for obtaining target collection of music, which includes target singer At least one music sung.
The determining module 402 for analyzing the music in the target collection of music, and determines based on the analysis results The music singing characteristics of target singer.
The generation module 403, for generating target sound effect parameters according to the music singing characteristics of target singer.
After the play instruction that music player receives the music sung for target singer, the music Device obtains the target sound effect parameters, is carried out at audio according to the target sound effect parameters to the music that target singer sings Reason, and the music sung the target singer after progress audio effect processing plays out
In one embodiment of the invention, the determining module 402, is used for: obtaining each head in the target collection of music The beat of music plays an instrument and the intensity of sound in target frequency bands, which is the frequency higher than first frequency threshold value Section, alternatively, the target frequency bands are the frequency range lower than second frequency threshold value, which is greater than the second frequency threshold value; Analysis is obtained as a result, the analysis result includes the beat obtained, this plays an instrument and the intensity of sound in the target frequency bands Statistical value.
In one embodiment of the invention, the determining module 402, is used for: obtaining music singing characteristics set, the music Singing characteristics set includes the corresponding beat of each music singing characteristics in p music singing characteristics, plays an instrument and in the mesh The intensity of sound in frequency range is marked, p is positive integer;Target music singing characteristics, the mesh are obtained from the music singing characteristics set The corresponding beat of the happy singing characteristics of mark with phonetic symbols plays an instrument and in the intensity of sound in the target frequency bands and the system in the statistical result The matching degree highest of evaluation;The target music singing characteristics are retrieved as to the music singing characteristics of target singer.
In one embodiment of the invention, the generation module 403, is used for: the music for obtaining target singer is sung The corresponding sound effect parameters of feature;The target audio is generated according to the corresponding sound effect parameters of music singing characteristics of target singer Parameter.
In one embodiment of the invention, the acquisition module 401, is used for: obtaining the target from musical database and drills The m song that the person of singing sings, m are the positive integer greater than 1;N song is obtained from the m song, it is each in the n song The playback volume of song is all larger than target playback volume threshold value, and n is the positive integer more than or equal to 1 and less than or equal to m;Obtain the target Collection of music, the target collection of music include the n song.
In conclusion the device provided in an embodiment of the present invention for generating sound effect parameters, by obtaining by target singer institute The target collection of music at least one music composition sung, and the music in the target collection of music is analyzed, with root The music singing characteristics of target singer are determined according to analysis result, it is then, raw according to the music singing characteristics of target singer At target sound effect parameters, wherein receive the play instruction for the music sung for target singer in music player Afterwards, available target sound effect parameters of the music player are sung according to target audio parameters on target singer Music carries out audio effect processing, and the music sung the target singer after progress audio effect processing plays out, in this way, a side Face can enrich the audio type provided for music player, then make sound since target sound effect parameters can be generated Music playing device can provide more abundant music effect for user, and on the other hand, the target sound effect parameters of generation are It is specially adapted for the sound effect parameters for the music that target singer is sung, therefore, can pointedly improves target performance The music effect for the music that person is sung, and these two aspects can improve the flexibility that audio effect processing is carried out to music.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is a kind of structural block diagram of device 500 for generating sound effect parameters shown according to an exemplary embodiment.The life Hereafter only it can refer to that the generation audio is joined with server, for convenience of explanation at the device 500 of sound effect parameters with 500 generation of server Several devices 500.Wherein, the server 500 includes central processing unit (CPU) 501 including random access memory (RAM) 502 and read-only memory (ROM) 503 system storage 504, and connection system storage 504 and central processing list The system bus 505 of member 501.The server 500 further includes the base that information is transmitted between each device helped in computer This input/output (I/O system) 506, and it is used for storage program area 513, application program 514 and other program modules 515 mass-memory unit 507.
The basic input/output 506 includes display 508 for showing information and inputs letter for user The input equipment 509 of such as mouse, keyboard etc of breath.Wherein the display 508 and input equipment 509 are all by being connected to The input and output controller 510 of system bus 505 is connected to central processing unit 501.The basic input/output 506 Can also include input and output controller 510 with for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its The input of his equipment.Similarly, input and output controller 510 also provides output to display screen, printer or other kinds of defeated Equipment out.
The mass-memory unit 507 is by being connected to the bulk memory controller (not shown) of system bus 505 It is connected to central processing unit 501.The mass-memory unit 507 and its associated computer-readable medium are server 500 provide non-volatile memories.That is, the mass-memory unit 507 may include such as hard disk or CD-ROM The computer-readable medium (not shown) of driver etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that the computer storage medium It is not limited to above-mentioned several.Above-mentioned system storage 504 and mass-memory unit 507 may be collectively referred to as memory.
According to various embodiments of the present invention, the server 500 can also be arrived by network connections such as internets Remote computer operation on network.Namely server 500 can be by the network interface that is connected on the system bus 505 Unit 511 is connected to network 512, in other words, Network Interface Unit 511 also can be used be connected to other kinds of network or Remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in In memory, central processing unit 501 realizes what above method embodiment provided by executing one or more programs The method for generating sound effect parameters.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory of instruction, above-metioned instruction can be executed by the processor of server to complete the life of above method embodiment offer At the method for sound effect parameters.For example, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
The embodiment of the invention also provides a kind of computer readable storage medium, which is non-volatile memories Jie Matter is stored at least one instruction, at least a Duan Chengxu, code set or instruction set in the storage medium, at least one instruction, An at least Duan Chengxu, the code set or the instruction set are loaded by processor and are executed to realize that the above embodiment of the present invention such as provides Generation sound effect parameters method.
The embodiment of the invention also provides a kind of computer program product, it is stored with instruction in the computer program product, When run on a computer, enable a computer to execute the side for the generation sound effect parameters that the above embodiment of the present invention provides Method.
The embodiment of the invention also provides a kind of chip, which includes programmable logic circuit and/or program instruction, when The chip is able to carry out the generation sound effect parameters of the above embodiment of the present invention offer method when running.
It should be understood that in various embodiments of the present invention, the size of the serial number of above steps is not meant to execute suitable Sequence it is successive, the execution of each step sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention Process constitutes any restriction.
It should be understood that the vocabulary such as " first " " second " herein, are only used for distinguishing the purpose of description, and should not be understood as referring to Show or imply relative importance, indication or suggestion sequence can not be interpreted as.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of method for generating sound effect parameters, which is characterized in that the described method includes:
Target collection of music is obtained, the target collection of music includes at least one music that target singer is sung;
Music in the target collection of music is analyzed, and determines the music of the target singer based on the analysis results Singing characteristics;
Target sound effect parameters are generated according to the music singing characteristics of the target singer;
After the play instruction that music player receives the music sung for the target singer, the music Device obtains the target sound effect parameters, carries out sound to the music that the target singer sings according to the target sound effect parameters Effect processing, and the music sung the target singer after progress audio effect processing plays out.
2. the method according to claim 1, wherein the music in the target collection of music is divided Analysis, comprising:
It obtains the beat of every a piece of music in the target collection of music, play an instrument and the intensity of sound in target frequency bands, The target frequency bands are the frequency range higher than first frequency threshold value, alternatively, the target frequency bands are the frequency lower than second frequency threshold value Section, the first frequency threshold value are greater than the second frequency threshold value;
Analysis is obtained as a result, the analysis result includes the beat obtained, described plays an instrument and in the target frequency bands The statistical value of interior intensity of sound.
3. according to the method described in claim 2, it is characterized in that, described determine the target singer's based on the analysis results Music singing characteristics, comprising:
Obtain music singing characteristics set, the music singing characteristics set include in p music singing characteristics each music drill It sings the corresponding beat of feature, play an instrument and the intensity of sound in the target frequency bands, p are positive integer;
Target music singing characteristics, the corresponding section of the target music singing characteristics are obtained from the music singing characteristics set It claps, play an instrument and in the intensity of sound and the matching degree highest of the statistical value in the statistical result in the target frequency bands;
The target music singing characteristics are retrieved as to the music singing characteristics of the target singer.
4. the method according to claim 1, wherein the music singing characteristics according to the target singer Generate target sound effect parameters, comprising:
Obtain the corresponding sound effect parameters of music singing characteristics of the target singer;
The target sound effect parameters are generated according to the corresponding sound effect parameters of the music singing characteristics of the target singer.
5. the method according to claim 1, wherein the acquisition target collection of music, comprising:
The m song that the target singer sings is obtained from musical database, m is the positive integer greater than 1;
N song is obtained from the m song, the playback volume of every a piece of music in the n song is all larger than target and broadcasts High-volume threshold value, n are the positive integer more than or equal to 1 and less than or equal to m;
The target collection of music is obtained, the target collection of music includes the n song.
6. a kind of device for generating sound effect parameters, which is characterized in that described device includes:
Module is obtained, for obtaining target collection of music, the target collection of music includes that target singer is sung at least A piece of music;
Determining module for analyzing the music in the target collection of music, and determines the mesh based on the analysis results Mark the music singing characteristics of singer;
Generation module, for generating target sound effect parameters according to the music singing characteristics of the target singer;
After the play instruction that music player receives the music sung for the target singer, the music Device obtains the target sound effect parameters, carries out sound to the music that the target singer sings according to the target sound effect parameters Effect processing, and the music sung the target singer after progress audio effect processing plays out.
7. device according to claim 6, which is characterized in that the determining module is used for:
It obtains the beat of every a piece of music in the target collection of music, play an instrument and the intensity of sound in target frequency bands, The target frequency bands are the frequency range higher than first frequency threshold value, alternatively, the target frequency bands are the frequency lower than second frequency threshold value Section, the first frequency threshold value are greater than the second frequency threshold value;
Analysis is obtained as a result, the analysis result includes the beat obtained, described plays an instrument and in the target frequency bands The statistical value of interior intensity of sound.
8. device according to claim 7, which is characterized in that the determining module is used for:
Obtain music singing characteristics set, the music singing characteristics set include in p music singing characteristics each music drill It sings the corresponding beat of feature, play an instrument and the intensity of sound in the target frequency bands, p are positive integer;
Target music singing characteristics, the corresponding section of the target music singing characteristics are obtained from the music singing characteristics set It claps, play an instrument and in the intensity of sound and the matching degree highest of the statistical value in the statistical result in the target frequency bands;
The target music singing characteristics are retrieved as to the music singing characteristics of the target singer.
9. device according to claim 6, which is characterized in that the generation module is used for:
Obtain the corresponding sound effect parameters of music singing characteristics of the target singer;
The target sound effect parameters are generated according to the corresponding sound effect parameters of the music singing characteristics of the target singer.
10. device according to claim 6, which is characterized in that the acquisition module is used for:
The m song that the target singer sings is obtained from musical database, m is the positive integer greater than 1;
N song is obtained from the m song, the playback volume of every a piece of music in the n song is all larger than target and broadcasts High-volume threshold value, n are the positive integer more than or equal to 1 and less than or equal to m;
The target collection of music is obtained, the target collection of music includes the n song.
11. a kind of device for generating sound effect parameters, which is characterized in that described device includes:
Processor and memory;
The processor is configured to executing the instruction stored in the memory;
The method that the processor realizes any generation sound effect parameters of claim 1 to 5 by executing described instruction.
12. a kind of computer readable storage medium, which is characterized in that instruction is stored in the computer readable storage medium, When described instruction is run on a processor, so that the processor perform claim requires 1 to 5 any generation audio ginseng Several methods.
CN201811302799.4A 2018-11-02 2018-11-02 Method, device and storage medium for generating sound effect parameters Active CN109410972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811302799.4A CN109410972B (en) 2018-11-02 2018-11-02 Method, device and storage medium for generating sound effect parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811302799.4A CN109410972B (en) 2018-11-02 2018-11-02 Method, device and storage medium for generating sound effect parameters

Publications (2)

Publication Number Publication Date
CN109410972A true CN109410972A (en) 2019-03-01
CN109410972B CN109410972B (en) 2023-09-01

Family

ID=65471337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811302799.4A Active CN109410972B (en) 2018-11-02 2018-11-02 Method, device and storage medium for generating sound effect parameters

Country Status (1)

Country Link
CN (1) CN109410972B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110211556A (en) * 2019-05-10 2019-09-06 北京字节跳动网络技术有限公司 Processing method, device, terminal and the storage medium of music file
CN111383619A (en) * 2020-03-05 2020-07-07 腾讯音乐娱乐科技(深圳)有限公司 Sound effect generation method, device, equipment and computer readable storage medium
CN112233662A (en) * 2019-06-28 2021-01-15 百度在线网络技术(北京)有限公司 Audio analysis method and device, computing equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1150289A (en) * 1995-07-31 1997-05-21 雅马哈株式会社 Karaoke Apparatus detecting register of live vocal to tune harmony vocal
US20060107822A1 (en) * 2004-11-24 2006-05-25 Apple Computer, Inc. Music synchronization arrangement
CN101082901A (en) * 2006-06-01 2007-12-05 上海戏剧学院 Virtual rehearsing system
CN104581539A (en) * 2014-12-31 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Method for controlling audio playing of mobile terminal and mobile terminal
CN104810035A (en) * 2015-04-01 2015-07-29 广东欧珀移动通信有限公司 Sound effect control method and device
CN106126166A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 A kind of method of audio effect processing and terminal
CN206497597U (en) * 2016-11-22 2017-09-15 鞍山师范学院 A kind of bracelet for vocality study
CN107590152A (en) * 2016-07-07 2018-01-16 乐视控股(北京)有限公司 A kind of method and device for the audio pattern for adjusting audio
CN107680571A (en) * 2017-10-19 2018-02-09 百度在线网络技术(北京)有限公司 A kind of accompanying song method, apparatus, equipment and medium
US20180158441A1 (en) * 2015-05-27 2018-06-07 Guangzhou Kugou Computer Technology Co., Ltd. Karaoke processing method and system
CN108196772A (en) * 2018-01-19 2018-06-22 捷开通讯(深圳)有限公司 Demonstration exchange method, mobile terminal and the mobile terminal exhibition booth of a kind of mobile terminal
CN108305603A (en) * 2017-10-20 2018-07-20 腾讯科技(深圳)有限公司 Sound effect treatment method and its equipment, storage medium, server, sound terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1150289A (en) * 1995-07-31 1997-05-21 雅马哈株式会社 Karaoke Apparatus detecting register of live vocal to tune harmony vocal
US20060107822A1 (en) * 2004-11-24 2006-05-25 Apple Computer, Inc. Music synchronization arrangement
CN101082901A (en) * 2006-06-01 2007-12-05 上海戏剧学院 Virtual rehearsing system
CN104581539A (en) * 2014-12-31 2015-04-29 宇龙计算机通信科技(深圳)有限公司 Method for controlling audio playing of mobile terminal and mobile terminal
CN104810035A (en) * 2015-04-01 2015-07-29 广东欧珀移动通信有限公司 Sound effect control method and device
US20180158441A1 (en) * 2015-05-27 2018-06-07 Guangzhou Kugou Computer Technology Co., Ltd. Karaoke processing method and system
CN106126166A (en) * 2016-06-16 2016-11-16 广东欧珀移动通信有限公司 A kind of method of audio effect processing and terminal
CN107590152A (en) * 2016-07-07 2018-01-16 乐视控股(北京)有限公司 A kind of method and device for the audio pattern for adjusting audio
CN206497597U (en) * 2016-11-22 2017-09-15 鞍山师范学院 A kind of bracelet for vocality study
CN107680571A (en) * 2017-10-19 2018-02-09 百度在线网络技术(北京)有限公司 A kind of accompanying song method, apparatus, equipment and medium
CN108305603A (en) * 2017-10-20 2018-07-20 腾讯科技(深圳)有限公司 Sound effect treatment method and its equipment, storage medium, server, sound terminal
CN108196772A (en) * 2018-01-19 2018-06-22 捷开通讯(深圳)有限公司 Demonstration exchange method, mobile terminal and the mobile terminal exhibition booth of a kind of mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张铮 等: "一种基于支持向量机的演唱片段划分方法", 计算机与现代化, vol. 20090331, no. 03, pages 127 - 129 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110211556A (en) * 2019-05-10 2019-09-06 北京字节跳动网络技术有限公司 Processing method, device, terminal and the storage medium of music file
CN112233662A (en) * 2019-06-28 2021-01-15 百度在线网络技术(北京)有限公司 Audio analysis method and device, computing equipment and storage medium
CN111383619A (en) * 2020-03-05 2020-07-07 腾讯音乐娱乐科技(深圳)有限公司 Sound effect generation method, device, equipment and computer readable storage medium
CN111383619B (en) * 2020-03-05 2023-03-10 腾讯音乐娱乐科技(深圳)有限公司 Sound effect generation method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN109410972B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
US10790919B1 (en) Personalized real-time audio generation based on user physiological response
US11461388B2 (en) Generating a playlist
Kaminskas et al. Location-aware music recommendation using auto-tagging and hybrid matching
US20160267177A1 (en) Music steering with automatically detected musical attributes
US7696427B2 (en) Method and system for recommending music
US20150120286A1 (en) Apparatus, process, and program for combining speech and audio data
CN109785820A (en) A kind of processing method, device and equipment
US11669296B2 (en) Computerized systems and methods for hosting and dynamically generating and providing customized media and media experiences
Kim et al. Nonnegative matrix partial co-factorization for spectral and temporal drum source separation
CN104395953A (en) Evaluation of beats, chords and downbeats from a musical audio signal
US10971125B2 (en) Music synthesis method, system, terminal and computer-readable storage medium
CN109299318A (en) Method, apparatus, storage medium and the terminal device that music is recommended
US20070157797A1 (en) Taste profile production apparatus, taste profile production method and profile production program
JP2017513049A (en) How to provide users with feedback on the performance of karaoke songs
CN110211556B (en) Music file processing method, device, terminal and storage medium
US11271993B2 (en) Streaming music categorization using rhythm, texture and pitch
US20140128160A1 (en) Method and system for generating a sound effect in a piece of game software
CN109410972A (en) Generate the method, apparatus and storage medium of sound effect parameters
TW200813759A (en) A method and apparatus for accessing an audio file from a collection of audio files using tonal matching
CN106708894A (en) Method and device of configuring background music for electronic book
De Haas et al. A geometrical distance measure for determining the similarity of musical harmony
CN108920585A (en) The method and device of music recommendation, computer readable storage medium
CN113813609A (en) Game music style classification method and device, readable medium and electronic equipment
CN107767850A (en) A kind of singing marking method and system
WO2016102738A1 (en) Similarity determination and selection of music

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant