CN108053831A - Music generation, broadcasting, recognition methods, device and storage medium - Google Patents
Music generation, broadcasting, recognition methods, device and storage medium Download PDFInfo
- Publication number
- CN108053831A CN108053831A CN201711270494.5A CN201711270494A CN108053831A CN 108053831 A CN108053831 A CN 108053831A CN 201711270494 A CN201711270494 A CN 201711270494A CN 108053831 A CN108053831 A CN 108053831A
- Authority
- CN
- China
- Prior art keywords
- music
- target music
- target
- identification information
- scope
- 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
- 238000000034 method Methods 0.000 title claims abstract description 83
- 238000001514 detection method Methods 0.000 claims description 23
- 235000013399 edible fruits Nutrition 0.000 claims description 2
- 230000010365 information processing Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 20
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000004927 fusion Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001052 transient effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 239000013078 crystal Substances 0.000 description 1
- 230000001351 cycling effect Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/003—Changing voice quality, e.g. pitch or formants
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10H—ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G10H1/00—Details of electrophonic musical instruments
- G10H1/36—Accompaniment arrangements
- G10H1/361—Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems
- G10H1/366—Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems with means for modifying or correcting the external signal, e.g. pitch correction, reverberation, changing a singer's voice
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Quality & Reliability (AREA)
- Computational Linguistics (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Auxiliary Devices For Music (AREA)
Abstract
The invention discloses a kind of music generating method, music recognition methods, device and storage mediums, belong to technical field of information processing.The music generating method includes:Target music is obtained, target music identification information is added in target music, which is used for unique mark target music, and the target music identification information is sound wave.The music recognition methods include:Target music to be identified is obtained, whether include target music identification information, when included, be identified based on the target music identification information pair target music if detecting in the target music.Since target music identification information can be used for the unique mark target music, therefore, when the target music to being with the addition of target music identification information is identified, it can the quickly and accurate unique identification target music according to the target music identification information, need not matching primitives be carried out by related algorithm again, improve recognition speed and identification accuracy.
Description
Technical field
The present invention relates to technical field of information processing, more particularly to a kind of music generation, broadcasting, recognition methods, device and
Computer readable storage medium.
Background technology
Currently, terminal generally has the function of to play music.Wherein, user not only can listen to music by terminal, also
Can the music that played by other-end be identified by the terminal.
In correlation technique, terminal can gather the music played by other-end by microphone, and using related algorithm
The music of acquisition is matched with the music in Qu Ku, so as to the most like music of the music for obtaining and gathering, and by this most
The music related information of similar music is as recognition result.
When carrying out music recognition by the above method, due to needing to pass through complicated algorithm by the music and Qu Ku of acquisition
In music matched, therefore, the time of music recognition is longer, and recognition speed is slower, also, exists in the music of acquisition
In the case of more noise, identification accuracy is relatively low.
The content of the invention
In order to solve the problems, such as that recognition speed is slow in the prior art and identification accuracy is relatively low, an embodiment of the present invention provides
A kind of music generating method, method for playing music, music recognition methods, device and computer readable storage medium.The technology
Scheme is as follows:
In a first aspect, a kind of music generating method is provided, the described method includes:
Obtain target music;
Target music identification information is added in the target music, the target music identification information is used for unique mark
The target music;
Optionally, the acoustic signals according to the target music identification information within the scope of predeterminated frequency generate
Coded audio data, the acoustic signals within the scope of predeterminated frequency are given birth to according to the music identification of the target music
Into, the predeterminated frequency scope for human ear can not uppick frequency range.
Optionally, the acoustic signals according to the target music identification information within the scope of predeterminated frequency are according to pre-
If the coded audio data of said shank.
Optionally, the music identification of the target music is corresponding for the number of the target music or the target music
Music cryptographic Hash.
Second aspect provides a kind of method for playing music, the described method includes:
When receiving the play instruction for playing target music, the target music is obtained;
The happy target music identification information of the target sound is mixed and is played;
Wherein, the target music identification information is used for target music described in unique mark, and the target music identification
Information is according to the acoustic signals in the range of predeterminated frequency of the music identification of target music generation, the default frequency
Rate scope for human ear can not uppick frequency range.
The third aspect provides a kind of music recognition methods, the described method includes:
Obtain current target music to be identified;
Whether in the target music include target music identification information, the target music identification information is for only if detecting
The one mark target music;
When the target music includes the target music identification information, based on the target music identification information,
The target music is identified.
Optionally, whether target music identification information is included in the detection target music, including:
Detect the acoustic signals whether included in the target music within the scope of predeterminated frequency, the predeterminated frequency
Scope for human ear can not uppick frequency range;
When the acoustic signals within the scope of predeterminated frequency is in described in the target music includes, the target is determined
Music includes the target music identification information.
Optionally, whether target music identification information is included in the detection target music, including:
Whether detect includes the audio coding number of the acoustic signals within the scope of predeterminated frequency in the target music
According to, the predeterminated frequency scope for human ear can not uppick frequency range;
When the target music includes the coded audio data of the acoustic signals within the scope of predeterminated frequency
When, whether the coded format for judging the coded audio data of the acoustic signals within the scope of predeterminated frequency is default lattice
Formula;
When the coded format of the coded audio data of the acoustic signals within the scope of predeterminated frequency is described pre-
If during form, determine that the target music includes the target music identification information.
Optionally, it is described to be based on the target music identification information, the target music is identified, including:
Acoustic signals described in including to the target music within the scope of predeterminated frequency are identified, and obtain
Target sound waves data;
It is corresponding with obtaining the target sound waves data in the correspondence of music related information from the sonic data of storage
Music related information, and the music related information of acquisition is determined as to the recognition result of the target music.
Fourth aspect, provides a kind of music generating device, and described device includes:
Acquisition module, for obtaining target music;
Add module, for adding target music identification information, the target music identification letter in the target music
Breath is for target music described in unique mark;
Optionally, the target music identification information is to be in default according to what the music identification of the target music generated
Sound wave within frequency range, the predeterminated frequency scope for human ear can not uppick frequency range.
Optionally, the target music identification information be according to the music identification of the target music according to preset format into
The sound wave within the scope of the predeterminated frequency that row coding obtains, the predeterminated frequency scope for human ear can not uppick frequency
Scope.
Optionally, the music identification of the target music is corresponding for the number of the target music or the target music
Music cryptographic Hash.
5th aspect, provides a kind of music player, described device includes:
Acquisition module, for when receiving the play instruction for playing target music, obtaining the target music;
Playing module plays for the happy target music identification information of the target sound to be mixed;
Wherein, the target music identification information is used for target music described in unique mark, and the target music identification
Information is according to the acoustic signals in the range of predeterminated frequency of the music identification of target music generation, the default frequency
Rate scope for human ear can not uppick frequency range.
6th aspect, provides a kind of music recognition device, described device includes:
Acquisition module, for obtaining current target music to be identified;
Detection module, for detecting in the target music whether include target music identification information, the target music
Identification information is used for target music described in unique mark;
Identification module, for when the target music includes the target music identification information, based on the target
The target music is identified in music identification information.
Optionally, the detection module includes:
First detection sub-module, for detecting the sound whether included in the target music within the scope of predeterminated frequency
Ripple signal, the predeterminated frequency scope for human ear can not uppick frequency range;
First determination sub-module includes the sound wave within the scope of predeterminated frequency for working as the target music
During signal, determine that the target music includes the target music identification information.
Optionally, the detection module includes:
Second detection sub-module, for detecting the sound whether included in the target music within the scope of predeterminated frequency
The coded audio data of ripple signal, the predeterminated frequency scope for human ear can not uppick frequency range;
Judging submodule includes the acoustic signals within the scope of predeterminated frequency for working as the target music
Coded audio data when, judge the coding lattice of the coded audio data of the acoustic signals within the scope of predeterminated frequency
Whether formula is preset format;
Second determination sub-module, for when the coded audio data of the acoustic signals within the scope of predeterminated frequency
Coded format be the preset format when, determine that the target music includes the target music identification information.
Optionally, the identification module includes:
Submodule is identified, for the sound wave letter described in including to the target music within the scope of predeterminated frequency
It number is identified, obtains target sound waves data;
3rd determination sub-module, described in being obtained from the correspondence of the sonic data of storage and music related information
The corresponding music related information of target sound waves data, and the music related information of acquisition is determined as to the identification of the target music
As a result.
7th aspect, provides and is stored with finger described in a kind of computer readable storage medium on computer readable storage medium
Order, realizes any one method described in above-mentioned first aspect, second aspect and the third aspect when described instruction is executed by processor
The step of.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:Target music is obtained, in target music
Target music identification information is added, alternatively, when receiving the play instruction for playing target music, target music is obtained, by mesh
The happy target music identification information mixing of mark with phonetic symbols plays.Afterwards, when target music is identified, due to target music identification
Information can be used for the unique mark target music, therefore, can quickly and accurately only according to the target music identification information
One identifies the target music, it is not necessary to carry out matching primitives by related algorithm again, improve recognition speed and identification accuracy.
Description of the drawings
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, the accompanying drawings in the following description is only some embodiments of the present invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is a kind of flow chart of music generating method 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 a kind of flow chart of music recognition methods provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of music generating device provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of music player provided in an embodiment of the present invention;
Fig. 6 A are a kind of structure diagrams of music recognition device provided in an embodiment of the present invention;
Fig. 6 B are a kind of structure diagrams of detection module provided in an embodiment of the present invention;
Fig. 6 C are a kind of structure diagrams of detection module provided in an embodiment of the present invention;
Fig. 6 D are a kind of structure diagrams of identification module provided in an embodiment of the present invention;
Fig. 7 is a kind of structure diagram of terminal 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.
Before detailed explanation is carried out to the embodiment of the present invention, first to the present embodiments relate to application scenarios
It is introduced.
Currently, usually it is mounted on playing the music application of music in terminal, by the music application, terminal can be with
Search, broadcasting and down-load music.In addition, the music got can also be identified in terminal.For example, ought currently have
When playing music, user may wish to obtain the music of currently playing music for other-end such as smart television, computer
Related information, at this point, user can be by the music recognition functions in the music application installed in terminal to currently playing
Music is identified, so as to obtain the music related information of currently playing music.Music provided in an embodiment of the present invention
Method and music recognition methods can be used under above application scene, so as to the currently playing music of terminal-pair carry out it is quick and
Accurately identification.
In embodiments of the present invention, the audio volume for representing target music identification information can be added directly in target music
Code data, to generate the target music added with target identification information, afterwards, can be played out, Ran Houyou by arbitrary terminal
The target music is identified in other-end.It is of course also possible to while target music, by the target music identification
Information and target music mix play, so that the target music is identified in other-end.
Next music generating method provided in an embodiment of the present invention namely above-mentioned first method are explained
It is bright.
Fig. 1 is a kind of flow chart of music generating method provided in an embodiment of the present invention, and this method can be applied to terminal
Or in server, the embodiment of the present invention is explained by terminal of executive agent.As shown in Figure 1, this method is including following
Step:
Step 101:Obtain target music.
In the embodiment of the present invention, when carrying out music generation, for more songs that Qu Ku includes, can obtain wherein
Any song as target music.
Wherein, terminal can obtain target music immediately when receiving music instruction, and according in step 102
Method generates music, alternatively, terminal can also obtain the target music on other opportunitys, the embodiment of the present invention is to obtaining target sound
Happy specific opportunity does not limit.
Step 102:Target music identification information is added in target music, the target music identification information is for uniquely mark
Know the target music.
In embodiments of the present invention, one can be set for the per song in bent storehouse dedicated for identifying this song
Music identification.Afterwards, the acoustic signals within the scope of predeterminated frequency that terminal can be generated according to the music identification.Consider
Digital music is generally to target music, therefore, the acoustic signals within the scope of predeterminated frequency of generation can be carried out
Coding, obtains coded audio data, which is the target music identification information of the target music.
It should be noted that played out since the music identification information will be added in music, shadow in order to prevent
The result of broadcast of resonant pleasure, the music identification information can be the audio codings of the acoustic signals within the scope of predeterminated frequency
Data, wherein, predeterminated frequency scope refer to human ear can not uppick frequency range.Wherein, human ear can uppick sound wave
Frequency range is 20Hz-20000Hz, which may range from the ultrasonic wave more than 20000Hz.That is, at this
In inventive embodiments, the music identification information of per song can be the human ear determined according to the music identification of per song
Coded audio data that can not be corresponding to the acoustic signals of uppick.
Wherein, the music identification of music can in Qu Ku be per song distribution for the one of the unique mark music
A number.Alternatively, the music identification of music can be calculated after analyzing information such as tone, the amplitudes of per song
The corresponding ident value of per song, for example, the music cryptographic Hash being calculated according to the tone of music.Wherein, Qu Kuke
To be the Qu Ku of terminal in itself, which includes all music stored in terminal.Alternatively, the song storehouse can be some music
Musical database in the application server of application.Again alternatively, the song storehouse can also be the musical database in other servers,
The embodiment of the present invention is not specifically limited this.
It should be noted that above-mentioned is only the example of several possible music identifications provided, do not form to music mark
The specific restriction known.In addition, in practical applications, it can be generated and corresponded to according to the music identification of per song in Qu Ku by terminal
Music identification information.It is of course also possible to the application server either other application server root for passing through some music application
Determine to obtain music identification information according to the music identification of music.
Optionally, in embodiments of the present invention, in order to which the terminal being identified can preferably be known from the music of broadcasting
Other music identification information, can after the acoustic signals within the scope of predeterminated frequency are generated according to the music identification of music
To be encoded according to preset format to the acoustic signals within the scope of being in predeterminated frequency, with obtained coded audio data,
Namely music identification information.Wherein, which can be a kind of coded format consulted in advance.
After terminal generates target music identification information, target music identification information can be added to the target by terminal
In music.
Optionally, in embodiments of the present invention, when music identification information can also be generated by server, terminal can connect
When receiving the selection operation for target music, music identification information request, the music identification information request are sent to server
In can carry the music identification of the target music, server, can basis after the music identification information request is received
The music identification of the target music generates corresponding target music identification information, and the target music identification information is sent to end
End, wherein, the instruction of target music identification information is added in the selection operation for triggering in target music.
Optionally, in embodiments of the present invention, target music identification letter can also be added in target music by server
Breath, that is to say, before terminal plays target music, can by server to all music of storage according to the sound of each music
Happy mark generation music identification information, then in correspondingly music is added to, in this way, playing target music when terminal receives
Play instruction when, since the target music has been with the addition of target music identification information by server, terminal can be straight
It connects and plays the target music, that is to say, music generating method provided in an embodiment of the present invention can be performed by server completely.
Optionally, it is in order to enable other-end can faster more accurately due to adding music identification information in music
It identifies the music, so as to get the recognition result of the music, therefore, every first sound can also be stored in terminal or server
Happy music identification and the correspondence of music related information, so that other-end is obtaining music mark according to music identification information
After knowledge, relevant music related information can be quickly obtained according to music identification.Wherein, which can be with
Including musical designation, music type, music author etc..
In embodiments of the present invention, when target music identification information is added to it in target music by the above method
Afterwards, the target music can be played out by any terminal.Since the target music identification information is according in people
Ear can not be within the frequency range of uppick acoustic signals generations, therefore, which is added to mesh
It is played out after in mark with phonetic symbols pleasure, the result of broadcast to the target music can't be influenced.And on this basis, due to the target
Music identification information can be with the unique mark target music, and therefore, the terminal for identifying the target music can be by the mesh
The mark with phonetic symbols happy identification information pair target music is carried out quick and accurately identified, not only ensure that the effect of target music, but also has been helped
In raising other-end to the recognition speed of the target music and identification accuracy.
Next, method for playing music provided in an embodiment of the present invention will be introduced.
Fig. 2 is a kind of flow chart of method for playing music provided in an embodiment of the present invention, and this method is applied in terminal, such as
Shown in Fig. 2, this method comprises the following steps:
Step 201:When receiving the play instruction for playing target music, target music is obtained.
In embodiments of the present invention, when user wants to play music, a head can be selected from current playlist
Music can be the music stored in terminal as target music, the target music, can also be the music stored in server.
When the target music is the music stored in server, terminal can receive the play instruction of target music
When, the music acquisition request for obtaining target music is sent to server, which obtains the sound that target music is carried in request
Happy mark, the music identification that server can obtain the target music that request carries according to the music obtain target music, and will
The target music of acquisition is sent to terminal.
Optionally, in embodiments of the present invention, terminal can also obtain target music while target music is obtained
Target music identification information, the target music identification information can be stored in terminal or be stored in server
In, when the target music identification information is stored in server, terminal can send to server and obtain the target music
The request of identification information is to obtain the target music identification information.
It should be noted that in embodiments of the present invention, which can be according to target music
The acoustic signals in the range of the predeterminated frequency of music identification generation, predeterminated frequency scope for human ear can not uppick frequency
Scope.
Wherein, the music identification related introduction on target music may be referred to the phase in previous embodiment in step 102
Step is closed, the embodiment of the present invention repeats no more herein.
Step 202:Target music is mixed into broadcasting with target music identification information, target music identification information is for unique
Identify target music.
After target music is got, target music can be mixed broadcasting by terminal with target music identification information.Its
In, target music identification information be human ear can not uppick acoustic signals, the target music of broadcasting is also a kind of acoustic signals, will
It is played after the two mixing, since human ear can not receive target music identification information, have no effect on the broadcasting of target music
Effect, and for identifying the terminal of the target music, then the target music identification information of broadcasting can be analyzed, with
Identify the target music.
It should be noted that in the embodiment of the present invention, mesh can be less than by playing the duration of a target music identification information
The whole duration of mark with phonetic symbols pleasure, can be in the whole playing duration of target music when playing, repetitive cycling superposition target music
Identification information is into the whole duration of target music, in this way, the terminal for identifying the target music, in the target music
During, no matter the target music is identified at which at moment, the target music identification information can be obtained, with reality
Now to the identification of the target music.
In embodiments of the present invention, when target music identification information and target music mix are played it by the above method
Afterwards, due to the target music identification information be according to the music identification of target music generate in human ear can not uppick frequency
Therefore acoustic signals within the scope of rate, can't influence the result of broadcast to the target music.And on this basis, due to
The target music identification information can be with the unique mark target music, and therefore, the terminal for identifying the target music can lead to
It crosses the target music identification information pair target music progress quickly accurately to identify, both ensure that the effect of target music,
Other-end is helped to improve again to the recognition speed of the target music and identification accuracy.
The specific implementation that target music identification information is added in target music is mainly described by above-described embodiment
Journey.After music is generated by the above method, when the music is played, terminal then can be by carrying in the embodiment of the present invention
The music is identified in the music recognition methods of confession.Next music recognition side will be provided to the embodiment of the present invention with reference to Fig. 2
Method is introduced.
Fig. 3 is a kind of flow chart of music recognition methods provided in an embodiment of the present invention, and this method is applied in terminal, such as
Shown in Fig. 3, this method comprises the following steps:
Step 301:Obtain current target music to be identified.
When user hears the music that other-end is currently played, may want to obtain the sound being currently played
Happy music related information.Wherein, which can be the letters such as musical designation, music type or music author
Breath.In this case, user can open the music recognition functions of terminal, alternatively, user can open what is installed in terminal
Music recognition functions in music application, and trigger music recognition instruction.When terminal receives music recognition instruction, you can
To be currently played and target music to be identified by the microphone installed in terminal acquisition.
In the case of a kind of possibility, some sound for not showing any music related information may be stored in terminal
It is happy, and user wants to obtain the music related information of the music at this time, in this case, user can also pass through music recognition
Function identifies the music, that is to say, terminal can be when receiving music recognition instruction, and obtain user's selection is stored in end
Current target music to be identified in end.
Step 302:Whether in target music include target music identification information, target music identification information is for only if detecting
One mark target music.
After terminal gets target music to be identified, terminal can detect in the target music whether include target
Music identification information, if the target music includes target music identification information, then, terminal then can be by step 303
The target music to be identified.
Wherein, understand that the terminal for playing music exists based on the method for playing music provided in embodiment shown in Fig. 2
Target music identification information can be superimposed in target music when playing target music, wherein, which can
Think the acoustic signals within the scope of predeterminated frequency.Based on this, in embodiments of the present invention, when terminal detects target music
In when whether including target identification information, whether terminal can be detected in target music includes within the scope of predeterminated frequency
Acoustic signals, predeterminated frequency scope for human ear can not uppick frequency range;When target music is included in default frequency
During acoustic signals within the scope of rate, determine that target music includes target music identification information.
In this kind of mode, terminal can detect the sound wave whether included in target music within the scope of predeterminated frequency
Signal, the predeterminated frequency scope for human ear can not uppick frequency range, and the predeterminated frequency scope be with for playing sound
The frequency range that happy terminal consults in advance.That is, can be for playing the terminal of music and for identifying music
Terminal in advance specify dedicated for music identification information frequency range, in this way, when terminal detects that target music includes
During acoustic signals in the range of the predeterminated frequency, then it can determine that the target music includes target music identification information.
Optionally, understood based on the music generating method provided in embodiment shown in FIG. 1, terminal or server can be
Target music identification information is added in target music, the target music identification information is according within the scope of predeterminated frequency
The coded audio data of acoustic signals generation, the acoustic signals within the scope of the predeterminated frequency are then the music according to target music
Mark generation.Based on this, terminal can be detected when whether including target identification information in detecting target music in target music
Whether the coded audio data of acoustic signals in predeterminated frequency within the scope of is included, and predeterminated frequency scope can not be received for human ear
The frequency range heard;When target music includes the coded audio data of the acoustic signals within the scope of predeterminated frequency
When, it determines to include target music identification information in the target music.
Wherein, since the target music stored in terminal or server is digital music, that is to say, that as shown in Figure 1
Embodiment provide music generating method, for generate the terminal of the target music or server generate the target music
When, it is to be with the addition of to be similarly the target music identification letter that coded audio data arrives in the coded audio data of the target music
Breath.It, can be to the coded audio data for the target music for obtaining and caching when terminal is after target music is got based on this
It is analyzed, to judge wherein whether include the coded audio data of the acoustic signals within the scope of predeterminated frequency, if
Comprising, it is determined that include target music identification information in the target music.
Optionally, in embodiments of the present invention, in order to further improve the detection accuracy of music identification information, exclude
Fall to be not belonging to the sound wave of music identification information in the range of predeterminated frequency, can be for playing the terminal of music and for identifying sound
Happy terminal provides a kind of coded format of music identification information, that is to say, the terminal for playing music can be according to preset format
Coding obtains music identification information, in this way, sound wave letter of the terminal within the scope of determining that the target music includes predeterminated frequency
Number coded audio data after, can further judge the audio codings of the acoustic signals within the scope of the predeterminated frequency
Whether data are preset format, if it is, can determine that the target music includes target music identification information.
Step 303:When target music includes target music identification information, based on target music identification information, to mesh
Mark with phonetic symbols pleasure is identified.
After determining that target music includes target music identification information by abovementioned steps, terminal can be based on the mesh
The target music is identified in the happy identification information of mark with phonetic symbols.
Wherein, from foregoing description, target music identification information can be generated according to the music identification of target music
The acoustic signals within the scope of the predeterminated frequency.Based on this, terminal can be to being in predeterminated frequency scope in target music
Within sound wave be identified, so as to obtain target sound waves data, afterwards, terminal can be closed from the sonic data of storage and music
Join and the corresponding music related information of target sound waves data is obtained in the correspondence of information, and the music related information of acquisition is true
It is set to the recognition result of target music.
It should be noted that by being identified to being in the sound wave within the scope of predeterminated frequency in target music, it can be with
Target sound waves data are obtained, which is the music identification of the target music.That is, for playing the mesh
The terminal of mark with phonetic symbols pleasure carries the music identification of target music in the target sound by the acoustic signals within the scope of predeterminated frequency
In pleasure, in this way, working as terminal in the target music is identified, by the way that the acoustic signals within the scope of the predeterminated frequency are identified
Analysis, you can therefrom to obtain the music identification of the target music namely target sound waves data.
Optionally, from foregoing description, which can also be within the scope of predeterminated frequency
Acoustic signals coded audio data, in this case, which can be decoded by terminal, to obtain
The corresponding acoustic signals within the scope of predeterminated frequency of the coded audio data, afterwards, terminal can pass through above-mentioned introduction
Method the acoustic signals being within the scope of predeterminated frequency are analyzed, to obtain target sound waves data.
After target sound waves data are obtained, since the target sound waves data are actually that can be used for unique mark to be somebody's turn to do
The music identification of target music, therefore, terminal can be associated according to the target sound waves data from the sonic data of storage with music
Obtain the corresponding music related information of the target sound waves data in the correspondence of information, the music related information of the acquisition is also
It is the music related information of target music.
Wherein, since target sound waves data are actually that can be used for the music identification of the unique mark target music,
Therefore, sonic data is actually that music identification and the corresponding of music related information are closed with the correspondence of music related information
System.
It should be noted that since music identification can be the music identification of terminal distribution, it is also possible to by server point
The music identification matched somebody with somebody, therefore, the music identification and music related information can store in the terminal, can also be stored in server
In.When the music identification and the storage of music related information in the server when, terminal, can be with after target sound waves data are obtained
By the target sound waves data sending to server, the corresponding music of target sound waves data is obtained from correspondence by server
Related information, and the music related information of acquisition is sent to terminal.Terminal, can be with after the music related information is received
The music related information is determined as to the music related information of target music.
In embodiments of the present invention, after terminal gets target music to be identified, the target music can be detected
In whether include target music identification information, when including target music identification information, can be based on the target music identification believe
Breath, to the target music recognition, that is to say, terminal can directly according to the target music identification information carried in target music come
The target music is identified, without carrying out music matching again, also avoid the music of terminal acquisition noise it is more when
Due to music matching accuracy it is relatively low caused by identification accuracy it is low the problem of, effectively accelerate music recognition speed, carry
High music recognition accuracy.
It should be noted that for same terminal, the music generating method, the method for playing music that are provided in above-described embodiment
Can be applicable in, that is to say with music recognition methods, for same terminal, can both have use above-mentioned music generating method with
It generates music or the function of music is played using above-mentioned method for playing music, it is possible to have use above-mentioned music recognition
Method carries out the function of music recognition.But when using music recognition methods, the music of identification can be broadcast by other-end
The music generated by above-mentioned music generating method put, alternatively, the music of identification can pass through above-mentioned sound by other-end
The music that happy playback method plays.And if present terminal play generated by above-mentioned music generating method music when or
Person, present terminal play music by above-mentioned method for playing music, then can pass through above-mentioned music recognition by other-end
Method is identified.
Next it is introduced by music generating device provided in an embodiment of the present invention.
Referring to Fig. 4, an embodiment of the present invention provides a kind of music generating device 400, which includes:
Acquisition module 401, for obtaining target music;
Add module 402 adds target music identification information in target music, and target music identification information is for unique
Identify target music.
Optionally, the audio of the acoustic signals generation according to target music identification information within the scope of predeterminated frequency
Coded data, the acoustic signals within the scope of predeterminated frequency are generated according to the music identification of target music, predeterminated frequency
Scope for human ear can not uppick frequency range.
Optionally, the acoustic signals according to target music identification information within the scope of predeterminated frequency are according to default lattice
The coded audio data of formula coding.
Optionally, the music identification of target music is the number of target music or the corresponding music cryptographic Hash of target music.
In conclusion the embodiment of the present invention can add target music identification information in target music.Due to the target
Music identification information be according to can not be within the frequency range of uppick in human ear acoustic signals generation, therefore, by the mesh
The happy identification information of mark with phonetic symbols plays out after being added in target music, can't influence the result of broadcast to the target music.
And on this basis, due to the target music identification information can with the unique mark target music, for identifying the target
The terminal of application then quickly can accurately be identified by target music identification information pair target music progress, both be ensured
The effect of target music, and other-end is helped to improve to the recognition speed of the target music and identification accuracy.
It should be noted that:The music generating device that above-described embodiment provides is when generating music, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of equipment is divided into different function modules, to complete all or part of work(described above
Energy.In addition, the music generating device that above-described embodiment provides belongs to same design with music generating method embodiment, it is specific real
Existing process refers to embodiment of the method, and which is not described herein again.
Referring to Fig. 5, an embodiment of the present invention provides a kind of music player 500, which includes:
Acquisition module 501, for when receiving the play instruction for playing target music, obtaining target music;
Playing module 502 plays for the happy target music identification information of target sound to be mixed;
Wherein, target music identification information is used for unique mark target music, and target music identification information is according to mesh
The acoustic signals in the range of predeterminated frequency of the music identification generation of mark with phonetic symbols pleasure, predeterminated frequency scope can not be listened to for human ear
The frequency range arrived.
In embodiments of the present invention, after target music identification information and target music mix being played, due to the target
Music identification information be according to the music identification of target music generate can not be within the frequency range of uppick in human ear
Therefore acoustic signals, can't influence the result of broadcast to the target music.And on this basis, due to the target music mark
Knowing information can be with the unique mark target music, and therefore, the terminal for identifying the target music can be by the target music
The identification information pair target music is carried out quick and accurately identified, not only ensure that the effect of target music, but also has been helped to improve
Other-end is to the recognition speed of the target music and identification accuracy.
Next it is introduced by music recognition device provided in an embodiment of the present invention.
Referring to Fig. 6 A, an embodiment of the present invention provides a kind of music recognition device 600, which includes:
Acquisition module 601, for obtaining current target music to be identified;
Detection module 602, for detecting whether include target music identification information in target music, target music identification letter
Breath is for unique mark target music;
Identification module 603, for when target music includes target music identification information, being believed based on target music identification
Breath, is identified target music.
Optionally, referring to Fig. 6 B, detection module 602 includes:
First detection sub-module 6021, for detecting the sound whether included in target music within the scope of predeterminated frequency
Ripple, predeterminated frequency scope for human ear can not uppick frequency range;
First determination sub-module 6022, during for including the sound wave within the scope of the predeterminated frequency when target music,
Determine that target music includes target music identification information.
Optionally, referring to Fig. 6 C, detection module 602 includes:
Second detection sub-module 6023, for detecting the sound whether included in target music within the scope of predeterminated frequency
Ripple, predeterminated frequency scope for human ear can not uppick frequency range;
Judging submodule 6024 during for including the sound wave within the scope of the predeterminated frequency when target music, judges
Whether the coded format of the sound wave within the scope of predeterminated frequency is preset format;
Second determination sub-module 6025, for being default lattice when the coded format of the sound wave within the scope of predeterminated frequency
During formula, determine that target music includes target music identification information.
Optionally, referring to Fig. 6 D, identification module 603 includes:
Submodule 6031 is identified, for knowing to the sound wave within the scope of predeterminated frequency that target music includes
Not, target sound waves data are obtained;
3rd determination sub-module 6032, for being obtained from correspondence of the sonic data of storage with music related information
The corresponding music related information of target sound waves data, and the music related information of acquisition is determined as to the identification knot of target music
Fruit.
In embodiments of the present invention, after target music to be identified is got, can detect in the target music is
It is no that when including target music identification information, the target music identification information can be based on including target music identification information, it is right
The target music recognition, that is to say, can be directly according to the target music identification information carried in target music come to the target
Music is identified, without carrying out music matching again, also avoid the music of terminal acquisition noise it is more when due to music
The problem of relatively low caused identification accuracy of accuracy is low is matched, music recognition speed is effectively accelerated, improves music
Identify accuracy.
It should be noted that:The music recognition device that above-described embodiment provides is when identifying music, only with above-mentioned each function
The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application
Block is completed, i.e., the internal structure of equipment is divided into different function modules, to complete all or part of work(described above
Energy.In addition, the music recognition device that above-described embodiment provides belongs to same design with music recognition methods embodiment, it is specific real
Existing process refers to embodiment of the method, and which is not described herein again.
Fig. 7 shows the structure diagram for the terminal 700 that an illustrative embodiment of the invention provides.In above-described embodiment
The function of terminal can be realized by the terminal shown in Fig. 5.The terminal 700 can be:Smart mobile 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 sound
Frequency level 4) player, laptop or desktop computer.Terminal 700 is also possible to be referred to as user equipment, portable terminal, knee
Other titles such as mo(u)ld top half terminal, terminal console.
In general, terminal 700 includes:Processor 701 and memory 702.
Processor 701 can include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field- may be employed in reason device 701
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 701 can also include primary processor and coprocessor, main
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 701 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for rendering and drawing for content to be shown needed for display screen.In some embodiments, processor 701 can also wrap
AI (Artificial Intelligence, artificial intelligence) processor is included, which is used to handle related machine learning
Calculating operation.
Memory 702 can include one or more computer readable storage mediums, which can
To be non-transient.Memory 702 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 702 can
Storage medium is read for storing at least one instruction, at least one instruction is for performed to realize this Shen by processor 701
Please in embodiment of the method provide method for playing music or music recognition methods.
In some embodiments, terminal 700 is also optional includes:Peripheral device interface 703 and at least one peripheral equipment.
It can be connected between processor 701, memory 702 and peripheral device interface 703 by bus or signal wire.Each peripheral equipment
It can be connected by bus, signal wire or circuit board with peripheral device interface 703.Specifically, peripheral equipment includes:Radio circuit
704th, at least one of touch display screen 705, camera 706, voicefrequency circuit 707, positioning component 708 and power supply 709.
Peripheral device interface 703 can be used for I/O (Input/Output, input/output) is relevant at least one outer
Peripheral equipment is connected to processor 701 and memory 702.In some embodiments, processor 701, memory 702 and peripheral equipment
Interface 703 is integrated on same chip or circuit board;In some other embodiments, processor 701, memory 702 and outer
Any one or two in peripheral equipment interface 703 can realize on individual chip or circuit board, the present embodiment to this not
It is limited.
Radio circuit 704 is also referred to as electromagnetic signal for receiving and emitting RF (Radio Frequency, radio frequency) signal.It penetrates
Frequency circuit 704 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 704 turns electric signal
It is changed to electromagnetic signal to be sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit 704 wraps
It includes:Antenna system, RF transceivers, one or more amplifiers, tuner, oscillator, digital signal processor, codec chip
Group, user identity module card etc..Radio circuit 704 can be carried out by least one wireless communication protocol with other terminals
Communication.The wireless communication protocol includes but not limited to:WWW, Metropolitan Area Network (MAN), Intranet, each third generation mobile communication network (2G, 3G,
4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.In some embodiments, penetrate
Frequency circuit 704 can also include the related circuits of NFC (Near Field Communication, wireless near field communication), this
Application is not limited this.
Display screen 705 is used to show UI (User Interface, user interface).The UI can include figure, text, figure
Mark, video and its their any combination.When display screen 705 is touch display screen, display screen 705 also there is acquisition to show
The surface of screen 705 or the ability of the touch signal of surface.The touch signal can be inputted as control signal to processor
701 are handled.At this point, display screen 705 can be also used for providing virtual push button and/or dummy keyboard, also referred to as soft button and/or
Soft keyboard.In some embodiments, display screen 705 can be one, set the front panel of terminal 700;In other embodiments
In, display screen 705 can be at least two, be separately positioned on the different surfaces of terminal 700 or in foldover design;In still other reality
It applies in example, display screen 705 can be flexible display screen, be arranged on the curved surface of terminal 700 or on fold plane.Even, show
Display screen 705 can also be arranged to non-rectangle irregular figure namely abnormity screen.LCD (Liquid may be employed in display screen 705
Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode)
Etc. materials prepare.
CCD camera assembly 706 is used to gather image or video.Optionally, CCD camera assembly 706 include front camera and
Rear camera.In general, front camera is arranged on the front panel of terminal, rear camera is arranged on the back side of terminal.One
In a little embodiments, rear camera at least two is main camera, depth of field camera, wide-angle camera, focal length camera shooting respectively
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-angle
Camera fusion realizes that pan-shot and VR (Virtual Reality, virtual reality) shooting functions or other fusions are clapped
Camera shooting function.In some embodiments, CCD camera assembly 706 can also include flash lamp.Flash lamp can be monochromatic warm flash lamp,
It can also be 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 not
With the light compensation under colour temperature.
Voicefrequency circuit 707 can include microphone and loud speaker.Microphone is used to gather the sound wave of user and environment, and will
Sound wave, which is converted to electric signal and inputs to processor 701, to be handled or is inputted to radio circuit 704 to realize voice communication.
For stereo acquisition or the purpose of noise reduction, microphone can be multiple, be separately positioned on the different parts of terminal 700.Mike
Wind can also be array microphone or omnidirectional's acquisition type microphone.Loud speaker is then used to that processor 701 or radio circuit will to be come from
704 electric signal is converted to sound wave.Loud speaker can be traditional wafer speaker or piezoelectric ceramic loudspeaker.When
When loud speaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to, it can also be by telecommunications
The sound wave that the mankind do not hear number is converted to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit 707 can also include
Earphone jack.
Positioning component 708 is used for the current geographic position of positioning terminal 700, to realize navigation or LBS (Location
Based Service, location based service).Positioning component 708 can be the GPS (Global based on the U.S.
Positioning System, global positioning system), China dipper system or Russia Galileo system positioning group
Part.
Power supply 709 is used to be powered for the various components in terminal 700.Power supply 709 can be alternating current, direct current,
Disposable battery or rechargeable battery.When power supply 709 includes rechargeable battery, which can be wired charging electricity
Pond or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, and wireless charging battery is by wireless
The battery of coil charges.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, terminal 700 further include there are one or multiple sensors 710.The one or more sensors
710 include but not limited to:Acceleration transducer 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714,
Optical sensor 715 and proximity sensor 716.
The acceleration that acceleration transducer 711 can be detected in three reference axis of the coordinate system established with terminal 700 is big
It is small.For example, acceleration transducer 711 can be used for detecting component of the acceleration of gravity in three reference axis.Processor 701 can
With the acceleration of gravity signal gathered according to acceleration transducer 711, control touch display screen 705 is regarded with transverse views or longitudinal direction
Figure carries out the display of user interface.Acceleration transducer 711 can be also used for game or the acquisition of the exercise data of user.
Gyro sensor 712 can be with the body direction of detection terminal 700 and rotational angle, and gyro sensor 712 can
Acquisition user to be cooperateed with to act the 3D of terminal 700 with acceleration transducer 711.Processor 701 is according to gyro sensor 712
The data of acquisition can implement function such as:When action induction (for example changing UI according to the tilt operation of user), shooting
Image stabilization, game control and inertial navigation.
Pressure sensor 713 can be arranged on the side frame of terminal 700 and/or the lower floor of touch display screen 705.Work as pressure
When sensor 713 is arranged on the side frame of terminal 700, gripping signal of the user to terminal 700 can be detected, by processor 701
The gripping signal gathered according to pressure sensor 713 carries out right-hand man's identification or prompt operation.When pressure sensor 713 is arranged on
During the lower floor of touch display screen 705, the pressure operation of touch display screen 705 is realized to UI circle according to user by processor 701
Operability control on face is controlled.Operability control includes button control, scroll bar control, icon control, menu
At least one of control.
Fingerprint sensor 714 is used to gather the fingerprint of user, is collected by processor 701 according to fingerprint sensor 714
The identity of fingerprint recognition user, alternatively, by fingerprint sensor 714 according to the identity of the fingerprint recognition user collected.It is identifying
When the identity for going out user is trusted identity, by processor 701 the user is authorized to perform relevant sensitive operation, the sensitive operation bag
Solution lock screen is included, encryption information is checked, downloads software, payment and change setting etc..Terminal can be set in fingerprint sensor 714
700 front, the back side or side.When being provided with physical button or manufacturer Logo in terminal 700, fingerprint sensor 714 can be with
It is integrated with physical button or manufacturer Logo.
Optical sensor 715 is used to gather ambient light intensity.In one embodiment, processor 701 can be according to optics
The ambient light intensity that sensor 715 gathers controls the display brightness of touch display screen 705.Specifically, when ambient light intensity is higher
When, heighten the display brightness of touch display screen 705;When ambient light intensity is relatively low, the display for turning down touch display screen 705 is bright
Degree.In another embodiment, the ambient light intensity that processor 701 can also be gathered according to optical sensor 715, dynamic adjust
The acquisition parameters of CCD camera assembly 706.
Proximity sensor 716, also referred to as range sensor are generally arranged at the front panel of terminal 700.Proximity sensor 716
For gathering the distance between front of user and terminal 700.In one embodiment, when proximity sensor 716 detects use
When the distance between family and the front of terminal 700 taper into, touch display screen 705 is controlled from bright screen state by processor 701
It is switched to breath screen state;When proximity sensor 716 detects that the distance between front of user and terminal 700 becomes larger,
By processor 701 touch display screen 705 is controlled to be switched to bright screen state from breath screen state.
It that is to say, the embodiment of the present invention provides not only a kind of terminal, can be held including processor and for storing processor
The memory of row instruction, wherein, processor is configured as performing the method in Fig. 1 and embodiment shown in Fig. 2, moreover, this hair
Bright embodiment additionally provides a kind of computer readable storage medium, which contains computer program, the computer
Program can realize the method in Fig. 1, Fig. 2 or shown in Fig. 3 embodiment when being executed by processor.
It will be understood by those skilled in the art that the restriction of the structure shown in Fig. 7 not structure paired terminal 700, can wrap
It includes and either combines some components or using different component arrangements than illustrating more or fewer components.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
It completes, relevant hardware can also be instructed to complete by program, the program can be stored 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 the present invention spirit and
Within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention.
Claims (19)
1. a kind of music generating method, which is characterized in that the described method includes:
Obtain target music;
Target music identification information is added in the target music, the target music identification information is for described in unique mark
Target music.
2. according to the method described in claim 1, it is characterized in that, in default frequency according to the target music identification information
The coded audio data of acoustic signals generation within the scope of rate, the acoustic signals within the scope of predeterminated frequency are roots
According to the target music music identification generate, the predeterminated frequency scope for human ear can not uppick frequency range.
3. according to the method described in claim 2, it is characterized in that, in default frequency according to the target music identification information
The coded audio data that acoustic signals within the scope of rate are encoded according to preset format.
4. method as claimed in claim 2 or claim 3, which is characterized in that the music identification of the target music is the target sound
Happy number or the corresponding music cryptographic Hash of the target music.
5. a kind of method for playing music, which is characterized in that the described method includes:
When receiving the play instruction for playing target music, the target music is obtained;
The happy target music identification information of the target sound is mixed and is played;
Wherein, the target music identification information is used for target music described in unique mark, and the target music identification information
It is according to the acoustic signals in the range of predeterminated frequency of the music identification of target music generation, the predeterminated frequency model
Enclose for human ear can not uppick frequency range.
6. a kind of music recognition methods, which is characterized in that the described method includes:
Obtain current target music to be identified;
Whether in the target music include target music identification information, the target music identification information is for uniquely mark if detecting
Know the target music;
When the target music includes the target music identification information, based on the target music identification information, to institute
Target music is stated to be identified.
7. according to the method described in claim 6, it is characterized in that, whether include target sound in the detection target music
Happy identification information, including:
Detect the acoustic signals whether included in the target music within the scope of predeterminated frequency, the predeterminated frequency scope
For human ear can not uppick frequency range;
When the acoustic signals within the scope of predeterminated frequency is in described in the target music includes, the target music is determined
Include the target music identification information.
8. according to the method described in claim 6, it is characterized in that, whether include target sound in the detection target music
Happy identification information, including:
Whether detect includes the coded audio data of the acoustic signals within the scope of predeterminated frequency, institute in the target music
State predeterminated frequency scope for human ear can not uppick frequency range;
When the target music includes the coded audio data of the acoustic signals within the scope of predeterminated frequency, sentence
Whether the coded format of the coded audio data of the disconnected acoustic signals within the scope of predeterminated frequency is preset format;
When the coded format of the coded audio data of the acoustic signals within the scope of predeterminated frequency is the default lattice
During formula, determine that the target music includes the target music identification information.
9. the method according to claim 7 or 8, which is characterized in that it is described based on the target music identification information, to institute
Target music is stated to be identified, including:
Acoustic signals described in including to the target music within the scope of predeterminated frequency are identified, and obtain target
Sonic data;
From the sonic data of storage music corresponding with obtaining the target sound waves data in the correspondence of music related information
Related information, and the music related information of acquisition is determined as to the recognition result of the target music.
10. a kind of music generating device, which is characterized in that described device includes:
Acquisition module, for obtaining target music;
Add module, for adding target music identification information in the target music, the target music identification information is used
In target music described in unique mark.
11. device according to claim 10, which is characterized in that in default according to the target music identification information
The coded audio data of acoustic signals generation within frequency range, the acoustic signals within the scope of predeterminated frequency are
According to the music identification of the target music generate, the predeterminated frequency scope for human ear can not uppick frequency range.
12. according to the devices described in claim 11, which is characterized in that in default according to the target music identification information
The coded audio data that acoustic signals within frequency range are encoded according to preset format.
13. the device according to claim 11 or 12, which is characterized in that the music identification of the target music is the mesh
The number or the corresponding music cryptographic Hash of the target music of mark with phonetic symbols pleasure.
14. a kind of music player, which is characterized in that described device includes:
Acquisition module, for when receiving the play instruction for playing target music, obtaining the target music;
Playing module plays for the happy target music identification information of the target sound to be mixed;
Wherein, the target music identification information is used for target music described in unique mark, and the target music identification information
It is according to the acoustic signals in the range of predeterminated frequency of the music identification of target music generation, the predeterminated frequency model
Enclose for human ear can not uppick frequency range.
15. a kind of music recognition device, which is characterized in that described device includes:
Acquisition module, for obtaining current target music to be identified;
Detection module, for detecting in the target music whether include target music identification information, the target music identification
Information is used for target music described in unique mark;
Identification module, for when the target music includes the target music identification information, based on the target music
The target music is identified in identification information.
16. device according to claim 15, which is characterized in that the detection module includes:
First detection sub-module, for detecting the sound wave letter whether included in the target music within the scope of predeterminated frequency
Number, the predeterminated frequency scope for human ear can not uppick frequency range;
First determination sub-module includes the acoustic signals within the scope of predeterminated frequency for working as the target music
When, determine that the target music includes the target music identification information.
17. device according to claim 15, which is characterized in that the detection module includes:
Second detection sub-module, for detecting the sound wave letter whether included in the target music within the scope of predeterminated frequency
Number coded audio data, the predeterminated frequency scope for human ear can not uppick frequency range;
Judging submodule, for working as the sound that the target music includes the acoustic signals within the scope of predeterminated frequency
During frequency coded data, judging the coded format of the coded audio data of the acoustic signals within the scope of predeterminated frequency is
No is preset format;
Second determination sub-module, for when the volume of the coded audio data of the acoustic signals within the scope of predeterminated frequency
When code form is the preset format, determine that the target music includes the target music identification information.
18. the device according to claim 16 or 17, which is characterized in that the identification module includes:
Identify submodule, for the acoustic signals described in including to the target music within the scope of predeterminated frequency into
Row identification, obtains target sound waves data;
3rd determination sub-module, for obtaining the target from the correspondence of the sonic data of storage and music related information
The corresponding music related information of sonic data, and the music related information of acquisition is determined as to the identification knot of the target music
Fruit.
19. instruction is stored with described in a kind of computer readable storage medium on computer readable storage medium, which is characterized in that institute
State the step of realizing any one method described in claim 1-9 when instruction is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711270494.5A CN108053831A (en) | 2017-12-05 | 2017-12-05 | Music generation, broadcasting, recognition methods, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711270494.5A CN108053831A (en) | 2017-12-05 | 2017-12-05 | Music generation, broadcasting, recognition methods, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108053831A true CN108053831A (en) | 2018-05-18 |
Family
ID=62122228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711270494.5A Pending CN108053831A (en) | 2017-12-05 | 2017-12-05 | Music generation, broadcasting, recognition methods, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108053831A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763908A (en) * | 2018-06-01 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Behavior vector generation method, device, terminal and storage medium |
CN111524493A (en) * | 2020-05-27 | 2020-08-11 | 珠海格力智能装备有限公司 | Method and device for debugging music score |
Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1383669A (en) * | 2000-06-28 | 2002-12-04 | 索尼公司 | Additional information embedding device and additional information embedding method |
CN1636240A (en) * | 2002-02-21 | 2005-07-06 | 国际商业机器公司 | System for selling a product utilizing audio content identification |
CN1987998A (en) * | 2005-12-21 | 2007-06-27 | 刘适程 | Inverse frequency spectrum sound water mark embedding and extracting method for protecting sound copy right |
CN101133442A (en) * | 2005-01-21 | 2008-02-27 | 无线媒体股份有限公司 | Method of generating a footprint for a useful signal |
CN101206861A (en) * | 2007-12-25 | 2008-06-25 | 宁波大学 | Method for imbedding digital music production authentication information and method for authentication of said production |
CN101950561A (en) * | 2003-06-13 | 2011-01-19 | 尼尔森(美国)有限公司 | Watermark embedding method and device |
CN102214193A (en) * | 2010-04-06 | 2011-10-12 | 索尼公司 | Information processing device, client device and server device |
CN102857833A (en) * | 2012-10-15 | 2013-01-02 | 深圳市佳创软件有限公司 | Audio decoding system and method adapted to android stagefright multimedia framework |
CN103218454A (en) * | 2013-05-06 | 2013-07-24 | 百度在线网络技术(北京)有限公司 | Voice-data-based file searching method, voice-data-based file device and voice-data-based file system |
CN103400592A (en) * | 2013-07-30 | 2013-11-20 | 北京小米科技有限责任公司 | Recording method, playing method, device, terminal and system |
CN104426915A (en) * | 2013-08-19 | 2015-03-18 | 中国电信股份有限公司 | Method, server and system for realizing online music subsection downloading |
CN104424946A (en) * | 2013-08-26 | 2015-03-18 | 中国电信股份有限公司 | Audio identification method and apparatus |
CN104866604A (en) * | 2015-06-01 | 2015-08-26 | 腾讯科技(北京)有限公司 | Information processing method and server |
CN105117102A (en) * | 2015-08-21 | 2015-12-02 | 小米科技有限责任公司 | Audio interface display method and device |
CN105472149A (en) * | 2015-11-24 | 2016-04-06 | 小米科技有限责任公司 | Ringtone setting method and apparatus thereof |
CN106210919A (en) * | 2016-07-20 | 2016-12-07 | 广州酷狗计算机科技有限公司 | A kind of main broadcaster of broadcasting sings the methods, devices and systems of video |
CN106713636A (en) * | 2016-12-23 | 2017-05-24 | 北京奇虎科技有限公司 | Picture data loading method, device and mobile terminal |
-
2017
- 2017-12-05 CN CN201711270494.5A patent/CN108053831A/en active Pending
Patent Citations (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1383669A (en) * | 2000-06-28 | 2002-12-04 | 索尼公司 | Additional information embedding device and additional information embedding method |
CN1636240A (en) * | 2002-02-21 | 2005-07-06 | 国际商业机器公司 | System for selling a product utilizing audio content identification |
CN101950561A (en) * | 2003-06-13 | 2011-01-19 | 尼尔森(美国)有限公司 | Watermark embedding method and device |
CN101133442A (en) * | 2005-01-21 | 2008-02-27 | 无线媒体股份有限公司 | Method of generating a footprint for a useful signal |
CN1987998A (en) * | 2005-12-21 | 2007-06-27 | 刘适程 | Inverse frequency spectrum sound water mark embedding and extracting method for protecting sound copy right |
CN101206861A (en) * | 2007-12-25 | 2008-06-25 | 宁波大学 | Method for imbedding digital music production authentication information and method for authentication of said production |
CN102214193A (en) * | 2010-04-06 | 2011-10-12 | 索尼公司 | Information processing device, client device and server device |
CN102857833A (en) * | 2012-10-15 | 2013-01-02 | 深圳市佳创软件有限公司 | Audio decoding system and method adapted to android stagefright multimedia framework |
CN103218454A (en) * | 2013-05-06 | 2013-07-24 | 百度在线网络技术(北京)有限公司 | Voice-data-based file searching method, voice-data-based file device and voice-data-based file system |
CN103400592A (en) * | 2013-07-30 | 2013-11-20 | 北京小米科技有限责任公司 | Recording method, playing method, device, terminal and system |
CN104426915A (en) * | 2013-08-19 | 2015-03-18 | 中国电信股份有限公司 | Method, server and system for realizing online music subsection downloading |
CN104424946A (en) * | 2013-08-26 | 2015-03-18 | 中国电信股份有限公司 | Audio identification method and apparatus |
CN104866604A (en) * | 2015-06-01 | 2015-08-26 | 腾讯科技(北京)有限公司 | Information processing method and server |
CN105117102A (en) * | 2015-08-21 | 2015-12-02 | 小米科技有限责任公司 | Audio interface display method and device |
CN105472149A (en) * | 2015-11-24 | 2016-04-06 | 小米科技有限责任公司 | Ringtone setting method and apparatus thereof |
CN106210919A (en) * | 2016-07-20 | 2016-12-07 | 广州酷狗计算机科技有限公司 | A kind of main broadcaster of broadcasting sings the methods, devices and systems of video |
CN106713636A (en) * | 2016-12-23 | 2017-05-24 | 北京奇虎科技有限公司 | Picture data loading method, device and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108763908A (en) * | 2018-06-01 | 2018-11-06 | 腾讯科技(深圳)有限公司 | Behavior vector generation method, device, terminal and storage medium |
CN111524493A (en) * | 2020-05-27 | 2020-08-11 | 珠海格力智能装备有限公司 | Method and device for debugging music score |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109302538A (en) | Method for playing music, device, terminal and storage medium | |
CN107967706A (en) | Processing method, device and the computer-readable recording medium of multi-medium data | |
CN109379643A (en) | Image synthesizing method, device, terminal and storage medium | |
CN109729297A (en) | The method and apparatus of special efficacy are added in video | |
CN109874312A (en) | The method and apparatus of playing audio-fequency data | |
CN108401124A (en) | The method and apparatus of video record | |
CN110491358A (en) | Carry out method, apparatus, equipment, system and the storage medium of audio recording | |
CN109300482A (en) | Audio recording method, apparatus, storage medium and terminal | |
CN109327608A (en) | Method, terminal, server and the system that song is shared | |
CN109348247A (en) | Determine the method, apparatus and storage medium of audio and video playing timestamp | |
CN110061900A (en) | Message display method, device, terminal and computer readable storage medium | |
CN108419113A (en) | Caption presentation method and device | |
CN109346111A (en) | Data processing method, device, terminal and storage medium | |
CN108965757A (en) | video recording method, device, terminal and storage medium | |
US11315534B2 (en) | Method, apparatus, terminal and storage medium for mixing audio | |
CN109994127A (en) | Audio-frequency detection, device, electronic equipment and storage medium | |
CN110209871A (en) | Song comments on dissemination method and device | |
CN108174274A (en) | Virtual objects presentation method, device and storage medium | |
CN109068008A (en) | The tinkle of bells setting method, device, terminal and storage medium | |
CN109448761A (en) | The method and apparatus for playing song | |
CN110248236A (en) | Video broadcasting method, device, terminal and storage medium | |
CN109922356A (en) | Video recommendation method, device and computer readable storage medium | |
CN109192218A (en) | The method and apparatus of audio processing | |
CN107871012A (en) | Audio-frequency processing method, device, storage medium and terminal | |
CN108922562A (en) | Sing evaluation result display methods and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |