CN103092854B - Music data sorting method - Google Patents
Music data sorting method Download PDFInfo
- Publication number
- CN103092854B CN103092854B CN201110338279.0A CN201110338279A CN103092854B CN 103092854 B CN103092854 B CN 103092854B CN 201110338279 A CN201110338279 A CN 201110338279A CN 103092854 B CN103092854 B CN 103092854B
- Authority
- CN
- China
- Prior art keywords
- music data
- music
- unit
- time
- polygonal chain
- 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.)
- Active
Links
Abstract
The invention provides a music data sorting method. The method includes: dividing music data into a plurality of rhythm units according to a time unit, obtaining a music property corresponding to each rhythm unit, endowing a time value for every rhythm unit according to the time unit; establishing a coordinate system to reflect the corresponding correlation between time values of the rhythm units and the music properties, mapping the plurality of rhythm units of the music data with a plurality coordinate points on the coordinate system one by one; sequentially linking the coordinate points according to the time values to obtain a polygon chain; extracting characteristics of the polygon chain, and sorting the music data according to the characteristics of the polygon chain. According to above mode, the music data sorting method is simple in algorithm, low operand, and capable of quickly sorting a large amount of music data.
Description
Technical field
The present invention relates to music data processing technology field, more particularly to a kind of music data sorting technique.
Background technology
The data volume of the multi-medium data being currently stored in computer system increasingly increases, and how to send out from these data
Existing information, extraction information, become more and more difficult;Meanwhile, traditional data base is also given in the appearance of new multimedia data type
Management system brings challenge.Traditional multimedia class and search method are normally based on the side of manually performing that text describes
Method.The description information of these Textualities is enough for the data of some multiple media types, but said method generally carries relatively
Strong subjectivity, when processing the sound data file such as music, can bring inaccurate, even misleading result.
Currently up-to-date Intelligentized method is using the characteristic information extracting from music data, and unartificial text is retouched
State, eliminate the artificial participation during music assorting, whole process is passed through to run automatization, intelligentized audio frequency by computer
Music data sorting algorithm is realized.Key point among these and difficult point are feature extraction, and it includes two problems:Extract assorted
Feature and how extracting.And the shortcoming of music data sorting technique of the prior art to be algorithm complicated, computationally intensive, no
Easily realize.
Accordingly, it is desirable to provide a kind of music data sorting technique, to solve the above problems.
Content of the invention
The invention mainly solves the technical problem of providing a kind of music data sorting technique, can be to magnanimity music data
Carry out Fast Classification.
For solving above-mentioned technical problem, one aspect of the present invention is:A kind of music data classification side is provided
Method, it comprises the following steps:A. music data is become multiple beat units by time dividing elements, and obtain each beat list
The corresponding music attribute of unit, each beat unit gives a time value according to time quantum for unit;B. set up a coordinate system, sit
Corresponding relation between the mark system reflection time value of beat unit and music attribute, and by multiple beat units of music data with
Multiple coordinate points in coordinate system map one by one;C. multiple coordinate points are carried out line successively according to time value, to obtain more than one
Side shape chain;D. extract the feature of polygonal chain, and according to the feature of polygonal chain, music data is classified.
Wherein, in step a, time quantum is the persistent period of minimum beat in music data.
Wherein, in stepb, coordinate system is an x-y plane rectangular coordinate system, and wherein, the unit of x-axis is time quantum, y
The unit of axle is music attribute, and music attribute includes one or a combination set of pitch, loudness of a sound or tone color.
Wherein, when the linear module of music attribute is pitch, also include in stepb:Obtain multiple beat units
Pitch, the beat unit of music data is mapped to x-y plane rectangular coordinate one by one and fastens.
Wherein, in step d, the feature of polygonal chain includes:The time of polygonal chain maximum y value maintenance, polygonal chain
The time or polygonal chain that minimum y value maintains maximum saltus step on the y axis.
Wherein, in step d, choose the sorting parameter of the feature composition of one or more polygonal chains further,
And according to sorting parameter, music data is classified.
Wherein, sorting technique is further comprising the steps:F. obtain classified music data sample, by music data
Sample carries out sort operation by step a to d;E. the sorting parameter of music data sample is obtained according to sort operation;G. obtain not
The music data of classification, non-classified music data is carried out sort operation by step a to step d, and according to sorting parameter pair
Non-classified music data is classified.
The invention has the beneficial effects as follows:It is different from the situation of prior art, a kind of music data sorting technique of the present invention,
By music data is become multiple beat units by time dividing elements, a coordinate is set up according to time quantum and music attribute
System, to obtain a polygonal chain, and classifies to music data according to the feature of polygonal chain, has that algorithm is simple, computing
Measure less advantage, and Fast Classification can be carried out to magnanimity music data.
Brief description
Fig. 1 is a kind of flow chart of a preferred embodiment of present invention music data sorting technique;And
Fig. 2 is the x-y plane that the time quantum according to a kind of present invention music data sorting technique is set up with music attribute
The schematic diagram of rectangular coordinate system.
Specific embodiment
Refer to Fig. 1 to Fig. 2, Fig. 1 is a kind of schematic block of a preferred embodiment of present invention music data sorting technique
Figure, Fig. 2 is that the x-y plane right angle that the time quantum according to a kind of present invention music data sorting technique is set up with music attribute is sat
The schematic diagram of mark system.As shown in figure 1, a kind of present invention music data sorting technique comprises the following steps:
Step 101:Music data is become multiple beat units by time dividing elements, and obtains each beat unit pair
The music attribute answered, each beat unit gives a time value according to time quantum for unit;
Step 102:Set up a coordinate system, coordinate system reflects the corresponding pass between the time value of beat unit and music attribute
System, and multiple beat units of music data and the multiple coordinate points in coordinate system are mapped one by one;
Step 103:Multiple coordinate points are carried out line successively according to time value, to obtain a polygonal chain;
Step 104:Extract the feature of polygonal chain, and according to the feature of polygonal chain, music data is classified.
In a step 101, time quantum is the persistent period of minimum beat in music data, wherein, to magnanimity music
When data is classified, this time quantum is a regular time value, and time value is to choose trifle from magnanimity music data
The persistent period clapped.
In a step 102, an x-y plane rectangular coordinate system is set up according to time quantum and music attribute.Wherein, music belongs to
Property includes one or a combination set of pitch, loudness of a sound or tone color, and the physical parameter of sound includes acoustic pressure, time-histories and frequency spectrum, in music
In, acoustic pressure will determine intensity or the sensation of loudness of music, and frequency spectrum determines the tone color of music.Pitch acoustically be referred to as tone, by
Fundamental frequency in frequency spectrum determines.In the present embodiment, the unit of the x-axis of x-y plane rectangular coordinate system is time quantum, y-axis
Unit be music attribute, wherein the linear module of music attribute be pitch.In other embodiments, those skilled in the art
Completely the linear module of music attribute is set to tone color or loudness of a sound, to set up an x-y plane rectangular coordinate system.
In a step 102, obtain the pitch of multiple beat units further, the beat unit of music data is reflected one by one
It is mapped to x-y plane rectangular coordinate to fasten.
At step 104, the feature of polygonal chain includes:The time that polygonal chain maximum y value maintains, polygonal chain are minimum
The time or polygonal chain that y value maintains maximum saltus step on the y axis, as shown in Fig. 2 the time that polygonal chain maximum y value maintains
For lines 201, the time that polygonal chain minimum y value maintains is lines 202, and polygonal chain maximum saltus step on the y axis is lines
203.Wherein, select the feature composition sorting parameter of said one or two or more polygonal chain, and according to sorting parameter to sea
Amount music data is classified.
The music data sorting technique that the present invention described further below discloses.
First, obtain categorized music data sample, this music data sample is carried out point by step 101 to 104
Generic operation.Subsequently, the sorting parameter of music data sample is obtained according to the sort operation of music data sample, and by music data
The sorting parameter of sample is associated with the music type of music data sample.Subsequently, obtain non-classified music data, will not
The music data of classification carries out sort operation by step 101 to step 104.Subsequently, the classification according to non-classified music data
Operation obtains its sorting parameter, and the sorting parameter of the sorting parameter of non-classified music data and music data sample is carried out
Relatively, to classify to non-classified music data.
In sum, a kind of music data sorting technique of the present invention, by pressing time dividing elements by music data
Become multiple beat units, a coordinate system is set up according to time quantum and music attribute, to obtain a polygonal chain, and according to polygon
The feature of shape chain is classified to music data, has that algorithm is simple, the less advantage of operand, and can be to magnanimity music
Data carries out Fast Classification.
The foregoing is only embodiments of the invention, not thereby limit the present invention the scope of the claims, every using this
Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills
Art field, is included within the scope of the present invention.
Claims (6)
1. a kind of music data sorting technique is it is characterised in that described sorting technique comprises the following steps:
A. described music data is become multiple beat units by time dividing elements, and obtains each described beat unit to correspond to
Music attribute, each described beat unit according to described time quantum be unit give a time value;
B. set up a coordinate system, described coordinate system reflects between described time value and the described music attribute of described beat unit
Corresponding relation, and the multiple described beat unit of described music data and the multiple coordinate points in described coordinate system are reflected one by one
Penetrate;
C. multiple described coordinate points are carried out line successively according to described time value, to obtain a polygonal chain;
D. extract the feature of described polygonal chain, and according to the feature of described polygonal chain, described music data is classified;
In stepb, described coordinate system is an x-y plane rectangular coordinate system, and wherein, the unit of described x-axis is that the described time is single
Unit, the unit of described y-axis is described music attribute, and in step d, the feature of described polygonal chain includes:Described polygonal chain
The time that maximum y value maintains, the time or described polygonal chain of the minimum y value maintenance of described polygonal chain maximum on the y axis are jumped
Become.
2. music data sorting technique according to claim 1 is it is characterised in that in step a, described time quantum is
The persistent period of minimum beat in described music data.
3. music data sorting technique according to claim 2 is it is characterised in that described sound
The linear module of happy attribute includes one or a combination set of pitch, loudness of a sound or tone color.
4. music data sorting technique according to claim 3 is it is characterised in that work as the linear module of described music attribute
During for pitch, also include in stepb:Obtain the pitch of multiple described beat units, by the described section of described music data
Bat unit is mapped to described x-y plane rectangular coordinate one by one and fastens.
5. music data sorting technique according to claim 1 is it is characterised in that in step d, choose a kind of further
Or the sorting parameter of the feature composition of two or more described polygonal chain, and according to described sorting parameter, described music data is entered
Row classification.
6. music data sorting technique according to claim 1 it is characterised in that described sorting technique further include with
Lower step:
F. obtain classified music data sample, described music data sample is carried out sort operation by step a to d;
E. the sorting parameter of described music data sample is obtained according to described sort operation;G. obtain
Take non-classified music data, described non-classified music data is carried out sort operation by step a to step d, and root
According to described sorting parameter, described non-classified music data is classified.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110338279.0A CN103092854B (en) | 2011-10-31 | 2011-10-31 | Music data sorting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110338279.0A CN103092854B (en) | 2011-10-31 | 2011-10-31 | Music data sorting method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103092854A CN103092854A (en) | 2013-05-08 |
CN103092854B true CN103092854B (en) | 2017-02-08 |
Family
ID=48205437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110338279.0A Active CN103092854B (en) | 2011-10-31 | 2011-10-31 | Music data sorting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103092854B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105843931A (en) * | 2016-03-30 | 2016-08-10 | 广州酷狗计算机科技有限公司 | Classification method and device |
CN113515209B (en) * | 2020-11-26 | 2023-07-25 | 腾讯科技(深圳)有限公司 | Music screening method, device, equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1698095A (en) * | 2003-03-06 | 2005-11-16 | 索尼株式会社 | Information detection device, method, and program |
CN1720517A (en) * | 2002-11-28 | 2006-01-11 | 新加坡科技研究局 | Summarizing digital audio data |
CN1777891A (en) * | 2003-04-24 | 2006-05-24 | 皇家飞利浦电子股份有限公司 | Parameterized temporal feature analysis |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5098896B2 (en) * | 2008-08-28 | 2012-12-12 | ソニー株式会社 | Playback apparatus and playback method |
-
2011
- 2011-10-31 CN CN201110338279.0A patent/CN103092854B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1720517A (en) * | 2002-11-28 | 2006-01-11 | 新加坡科技研究局 | Summarizing digital audio data |
CN1698095A (en) * | 2003-03-06 | 2005-11-16 | 索尼株式会社 | Information detection device, method, and program |
CN1777891A (en) * | 2003-04-24 | 2006-05-24 | 皇家飞利浦电子股份有限公司 | Parameterized temporal feature analysis |
Also Published As
Publication number | Publication date |
---|---|
CN103092854A (en) | 2013-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105512799B (en) | Power system transient stability evaluation method based on mass online historical data | |
CN102770856B (en) | The territory measured for precision waveform identifies and separates | |
CN109299258A (en) | A kind of public sentiment event detecting method, device and equipment | |
CN104268134A (en) | Subjective and objective classifier building method and system | |
CN109461458B (en) | Audio anomaly detection method based on generation countermeasure network | |
CN104484410A (en) | Data fusion method and system applied to big data system | |
CN113947336A (en) | Method, device, storage medium and computer equipment for evaluating risks of bidding enterprises | |
CN105244041A (en) | Song audition evaluation method and device | |
CN110443303B (en) | Image segmentation and classification-based intelligent identification method for coal-rock microcomponents | |
Lisiński et al. | Principles of the application of strategic planning methods | |
CN103092854B (en) | Music data sorting method | |
KR20110012740A (en) | Device and method for detecting duplicate contents | |
CN112419124B (en) | Method and device for quickly identifying low-efficiency industrial land and storage medium thereof | |
CN116503026B (en) | Operation and maintenance risk assessment method, system and storage medium for science and technology items | |
CN106844743B (en) | Emotion classification method and device for Uygur language text | |
CN101642375B (en) | Fatigue evaluation method and system | |
CN108182142A (en) | Test resource integration method, system and function test method, system | |
CN114238062B (en) | Board card burning device performance analysis method, device, equipment and readable storage medium | |
CN111160712B (en) | User electricity consumption parameter adjusting method and device | |
CN109815108A (en) | A kind of combined test set of uses case priorization sort method and system based on weight | |
CN113628077B (en) | Method, terminal and readable storage medium for generating non-repeated questions | |
Singh et al. | Performance analysis of faculty using data mining techniques | |
CN103778210A (en) | Method and device for judging specific file type of file to be analyzed | |
CN102521377B (en) | Method and system for screening high-quality documents from document collection of document processing system | |
CN113011164A (en) | Data quality detection method, device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201118 Address after: 226600 Industrial Concentration Zone of Qutang Town, Haian City, Nantong City, Jiangsu Province (Liuwei Village) Patentee after: Jiangsu Fanyu Machinery Technology Co., Ltd Address before: 518057, No. 9 software building, central high tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen Patentee before: KUANG-CHI INSTITUTE OF ADVANCED TECHNOLOGY |