CN109491636A - Method for playing music, device and storage medium - Google Patents
Method for playing music, device and storage medium Download PDFInfo
- Publication number
- CN109491636A CN109491636A CN201811302800.3A CN201811302800A CN109491636A CN 109491636 A CN109491636 A CN 109491636A CN 201811302800 A CN201811302800 A CN 201811302800A CN 109491636 A CN109491636 A CN 109491636A
- Authority
- CN
- China
- Prior art keywords
- target
- music
- audio
- singer
- sound effect
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/16—Sound input; Sound output
- G06F3/165—Management of the audio stream, e.g. setting of volume, audio stream path
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The invention discloses a kind of method for playing music, device and storage mediums, belong to electronic technology field.The described method includes: receiving the play instruction for being directed to target music;Obtain target sound effect parameters corresponding with the singer of target music;Audio effect processing is carried out according to target audio parameters on target music, and the target music after progress audio effect processing is played out.Method for playing music provided in an embodiment of the present invention can be improved the efficiency of music.
Description
Technical field
The present invention relates to electronic technology field, in particular to a kind of method for playing music, device and storage medium.
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, the audio type that music player can be selected according to user obtains corresponding sound effect parameters,
And audio effect processing is carried out to music according to the sound effect parameters, then, music player can be to the sound after progress audio effect processing
Pleasure plays out.
However, for the unprofessional user for not having music theory common sense, it usually needs could be after carrying out repeatedly trial
A piece of music selects the audio of suitable type, and therefore, the efficiency for carrying out music according to the relevant technologies is lower.
Summary of the invention
The embodiment of the invention provides a kind of method for playing music, device and storage mediums, and music can be improved
Efficiency.The technical solution is as follows:
In a first aspect, providing a kind of method for playing music, which comprises
Receive the play instruction for being directed to target music;
Obtain target sound effect parameters corresponding with the singer of the target music;
Audio effect processing is carried out to the target music according to the target sound effect parameters, and to the institute after progress audio effect processing
Target music is stated to play out.
It is optionally, described to obtain target sound effect parameters corresponding with the singer of the target music, comprising:
Audio acquisition request is sent to server, the audio acquisition request is used to indicate the server and obtains and return
Return the target sound effect parameters;
Receive the target sound effect parameters that the server is sent.
It is optionally, described to obtain target sound effect parameters corresponding with the singer of the target music, comprising:
When the singer of the target music is target singer, obtain corresponding with the singer of the target music
The target sound effect parameters;
Wherein, the target singer is the music progress audio using corresponding sound effect parameters to performance of user setting
The singer of processing.
Optionally, the method also includes:
When receiving audio setting instruction, audio set interface is shown, the audio set interface includes at least one
Singer;
The selection instruction to the singer in the audio set interface is received, and the selection instruction is indicated
The singer that singer is identified is retrieved as the target singer.
It is optionally, described to obtain target sound effect parameters corresponding with the singer of the target music, comprising:
When the number of the singer of the target music is at least two, by the master in the singer of the target music
The corresponding sound effect parameters of singer are retrieved as the target sound effect parameters.
It is optionally, described to obtain target sound effect parameters corresponding with the singer of the target music, comprising:
When the target music is does not include the absolute music of voice, playing an instrument for the target music is retrieved as institute
State the singer of target music;
Obtain the target sound effect parameters corresponding with the singer of the target music.
Optionally, the method also includes:
When obtaining failure to the target sound effect parameters, forbid carrying out audio effect processing to the target music, and to not
It is played out by the target music of audio effect processing;Alternatively,
When obtaining failure to the target sound effect parameters, sound is carried out to the target music according to preset sound effect parameters
Effect processing, and played out to by the target music of audio effect processing.
Second aspect provides a kind of method for playing music, which comprises
After receiving audio setting instruction, show that audio set interface, the audio set interface include selection control
And the corresponding relationship of at least one set of singer and audio mark, each audio mark are opposite from different sound effect parameters
It answers;
The triggering command for the selection control is received, and by drilling in corresponding relationship indicated by the triggering command
The person of singing is set as target singer;
Receive the play instruction for being directed to target music;
When the singer of the target music is the target singer, the singer couple with the target music is obtained
The target sound effect parameters answered carry out audio effect processing to the target music according to the target sound effect parameters, and to progress audio
Treated, and the target music plays out.
Optionally, which comprises
When to having carried out the target music after audio effect processing and playing out, first music broadcast interface, institute are shown
Stating first music broadcast interface includes that target sound criterion is known, and the target sound criterion is known corresponding with the target sound effect parameters.
Optionally, the method also includes:
When the singer of the target music is not the target singer, forbid carrying out audio to the target music
Processing, alternatively, carrying out audio effect processing to the target music according to preset sound effect parameters;
When to playing out without the target music of audio effect processing, the second music-playing interface is shown, in institute
It states and forbids showing audio mark in the second music-playing interface;
When to being played out according to the target music after the preset sound effect parameters progress audio effect processing, display
Third music-playing interface, the third music-playing interface include default audio mark, the default audio mark with it is described
Preset sound effect parameters are corresponding.
Optionally, the default audio mark is not belonging in the corresponding relationship that the audio set interface includes.
Optionally, the audio set interface includes the m group corresponding relationship and corresponds with the m group corresponding relationship
M selection controls, m is positive integer;The triggering command received for the selection control, and the triggering is referred to
The singer in indicated corresponding relationship is enabled to be set as target singer, comprising:
The triggering command for n selection control in described m selection control is received, it will be with the n selection control
In the corresponding corresponding relationship of each selection control in singer be set as the target singer, n is to be less than or wait
In the positive integer of m.
Optionally, the audio set interface includes the m group corresponding relationship and a selection control, and m is positive whole
Number, the triggering command received for the selection control, and by drilling in corresponding relationship indicated by the triggering command
The person of singing is set as target singer, comprising:
It, will be corresponding described in the m group corresponding relationship every group after receiving for the triggering command of the selection control
Singer in relationship is set as the target singer.
The third aspect, provides a kind of music player, and the music player includes:
Receiving module, for receiving the play instruction for being directed to target music;
First obtains module, for obtaining target sound effect parameters corresponding with the singer of the target music;
Playing module, for carrying out audio effect processing to the target music according to the target sound effect parameters, and to progress
The target music after audio effect processing plays out.
Optionally, described first module is obtained, is used for:
Audio acquisition request is sent to server, the audio acquisition request is used to indicate the service acquisition and return
The target sound effect parameters;
Receive the target sound effect parameters that the server is sent.
Optionally, described first module is obtained, is used for:
When the singer of the target music is target singer, obtain corresponding with the singer of the target music
The target sound effect parameters;
Wherein, the target singer is the music progress audio using corresponding sound effect parameters to performance of user setting
The singer of processing.
Optionally, described device further include:
Display module, for showing audio set interface, the audio set interface when receiving audio setting instruction
Including at least one singer;
Second obtains module, for receiving the selection instruction to the singer in the audio set interface, and will
The singer that the singer of the selection instruction instruction is identified is retrieved as the target singer.
Optionally, described first module is obtained, is used for:
When the number of the singer of the target music is at least two, by the master in the singer of the target music
The corresponding sound effect parameters of singer are retrieved as the target sound effect parameters.
Optionally, described first module is obtained, is used for:
When the target music is does not include the absolute music of voice, playing an instrument for the target music is retrieved as institute
State the singer of target music;
Obtain the target sound effect parameters corresponding with the singer of the target music.
Optionally, the playing module, is also used to:
When obtaining failure to the target sound effect parameters, forbid carrying out audio effect processing to the target music, and to not
It is played out by the target music of audio effect processing;Alternatively,
When obtaining failure to the target sound effect parameters, sound is carried out to the target music according to preset sound effect parameters
Effect processing, and played out to by the target music of audio effect processing.
Fourth aspect, provides a kind of music player, and described device includes:
Display module, for showing audio set interface, the audio set interface after receiving audio setting instruction
Corresponding relationship including selection control and at least one set of singer and audio mark, each audio identify and different sounds
It is corresponding to imitate parameter;
Setup module, for receiving the triggering command for being directed to the selection control, and will be indicated by the triggering command
Singer in corresponding relationship is set as target singer;
Receiving module, for receiving the play instruction for being directed to target music;
Playing module, for the singer in the target music be the target singer when, obtain with the target
The corresponding target sound effect parameters of the singer of music carry out at audio the target music according to the target sound effect parameters
Reason, and the target music after progress audio effect processing is played out.
Optionally, the display module, is also used to:
When to having carried out the target music after audio effect processing and playing out, first music broadcast interface, institute are shown
Stating first music broadcast interface includes that target sound criterion is known, and the target sound criterion is known corresponding with the target sound effect parameters.
Optionally, described device further includes audio effect processing module;
The audio effect processing module, for forbidding when the singer of the target music is not the target singer
Audio effect processing is carried out to the target music, alternatively, carrying out audio effect processing to the target music according to preset sound effect parameters;
The display module is also used to when to playing out without the target music of audio effect processing, display the
Two music-playing interfaces are forbidden showing audio mark in second music-playing interface, to according to the preset sound
When the target music after effect parameter progress audio effect processing plays out, third music-playing interface, the third sound are shown
Happy broadcast interface includes default audio mark, and the default audio mark is corresponding with the preset sound effect parameters.
Optionally, the default audio mark is not belonging in the corresponding relationship that the audio set interface includes.
Optionally, the audio set interface includes the m group corresponding relationship and corresponds with the m group corresponding relationship
M selection controls, m is positive integer;The setup module, is used for:
The triggering command for n selection control in described m selection control is received, it will be with the n selection control
In the corresponding corresponding relationship of each selection control in singer be set as the target singer, n is to be less than or wait
In the positive integer of m.
Optionally, the audio set interface includes the m group corresponding relationship and a selection control, and m is positive whole
Number, the setup module are used for:
It, will be corresponding described in the m group corresponding relationship every group after receiving for the triggering command of the selection control
Singer in relationship is set as the target singer.
5th aspect, provides a kind of music player, the music player includes:
Processor and memory;
The processor is configured to executing the instruction stored in the memory;
The processor realizes that above-mentioned first aspect or above-mentioned second aspect are any described by executing described instruction
Method for playing music.
6th 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 above-mentioned first aspect or above-mentioned second party
Any method for playing music in face.
Technical solution bring beneficial effect provided in an embodiment of the present invention includes at least:
By obtaining mesh corresponding with the singer of the target music after receiving the play instruction for target music
Sound effect parameters are marked, and audio effect processing is carried out to the target music according to the target sound effect parameters, then, then to by audio effect processing
The target music play out, due to the singing style of same singer be usually it is fixed, be suitable for same performance
The audio type for the different music that person is sung is usually identical, so, utilize mesh corresponding with the singer of target music
Mark with phonetic symbols effect parameters on target music carries out audio effect processing and is commonly available preferable audio effect processing effect, in this way, carrying out sound
When happy broadcasting, unprofessional user is there is no need to repeatedly attempt to select suitable audio type, therefore, Ke Yiti
The efficiency of high music.
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 playing music provided in an embodiment of the present invention.
Fig. 3 is the flow chart of another method for playing music provided in an embodiment of the present invention.
Fig. 4 is the flow chart of another method for playing music provided in an embodiment of the present invention.
Fig. 5 is the flow chart of another method for playing music provided in an embodiment of the present invention.
Fig. 6 is a kind of schematic diagram of desktop provided in an embodiment of the present invention.
Fig. 7 be the embodiment of the present invention can a kind of audio set interface schematic diagram.
Fig. 8 is the schematic diagram of another audio set interface provided in an embodiment of the present invention.
Fig. 9 is a kind of schematic diagram of first music broadcast interface provided in an embodiment of the present invention.
Figure 10 is a kind of block diagram of music player provided in an embodiment of the present invention.
Figure 11 is the block diagram of another music player provided in an embodiment of the present invention.
Figure 12 is the block diagram of another music player provided in an embodiment of the present invention.
Figure 13 is the block diagram of another music player provided in an embodiment of the present invention.
Figure 14 is the block diagram of another music player 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.
Under normal conditions, music player can provide a variety of different audio types, for example, typical audio type
It may include classic audio type, popular audio type and rock and roll audio type etc..Different music generally from different audios
Type is mutually applicable in, if carrying out audio effect processing to music based on a certain not applicable audio type, does not simply fail to promote music
Result of broadcast, or even the result of broadcast of music can also be brought a negative impact.
In the related technology, music player can be provided for user audio list of types for user to audio type into
Row selection, the audio type that music player can be selected based on user obtain corresponding sound effect parameters, and according to acquisition
Sound effect parameters carry out audio effect processing to music, and then, music player can broadcast the music for carrying out audio effect processing
It puts.
However, it is generally the case that only the professional user with certain music theory common sense could be disposably quasi- for a certain music
Suitable audio type really is selected, the unprofessional user without music theory common sense usually requires successively to attempt music dress
All audio types, could therefrom select suitable audio type provided by setting, and therefore, carry out sound according to the relevant technologies
The happy efficiency played is lower.
The embodiment of the invention provides a kind of method for playing music, and in the method for playing music, music player can
After receiving the play instruction for target music, to obtain target audio ginseng corresponding with the singer of the target music
Number, and audio effect processing is carried out to the target music according to the target sound effect parameters, then, then to the target by audio effect processing
Music plays out, since the singing style of same singer is usually fixation, sung suitable for same singer
Different music audio type it is usually identical, so, utilize target audio corresponding with the singer of target music ginseng
Several pairs of target music carry out audio effect processing and are commonly available preferable audio effect processing effect, in this way, while playing music,
Unprofessional user is there is no need to repeatedly attempt to select suitable audio type, it is thus possible to improve music is broadcast
The efficiency put.
In the following, by being illustrated to implementation environment involved by method for playing music provided in an embodiment of the present invention.
Fig. 1 is a kind of schematic diagram of implementation environment involved by method for playing music provided in an embodiment of the present invention, such as
Shown in Fig. 1, which may include music player 101 and server 102, server 102 and music player
It can be communicated by cable network or wireless network between 101.
Music application can be installed in music player 101, the music apply have music with
And the function of audio effect processing, in addition, the music application can also provide at least one audio type, wherein every kind of audio
Type is corresponding with sound effect parameters.
In embodiments of the present invention, music player 101 can be smart phone, tablet computer, desktop computer, can wear
Wear equipment, MP3 player (Moving Picture Experts Group Audio Layer III, dynamic image expert pressure
Contracting standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert
Compression standard audio level 4) player, E-book reader or mobile unit etc..Server 102 can be a service
Device, or the server cluster being made of multiple servers.
Referring to FIG. 2, it illustrates a kind of flow chart of method for playing music provided in an embodiment of the present invention, which is broadcast
The method of putting can be applied in music player 101 shown in FIG. 1, and further, which can be applied to
In the music application that music player 101 is installed, as shown in Fig. 2, the method for playing music may include following step
It is rapid:
Step 201, music player receive the play instruction for being directed to target music.
Step 202, music player obtain target sound effect parameters corresponding with the singer of target music.
Step 203, music player carry out audio effect processing according to the target audio parameters on target music, and to progress
The target music after audio effect processing plays out.
In conclusion method for playing music provided in an embodiment of the present invention, by receiving broadcasting for target music
After putting instruction, target sound effect parameters corresponding with the singer of the target music are obtained, and according to the target sound effect parameters to this
Target music carries out audio effect processing, then, then plays out to by the target music of audio effect processing, due to same singer
Singing style be usually it is fixed, therefore, the audio type for the different music sung suitable for same singer is usually
It is identical, so, it is logical that audio effect processing is carried out using target audio parameters on target music corresponding with the singer of target music
Normal available preferable audio effect processing effect, in this way, while playing music, there is no need in order to select for unprofessional user
Suitable audio type and repeatedly attempt, it is thus possible to improve the efficiency of music.
Referring to FIG. 3, it illustrates a kind of flow chart of method for playing music provided in an embodiment of the present invention, which is broadcast
The method of putting can be applied in music player 101 shown in FIG. 1, and further, which can be applied to
In the music application that music player 101 is installed, as shown in figure 3, the method for playing music may include following step
It is rapid:
Step 301, music player receive the play instruction for being directed to target music.
As described above, music application can be equipped in music player.
In one possible implementation, which can provide music playlist, the music
List includes at least one music, wherein at least one music may include the target music in step 301.When detecting
After the selection instruction of the target music in music playlist, music player can receive broadcasting for the target music
Put instruction.
Certainly, other music players be there may also be in practical application and receive the play instruction for being directed to target music
Possible implementation, the embodiment of the present invention just do not repeat one by one herein.
Step 302, music player obtain target sound effect parameters corresponding with the singer of target music.
Under normal conditions, the singing style of same singer is usually fixed, for example, the singing style of singer A can
To be lyricism, the singing style of singer B can be rock and roll style, therefore, the difference sung suitable for same singer
The audio type of music is usually identical, for example, for singer A, the applicable audio type one of the music sung
As be classic audio type, for singer B, the applicable audio type of the music sung is usually popular audio class
Type.
In view of this, in embodiments of the present invention, refer to when music player has received the broadcasting for target music
After order, the available target sound effect parameters corresponding with the singer of the target music of music player, in subsequent step
It is middle that audio effect processing is carried out according to the target audio parameters on target music.Wherein, which is drilling for target music
Sound effect parameters corresponding to the applicable audio type of the music that the person of singing sings.
In one possible implementation, music player is after receiving the play instruction for target music,
Audio acquisition request can be sent to server, which can indicate that server obtains and returns to target audio ginseng
Number.
Optionally, which can carry the mark of target music.Server is obtained receiving the audio
After taking request, the mark of target music can be extracted from the audio acquisition request, and is obtained according to the mark of the target music
The artist information of the target music is taken, the artist information of the target music is used for the performance of the unique identification target music
Person.Then, server can obtain the target sound effect parameters according to the artist information of the target music, obtain target sound
After imitating parameter, which can be sent in music player by server.
Optionally, which can carry the artist information of the target music, and server is receiving
After the audio acquisition request, the artist information of target music, then, server can be extracted from the audio acquisition request
The target sound effect parameters can be obtained according to the artist information of the target music, after obtaining target sound effect parameters, service
The target sound effect parameters can be sent in music player by device.
In alternatively possible implementation, music player is receiving the play instruction for target music
Afterwards, the artist information of the available target music, then, music player can be according to the singers of the target music
The local sound effect parameters database of information inquiry.It is stored in the sound effect parameters database and believes with the singer of the target music
When ceasing corresponding target sound effect parameters, music player can obtain target audio ginseng from the sound effect parameters database
Number.When not having to store target sound effect parameters corresponding with the artist information of the target music in the sound effect parameters database,
Music player can send audio acquisition request described above to server, and receive server and obtained based on the audio
Request the target sound effect parameters returned.
It should be pointed out that the music appreciation taste due to user is multifarious, general and disunity, therefore, some
In possible situation, the sound corresponding with a certain singer of the possible dissatisfied server of user or music player offer
Parameter is imitated, in other words, after user may think that the music progress audio effect processing sung using the sound effect parameters the singer
The music effect of acquisition does not meet the music appreciation taste of itself.In this case, music player can not root
Audio effect processing is carried out to the music that the singer sings according to the singer corresponding sound effect parameters.
In order to achieve the above object, the music that music player can only sing target singer uses the present invention
Audio effect processing mode in embodiment carries out audio effect processing, wherein target singer uses corresponding sound for user setting
Imitate the singer that parameter carries out audio effect processing to the music of performance.
Therefore, in step 302, when the singer of target music is target singer, music player can just be held
Row obtains the technical process of target sound effect parameters corresponding with the singer of target music.
In the following, the embodiment of the present invention will be briefly described the technical process of user setting target singer:
When needing to be arranged target singer, user can trigger audio setting instruction, and music player is receiving
After audio setting instruction, audio set interface can be shown, which includes at least one singer.User can
To select the singer in the audio set interface, the selection of the singer in audio set interface is referred to triggering
It enables, after receiving the selection instruction, the singer which can be indicated is retrieved as target and drills music player
The person of singing.
Although may also be noted that under normal conditions, the singer of an a piece of music only people, for example, female voice solo with
And the singer of the music of male Solo etc. an only people, still, in practical applications, the singer there is also a piece of music is
The case where more people, for example, the number of the singer for the music sung by turns, sing in union and chorused etc. is at least two people.
Audio effect processing is carried out in order to be at least the music of two people to singer's number, expand the embodiment of the present invention applies model
It encloses, in step 302, when the number of the singer of target music is at least two, music player can be by the target
The corresponding sound effect parameters of main singer in the singer of music are retrieved as the target sound effect parameters, wherein so-called main singer
The highest singer of performance ratio in the singer of the target music to target music is referred to, alternatively, so-called main singer
Refer to that the frequency range that sound is sung in the singer of the target music is higher than the singer of a certain frequency threshold.
It may also be noted that practical application in, target music be possible for do not include voice absolute music, in this feelings
Under condition, playing an instrument for target music can be retrieved as the singer of target music by music player, and acquisition and target
The corresponding target sound effect parameters of singer's (that is to say playing an instrument for target music) of music.
Step 303, music player carry out audio effect processing according to target audio parameters on target music.
Under normal conditions, target sound effect parameters may include the intensive parameter of the music of surround sound parameter and different frequency range
Deng.Music player can carry out audio effect processing to the target music according to the target sound effect parameters.
In some possible situations, music player may will fail the acquisition of target sound effect parameters, that is to say,
In some embodiments of the invention, music player is likely to that target sound effect parameters can not be got in step 302.
For example, if music player can not just be got when the singer of target music does not have corresponding sound effect parameters
Target sound effect parameters.For another example if server breaks down, alternatively, the communication connection between music player and server
When disconnection, music player can not get target sound effect parameters.In another example if the singer of target music is not institute above
When the target singer stated, the technical process for obtaining target sound effect parameters is not carried out in music player, at this point, music
Device also can not just get target sound effect parameters.
Optionally, in the case where music player does not get target sound effect parameters, music player can be with
Forbid carrying out audio effect processing to target music, in other words, music player can not carry out audio effect processing to target music,
In the next steps, music player can be played out to without the target music of audio effect processing.
Optionally, in the case where music player does not get target sound effect parameters, music player can be with
Preset sound effect parameters are obtained, which can be the sound effect parameters of music application default, be also possible to
The sound effect parameters that user independently sets.Then, music player can according to the preset sound effect parameters to target music into
Row audio effect processing, in the next steps, after music player can carry out audio effect processing according to preset sound effect parameters to this
Target music play out.
Step 304, music player play out target music.
In the case that music player successfully obtains target sound effect parameters in step 302, in step 304, audio
Playing device can play out the target music that audio effect processing has been carried out according to target sound effect parameters.Sound in step 302
In the case that music playing device does not get target sound effect parameters, in step 304, music player can be to without sound
The target music of effect processing plays out, alternatively, the music device can carry out sound to according to preset sound effect parameters
The target music of effect processing plays out.
During playing out to target music, music player can receive the audio type choosing of user's triggering
Instruction is selected, after receiving the audio type selection command, the music device can be based on the audio type selection command
Indicated audio type obtains corresponding sound effect parameters, and is carried out at audio according to the sound effect parameters of acquisition to target music
Reason, then, music player can stop broadcasting to according to the target music after target sound effect parameters progress audio effect processing
It puts, and starts to play the above-mentioned sound effect parameters according to acquisition to the target music after target music progress audio effect processing.
In conclusion method for playing music provided in an embodiment of the present invention, by receiving broadcasting for target music
After putting instruction, target sound effect parameters corresponding with the singer of the target music are obtained, and according to the target sound effect parameters to this
Target music carries out audio effect processing, then, plays out to by the target music of audio effect processing, due to same singer's
Singing style be usually it is fixed, therefore, the audio type for the different music sung suitable for same singer is usually phase
With, so, it is usual that audio effect processing is carried out using target audio parameters on target music corresponding with the singer of target music
Available preferable audio effect processing effect, in this way, while playing music, there is no need in order to select to close for unprofessional user
Suitable audio type and repeatedly attempt, it is thus possible to improve the efficiency of music.
Referring to FIG. 4, it illustrates a kind of flow chart of method for playing music provided in an embodiment of the present invention, which is broadcast
The method of putting can be applied in music player 101 shown in FIG. 1, and further, which can be applied to
In the music application that music player 101 is installed, as shown in figure 4, the method for playing music may include following step
It is rapid:
Step 401, music player show audio set interface after receiving audio setting instruction.
The audio set interface includes the corresponding relationship for selecting control and at least one set of singer and audio mark,
In, each audio mark is corresponding from different sound effect parameters.
Step 402, music player receive the triggering command for being directed to the selection control, and will be indicated by the triggering command
Corresponding relationship in singer be set as target singer.
Step 403, music player receive the play instruction for being directed to target music.
Step 404, the target music singer be target singer when, music player obtain with the target sound
The corresponding target sound effect parameters of happy singer carry out audio effect processing to the target music according to the target sound effect parameters, and right
Target music after carrying out audio effect processing plays out.
In conclusion method for playing music provided in an embodiment of the present invention, by showing after receiving audio setting instruction
Show audio set interface, which includes the corresponding pass for selecting control and at least one set of singer to identify with audio
System, wherein each audio mark is corresponding from different sound effect parameters, then, receives the triggering command for being directed to the selection control,
And target singer is set by the singer in corresponding relationship indicated by the triggering command, in this way, receiving for mesh
The happy play instruction of mark with phonetic symbols, and when the singer of the target music is target singer, so that it may it obtains and the target music
The corresponding target sound effect parameters of singer, according to the target sound effect parameters to the target music carry out audio effect processing, and into
Target music after row audio effect processing plays out, so that while playing music, unprofessional user does not need to select
Suitable audio type and repeatedly attempted, it is thus possible to improve the efficiency of music.
Referring to FIG. 5, it illustrates a kind of flow chart of method for playing music provided in an embodiment of the present invention, which is broadcast
The method of putting can be applied in music player 101 shown in FIG. 1, and further, which can be applied to
In the music application that music player 101 is installed, as shown in figure 5, the method for playing music may include following step
It is rapid:
Step 501, music player start music application.
As described above, can be equipped with music application in music player, which, which applies, has music
The function of broadcasting and audio effect processing.When user needs to play music, it can control music player and start the music and broadcast
Put application.
Optionally, the icon that music application can be set on the desktop of music player, when user needs to broadcast
It puts the music on constantly, user can trigger the icon of music application, when music player is detected to the music
When the trigger action of the icon of application, music player can star the music application.
For example, music can be set on the desktop of the terminal and broadcast as shown in fig. 6, music player can be terminal
The icon S for putting application, when user needs to play music, user can click the icon S of music application, detect
After the clicking operation of the icon S of music application, terminal can star the music application.
Step 502, music player show that the target interface of music application, the target interface include audio setting
Option.
After music player starting music application, which can show the music application
Target interface, in some embodiments of the invention, which can be for music-playing interface etc..Wherein, the target
Interface may include audio setting options.
Step 503, after detecting the trigger action for audio setting options, music player receives audio setting
Instruction, and show audio set interface.
Wherein, which includes the corresponding pass for selecting control and at least one set of singer to identify with audio
System, each audio mark are corresponding from different sound effect parameters.
In one possible implementation, the audio set interface may include m above-mentioned corresponding relationships and with the m
The one-to-one m selection control of corresponding relationship, in this case, this, which selects control, to be radio box or check box
Deng the embodiment of the present invention is not specifically limited it, and m is positive integer.
Fig. 7 is a kind of schematic diagram of illustrative audio set interface, as shown in fig. 7, the audio set interface includes 3 groups
Corresponding relationship, respectively corresponding relationship a1, corresponding relationship a2 and corresponding relationship a3, meanwhile, which can also wrap
Include with the one-to-one 3 selections control k1 of 3 groups of corresponding relationships, in Fig. 7, this, which selects control k1, to be check box.
In alternatively possible implementation, which may include a selection control and m correspondence
Relationship, in this case, this selects control that can select frame to be complete.
Fig. 8 is a kind of schematic diagram of illustrative audio set interface, as shown in figure 8, the audio set interface includes 3 groups
Corresponding relationship, respectively corresponding relationship a1, corresponding relationship a2 and corresponding relationship a3, meanwhile, which can also wrap
A selection control k2 is included, this selects control k2 that can select frame to be complete.
Step 504, music player receive the triggering command for selection control, and will be indicated by the triggering command
Singer in corresponding relationship is set as target singer.
Wherein, with it is described above consistently, the target singer in step 504 refer to user setting using corresponding
Sound effect parameters carry out the singer of audio effect processing to the music of performance.
Corresponding with the first implementation in step 503, music player can receive to be controlled for this m selection
The triggering command of n selection control in part, and will corresponding relationship corresponding with each selection control in this n selection control
In singer be set as the target singer, n is the positive integer less than or equal to m.
By taking audio set interface shown in Fig. 7 as an example, user can be to corresponding relationship a1 in the audio set interface and right
It should be related to that the corresponding selection control k1 of a2 carries out trigger action, music player can incite somebody to action after detecting the trigger action
Singer in corresponding relationship a1 and corresponding relationship a2 is set as target singer.
Corresponding with the second way in step 503, music player is receiving the touching for the selection control
After sending instructions, the singer in m group corresponding relationship in every group of corresponding relationship can be disposed as target singer.
By taking audio set interface shown in Fig. 8 as an example, user can to the selection control k2 in the audio set interface into
Row trigger action, music player, can be by corresponding relationship a1, corresponding relationship a2 and correspondences after detecting the trigger action
Singer in relationship a3 is set as target singer.
Step 505, music player receive the play instruction for being directed to target music, and in the singer of the target music
When for target singer, target sound effect parameters corresponding with the singer of the target music are obtained, according to the target sound effect parameters
Audio effect processing is carried out to the target music, and the target music after progress audio effect processing is played out.
It should be pointed out that the technical process of embodiment of the method shown in the technical process and Fig. 3 of step 505 is similarly, this hair
Details are not described herein for bright embodiment.
When to being played out according to the target music after target sound effect parameters progress audio effect processing, music player
Can show first music broadcast interface, the first music broadcast interface include target sound criterion know, the target sound criterion know with
Target sound effect parameters are corresponding.
Fig. 9 is a kind of schematic diagram of illustrative first music broadcast interface, as shown in figure 9, playing in the first music
Target sound criterion can be shown in interface and knows b, and target sound criterion knowledge b is corresponding with target sound effect parameters, the target audio
Parameter is the corresponding sound effect parameters of singer " Wu Yifan " of the target music.
As described above, music player can be forbidden to mesh when the singer of target music is not target singer
Mark with phonetic symbols is happy to carry out audio effect processing, alternatively, music player can carry out audio to target music according to preset sound effect parameters
Processing.
When to playing out without the target music of audio effect processing, music player can show that the second music is broadcast
Interface is put, forbids showing audio mark in second music-playing interface.
When to being played out according to the target music after preset sound effect parameters progress audio effect processing, music player
Can show third music-playing interface, which includes default audio mark, default audio mark with
The preset sound effect parameters are corresponding.In to some embodiments of the present invention, which is not belonging to audio setting
In the corresponding relationship that interface includes.
In conclusion method for playing music provided in an embodiment of the present invention, by showing after receiving audio setting instruction
Show audio set interface, which includes the corresponding pass for selecting control and at least one set of singer to identify with audio
System, wherein each audio mark is corresponding from different sound effect parameters, then, receives the triggering command for being directed to the selection control,
And target singer is set by the singer in corresponding relationship indicated by the triggering command, in this way, receiving for mesh
The happy play instruction of mark with phonetic symbols, and when the singer of the target music is target singer, so that it may it obtains and the target music
The corresponding target sound effect parameters of singer, according to the target sound effect parameters to the target music carry out audio effect processing, and into
Target music after row audio effect processing plays out, so that while playing music, unprofessional user does not need to select
Suitable audio type and repeatedly attempted, it is thus possible to improve the efficiency of music.
Referring to FIG. 10, it illustrates a kind of block diagram of music player 1000 provided in an embodiment of the present invention, the sound
Music playing device 1000 can be music player 101 shown in FIG. 1.As shown in Figure 10, which can
To include: that receiving module 1001, first obtains module 1002 and playing module 1003.
The receiving module 1001, for receiving the play instruction for being directed to target music.
The first acquisition module 1002, for obtaining target sound effect parameters corresponding with the singer of the target music.
The playing module 1003, for according to the target sound effect parameters to the target music carry out audio effect processing, and into
The target music after row audio effect processing plays out.
In one embodiment of the invention, the first acquisition module 1002, is used for: sending audio acquisition to server and asks
It asks, which carries the mark of the target music, which is used to indicate the server according to this
The mark of target music obtains the singer of the target music, and obtains and return the mesh according to the singer of the target music
Mark sound effect parameters;Receive the target sound effect parameters of server transmission.
In one embodiment of the invention, the first acquisition module 1002, is used for: when the singer of the target music is
When target singer, the target sound effect parameters corresponding with the singer of the target music are obtained;Wherein, target singer is
The singer for carrying out audio effect processing to the music of performance using corresponding sound effect parameters of user setting.
In one embodiment of the invention, this first obtains module 1002, is used for: as the singer of the target music
When number is at least two, the corresponding sound effect parameters of main singer in the singer of the target music are retrieved as the target sound
Imitate parameter.
In one embodiment of the invention, the first acquisition module 1002, be used for: being when the target music does not include people
When the absolute music of sound, playing an instrument for the target music is retrieved as the singer of the target music;It obtains and the target music
The corresponding target sound effect parameters of singer.
Figure 11 is please referred to, as shown in figure 11, the embodiment of the present invention also mentions other than being provided with music player 1000
Music player 1100 is supplied, the music player 1100 is other than including each module of music player 1000, also
Module 1005 is obtained including display module 1004 and second.
Wherein, display module 1004, for showing audio set interface, the sound when receiving audio setting instruction
Imitating set interface includes at least one singer.
The second acquisition module 1005, for receiving the selection instruction to the singer in the audio set interface, and
The singer that the singer that the selection instruction indicates is identified is retrieved as target singer.
In conclusion music player provided in an embodiment of the present invention, by receiving broadcasting for target music
After putting instruction, target sound effect parameters corresponding with the singer of the target music are obtained, and according to the target sound effect parameters to this
Target music carries out audio effect processing, then, plays out to by the target music of audio effect processing, due to same singer's
Singing style be usually it is fixed, therefore, the audio type for the different music sung suitable for same singer is usually phase
With, so, it is usual that audio effect processing is carried out using target audio parameters on target music corresponding with the singer of target music
Available preferable audio effect processing effect, in this way, while playing music, there is no need in order to select to close for unprofessional user
Suitable audio type and repeatedly attempt, it is thus possible to improve the efficiency of 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.
Figure 12 is please referred to, it illustrates a kind of block diagram of music player 1200 provided in an embodiment of the present invention, the sounds
Music playing device 1200 can be music player 101 shown in FIG. 1.As shown in figure 12, which can
To include: display module 1201, setup module 1202, receiving module 1203 and playing module 1204.
The display module 1201, for showing audio set interface, audio setting after receiving audio setting instruction
Interface includes the corresponding relationship for selecting control and at least one set of singer and audio mark, each audio mark from it is different
Sound effect parameters are corresponding.
The setup module 1202, for receiving the triggering command for being directed to the selection control, and will be indicated by the triggering command
Corresponding relationship in singer be set as target singer.
The receiving module 1203, for receiving the play instruction for being directed to target music.
The playing module 1204, for the singer in the target music be the target singer when, obtain with the target
The corresponding target sound effect parameters of the singer of music carry out audio effect processing to the target music according to the target sound effect parameters, and
The target music after progress audio effect processing is played out.
In one embodiment of the invention, the display module 1201, is also used to: to carried out after audio effect processing should
When target music plays out, show that first music broadcast interface, the first music broadcast interface include that target sound criterion is known, it should
Target sound criterion is known corresponding with the target sound effect parameters.
In one embodiment of the invention, which includes the m group corresponding relationship and the corresponding pass with m group
It is the one-to-one m selection controls, m is positive integer;The setup module 1202 is directed to this m selection control for receiving
In n selection control triggering command, will in corresponding corresponding relationship of each selection control in this n selection control
Singer be set as target singer, n is the positive integer less than or equal to m.
In one embodiment of the invention, which includes the m group corresponding relationship and the selection control
Part, m are positive integer, the setup module 1202, for after receiving the triggering command for the selection control, by m group, this to be right
Singer in should being related in every group of corresponding relationship is set as target singer.
Figure 13 is please referred to, as shown in figure 13, the embodiment of the present invention also mentions other than being provided with music player 1200
Music player 1300 is supplied, the music player 1300 is other than including each module of music player 1200, also
Including audio effect processing module 1205.
When the audio effect processing module 1205 for the singer in the target music is not target singer, forbid pair
The target music carries out audio effect processing, alternatively, carrying out audio effect processing to the target music according to preset sound effect parameters.
The display module 1201 is also used to when to playing out without the target music of audio effect processing, display the
Two music-playing interfaces are forbidden showing audio mark in second music-playing interface, be joined to according to the preset audio
When the target music after number progress audio effect processing plays out, third music-playing interface, third music circle are shown
Face includes default audio mark, and the default audio mark is corresponding with the preset sound effect parameters.
In one embodiment of the invention, which is not belonging to the correspondence that the audio set interface includes
In relationship.
In conclusion music player provided in an embodiment of the present invention, by showing after receiving audio setting instruction
Show audio set interface, which includes the corresponding pass for selecting control and at least one set of singer to identify with audio
System, wherein each audio mark is corresponding from different sound effect parameters, then, receives the triggering command for being directed to the selection control,
And target singer is set by the singer in corresponding relationship indicated by the triggering command, in this way, receiving for mesh
The happy play instruction of mark with phonetic symbols, and when the singer of the target music is target singer, so that it may it obtains and the target music
The corresponding target sound effect parameters of singer, according to the target sound effect parameters to the target music carry out audio effect processing, and into
Target music after row audio effect processing plays out, so that while playing music, unprofessional user does not need to select
Suitable audio type and repeatedly attempted, it is thus possible to improve the efficiency of 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.
Figure 14 shows the structural block diagram of the music player 1400 of an illustrative embodiment of the invention offer.The sound
Music playing device 1400 hereafter only can refer to the music player 1400 with terminal, for convenience of explanation with 1400 generation of terminal, should
Terminal 1400 may include: smart phone, tablet computer, 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, laptop or desktop
Brain.Terminal 1400 is also possible to referred to as other titles such as user equipment, portable terminal, laptop terminal, terminal console.
In general, terminal 1400 includes: processor 1401 and memory 1402.
Processor 1401 may include one or more processing cores, such as 4 core processors, 14 core processors etc..
Processor 1401 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1401 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 1401 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1401 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1402 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1402 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1402 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1401 for realizing this Shen
Please in embodiment of the method provide method for playing music.
In some embodiments, terminal 1400 is also optional includes: peripheral device interface 1403 and at least one periphery are set
It is standby.It can be connected by bus or signal wire between processor 1401, memory 1402 and peripheral device interface 1403.It is each outer
Peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1403.Specifically, peripheral equipment includes:
In radio circuit 1404, touch display screen 1405, camera 1406, voicefrequency circuit 1407, positioning component 1408 and power supply 1409
At least one.
Peripheral device interface 1403 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1401 and memory 1402.In some embodiments, processor 1401, memory 1402 and periphery
Equipment interface 1403 is integrated on same chip or circuit board;In some other embodiments, processor 1401, memory
1402 and peripheral device interface 1403 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1404 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1404 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1404 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1404 include: antenna system, RF transceiver, one or more amplifiers, tuner, oscillator, digital signal processor, volume solution
Code chipset, user identity module card etc..Radio circuit 1404 can by least one wireless communication protocol come with it is other
Terminal is communicated.The wireless communication protocol includes but is not limited to: Metropolitan Area Network (MAN), each third generation mobile communication network (2G, 3G, 4G and
5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, radio frequency electrical
Road 1404 can also include NFC (Near Field Communication, wireless near field communication) related circuit, the application
This is not limited.
Display screen 1405 is for showing UI (User Interface, user interface).The UI may include figure, text,
Icon, video and its their any combination.When display screen 1405 is touch display screen, display screen 1405 also there is acquisition to exist
The ability of the touch signal on the surface or surface of display screen 1405.The touch signal can be used as control signal and be input to place
Reason device 1401 is handled.At this point, display screen 1405 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press
Button and/or soft keyboard.In some embodiments, display screen 1405 can be one, and the front panel of terminal 1400 is arranged;Another
In a little embodiments, display screen 1405 can be at least two, be separately positioned on the different surfaces of terminal 1400 or in foldover design;
In still other embodiments, display screen 1405 can be flexible display screen, is arranged on the curved surface of terminal 1400 or folds
On face.Even, display screen 1405 can also be arranged to non-rectangle irregular figure, namely abnormity screen.Display screen 1405 can be with
Using LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1406 is for acquiring image or video.Optionally, CCD camera assembly 1406 includes front camera
And rear camera.In general, the front panel of terminal is arranged in front camera, the back side of terminal is arranged in rear camera.?
In some embodiments, rear camera at least two is that main camera, depth of field camera, wide-angle camera, focal length are taken the photograph respectively
As any one in head, to realize that main camera and the fusion of depth of field camera realize background blurring function, main camera and wide
Pan-shot and VR (Virtual Reality, virtual reality) shooting function or other fusions are realized in camera fusion in angle
Shooting function.In some embodiments, CCD camera assembly 1406 can also include flash lamp.Flash lamp can be monochromatic temperature flash of light
Lamp is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the combination of warm light flash lamp and cold light flash lamp, can be used for
Light compensation under different-colour.
Voicefrequency circuit 1407 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and
It converts sound waves into electric signal and is input to processor 1401 and handled, or be input to radio circuit 1404 to realize that voice is logical
Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the different parts of terminal 1400 to be multiple.
Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1401 or radio frequency will to be come from
The electric signal of circuit 1404 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectric ceramics loudspeaking
Device.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, can also be incited somebody to action
Electric signal is converted to the sound wave that the mankind do not hear to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 1407 may be used also
To include earphone jack.
Positioning component 1408 is used for the current geographic position of positioning terminal 1400, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 1408 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), the dipper system of China, Russia Gray receive this system or European Union
The positioning component of Galileo system.
Power supply 1409 is used to be powered for the various components in terminal 1400.Power supply 1409 can be alternating current, direct current
Electricity, disposable battery or rechargeable battery.When power supply 1409 includes rechargeable battery, which can support wired
Charging or wireless charging.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 1400 further includes having one or more sensors 1410.One or more sensing
Device 1410 includes but is not limited to: acceleration transducer 1411, gyro sensor 1412, pressure sensor 1413, fingerprint sensing
Device 1414, optical sensor 1415 and proximity sensor 1416.
Acceleration transducer 1411 can detecte the acceleration in three reference axis of the coordinate system established with terminal 1400
Size.For example, acceleration transducer 1411 can be used for detecting component of the acceleration of gravity in three reference axis.Processor
The 1401 acceleration of gravity signals that can be acquired according to acceleration transducer 1411, control touch display screen 1405 with transverse views
Or longitudinal view carries out the display of user interface.Acceleration transducer 1411 can be also used for game or the exercise data of user
Acquisition.
Gyro sensor 1412 can detecte body direction and the rotational angle of terminal 1400, gyro sensor 1412
Acquisition user can be cooperateed with to act the 3D of terminal 1400 with acceleration transducer 1411.Processor 1401 is according to gyro sensors
The data that device 1412 acquires, following function may be implemented: action induction (for example changing UI according to the tilt operation of user) is clapped
Image stabilization, game control and inertial navigation when taking the photograph.
The lower layer of side frame and/or touch display screen 1405 in terminal 1400 can be set in pressure sensor 1413.When
When the side frame of terminal 1400 is arranged in pressure sensor 1413, user can detecte to the gripping signal of terminal 1400, by
Reason device 1401 carries out right-hand man's identification or prompt operation according to the gripping signal that pressure sensor 1413 acquires.Work as pressure sensor
1413 when being arranged in the lower layer of touch display screen 1405, is grasped by processor 1401 according to pressure of the user to touch display screen 1405
Make, realization controls the operability control on the interface UI.Operability control include button control, scroll bar control,
At least one of icon control, menu control.
Fingerprint sensor 1414 is used to acquire the fingerprint of user, is collected by processor 1401 according to fingerprint sensor 1414
Fingerprint recognition user identity, alternatively, by fingerprint sensor 1414 according to the identity of collected fingerprint recognition user.Knowing
Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1401, which grasps
Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1414 can be set
Set the front, the back side or side of terminal 1400.When being provided with physical button or manufacturer Logo in terminal 1400, fingerprint sensor
1414 can integrate with physical button or manufacturer Logo.
Optical sensor 1415 is for acquiring ambient light intensity.In one embodiment, processor 1401 can be according to light
The ambient light intensity that sensor 1415 acquires is learned, the display brightness of touch display screen 1405 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1405 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1405 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1401 can also be acquired according to optical sensor 1415, is moved
The acquisition parameters of state adjustment CCD camera assembly 1406.
Proximity sensor 1416, also referred to as range sensor are generally arranged at the front panel of terminal 1400.Proximity sensor
1416 for acquiring the distance between the front of user Yu terminal 1400.In one embodiment, when proximity sensor 1416 is examined
When measuring the distance between the front of user and terminal 1400 and gradually becoming smaller, by processor 1401 control touch display screen 1405 from
Bright screen state is switched to breath screen state;When proximity sensor 1416 detect the distance between front of user and terminal 1400 by
When gradual change is big, touch display screen 1405 is controlled by processor 1401 and is switched to bright screen state from breath screen state.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal 1400 of structure shown in Figure 14
Including than illustrating more or fewer components, perhaps combining certain components or being arranged using different components.
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
Method for playing music.
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, it enables a computer to execute the method for playing music that the above embodiment of the present invention provides.
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 method for playing music of the above embodiment of the present invention offer 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 (28)
1. a kind of method for playing music, which is characterized in that the described method includes:
Receive the play instruction for being directed to target music;
Obtain target sound effect parameters corresponding with the singer of the target music;
Audio effect processing is carried out to the target music according to the target sound effect parameters, and to the mesh after progress audio effect processing
Mark with phonetic symbols pleasure plays out.
2. the method according to claim 1, wherein the acquisition is corresponding with the singer of the target music
Target sound effect parameters, comprising:
Audio acquisition request is sent to server, the audio acquisition request is used to indicate the server and obtains and return institute
State target sound effect parameters;
Receive the target sound effect parameters that the server is sent.
3. the method according to claim 1, wherein the acquisition is corresponding with the singer of the target music
Target sound effect parameters, comprising:
When the singer of the target music is target singer, obtain corresponding with the singer of the target music described
Target sound effect parameters;
Wherein, the target singer is the music progress audio effect processing using corresponding sound effect parameters to performance of user setting
Singer.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When receiving audio setting instruction, audio set interface is shown, the audio set interface includes at least one performance
Person;
Receive the selection instruction to the singer in the audio set interface, and the performance that the selection instruction is indicated
The singer that person is identified is retrieved as the target singer.
5. the method according to claim 1, wherein the acquisition is corresponding with the singer of the target music
Target sound effect parameters, comprising:
When the number of the singer of the target music is at least two, the protagonist in the singer of the target music is sung
The corresponding sound effect parameters of person are retrieved as the target sound effect parameters.
6. the method according to claim 1, wherein the acquisition is corresponding with the singer of the target music
Target sound effect parameters, comprising:
When the target music is does not include the absolute music of voice, playing an instrument for the target music is retrieved as the mesh
The happy singer of mark with phonetic symbols;
Obtain the target sound effect parameters corresponding with the singer of the target music.
7. the method according to claim 1, wherein the method also includes:
To the target sound effect parameters obtain failure when, forbid to the target music carry out audio effect processing, and to without
The target music of audio effect processing plays out;Alternatively,
When obtaining failure to the target sound effect parameters, the target music is carried out at audio according to preset sound effect parameters
Reason, and played out to by the target music of audio effect processing.
8. a kind of method for playing music, which is characterized in that the described method includes:
Receive audio setting instruction after, show audio set interface, the audio set interface include selection control and
The corresponding relationship of at least one set of singer and audio mark, each audio mark are corresponding from different sound effect parameters;
The triggering command for the selection control is received, and by the singer in corresponding relationship indicated by the triggering command
It is set as target singer;
Receive the play instruction for being directed to target music;
When the singer of the target music is the target singer, obtain corresponding with the singer of the target music
Target sound effect parameters carry out audio effect processing to the target music according to the target sound effect parameters, and to progress audio effect processing
The target music afterwards plays out.
9. according to the method described in claim 8, it is characterized in that, which comprises
When to having carried out the target music after audio effect processing and playing out, first music broadcast interface is shown, described the
One music-playing interface includes that target sound criterion is known, and the target sound criterion is known corresponding with the target sound effect parameters.
10. according to the method described in claim 8, it is characterized in that, the method also includes:
When the singer of the target music is not the target singer, forbid carrying out at audio the target music
Reason, alternatively, carrying out audio effect processing to the target music according to preset sound effect parameters;
When to playing out without the target music of audio effect processing, the second music-playing interface is shown, described the
Forbid showing audio mark in two music-playing interfaces;
When to playing out according to the target music after the preset sound effect parameters progress audio effect processing, third is shown
Music-playing interface, the third music-playing interface include default audio mark, and the default audio mark is preset with described
Sound effect parameters it is corresponding.
11. according to the method described in claim 10, it is characterized in that, the default audio mark is not belonging to the audio setting
In the corresponding relationship that interface includes.
12. according to the method described in claim 8, it is characterized in that, the audio set interface includes the m group corresponding relationship
With with the m group corresponding relationship one-to-one m selection controls, m is positive integer;Described receive is controlled for the selection
The triggering command of part, and target singer is set by the singer in corresponding relationship indicated by the triggering command, comprising:
Receive for described m selection control in n select control triggering command, by in the n selection control
Each singer selected in the corresponding corresponding relationship of control is set as the target singer, and n is less than or equal to m's
Positive integer.
13. according to the method described in claim 8, it is characterized in that, the audio set interface includes the m group corresponding relationship
With a selection control, m is positive integer, the triggering command received for the selection control, and by the triggering
Singer in the indicated corresponding relationship of instruction is set as target singer, comprising:
After receiving for the triggering command of the selection control, by corresponding relationship described in the m group corresponding relationship every group
In singer be set as the target singer.
14. a kind of music player, which is characterized in that described device includes:
Receiving module, for receiving the play instruction for being directed to target music;
First obtains module, for obtaining target sound effect parameters corresponding with the singer of the target music;
Playing module, for carrying out audio effect processing to the target music according to the target sound effect parameters, and to progress audio
Treated, and the target music plays out.
15. device according to claim 14, which is characterized in that described first obtains module, is used for:
Audio acquisition request is sent to server, the audio acquisition request is used to indicate the server and obtains and return institute
State target sound effect parameters;
Receive the target sound effect parameters that the server is sent.
16. device according to claim 14, which is characterized in that described first obtains module, is used for:
When the singer of the target music is target singer, obtain corresponding with the singer of the target music described
Target sound effect parameters;
Wherein, the target singer is the music progress audio effect processing using corresponding sound effect parameters to performance of user setting
Singer.
17. device according to claim 14, which is characterized in that described device further include:
Display module, for showing that audio set interface, the audio set interface include when receiving audio setting instruction
At least one singer;
Second obtains module, for receiving the selection instruction to the singer in the audio set interface, and will be described
The singer that the singer of selection instruction instruction is identified is retrieved as the target singer.
18. device according to claim 14, which is characterized in that described first obtains module, is used for:
When the number of the singer of the target music is at least two, the protagonist in the singer of the target music is sung
The corresponding sound effect parameters of person are retrieved as the target sound effect parameters.
19. device according to claim 14, which is characterized in that described first obtains module, is used for:
When the target music is does not include the absolute music of voice, playing an instrument for the target music is retrieved as the mesh
The happy singer of mark with phonetic symbols;
Obtain the target sound effect parameters corresponding with the singer of the target music.
20. device according to claim 14, which is characterized in that the playing module is also used to:
To the target sound effect parameters obtain failure when, forbid to the target music carry out audio effect processing, and to without
The target music of audio effect processing plays out;Alternatively,
When obtaining failure to the target sound effect parameters, the target music is carried out at audio according to preset sound effect parameters
Reason, and played out to by the target music of audio effect processing.
21. a kind of music player, which is characterized in that described device includes:
Display module, for showing that audio set interface, the audio set interface include after receiving audio setting instruction
The corresponding relationship of control and at least one set of singer and audio mark is selected, each audio mark is joined from different audios
Number is corresponding;
Setup module, for receiving the triggering command for being directed to the selection control, and by correspondence indicated by the triggering command
Singer in relationship is set as target singer;
Receiving module, for receiving the play instruction for being directed to target music;
Playing module, for the singer in the target music be the target singer when, obtain with the target music
The corresponding target sound effect parameters of singer, according to the target sound effect parameters to the target music carry out audio effect processing, and
The target music after progress audio effect processing is played out.
22. device according to claim 21, which is characterized in that the display module is also used to:
When to having carried out the target music after audio effect processing and playing out, first music broadcast interface is shown, described the
One music-playing interface includes that target sound criterion is known, and the target sound criterion is known corresponding with the target sound effect parameters.
23. device according to claim 21, which is characterized in that described device further includes audio effect processing module;
The audio effect processing module, for forbidding to institute when the singer of the target music is not the target singer
It states target music and carries out audio effect processing, alternatively, carrying out audio effect processing to the target music according to preset sound effect parameters;
The display module is also used to when to playing out without the target music of audio effect processing, shows the second sound
Happy broadcast interface is forbidden showing audio mark in second music-playing interface, be joined to according to the preset audio
When the target music after number progress audio effect processing plays out, third music-playing interface is shown, the third music is broadcast
Putting interface includes default audio mark, and the default audio mark is corresponding with the preset sound effect parameters.
24. device according to claim 23, which is characterized in that the default audio mark is not belonging to the audio setting
In the corresponding relationship that interface includes.
25. device according to claim 21, which is characterized in that the audio set interface includes the m group corresponding pass
System and with a selection controls of the m group corresponding relationship one-to-one m, m is positive integer;The setup module, is used for:
Receive for described m selection control in n select control triggering command, by in the n selection control
Each singer selected in the corresponding corresponding relationship of control is set as the target singer, and n is less than or equal to m's
Positive integer.
26. device according to claim 21, which is characterized in that the audio set interface includes the m group corresponding pass
System and a selection control, m is positive integer, and the setup module is used for:
After receiving for the triggering command of the selection control, by corresponding relationship described in the m group corresponding relationship every group
In singer be set as the target singer.
27. a kind of music player, which is characterized in that described device includes:
Processor and memory;
The processor is configured to executing the instruction stored in the memory;
The processor realizes any method for playing music of claim 1 to 7 by executing described instruction;Alternatively,
The processor realizes any method for playing music of claim 8 to 13 by executing described instruction.
28. 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 7 any music side
Method;Alternatively,
So that the processor perform claim requires 8 to 13 any method for playing music.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811302800.3A CN109491636A (en) | 2018-11-02 | 2018-11-02 | Method for playing music, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811302800.3A CN109491636A (en) | 2018-11-02 | 2018-11-02 | Method for playing music, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109491636A true CN109491636A (en) | 2019-03-19 |
Family
ID=65693747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811302800.3A Pending CN109491636A (en) | 2018-11-02 | 2018-11-02 | Method for playing music, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109491636A (en) |
Cited By (2)
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 |
CN113641329A (en) * | 2021-08-10 | 2021-11-12 | 广州艾美网络科技有限公司 | Sound effect configuration method and device, intelligent sound box, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104392712A (en) * | 2014-08-27 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Method and device for realizing karaoke function |
CN204669590U (en) * | 2015-04-29 | 2015-09-23 | 刘鑫 | A kind of microphone of real-time, tunable audio |
CN105224670A (en) * | 2015-10-13 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of audio information-pushing method, server and mobile terminal |
CN107590152A (en) * | 2016-07-07 | 2018-01-16 | 乐视控股(北京)有限公司 | A kind of method and device for the audio pattern for adjusting audio |
-
2018
- 2018-11-02 CN CN201811302800.3A patent/CN109491636A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104392712A (en) * | 2014-08-27 | 2015-03-04 | 贵阳朗玛信息技术股份有限公司 | Method and device for realizing karaoke function |
CN204669590U (en) * | 2015-04-29 | 2015-09-23 | 刘鑫 | A kind of microphone of real-time, tunable audio |
CN105224670A (en) * | 2015-10-13 | 2016-01-06 | 广东欧珀移动通信有限公司 | A kind of audio information-pushing method, server and mobile terminal |
CN107590152A (en) * | 2016-07-07 | 2018-01-16 | 乐视控股(北京)有限公司 | A kind of method and device for the audio pattern for adjusting audio |
Cited By (2)
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 |
CN113641329A (en) * | 2021-08-10 | 2021-11-12 | 广州艾美网络科技有限公司 | Sound effect configuration method and device, intelligent sound box, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108401124A (en) | The method and apparatus of video record | |
CN110267055A (en) | Recommend the methods, devices and systems of direct broadcasting room | |
CN109302538A (en) | Method for playing music, device, terminal and storage medium | |
CN108008930A (en) | The method and apparatus for determining K song score values | |
CN109151593A (en) | Main broadcaster's recommended method, device storage medium | |
CN109874312A (en) | The method and apparatus of playing audio-fequency data | |
CN109729297A (en) | The method and apparatus of special efficacy are added in video | |
CN108922506A (en) | Song audio generation method, device and computer readable storage medium | |
CN109300482A (en) | Audio recording method, apparatus, storage medium and terminal | |
CN108538302A (en) | The method and apparatus of Composite tone | |
CN110491358A (en) | Carry out method, apparatus, equipment, system and the storage medium of audio recording | |
CN108965757A (en) | video recording method, device, terminal and storage medium | |
CN109346111A (en) | Data processing method, device, terminal and storage medium | |
CN109327608A (en) | Method, terminal, server and the system that song is shared | |
CN109448761A (en) | The method and apparatus for playing song | |
CN109192218A (en) | The method and apparatus of audio processing | |
CN108965922A (en) | Video cover generation method, device and storage medium | |
CN109147757A (en) | Song synthetic method and device | |
CN110209871A (en) | Song comments on dissemination method and device | |
CN109922356A (en) | Video recommendation method, device and computer readable storage medium | |
CN108922562A (en) | Sing evaluation result display methods and device | |
CN109144346A (en) | song sharing method, device and storage medium | |
CN109327707A (en) | Shift the method, apparatus and storage medium of virtual resource | |
CN109361930A (en) | Method for processing business, device and computer readable storage medium | |
CN108831424A (en) | Audio splicing method, apparatus and storage medium |
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 |