CN103440250A - Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application - Google Patents

Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application Download PDF

Info

Publication number
CN103440250A
CN103440250A CN2013103089474A CN201310308947A CN103440250A CN 103440250 A CN103440250 A CN 103440250A CN 2013103089474 A CN2013103089474 A CN 2013103089474A CN 201310308947 A CN201310308947 A CN 201310308947A CN 103440250 A CN103440250 A CN 103440250A
Authority
CN
China
Prior art keywords
information
note
algorithm
melody
humming
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
Application number
CN2013103089474A
Other languages
Chinese (zh)
Inventor
曹宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING HELIOS-ADSP SCIENCE AND TECHNOLOGY Co Ltd
Original Assignee
BEIJING HELIOS-ADSP SCIENCE AND TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING HELIOS-ADSP SCIENCE AND TECHNOLOGY Co Ltd filed Critical BEIJING HELIOS-ADSP SCIENCE AND TECHNOLOGY Co Ltd
Priority to CN2013103089474A priority Critical patent/CN103440250A/en
Publication of CN103440250A publication Critical patent/CN103440250A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Auxiliary Devices For Music (AREA)
  • Electrophonic Musical Instruments (AREA)

Abstract

The invention provides an embedded humming retrieval method based on 16-bit DSP (Digital Signal Processing) platform application. The method comprises the steps of acquiring a humming melody of a user and storing the humming melody according to a PCM (Pulse Code Modulation) format; extracting fundamental tones from the humming melody according to a short-time autocorrelation algorithm to obtain PV (pitch value) information; performing note segmentation and post-processing to the PV information, converting the PV information into NOTE format information and removing false fundamental tone information to obtain a melody to be retrieved; converting MIDI (Musical Instrument Digital Interface) music library information into NOTE format information to obtain a standard MIDI music template library; matching the melody to be retrieved with the standard MIDI music template library through an NLS (Note-based Linear Scaling) algorithm and an NRA (Note-based Recursive Alignment) algorithm to obtain matching scores, wherein the NLS algorithm is obtained by modifying a traditional frame-based LS (Linear Scaling) algorithm into an algorithm based on NOTE information, and the NRA algorithm is obtained by modifying a traditional frame-based RA (Recursive Alignment) algorithm into an algorithm based on the NOTE information; and ordering according to the matching scores and outputting matching results. The embedded humming retrieval method based on the 16-bit DSP platform application can realize high-efficiency accurate retrieval, and the adaptability is wide.

Description

Embedded singing search method and system based on 16 bit DSP platform application
Technical field
The present invention relates to the field of microwave automatic search music, refer to especially a kind ofly for singing search, and can be applied to search method and the SOC (system on a chip) of 16 bit DSP platforms.
Background technology
At present, how efficiently to retrieve easily target information from bulk information, become a major challenge for the retrieval of music information, continuous renewal and development along with data storage method and means, digital information has been penetrated into each corner of our life, and traditional retrieval mode need to be classified and mark to information, and the great degree of quantities exceeds people's the imagination, and, along with the further increase of quantity of information, the drawback of traditional retrieval mode highlights all the more.
Singing search is a kind of novel, the content-based retrieval mode, be accompanied by scholar's continuous exploration and research, this content-based music retrieval mode has many-sided advantage, at first, develop rapidly along with internet and other electronic products, the memory space of music also constantly increases, according to this growth pattern, song is become to increasing according to mark and the information classification engineering of conventional approach, and content-based singing search is without being classified and mark work, utilizing relevant switching software to convert the target music file to corresponding template style just can use, while is due to the development of singing search algorithm, at present can efficiently and accurately retrieve the target music information.Secondly; people often can meet a kind of like this situation; only remember the melody of music; but do not remember the lyrics and the concrete name of music clearly; for a kind of like this Search Requirement, obviously traditional retrieval mode has manifested the drawback on the function, can not realize expecting searched targets even fully; at this time the advantage of information retrieval based on contents mode just appears undoubtedly, and retrieval person only need to hum out the corresponding melody of remembering just can find out corresponding retrieval music information from a large amount of music files.And such retrieval mode is also a slice light for intelligent market application foreground, systems such as MP3, mobile phone, Karaoke, intelligent toy is introduced embedded singing search technology and is had the good market demand capacity.
Peculiar advantage and development space due to singing search, the researcher constantly carries out and deepens for the research in this field both at home and abroad, new algorithm and application platform constantly are incorporated into this field, in a word, as the content-based retrieval mode, singing search has that important theoretical research is worth and engineering background widely, yet, still there is this huge development space in this field of marketization product, the product of practical application on market at present all is based on the large scale system of PC, China Mobile for example, the CRBT retrieval service that China Telecom provides, be subject to the impact of existing algorithm complex and retrieval accuracy, the existing singing search matching algorithm based on PC can't directly apply to existing most embedded system.
Summary of the invention
The present invention proposes a kind of can efficiently accurately the retrieval, and is applicable to the embedded singing search SOC (system on a chip) based on 16 bit DSP platform application of bottom embedded platform.
Technical scheme of the present invention is achieved in that
Embedded singing search method based on 16 bit DSP platform application comprises:
Gather user's humming melody, and will hum melody and store according to the PCM form;
According to auto-correlation algorithm in short-term, the humming melody is carried out to the fundamental tone extraction, obtain PV information;
PV information is carried out being converted to the NOTE format information after note syncopate and aftertreatment, reject false Pitch Information, obtain melody to be retrieved;
MIDI music libraries information is converted to the NOTE format information, obtains standard MIDI music template base;
Melody to be retrieved and standard MIDI music template base are carried out to melody matching by NLS algorithm and NRA algorithm, obtain the coupling mark; Wherein the NLS algorithm is that the traditional LS algorithm based on frame is revised as to the information based on NOTE; The NRA algorithm is revised as the information based on NOTE by the traditional RA algorithm based on frame;
According to the coupling mark, just sort, the output matching result.
The another embedded singing search SOC (system on a chip) based on 16 bit DSP platform application provided by the invention comprises:
Acquisition module, for gathering user's humming melody, and will hum melody and store according to the PCM form;
The fundamental tone extraction module, for according to auto-correlation algorithm in short-term, the humming melody being carried out to the fundamental tone extraction, obtain PV information;
The note syncopate module, for PV information is carried out to note syncopate, by merged/deconsolidation process of Pitch Information adjacent on time sequencing;
Post-processing module, for PV information being carried out to the calculating of fundamental frequency path cost, obtain the PV information of input melody after the Boersma computing;
The algorithmic match module, for by PV information, MIDI music libraries information is converted to the NOTE format information; And the PV information after changing and the MIDI music template in MIDI music libraries information being mated according to NLS algoritic module and NRA algoritic module, or coupling mark;
The matching result output terminal, for exporting sequence and ask for the corresponding MIDI music template sequence number of maximum matching distance value according to the coupling mark.
Embedded singing search method and SOC (system on a chip) based on 16 bit DSP platform application provided by the invention, fundamental tone converts PV information to note information, and note information is carried out to cutting after extracting and obtaining PV information, weed out false note information, obtain sane note information; Because note information can better be described the song melody, than the Pitch Information based on frame, adopt the note matching way can effectively improve the degree of accuracy that coupling is calculated; Adopt in addition NLS and NRA algorithm to substitute traditional matching process based on frame, the degree of accuracy that coupling is calculated has had very big raising.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the embedded singing search method flow diagram that the present invention is based on 16 bit DSP platform application;
Fig. 2 is the block diagram that the present invention is based on the embedded singing search SOC (system on a chip) of 16 bit DSP platform application.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment obtained, belong to the scope of protection of the invention.
Embedded singing search method based on 16 bit DSP platform application comprises:
Gather user's humming melody, and will hum melody and store according to the PCM form; (step 1)
According to auto-correlation algorithm in short-term, the humming melody is carried out to the fundamental tone extraction, obtains PV(Pitch Value and be called for short PV, pitch value) information; (step 2)
PV information is carried out being converted to the NOTE format information after note syncopate and aftertreatment, reject false pitch value information, obtain melody to be retrieved; (step 3)
MIDI music libraries information is converted to the NOTE format information, obtains standard MIDI music template base; (step 4)
Melody to be retrieved and standard MIDI music template base are carried out to melody matching by NLS algorithm and NRA algorithm, obtain the coupling mark; Wherein the NLS algorithm is that the traditional LS algorithm based on frame is revised as to the information based on NOTE; The NRA algorithm is revised as the information based on NOTE by the traditional RA algorithm based on frame; (step 5)
According to the coupling mark, just sort, the output matching result.(step 6)
Execution step 1 o'clock, the time span of user humming need to be greater than 0.3 second, and best is to surpass 6 seconds, and the humming melody, at first with PCM(Pulse Code Modulation, is called for short PCM, pulse-code modulation recording) form preserved.
Performing step at 2 o'clock, auto-correlation algorithm is modal algorithm during a kind of territory signal is processed in short-term, adopts auto-correlation algorithm in short-term to extract fundamental frequency, and simultaneously auxiliary with the fundamental frequency post-processed, according to ultimate resolution, minimum frame moves, and carries out the fundamental tone extraction.Than the auto-correlation processing algorithm of frequency domain and other transform domains, auto-correlation algorithm has significantly reduced computation complexity under the prerequisite that guarantees operational precision in short-term, thereby is more suitable for the application of embedded chip platform.
Performing step at 3 o'clock, PV information is carried out being converted to the NOTE(note after note syncopate and aftertreatment) format information, reject false Pitch Information.In practice, because autocorrelation function peak-peak place may not be pitch period, so, if directly may make mistakes the inverse of peak-peak as fundamental frequency, therefore need to carry out aftertreatment.Aftertreatment is mainly to weed out some false pitch value information the Pitch Information from having obtained, and obtains real pitch value information.Be converted to the NOTE(note) format information is a kind of basic conversion method.
Wherein, the concrete grammar of note syncopate is: the method that adopts weighting to be averaging determines whether being divided into new note and determines its corresponding pitch value.
The step that aftertreatment comprises has: (1) fundamental frequency path cost calculates; (2) Boersma calculates minimal path.
Calculate the method for fundamental frequency path cost functional value: using a front n peak value as candidate item, and corresponding pitch period is labeled as: p k(0)~p k(n-1).Cost function between consecutive frame is defined as:
Figure BDA00003548553900051
In formula, R () is autocorrelation function.Just can obtain the distance of adjacent two interframe by this interframe cost function.Because the fundamental tone of adjacent interframe has certain contact, their variation is continuous often, so we consider that from the angle in whole path this cost is just more reasonable, thereby definition path cost function is:
D = Σ n = k - s k + s - 1 d ‾ ( p n ( i n ) , p n + 1 ( i n + 1 ) )
In above formula, s means to consider the front and back length in path, and k means the sequence number of present frame.
Boersma calculates minimal path: for reducing the erroneous judgement to fundamental tone half frequency, frequency multiplication, computation process is as follows:
At first, find out n candidate value of fundamental frequency in respective frame, then to corresponding candidate value definition intensity level be:
In the definition, S is the intensity level of trying to achieve in the above; Th voicethe threshold value that means speech sound just is considered to sound disconnected when the voice amplitude is greater than this value; Th silencethe threshold value that means quiet voice, just think that when the voice amplitude is less than this value this conclusion sound is quiet; it is the local peak value of voice signal;
Figure BDA00003548553900063
it is the global peak of voice signal; R (τ max) refer to the maximal value of autocorrelation function; C octavebe a work factor, its value is larger, more tends to candidate's fundamental frequency of selecting frequency high; Pitch minthe minimum value that means minimum fundamental frequency, determine by selected window is long; τ maxmean τ value when autocorrelation function is obtained maximum.
After trying to achieve intensity level, it forms with candidate's fundamental frequency again: (F ni, S ni), wherein n means the sequence number of present frame, i means i candidate's amount in the n frame.Obtain the path total cost of whole speech frame sequence when selecting candidate item by this fundamental frequency candidate value and respective strengths value again:
Cost = Σ n = 1 N - 1 C tran ( F n - 1 , p n - 1 , F n , p n ) - Σ n = 1 N - 1 S n , p n
Wherein
Figure BDA00003548553900065
refer to from the p of n-1 frame n-1individual fundamental frequency candidate value is to the p of n frame nthe switching cost of individual fundamental frequency candidate value, it is defined as follows:
Figure BDA00003548553900071
In formula, C inverserefer to from voiced sound to non-voiced sound or the switching cost from non-voiced sound to voiced sound, increase this value and can reduce the redirect between voiced sound and non-voiced sound; C jumpbe from the fundamental frequency redirect cost between unvoiced frame, increase the possibility that this value will reduce larger fundamental frequency redirect.They are all fixed values, as they all can be set to 0.2.When they all are set to 0, mean that the redirect cost between consecutive frame is 0, at this moment when selecting the fundamental frequency candidate item, just only need to have considered local optimum.
The selection of final fundamental frequency, be that to obtain minimum value by Cost determined, adopts the method for dynamic programming to find out the path that makes the Cost minimum, and this path is exactly the best fundamental frequency value of each frame.
Preferably, due in note syncopate, most typical mistake has two kinds, and a kind of is inserting error, and another kind is deletion error.Inserting error refers to the data that belong to a note originally, after note syncopate, has been cut into a plurality of notes, has just drawn non-existent new note originally more, and this mistake is called as inserting error.Deletion error refers to the data that do not belong to a note originally, after note syncopate, has been cut into a note, just a plurality of notes originally has been merged into to a note, and this mistake is called as deletion error.For reducing inserting error and deletion error, therefore need to reject false pitch value information, adopt the segmentation statistical method, in a window time span scope, the note obtained analyzed, by time span and amplitude not the value in normal span deleted.
Performing step at 4 o'clock, MIDI(Musical Instrument Digital Interface, be called for short MIDI, MIDI) information of music libraries transfers the NOTE format information equally to, the MIDI snatch of music of the direct Application standard of MIDI template in the MIDI music libraries wherein, ignoring some the less important information in the MIDI music, is the NOTE format information by important information Reseals such as track wherein, musical instrument, rhythm.
Performing step at 5 o'clock, NLS(Note-based Linear Scaling, be called for short NLS, linear extendible based on note) algorithm and NRA(Note-based Recursive Alignment, be called for short NRA, the recurrence comparison based on note) algorithm carries out melody matching, obtain mating mark, wherein the NLS algorithm is based on traditional LS(Linear Scaling of frame, is called for short LS, linear scale) algorithm is revised as the information based on NOTE; Can greatly reduce calculated amount by revising, improve arithmetic speed.
Wherein, NLS(Note-based Linear Scaling, be called for short NLS, the linear extendible based on note) algorithm computation process:
Because the linear extendible algorithm is based on the matching algorithm of frame, in order further to improve its speed ability, the linear extendible algorithm based on note just is introduced into, and its algorithm steps is similar to the LS algorithm, but humming feature and the masterplate feature of NLS all adopt the note feature, and specific algorithm is as follows:
The linear extendible algorithm of algorithm 1 based on note
Figure BDA00003548553900081
And NRA(Note-based Recursive Alignment, be called for short NRA, the recurrence comparison based on note) algorithm computation process:
The NRA algorithm is on the basis that is based upon the RA algorithm, and what it all used is the note feature, and in algorithm, the humming sequence of notes of establishing input is H={f 1, f 2..., f n}={ (s 1, t 1), (s 2, t 2) ..., (s n, t n), song masterplate sequence of notes is H={f ' 1, f ' 2..., f ' n}={ (s ' 1, t ' 1), (s ' 2, t ' 2) ..., (s ' n, t ' n), f wherein means the note feature, and s means half pitch value of note, and t refers to the length of note.In the NRA algorithm, maximum iteration time is defined as I, and humming is calculated as follows with masterplate spacing NRA (S, H, I):
Concrete, algorithm 2NRA algorithm
Figure BDA00003548553900091
Performing step at 6 o'clock, according to the sequence of coupling mark, the output matching result, preferred its concrete operations are, each standard MIDI template in the middle of melody to be retrieved and standard MIDI music template base is mated, and calculated corresponding matching score, just sorted with regard to matching score, and filter out the sequence number of the standard MIDI template that score is the highest, be final output matching result.
Preferably, singing search method provided by the invention, its operating process is that the humming person is by microphone input humming melody, time span is greater than 0.3s, the best 6s that surpasses, then by algorithm, the form of humming melody is modified, with the PV stored in file format, among system, MIDI music libraries information also converts the standard MIDI music template base of NOTE form to and is stored.The humming melody carries out note syncopate and fundamental frequency aftertreatment after gene extraction and format conversion, weeds out in the fundamental frequency leaching process the false fundamental frequency information occurred.Consider the restriction of embedded platform system resource, SOC (system on a chip) adopts auto-correlation algorithm in short-term to extract fundamental frequency.
Treated humming melody becomes melody to be retrieved after treatment, then enters the melody matching stage, by NLS and NRA algorithm, mates calculating, thereby obtains the coupling mark, and after the humming melody is mated, result is with the novel output of voice.
Preferably, the present invention also provides the embedded singing search SOC (system on a chip) based on 16 bit DSP platform application corresponding with said method, comprising:
Acquisition module, for gathering user's humming melody, and will hum melody and store according to the PCM form;
The fundamental tone extraction module, for according to auto-correlation algorithm in short-term, the humming melody being carried out to the fundamental tone extraction, obtain PV information;
The note syncopate module, for PV information is carried out to note syncopate, by merged/deconsolidation process of Pitch Information adjacent on time sequencing;
Post-processing module, for PV information being carried out to the calculating of fundamental frequency path cost, obtain the PV information of input melody after the Boersma computing;
The algorithmic match module, for by PV information, MIDI music libraries information is converted to the NOTE format information; And according to NLS algoritic module and NRA algoritic module, the PV information after changing and the MIDI music template in MIDI music libraries information are mated, obtain the coupling mark;
The matching result output terminal, for just exporting sequence and ask for the corresponding MIDI music template sequence number of maximum matching distance value according to the coupling mark.
Wherein, acquisition module comprises the microphone signal collection, A/D changes (Analog to Digital Convert, the conversion of analog to digital signal), PCM information is stored three parts, carry out signals collecting by microphone when the user hums, then store through PCM information after being converted to digital signal by A/D.
The fundamental tone extraction module comprises windowing, autocorrelation calculation, false Pitch Information deletion in short-term; Its auto-correlation algorithm in short-term adopted is a kind of common algorithm, then this is not repeating.
The note syncopate module can be carried out cutting by effective Pitch Information, and Pitch Information adjacent on time sequencing is merged or deconsolidation process.
Post-processing module comprises the calculating of fundamental frequency path cost, Boersma calculates aftertreatment.Wherein, the fundamental frequency path cost calculates and Boersma calculating describes in aforesaid method, therefore at this, launches no longer in addition narration.
The algorithmic match module comprises NRA algoritic module and NLS algoritic module, and wherein the NRA algoritic module is to calculate the distance between humming information and song template information by the mode of iteration, mainly comprises following four steps:
1, the humming segment is stretched and alignd with midi music template.
2, the song masterplate is divided into to isometric two parts H from centre 1, H 2, the humming segment S that cuts in two from centre 1, S 2, the length of two sections is determined by predefined a series of ratios, is respectively fT s(1-f) T s; This ratio can be set by experiment, and in formula, f represents scale factor, is a value between [0,1], and Ts refers to hum the T.T. length of melody section.
3, respectively to S 1, S 2stretch and H 1, H 2alignment, calculate overall distance.
3a, from the first note of humming, the duration of by the interval of humming between note and masterplate note, being multiplied by this interval, obtain distance value v 1, from starting to ending of humming, calculate all distance value v 1, v 2..., v n;
Overall distance between 3b, calculating humming and masterplate: v=|v 1|+| v 2|+... + | v n|.
Above step in, between the pitch of the pitch that calculates the humming note and masterplate note apart from the time, can directly use interval between the two as distance value, Euclidean distance, also can adopt other distance, as interval square etc.The present invention calculate apart from the time use Euclidean distance.
4, find out an optimal segmentation ratio f best, the distance that makes to hum between segment and MIDI music template is minimum; Respectively two parts H1, the H2 newly be divided into carried out to iteration according to above step, until iterations is 0; Obtain the matching distance value for the matching distance between humming melody and song Template Information.
Preferably, the NLS module is for carrying out linear extendible by the NOTE format information, and concrete steps are:
Preset a series of contraction-expansion factors;
The humming melody is stretched;
Find out the minor increment of humming melody and MIDI music template, i.e. the highest data of matching value.
Preferably, the matching result output terminal finally represents matching result for the form with voice.
Embedded singing search method and SOC (system on a chip) based on 16 bit DSP platform application provided by the invention, after extracting and obtain PV information by fundamental tone, convert PV information to note information, and note information is carried out to cutting, weed out false note information, obtain sane note information; Then adopt note to be mated, because note information can better be described the song melody, compare with the Pitch Information based on frame, adopt the matching way of note can effectively improve the degree of accuracy that coupling is calculated; Adopt in addition NLS and NRA algorithm to substitute traditional matching algorithm based on frame, the degree of accuracy that coupling is calculated is obviously promoted; Therefore the degree of accuracy of coupling can significantly improve; In addition, adopt autocorrelation method in short-term to calculate fundamental frequency, than the frequency domain processing mode, calculated amount and system resource occupancy have obtained remarkable reduction, and adopt NLS, NRA algorithm to replace traditional LS, RA algorithm, calculated amount reduces, and the singing search algorithm that can only move on PC before therefore making obtains realizing on resource-constrained embedded chip.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. the embedded singing search method based on 16 bit DSP platform application, is characterized in that, comprising:
Gather user's humming melody, and will hum melody and store according to the PCM form;
According to auto-correlation algorithm in short-term, the humming melody is carried out to the fundamental tone extraction, obtain PV information;
PV information is carried out being converted to the NOTE format information after note syncopate and aftertreatment, reject false Pitch Information, obtain melody to be retrieved;
MIDI music libraries information is converted to the NOTE format information, obtains standard MIDI music template base;
Melody to be retrieved and standard MIDI music template base are carried out to melody matching by NLS algorithm and NRA algorithm, obtain the coupling mark; Wherein the NLS algorithm is that the traditional LS algorithm based on frame is revised as to the information based on NOTE; The NRA algorithm is revised as the information based on NOTE by the traditional RA algorithm based on frame;
According to the coupling mark, just sort, the output matching result.
2. the embedded singing search method based on 16 bit DSP platform application as claimed in claim 1, is characterized in that, when carrying out the step of the humming melody that gathers the user, the length that the user hums the time is greater than 0.3s.
3. the embedded singing search method based on 16 bit DSP platform application as claimed in claim 1, it is characterized in that, while after execution is carried out note syncopate and aftertreatment to PV information, being converted to the step of NOTE format information, aftertreatment specifically comprises: the fundamental frequency path cost calculates and Boersma calculates minimal path.
4. the embedded singing search method based on 16 bit DSP platform application as claimed in claim 1, it is characterized in that, in execution, according to the coupling mark, just sort, during the step of output matching result, its concrete operations are, each standard MIDI music template in the middle of melody to be retrieved and standard MIDI music template base is mated, and calculate corresponding matching score, according to matching score, just sorted, and filter out the sequence number of the standard MIDI music template that score is the highest, be final output matching result.
5. the embedded singing search method based on 16 bit DSP platform application as claimed in claim 1, is characterized in that, when carrying out the step of the humming melody that gathers the user, the length that the user hums the time is greater than 6s.
6. the embedded singing search SOC (system on a chip) based on 16 bit DSP platform application, is characterized in that, comprising:
Acquisition module, for gathering user's humming melody, and will hum melody and store according to the PCM form;
The fundamental tone extraction module, for according to auto-correlation algorithm in short-term, the humming melody being carried out to the fundamental tone extraction, obtain PV information;
The note syncopate module, for PV information is carried out to note syncopate, by merged/deconsolidation process of Pitch Information adjacent on time sequencing;
Post-processing module, for PV information being carried out to the calculating of fundamental frequency path cost, obtain the PV information of input melody after the Boersma computing;
The algorithmic match module, for by PV information, MIDI music libraries information is converted to the NOTE format information; And according to NLS algoritic module and NRA algoritic module, the PV information after changing and the MIDI music template in MIDI music libraries information are mated, obtain the coupling mark;
The matching result output terminal, for just exporting sequence and ask for the corresponding MIDI music template sequence number of maximum matching distance value according to the coupling mark.
7. the embedded singing search SOC (system on a chip) based on 16 bit DSP platform application as claimed in claim 6, is characterized in that, the NLS algoritic module is for carrying out linear extendible by the NOTE format information, and concrete steps are:
Preset a series of contraction-expansion factors;
The humming melody is stretched;
Find out the minor increment of humming melody and MIDI music template.
8. the embedded singing search SOC (system on a chip) based on 16 bit DSP platform application as claimed in claim 6, is characterized in that, the concrete steps of NRA algoritic module comprise:
The humming melody is stretched and alignd with MIDI music template;
MIDI music template is divided into to isometric two parts H1, H2 from centre, humming melody cut in two from centre S1, S2, the length of two sections is determined according to predefined ratio, be respectively f Ts and (1-f) Ts, wherein f is [0,1] scale factor between, Ts is the T.T. length of humming melody section;
Respectively S1, S2 are stretched and align with H1, H2, calculate overall distance;
Find out optimal segmentation ratio f best according to the minor increment between humming melody and MIDI music template;
Two parts H1, the H2 newly be divided into carried out to iteration according to above step, until iterations is 0, obtain the matching distance value for the matching distance between humming melody and song Template Information.
CN2013103089474A 2013-07-22 2013-07-22 Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application Pending CN103440250A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013103089474A CN103440250A (en) 2013-07-22 2013-07-22 Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103089474A CN103440250A (en) 2013-07-22 2013-07-22 Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application

Publications (1)

Publication Number Publication Date
CN103440250A true CN103440250A (en) 2013-12-11

Family

ID=49693941

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103089474A Pending CN103440250A (en) 2013-07-22 2013-07-22 Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application

Country Status (1)

Country Link
CN (1) CN103440250A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106448630A (en) * 2016-09-09 2017-02-22 腾讯科技(深圳)有限公司 Method and device for generating digital music file of song
CN107203571A (en) * 2016-03-18 2017-09-26 腾讯科技(深圳)有限公司 Song lyric information processing method and device
CN108172203A (en) * 2017-12-29 2018-06-15 重庆师范大学 It is a kind of can Three-dimensional Display electronic organ spectrum and its current control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215319A1 (en) * 2007-03-01 2008-09-04 Microsoft Corporation Query by humming for ringtone search and download
CN101398827A (en) * 2007-09-28 2009-04-01 三星电子株式会社 Method and device for singing search

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080215319A1 (en) * 2007-03-01 2008-09-04 Microsoft Corporation Query by humming for ringtone search and download
CN101398827A (en) * 2007-09-28 2009-04-01 三星电子株式会社 Method and device for singing search

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
JYH-SHING ROGER JANG 等: "《ON THE IMPLEMENTATION OF MELODY RECOGNITION ON 8-BIT AND 16-BIT MICROCONTROLLERS》", 《ICICS-PCM 2003》, 18 December 2003 (2003-12-18) *
PAUL BOERSMA: "《ACCURATE SHORT-TERM ANALYSIS OF THE FUNDAMENTAL FREQUENCY AND THE HARMONICS-TO-NOISE RATIO OF A SAMPLED SOUND》", 《INSTITUTE OF PHONETIC SCIENCES,UNIVERSITY OF AMSTERDAM,PROCEEDINGS》, 31 December 1993 (1993-12-31) *
XIAO WU 等: "《A Top-down Approach to Melody Match in Pitch Contour for Query by Humming》", 《INTERNATIONAL SYMPOSIUM ON CHINESE SPOKEN LANGUAGE PROCESSING(ISCSLP 2006) KENT RIDGE,SINGAPORE》, 16 December 2006 (2006-12-16), pages 3 - 10 *
唐 斌 等: "《基于MBE模型的基音周期估计算法改进》", 《装备指挥技术学院学报》, vol. 15, no. 3, 30 June 2004 (2004-06-30) *
林子喬: "《哼唱選歌於嵌入式卡拉OK系統之研究與實作》", 《国立清华大学博硕士论文全文影像系统》, 31 December 2009 (2009-12-31) *
魏 旋 等: "《基于动态规划的低延时基音提取算法》", 《清华大学学报(自然科学版)》, vol. 48, no. 10, 31 October 2008 (2008-10-31) *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107203571A (en) * 2016-03-18 2017-09-26 腾讯科技(深圳)有限公司 Song lyric information processing method and device
CN107203571B (en) * 2016-03-18 2019-08-06 腾讯科技(深圳)有限公司 Song lyric information processing method and device
US11288309B2 (en) 2016-03-18 2022-03-29 Tencent Technology (Shenzhen) Company Limited Method, server, and storage medium for melody information processing
CN106448630A (en) * 2016-09-09 2017-02-22 腾讯科技(深圳)有限公司 Method and device for generating digital music file of song
CN106448630B (en) * 2016-09-09 2020-08-04 腾讯科技(深圳)有限公司 Method and device for generating digital music score file of song
US10923089B2 (en) 2016-09-09 2021-02-16 Tencent Technology (Shenzhen) Company Limited Method and apparatus for generating digital score file of song, and storage medium
CN108172203A (en) * 2017-12-29 2018-06-15 重庆师范大学 It is a kind of can Three-dimensional Display electronic organ spectrum and its current control method

Similar Documents

Publication Publication Date Title
CN104978962B (en) Singing search method and system
Rao et al. Vocal melody extraction in the presence of pitched accompaniment in polyphonic music
CN103823867B (en) Humming type music retrieval method and system based on note modeling
US8193436B2 (en) Segmenting a humming signal into musical notes
Haus et al. An audio front end for query-by-humming systems
CN101093661B (en) Pitch tracking and playing method and system
CN110599987A (en) Piano note recognition algorithm based on convolutional neural network
CN103714806A (en) Chord recognition method combining SVM with enhanced PCP
CN105161116A (en) Method and device for determining climax fragment of multimedia file
CN101968958B (en) Method and device for comparing audio data
Wang et al. To catch a chorus, verse, intro, or anything else: Analyzing a song with structural functions
CN101093660B (en) Musical note syncopation method and device based on detection of double peak values
Dannenberg Listening to “Naima”: An automated structural analysis of music from recorded audio
CN102842310A (en) Method for extracting and utilizing audio features for repairing Chinese national folk music audios
JP2000187671A (en) Music retrieval system with singing voice using network and singing voice input terminal equipment to be used at the time of retrieval
CN103440250A (en) Embedded humming retrieval method and system based on 16-bit DSP (Digital Signal Processing) platform application
Chakraborty et al. Object oriented classification and pattern recognition of indian classical ragas
CN102841932A (en) Content-based voice frequency semantic feature similarity comparative method
Kroher et al. Audio-based melody categorization: Exploring signal representations and evaluation strategies
JPH11272274A (en) Method for retrieving piece of music by use of singing voice
CN105575400A (en) Method, terminal, server, and system for obtaining song information
CN110517655B (en) Melody generation method and system
Dressler Automatic transcription of the melody from polyphonic music
Gao et al. Vocal melody extraction via dnn-based pitch estimation and salience-based pitch refinement
CN106128472A (en) The processing method and processing device of singer's sound

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131211