CN104091601A - Method and device for detecting music quality - Google Patents

Method and device for detecting music quality Download PDF

Info

Publication number
CN104091601A
CN104091601A CN201410329047.2A CN201410329047A CN104091601A CN 104091601 A CN104091601 A CN 104091601A CN 201410329047 A CN201410329047 A CN 201410329047A CN 104091601 A CN104091601 A CN 104091601A
Authority
CN
China
Prior art keywords
frequency
module
audio signals
signal
domain audio
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
CN201410329047.2A
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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410329047.2A priority Critical patent/CN104091601A/en
Publication of CN104091601A publication Critical patent/CN104091601A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and device for detecting music quality. The method comprises the steps of firstly, preprocessing a sound signal of a music file to be detected to obtain a frequency-domain sound signal; searching for a local maximum of the frequency-domain sound signal; determining a cut-off frequency of the sound signal according to the local maximum obtained by search and a sampling rate of the sound signal, wherein the sampling rate of the sound signal is acquired from file information of the music file to be detected; mapping the cut-off frequency of the sound signal according to a pre-stored mapping table, and judging music quality of the sound signal based on the mapping result. By means of the method, music quality of the sound signal in the music file can be detected accurately. According to the detection result, music files originally stored in a song base and unconformable with codes and a code rate in actual use are deleted, and transcoding is performed again to generate a music file with high music quality or music in the music file with high music quality generated by re-recording is played. In addition, detection is performed automatically at the same time. Therefore, cost on labor, resources, time and the like is reduced, and test speed is increased. The method and device for detecting music quality have high application value.

Description

Music quality detecting method and device
Technical field
The present invention relates to music file technical field of measurement and test, particularly relate to a kind of music quality detecting method and device.
Background technology
Along with social development, people are more and more higher to music quality requirements, and hope can be tested the music quality of musical works, understand the music quality situation of musical works.Inventor finds that in prior art, there are the following problems: in existing music store, have a lot of early stage music files, people generally use flac (Free Lossless Audio Codec, Lossless Audio Compression is encoded) or mp3 (Moving Picture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3) etc. coded system is distinguished the music quality of music file, because coded system can not determine the music quality of music file, therefore this differentiating method is incorrect; People also can utilize code check to distinguish the music quality of music file (such as necessarily good than code check 128k of code check 320k), this is also incorrect, code check can not determine the music quality of music file, so the existing music attribute test method to music file is both incorrect, expends again a large amount of manpower and materials.
Summary of the invention
Based on above-mentioned situation, the present invention proposes a kind of music quality detecting method, correctly detect the music quality of music file, test is carried out automatically, and the cost such as use manpower and material resources sparingly, has good using value.
To achieve these goals, the embodiment of technical solution of the present invention is:
A music quality detecting method, comprises the following steps:
The sound signal of music file to be detected is carried out to the frequency-domain audio signals that pre-service obtains described music file to be detected;
Search for the local maximum of described frequency-domain audio signals;
The local maximum obtaining according to search and the sampling rate of described sound signal are determined the cutoff frequency of described sound signal, and the sampling rate of described sound signal is obtained from the fileinfo of described music file to be detected;
According to the mapping table prestoring, the cutoff frequency of described sound signal is shone upon to processing, based on mapping result, judge the music quality situation of described sound signal.
For prior art problem, the invention allows for a kind of music quality inspection device, improve the music quality of existing correctly test tone music file, expend the present situation of a large amount of manpower and materials, be applicable to application.
The embodiment of technical solution of the present invention is: a kind of music quality inspection device, comprising:
Pretreatment module, for carrying out to the sound signal of music file to be detected the frequency-domain audio signals that pre-service obtains described music file to be detected;
Search module, for searching for the local maximum of described frequency-domain audio signals;
Determination module, determines the cutoff frequency of described sound signal for the sampling rate of the local maximum that obtains according to search and described sound signal, the sampling rate of described sound signal is obtained from the fileinfo of described music file to be detected;
Judge module, for according to the mapping table prestoring, the cutoff frequency of described sound signal being shone upon to processing, judges the music quality situation of described sound signal based on mapping result.
Compared with prior art, beneficial effect of the present invention is: music quality detecting method of the present invention and device, correctly detect the music quality of music file sound intermediate frequency signal, according to testing result, can delete the music file that in Qu Ku, coding and code check original and actual use are not inconsistent, again transcoding generates the music file of high music quality or the music file that the high music quality of generation is recorded in broadcasting again, forbid the new music file warehouse-in not being inconsistent with coding and code check reality use simultaneously, greatly promoted the music quality of music file in Qu Ku, detect and automatically carry out simultaneously, saved manpower, resource, the costs such as time, improve test speed, there is good using value.
Accompanying drawing explanation
Fig. 1 is music quality detecting method process flow diagram in an embodiment;
Fig. 2 is based on music quality detecting method process flow diagram in concrete example of method shown in Fig. 1;
Fig. 3 is music quality inspection device structural representation in an embodiment;
The part-structure block diagram that Fig. 4 is the terminal device that provides based on the present invention program.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Music quality detecting method in an embodiment, as shown in Figure 1, comprises the following steps:
Step S101: the sound signal of music file to be detected is carried out to the frequency-domain audio signals that pre-service obtains described music file to be detected;
Step S102: the local maximum of searching for described frequency-domain audio signals;
Step S103: the local maximum obtaining according to search and the sampling rate of described sound signal are determined the cutoff frequency of described sound signal, and the sampling rate of described sound signal is obtained from the fileinfo of described music file to be detected;
Step S104: according to the mapping table prestoring, the cutoff frequency of described sound signal is shone upon to processing, judge the music quality situation of described sound signal based on mapping result.
Known from the above description, this method detects the music quality of music file simply, exactly, improves detection speed, reduces the cost of the aspects such as manpower, time, is applicable to practical application.
This method is shone upon the cutoff frequency of sound signal according to the mapping table prestoring, if the cutoff frequency based on mapping result judgement sound signal does not conform to code check with the form of the actual sound signal of using, can reject above-mentioned sound signal according to judged result, transcoding generates the sound signal of high music quality or the sound signal that the high music quality of generation is recorded in broadcasting again again.
As an embodiment, after the described frequency-domain audio signals that obtains described music file to be detected, before the local maximum of the described frequency-domain audio signals of described search, can also comprise step:
Obtain the positive frequency signal of described frequency-domain audio signals; Because the frequency-domain audio signals obtaining is symmetrical structure, comprise positive frequency and negative frequency two parts, therefore obtain the positive frequency signal of frequency-domain audio signals and can simplify subsequent operation, accelerate arithmetic speed;
Or
Described frequency-domain audio signals is normalized; To simplifying subsequent treatment after frequency-domain audio signals normalized, dwindle value, be applicable to application;
Or
Described frequency-domain audio signals is carried out to filtering processing; Frequency-domain audio signals is carried out to filtering, improve arithmetic speed, the cost such as save time, more realistic.
As an embodiment, after the described frequency-domain audio signals that obtains described music file to be detected, before the local maximum of the described frequency-domain audio signals of described search, can also comprise step:
Obtain the positive frequency signal of described frequency-domain audio signals, described positive frequency signal is normalized; The positive frequency signal that obtains frequency-domain audio signals, is further normalized, and can accelerate follow-up computing, and practical value is high;
Or
Obtain the positive frequency signal of described frequency-domain audio signals, described positive frequency signal is carried out to filtering processing; Obtain the positive frequency signal of frequency-domain audio signals, further carry out filtering processing, can improve detection speed, be applicable to practical application;
Or
Described frequency-domain audio signals is normalized, the signal after normalized is carried out to filtering processing; To frequency-domain audio signals be normalized, filtering processes, the cost of the aspects such as minimizing time, has very high using value.
As an embodiment, after the described frequency-domain audio signals that obtains described music file to be detected, before the local maximum of the described frequency-domain audio signals of described search, can also comprise step:
Obtain the positive frequency signal of described frequency-domain audio signals;
Described positive frequency signal is normalized;
Signal after normalized is carried out to filtering processing;
Obtain the positive frequency signal of frequency-domain audio signals, after being further normalized and processing with filtering, simplify subsequent treatment, improve detection speed, be applicable to application.
As an embodiment, the step of the local maximum of the described frequency-domain audio signals of described search can comprise:
Search for the local maximum of described frequency-domain audio signals, when the signal value after described local maximum is greater than first threshold and described local maximum and described local maximum data point is all less than Second Threshold, stop search, first threshold and Second Threshold can obtain by presetting, can set according to actual needs first threshold and Second Threshold, the local maximum that goes out to correspond to actual needs by the first threshold set and Second Threshold fast search, convenient actual use.
In order to understand better this method, below elaborate the application example of a music quality detecting method of the present invention.
In this application example, this music quality detecting method can be divided into pre-service, frequency-domain analysis, cut-off frequency range is divided and mapping judgement four parts, shown in Fig. 2, wherein pre-service comprises the step S201 shown in Fig. 2 and step S202, does not get rid of other method in addition and can process the frequency-domain audio signals that obtains music file to be detected to the sound signal of music file to be detected; Frequency-domain analysis comprises the step S203 shown in Fig. 2 and step S204, does not get rid of the positive frequency signal that also has other method can obtain frequency-domain audio signals, and the step of going forward side by side is normalized; Cut-off frequency range is divided and to be comprised the step S205 shown in Fig. 2, step S206 and step S207, does not get rid of other method in addition and can carry out filtering to the signal after normalized, and the local maximum of signal after search filtering, obtains the sampling rate of sound signal; Mapping judgement comprises the step S208 shown in Fig. 2, and not getting rid of other method in addition can shine upon judgement to the cutoff frequency fc of sound signal, obtains the music quality situation of sound signal.
Music quality detecting method comprises the following steps:
Step S201: first divide frame windowing to the sound signal of music file to be detected, obtain signal xw (n)=w (n) the * x (n) after the windowing of i frame sound signal, wherein w (n) represents window function, preferably choose Hamming window function, x (n) represents i frame sound signal, n represents n sampled point in i frame sound signal, and the length of xw (n) is N, and N is preferably 2 power side;
Step S202: adopt Fast Fourier Transform (FFT) or Fourier transform that the sound signal after minute frame windowing process is converted to frequency-domain audio signals: XW (n)=abs (FFT (xw (n))) or XW (n)=abs (DFT (xw (n))), wherein FFT represents Fast Fourier Transform (FFT), DFT represents Fourier transform, and abs represents to ask for absolute value;
Step S203: the positive frequency signal that obtains frequency-domain audio signals: PX (m)=XW (m), wherein the value of m is [0, N/2];
Step S204: the positive frequency signal to frequency-domain audio signals is normalized: according to formula pX (m) is normalized, wherein PX max(m) represent the maximal value of PX (m), especially, as the maximal value PX of PX (m) max(m)=0 o'clock, PX (m)=0;
Step S205: the signal after adopting sobel operator to normalized carries out filtering and obtains:
PD (m)=PXM (m-N1) * a1+PXM (m-N2) * a2+PXM (m)-PXM (m+N2) * a2-PXM (m+N1) * a1, a1=0.5 wherein, a2=4, N1=2, N2=1;
Step S206: the local maximum of rear signal is processed in search filtering:
The local maximum of the PD (m) that search filtering obtains after processing, the meaning of local maximum is maximal value when longitudinal separation is respectively D in array, D>1, signal value after the local maximum PD of PD (m) (j) is greater than first threshold th1 and local maximum PD (j) and PD (j) data point is all less than Second Threshold th2, while being PD (j) > th1 and PD (j:N/2) < th2, stop search, first threshold th1 and Second Threshold th2 can obtain by presetting;
Step S207: the local maximum obtaining according to search and the sampled audio signal rate fs obtaining from the fileinfo of music file to be detected determine cutoff frequency fc=j*fs/N, wherein j is the abscissa value of the local maximum PD (j) of PD (m), and N is the length of signal xw (n) after the windowing of i frame sound signal;
Step S208: according to the mapping table prestoring, the cutoff frequency of sound signal is shone upon to processing, the music quality situation based on mapping result judgement sound signal, according to the mapping table prestoring, the cutoff frequency of sound signal is shone upon, if the cutoff frequency based on mapping result judgement sound signal does not conform to code check with the form of the actual sound signal of using, the cutoff frequency fc for example obtaining is 16k, can think code check 128k, mp3 form, or code check 64k, aac form, but actual music file is code check 320k, mp3 form, or flac form, can reject above-mentioned sound signal according to judged result, again transcoding generates the sound signal of high music quality or the sound signal that the high music quality of generation is recorded in broadcasting again.
Music quality inspection device in an embodiment, as shown in Figure 3, comprising:
Pretreatment module, for carrying out to the sound signal of music file to be detected the frequency-domain audio signals that pre-service obtains described music file to be detected;
Search module, for searching for the local maximum of described frequency-domain audio signals;
Determination module, determines the cutoff frequency of described sound signal for the sampling rate of the local maximum that obtains according to search and described sound signal, the sampling rate of described sound signal is obtained from the fileinfo of described music file to be detected;
Judge module, for according to the mapping table prestoring, the cutoff frequency of described sound signal being shone upon to processing, judges the music quality situation of described sound signal based on mapping result.
As shown in Figure 3, this preferred embodiment of installing each module annexation is: pretreatment module, search module, determination module and judge module are linked in sequence successively.
First pretreatment module carries out to the sound signal of music file to be detected the frequency-domain audio signals that pre-service obtains music file to be detected; Then search module is searched for the local maximum of frequency-domain audio signals; The local maximum that determination module obtains according to search and the sampling rate of sound signal are determined the cutoff frequency of sound signal, and the sampling rate of sound signal can be obtained from the fileinfo of music file to be detected; Last judge module shines upon processing according to the mapping table prestoring to the cutoff frequency of sound signal, the music quality situation based on mapping result judgement sound signal.
This device correctly detects the music quality height of music file, and test is carried out automatically, uses manpower and material resources sparingly and waits cost, is applicable to applying.
This device shines upon the cutoff frequency of sound signal according to the mapping table prestoring, if the cutoff frequency based on mapping result judgement sound signal does not conform to code check with the form of the actual sound signal of using, can reject above-mentioned sound signal according to judged result, transcoding generates the sound signal of high music quality or the sound signal that the high music quality of generation is recorded in broadcasting again again.
As an embodiment, can also comprise:
Acquisition module, for obtaining the positive frequency signal of the described frequency-domain audio signals that described pretreatment module obtains;
Described search module is searched for the local maximum of described positive frequency signal; Because the frequency-domain audio signals obtaining is symmetrical structure, comprise positive frequency and negative frequency two parts, therefore obtain the positive frequency signal of frequency-domain audio signals and can simplify subsequent operation, accelerate arithmetic speed;
Or
Normalization module, is normalized for the described frequency-domain audio signals that described pretreatment module is obtained;
The local maximum of signal after described search module search normalized; To simplifying subsequent treatment after frequency-domain audio signals normalized, dwindle value, be applicable to application;
Or
Filtration module, carries out filtering processing for the described frequency-domain audio signals that described pretreatment module is obtained;
The local maximum of rear signal is processed in described search module search filtering; Frequency-domain audio signals is carried out to filtering, improve arithmetic speed, the cost such as save time, more realistic.
As an embodiment, can also comprise:
Acquisition module, normalization module, described acquisition module is for obtaining the positive frequency signal of the described frequency-domain audio signals that described pretreatment module obtains, and described normalization module is for being normalized described positive frequency signal;
The local maximum of signal after described search module search normalized; The positive frequency signal that obtains frequency-domain audio signals, is further normalized, and can accelerate follow-up computing, and practical value is high;
Or
Acquisition module, filtration module, described acquisition module is for obtaining the positive frequency signal of the described frequency-domain audio signals that described pretreatment module obtains, and described filtration module is for carrying out filtering processing to described positive frequency signal;
The local maximum of rear signal is processed in described search module search filtering; Obtain the positive frequency signal of frequency-domain audio signals, further carry out filtering processing, can improve detection speed, be applicable to practical application;
Or
Normalization module, filtration module, described normalization module is normalized for the described frequency-domain audio signals that described pretreatment module is obtained, and described filtration module is for carrying out filtering processing to the signal after normalized;
The local maximum of rear signal is processed in described search module search filtering; To frequency-domain audio signals be normalized, filtering processes, the cost of the aspects such as minimizing time, has very high using value.
As an embodiment, can also comprise:
Acquisition module, normalization module, filtration module, described acquisition module is for obtaining the positive frequency signal of the frequency-domain audio signals that described pretreatment module obtains, described normalization module is for described positive frequency signal is normalized, and described filtration module is for carrying out filtering processing to the signal after normalized;
The local maximum of rear signal is processed in described search module search filtering;
Obtain the positive frequency signal of frequency-domain audio signals, after being further normalized and processing with filtering, simplify subsequent treatment, improve detection speed, be applicable to application.
As an embodiment, described search module can comprise:
Search unit, for searching for the local maximum of described frequency-domain audio signals;
Stop element, while being all less than Second Threshold for be greater than first threshold and described local maximum and described local maximum data point signal value afterwards when described local maximum, stop search, first threshold and Second Threshold can obtain by presetting, can in default unit, set first threshold and Second Threshold according to actual needs, the local maximum that goes out to correspond to actual needs by the first threshold set and Second Threshold fast search, convenient actual use.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The embodiment of the present invention also provides a kind of part-structure block diagram of the terminal device based on the present invention program, as shown in Figure 4, for convenience of explanation, only show the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to embodiment of the present invention method part.This terminal can be for comprising the arbitrarily terminal device such as mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, take terminal as mobile phone be example:
Shown in Fig. 4 is the block diagram of the part-structure of the mobile phone that the terminal that provides to the embodiment of the present invention is relevant.
With reference to figure 4, mobile phone comprises: the parts such as storer 410, input block 420, display unit 430, processor 440 and power supply 450.It will be understood by those skilled in the art that the handset structure shown in Fig. 4 does not form the restriction to mobile phone, can comprise the parts more more or less than diagram, or combine some parts, or different parts are arranged.
Below in conjunction with Fig. 4, each component parts of mobile phone is carried out to concrete introduction:
Storer 410 can be used for storing software program and module, and processor 440 is stored in software program and the module of storer 410 by operation, thereby carries out various function application and the data processing of mobile phone.Storer 410 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of mobile phone etc. can be stored in storage data field.In addition, storer 410 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts, processor 440 is stored in software program and the module of storer 410 by operation in embodiments of the present invention, thereby the music quality of music file is detected.Storer 410 can mainly comprise storage program district and storage data field, and storage program district can store corresponding program, and fileinfo and the mapping table of music file to be detected can be stored in storage data field.
Input block 420 can be used for receiving numeral or the character information of input, and generation arranges with the user of mobile phone and function is controlled relevant key signals input.Particularly, input block 420 can comprise contact panel 421 and other input equipments 422.Contact panel 421, also referred to as touch-screen, can collect user or near touch operation (using any applicable object or near the operations of annex on contact panel 421 or contact panel 421 such as finger, stylus such as user) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, contact panel 421 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 440, and the order that energy receiving processor 440 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 421.Except contact panel 421, input block 420 can also comprise other input equipments 422.Particularly, other input equipments 422 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
Display unit 430 can be used for showing the information inputted by user or the various menus of the information that offers user and mobile phone.Display unit 430 can comprise display panel 431, optionally, can adopt the forms such as liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) to configure display panel 431.Further, contact panel 421 can cover display panel 431, when contact panel 421 detect thereon or near touch operation after, send processor 440 to determine the type of touch event, corresponding vision output is provided according to the type of touch event with preprocessor 440 on display panel 431.Although in Fig. 4, contact panel 421 and display panel 431 be as two independently parts realize input and the input function of mobile phone, but in certain embodiments, can contact panel 421 and display panel 431 is integrated and realize the input and output function of mobile phone.
Processor 440 is control centers of mobile phone, utilize the various piece of various interface and the whole mobile phone of connection, by moving or carry out software program and/or the module being stored in storer 410, and call the data that are stored in storer 410, carry out various functions and the deal with data of mobile phone, thereby mobile phone is carried out to integral monitoring.Optionally, processor 440 can comprise one or more processing units; Preferably, processor 440 can integrated application processor and modem processor, and wherein, application processor is mainly processed operating system, user interface and application program etc., and modem processor is mainly processed radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 440, processor 440 can utilize the various piece of various interface and the whole mobile phone of connection in embodiments of the present invention, by moving or carry out software program and/or the module being stored in storer 410, and call the data that are stored in storer 410, music quality to music file detects, thereby mobile phone is carried out to integral monitoring.
Mobile phone also comprises the power supply 450 (such as battery) to all parts power supply, preferably, power supply can be connected with processor 440 logics by power-supply management system, thereby realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone can also comprise camera, bluetooth module etc., does not repeat them here.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (10)

1. a music quality detecting method, is characterized in that, comprises the following steps:
The sound signal of music file to be detected is carried out to the frequency-domain audio signals that pre-service obtains described music file to be detected;
Search for the local maximum of described frequency-domain audio signals;
The local maximum obtaining according to search and the sampling rate of described sound signal are determined the cutoff frequency of described sound signal, and the sampling rate of described sound signal is obtained from the fileinfo of described music file to be detected;
According to the mapping table prestoring, the cutoff frequency of described sound signal is shone upon to processing, based on mapping result, judge the music quality situation of described sound signal.
2. music quality detecting method according to claim 1, is characterized in that, after the described frequency-domain audio signals that obtains described music file to be detected, before the local maximum of the described frequency-domain audio signals of described search, also comprises step:
Obtain the positive frequency signal of described frequency-domain audio signals;
Or
Described frequency-domain audio signals is normalized;
Or
Described frequency-domain audio signals is carried out to filtering processing.
3. music quality detecting method according to claim 1, is characterized in that, after the described frequency-domain audio signals that obtains described music file to be detected, before the local maximum of the described frequency-domain audio signals of described search, also comprises step:
Obtain the positive frequency signal of described frequency-domain audio signals, described positive frequency signal is normalized;
Or
Obtain the positive frequency signal of described frequency-domain audio signals, described positive frequency signal is carried out to filtering processing;
Or
Described frequency-domain audio signals is normalized, the signal after normalized is carried out to filtering processing.
4. music quality detecting method according to claim 1, is characterized in that, after the described frequency-domain audio signals that obtains described music file to be detected, before the local maximum of the described frequency-domain audio signals of described search, also comprises step:
Obtain the positive frequency signal of described frequency-domain audio signals;
Described positive frequency signal is normalized;
Signal after normalized is carried out to filtering processing.
5. music quality detecting method according to claim 1, is characterized in that, the step of the local maximum of the described frequency-domain audio signals of described search comprises:
Search for the local maximum of described frequency-domain audio signals, when the signal value after described local maximum is greater than first threshold and described local maximum and described local maximum data point is all less than Second Threshold, stop search.
6. a music quality inspection device, is characterized in that, comprising:
Pretreatment module, for carrying out to the sound signal of music file to be detected the frequency-domain audio signals that pre-service obtains described music file to be detected;
Search module, for searching for the local maximum of described frequency-domain audio signals;
Determination module, determines the cutoff frequency of described sound signal for the sampling rate of the local maximum that obtains according to search and described sound signal, the sampling rate of described sound signal is obtained from the fileinfo of described music file to be detected;
Judge module, for according to the mapping table prestoring, the cutoff frequency of described sound signal being shone upon to processing, judges the music quality situation of described sound signal based on mapping result.
7. music quality inspection device according to claim 6, is characterized in that, also comprises:
Acquisition module, for obtaining the positive frequency signal of the described frequency-domain audio signals that described pretreatment module obtains;
Described search module is searched for the local maximum of described positive frequency signal;
Or
Normalization module, is normalized for the described frequency-domain audio signals that described pretreatment module is obtained;
The local maximum of signal after described search module search normalized;
Or
Filtration module, carries out filtering processing for the described frequency-domain audio signals that described pretreatment module is obtained;
The local maximum of rear signal is processed in described search module search filtering.
8. music quality inspection device according to claim 6, is characterized in that, also comprises:
Acquisition module, normalization module, described acquisition module is for obtaining the positive frequency signal of the described frequency-domain audio signals that described pretreatment module obtains, and described normalization module is for being normalized described positive frequency signal;
The local maximum of signal after described search module search normalized;
Or
Acquisition module, filtration module, described acquisition module is for obtaining the positive frequency signal of the described frequency-domain audio signals that described pretreatment module obtains, and described filtration module is for carrying out filtering processing to described positive frequency signal;
The local maximum of rear signal is processed in described search module search filtering;
Or
Normalization module, filtration module, described normalization module is normalized for the described frequency-domain audio signals that described pretreatment module is obtained, and described filtration module is for carrying out filtering processing to the signal after normalized;
The local maximum of rear signal is processed in described search module search filtering.
9. music quality inspection device according to claim 6, is characterized in that, also comprises:
Acquisition module, normalization module, filtration module, described acquisition module is for obtaining the positive frequency signal of the frequency-domain audio signals that described pretreatment module obtains, described normalization module is for described positive frequency signal is normalized, and described filtration module is for carrying out filtering processing to the signal after normalized;
The local maximum of rear signal is processed in described search module search filtering.
10. music quality inspection device according to claim 6, is characterized in that, described search module comprises:
Search unit, for searching for the local maximum of described frequency-domain audio signals;
Stop element, while being all less than Second Threshold for be greater than first threshold and described local maximum and described local maximum data point signal value afterwards when described local maximum, stops search.
CN201410329047.2A 2014-07-10 2014-07-10 Method and device for detecting music quality Pending CN104091601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410329047.2A CN104091601A (en) 2014-07-10 2014-07-10 Method and device for detecting music quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410329047.2A CN104091601A (en) 2014-07-10 2014-07-10 Method and device for detecting music quality

Publications (1)

Publication Number Publication Date
CN104091601A true CN104091601A (en) 2014-10-08

Family

ID=51639311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410329047.2A Pending CN104091601A (en) 2014-07-10 2014-07-10 Method and device for detecting music quality

Country Status (1)

Country Link
CN (1) CN104091601A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105788612A (en) * 2016-03-31 2016-07-20 广州酷狗计算机科技有限公司 Method and device for testing tone quality
CN107564534A (en) * 2017-08-21 2018-01-09 腾讯音乐娱乐(深圳)有限公司 Audio quality authentication method and device
CN108111908A (en) * 2017-12-25 2018-06-01 深圳Tcl新技术有限公司 Audio quality determines method, equipment and computer readable storage medium
WO2020052088A1 (en) * 2018-09-10 2020-03-19 广州酷狗计算机科技有限公司 Method and device for recovering audio signal
US10924877B2 (en) 2017-12-26 2021-02-16 Guangzhou Kugou Computer Technology Co., Ltd Audio signal processing method, terminal and storage medium thereof
US10964300B2 (en) 2017-11-21 2021-03-30 Guangzhou Kugou Computer Technology Co., Ltd. Audio signal processing method and apparatus, and storage medium thereof
US11039261B2 (en) 2017-12-26 2021-06-15 Guangzhou Kugou Computer Technology Co., Ltd. Audio signal processing method, terminal and storage medium thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777891A (en) * 2003-04-24 2006-05-24 皇家飞利浦电子股份有限公司 Parameterized temporal feature analysis
CN101599271A (en) * 2009-07-07 2009-12-09 华中科技大学 A kind of recognition methods of digital music emotion
CN101645265A (en) * 2008-08-05 2010-02-10 中兴通讯股份有限公司 Method and device for identifying audio category in real time
CN102568470A (en) * 2012-01-11 2012-07-11 广州酷狗计算机科技有限公司 Acoustic fidelity identification method and system for audio files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1777891A (en) * 2003-04-24 2006-05-24 皇家飞利浦电子股份有限公司 Parameterized temporal feature analysis
CN101645265A (en) * 2008-08-05 2010-02-10 中兴通讯股份有限公司 Method and device for identifying audio category in real time
CN101599271A (en) * 2009-07-07 2009-12-09 华中科技大学 A kind of recognition methods of digital music emotion
CN102568470A (en) * 2012-01-11 2012-07-11 广州酷狗计算机科技有限公司 Acoustic fidelity identification method and system for audio files

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105788612A (en) * 2016-03-31 2016-07-20 广州酷狗计算机科技有限公司 Method and device for testing tone quality
CN105788612B (en) * 2016-03-31 2019-11-05 广州酷狗计算机科技有限公司 A kind of method and apparatus detecting sound quality
CN107564534A (en) * 2017-08-21 2018-01-09 腾讯音乐娱乐(深圳)有限公司 Audio quality authentication method and device
CN107564534B (en) * 2017-08-21 2021-12-31 腾讯音乐娱乐(深圳)有限公司 Audio quality identification method and device
US10964300B2 (en) 2017-11-21 2021-03-30 Guangzhou Kugou Computer Technology Co., Ltd. Audio signal processing method and apparatus, and storage medium thereof
CN108111908A (en) * 2017-12-25 2018-06-01 深圳Tcl新技术有限公司 Audio quality determines method, equipment and computer readable storage medium
US10924877B2 (en) 2017-12-26 2021-02-16 Guangzhou Kugou Computer Technology Co., Ltd Audio signal processing method, terminal and storage medium thereof
US11039261B2 (en) 2017-12-26 2021-06-15 Guangzhou Kugou Computer Technology Co., Ltd. Audio signal processing method, terminal and storage medium thereof
WO2020052088A1 (en) * 2018-09-10 2020-03-19 广州酷狗计算机科技有限公司 Method and device for recovering audio signal
US11315582B2 (en) 2018-09-10 2022-04-26 Guangzhou Kugou Computer Technology Co., Ltd. Method for recovering audio signals, terminal and storage medium

Similar Documents

Publication Publication Date Title
CN104091601A (en) Method and device for detecting music quality
US11393472B2 (en) Method and apparatus for executing voice command in electronic device
US11256472B2 (en) Determining that audio includes music and then identifying the music as a particular song
CN103440862B (en) A kind of method of voice and music synthesis, device and equipment
US10331399B2 (en) Smart audio playback when connecting to an audio output system
US9620105B2 (en) Analyzing audio input for efficient speech and music recognition
CN103959201B (en) Be in idle mode based on ultrasonic mobile receiver
US9354842B2 (en) Apparatus and method of controlling voice input in electronic device supporting voice recognition
KR102022318B1 (en) Method and apparatus for performing user function by voice recognition
US9961439B2 (en) Recording apparatus, and control method of recording apparatus
US20140244273A1 (en) Voice-controlled communication connections
CN107886944B (en) Voice recognition method, device, equipment and storage medium
CN110097895B (en) Pure music detection method, pure music detection device and storage medium
CN107229629B (en) Audio recognition method and device
US9224385B1 (en) Unified recognition of speech and music
CN106328176B (en) A kind of method and apparatus generating song audio
CN108831508A (en) Voice activity detection method, device and equipment
US10950221B2 (en) Keyword confirmation method and apparatus
CN109243488A (en) Audio-frequency detection, device and storage medium
CN108600559B (en) Control method and device of mute mode, storage medium and electronic equipment
CN108989551B (en) Position prompting method and device, storage medium and electronic equipment
WO2016197430A1 (en) Information output method, terminal, and computer storage medium
CN107564534A (en) Audio quality authentication method and device
CN107148117A (en) Lighting Control Assembly, device and method
CN106933626A (en) Association method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20161102

Address after: 510000 Guangzhou, Tianhe District branch Yun Yun Road, No. 16, self built room 2, building 1301

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518000 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141008