CN106228994B - A kind of method and apparatus detecting sound quality - Google Patents

A kind of method and apparatus detecting sound quality Download PDF

Info

Publication number
CN106228994B
CN106228994B CN201610597605.2A CN201610597605A CN106228994B CN 106228994 B CN106228994 B CN 106228994B CN 201610597605 A CN201610597605 A CN 201610597605A CN 106228994 B CN106228994 B CN 106228994B
Authority
CN
China
Prior art keywords
audio
sound quality
color
audio file
loudness
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
Application number
CN201610597605.2A
Other languages
Chinese (zh)
Other versions
CN106228994A (en
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
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201610597605.2A priority Critical patent/CN106228994B/en
Publication of CN106228994A publication Critical patent/CN106228994A/en
Application granted granted Critical
Publication of CN106228994B publication Critical patent/CN106228994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • G10L25/60Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for measuring the quality of voice signals
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/78Detection of presence or absence of voice signals

Abstract

The invention discloses a kind of method and apparatus for detecting sound quality, belong to field of computer technology.The described method includes: receiving the automatic detection instruction of sound quality of the first audio file of user's input;Obtain the sonograph of first audio file;If preset standard audio frequency corresponding color at each audio frame is the color of preset zero loudness of correspondence in the sonograph, then show that the sound quality of first audio file is to damage the prompt information of sound quality.Using the present invention, it is ensured that experience when user listens to music.

Description

A kind of method and apparatus detecting sound quality
Technical field
The present invention relates to field of computer technology, in particular to a kind of method and apparatus for detecting sound quality.
Background technique
Along with quickly universal and bandwidth the continuous growth of internet, requirement of the people for sound quality is also more next Higher, the audio file of lossless sound quality is increasingly becoming first choice when listening to music.It generally can be to audio text after the completion of song recordings Part is compressed, and compression is divided into lossy compression and lossless compression, can respectively obtain the audio text for damaging sound quality and lossless sound quality Part, compared with the audio file for damaging sound quality, the information content that the audio file of lossless sound quality includes is bigger, and fidelity is higher, and one As lossless sound quality audio file code rate be much higher than damage sound quality audio file code rate.
When user wants to listen the music of lossless sound quality, the music class application program of installation at the terminal can be opened, in sound Musical designation is inputted in the music searching frame of happy class application program, and selects lossless sound quality, and after clicking acknowledgement key, terminal can To send the audio file acquisition request of lossless sound quality to the server of music class application program.In this way, server is receiving After above-mentioned acquisition request, the corresponding audio file of above-mentioned musical designation can be searched in lossless music libraries, and then by the audio File is sent to terminal.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Since the source of the audio file in the lossless music libraries of server is more many and diverse, some audio files may be by The audio file for damaging sound quality, the audio file for the lossless sound quality (damaging sound quality) of vacation being transformed, in this way, if user obtains The audio file got is the audio file of these false lossless sound quality, it will reduces experience when user listens to music.
Summary of the invention
In order to solve problems in the prior art, the embodiment of the invention provides a kind of method and apparatus for detecting sound quality.Institute It is as follows to state technical solution:
In a first aspect, providing a kind of method for detecting sound quality, which comprises
Receive the automatic detection instruction of sound quality of the first audio file of user's input;
Obtain the sonograph of first audio file;
If preset standard audio frequency corresponding color at each audio frame is default in the sonograph Zero loudness of correspondence color, then show that the sound quality of first audio file is to damage the prompt information of sound quality.
Optionally, the method also includes:
When the manual detection instruction of the sound quality for receiving first audio file that user inputs, first sound is shown The sonograph of frequency file, and the corresponding frequency line of the standard audio frequency is shown in the sonograph.
In this way, user can by detect manually be understood more intuitively audio file sound quality,
Optionally, the method also includes:
The sound quality of first audio file is labeled as to damage sound quality.
In this way, terminal can mark the sound quality of audio file, user is facilitated to select the audio file of lossless sound quality later.
Optionally, the sonograph for obtaining first audio file, comprising:
According to the corresponding relationship of preset color and loudness, the sonograph of first audio file is generated.
Optionally, the method also includes:
When receiving the setting of color of corresponding zero loudness instruction, the first color of user's input is obtained, by described the One color is set as the color of corresponding zero loudness.
Second aspect, provides a kind of device for detecting sound quality, and described device includes:
Receiving module, the automatic detection instruction of sound quality of the first audio file for receiving user's input;
Module is obtained, for obtaining the sonograph of first audio file;
Cue module, if preset standard audio frequency is corresponding at each audio frame in the sonograph Color be preset zero loudness of correspondence color, then show that the sound quality of first audio file is to damage the prompt of sound quality Information.
Optionally, described device further include:
Display module, for when receiving the manual detection instruction of sound quality of first audio file of user's input, It shows the sonograph of first audio file, and shows the corresponding frequency of the standard audio frequency in the sonograph Line.
Optionally, described device further include:
Mark module damages sound quality for the sound quality of first audio file to be labeled as.
Optionally, the acquisition module, is used for:
According to the corresponding relationship of preset color and loudness, the sonograph of first audio file is generated.
Optionally, described device further include:
Setup module, for obtaining the first of user's input when the setting instruction for the color for receiving corresponding zero loudness Color sets first color to the color of corresponding zero loudness.
Technical solution provided in an embodiment of the present invention has the benefit that
In the embodiment of the present invention, the automatic detection instruction of sound quality of the first audio file of user's input is received, obtains first The sonograph of audio file, if preset standard audio frequency corresponding color at each audio frame is equal in sonograph For the color of preset zero loudness of correspondence, then show that the sound quality of the first audio file is to damage the prompt information of sound quality.In this way, eventually End can be according in sonograph, and whether the corresponding color of preset standard audio frequency is lossless come the sound quality for judging audio file Sound quality thereby may be ensured that experience when user listens to music so that user can choose the audio file for playing lossless sound quality.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is a kind of method flow diagram for detecting sound quality provided in an embodiment of the present invention;
Fig. 2 is a kind of rough schematic at sound quality detection interface provided in an embodiment of the present invention;
Fig. 3 is a kind of rough schematic of sound quality of detection manually provided in an embodiment of the present invention;
Fig. 4 is a kind of rough schematic for marking audio file sound quality provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram for detecting sound quality provided in an embodiment of the present invention;
Fig. 6 is a kind of apparatus structure schematic diagram for detecting sound quality provided in an embodiment of the present invention;
Fig. 7 is a kind of apparatus structure schematic diagram for detecting sound quality provided in an embodiment of the present invention;
Fig. 8 is a kind of apparatus structure schematic diagram for detecting sound quality provided in an embodiment of the present invention;
Fig. 9 is a kind of apparatus structure schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The embodiment of the invention provides a kind of method for detecting sound quality, the executing subject of this method is terminal.Wherein, terminal It can be the terminal for detecting sound quality, can be computer, mobile phone etc..Broadcast message class application program can be installed in terminal, The broadcast message class application program can have the function of detection audio file sound quality.Processor, memory can be set in terminal, Processor can be used for detecting the relevant treatment of sound quality, and memory, which can be used for storing, to be needed and generate in following treatment processes Data.It is also provided with audio output part and display unit, audio output part can be used for playing audio file, display Component can show the related content of audio file.
Below in conjunction with specific embodiment, process flow shown in FIG. 1 is described in detail, content can be as Under:
Step 101, the automatic detection instruction of sound quality of the first audio file of user's input is received.
In an implementation, the broadcast message class application program for playing audio file can be installed, user can make in terminal The audio file being locally stored or the audio file downloaded from network are played with the broadcast message class application program.The broadcast message class is answered Sound quality detection function can be set with program, when user need to detect some audio file with the presence or absence of sound quality defect, i.e., Whether the actual sound quality for detecting the audio file is lossless sound quality, can open the sound quality detection circle of the broadcast message class application program Then face selects some audio file (i.e. the first audio file) at audio file list, click automatic detection key later, Terminal then can receive the automatic detection instruction of sound quality of the first audio file of user's input, and sound quality detects interface can be such as figure Shown in 2.
Step 102, the sonograph of the first audio file is obtained.
In an implementation, terminal is after the automatic detection instruction of sound quality for receiving the first audio file, available first sound The sonograph of frequency file.Herein, it is interim to can be data of the terminal based on the first audio file for the sonograph of the first audio file Generate, be also possible to server corresponding from above-mentioned broadcast message class application program from download, can also be and the first sound Frequency file is corresponding, the sonograph being stored in advance in terminal.Pre-stored sonograph terminal can be based on first for before again What the data of audio file generated, or can be what terminal was obtained when obtaining the first audio file.
Optionally, the corresponding relationship of different colours and different loudness in sonograph can be set in terminal, correspondingly, step 102 processing can be such that the corresponding relationship according to preset color and loudness, generate the sonograph of the first audio file.
In an implementation, it can store the corresponding relationship of preset color and loudness in terminal, terminal is receiving first It after the automatic detection instruction of the sound quality of audio file, can first determine at each audio frame, each audio frequency of the first audio file point The loudness of amount, and then determine the corresponding color of loudness, so as to generate the sonograph of the first audio file.
Step 103, if in sonograph, preset standard audio frequency corresponding color at each audio frame is The color of preset zero loudness of correspondence then shows that the sound quality of the first audio file is to damage the prompt information of sound quality.
Wherein, the horizontal axis of sonograph is time (i.e. audio frame) axis, and the longitudinal axis is frequency axis, and is indicated with different colors Audio loudness size corresponding to different time different frequency.
In an implementation, terminal is after the sonograph for getting the first audio file, it can be determined that each audio frame in sonograph Corresponding highest audio frequency component, if the corresponding highest audio frequency component of each audio frame is respectively less than preset standard pronunciation Frequent rate, i.e., preset standard audio frequency corresponding color at each audio frame is preset zero sound of correspondence in sonograph The color of degree, it can think that the corresponding loudness of the first audio file Plays audio frequency is zero.And sound is damaged due to existing Pleasure be obtained after cutting off the high frequency section of lossless music, so can with established standards audio frequency for the excision frequency, from And if the loudness that standard audio frequency corresponds to audio component is zero, the first audio file exists at standard audio frequency to be lacked Damage, therefore can consider that the first audio file is to damage music, so that terminal can show that the sound quality of the first audio file is to damage The prompt information of sound quality.It is noted that considering the definition to lossless music and human ear hearing frequencies in the prior art Range can be 22khz with established standards audio frequency.Further, it is also possible to set time standard audio frequency, secondary standard audio frequency It can be 21khz, the available secondary standard audio frequency corresponding face at all audio frames of terminal less than standard audio frequency Color, if the audio frame proportion of the color of corresponding zero loudness is less than preset threshold, it may be considered that the first audio file Sound quality is lossless sound quality.
Optionally, terminal can also provide user's method for detecting sound quality manually, and corresponding processing can be such that when reception When the manual detection instruction of sound quality of the first audio file inputted to user, the sonograph of the first audio file is shown, and in sound The corresponding frequency line of standard audio frequency is shown in spectrogram.
In an implementation, when user need to detect some audio file with the presence or absence of sound quality defect, that is, detect audio text Whether the actual sound quality of part is lossless sound quality, can open the sound quality detection of the broadcast message class application program of above-mentioned installation at the terminal Then interface selects some audio file (i.e. the first audio file) at audio file list, click detection manually later and press Key, terminal then can receive the manual detection instruction of sound quality of the first audio file of user's input, so as to obtain and show Show the sonograph of the first audio file, while showing the corresponding frequency line of standard audio frequency in sonograph, in this way, user is then More can intuitively find out whether color corresponding to the corresponding frequency line of standard audio frequency is corresponding zero by sonograph The color of loudness, so as to detect whether the sound quality of the first audio file is to damage sound quality manually, as shown in figure 3, wherein The lossless line of 22khz is the corresponding frequency line of standard audio frequency.
Optionally, terminal can also mark the sound quality of each audio file, and corresponding processing can be such that the first audio The sound quality of file is labeled as damaging sound quality.
It in an implementation, can be by the first audio text after terminal detects that the sound quality of the first audio file is to damage sound quality The sound quality of part is labeled as sound quality is damaged, specifically, can be the first audio in the audio list of above-mentioned broadcast message class application program File adds sound quality mark, similarly, can be by the sound of the first audio file if the sound quality of the first audio file is lossless sound quality Matter is labeled as lossless sound quality, can also mark the audio file not detected, as shown in Figure 4.
Optionally, user can be with the corresponding color of zero loudness of self-setting, and corresponding processing can be such that when receiving pair When the setting of the color of zero loudness being answered to instruct, the first color of user's input is obtained, sets corresponding zero loudness for the first color Color.
In an implementation, user can open the setting page of above-mentioned broadcast message class application program, then click zero loudness color Setting button, at this moment terminal can click a kind of color in the color selection interface with display color selection interface, user (i.e. the first color), and confirmation key is clicked, in this way, terminal then can receive the setting instruction of the color of corresponding zero loudness, And then the first color of available user's input, then it can set the first color to the color of corresponding zero loudness.Herein, If terminal is the sonograph generated based on the corresponding relationship of preset color and loudness, the first color can be above-mentioned correspondence The color being not present in relationship.
In the embodiment of the present invention, the automatic detection instruction of sound quality of the first audio file of user's input is received, obtains first The sonograph of audio file, if preset standard audio frequency corresponding color at each audio frame is equal in sonograph For the color of preset zero loudness of correspondence, then show that the sound quality of the first audio file is to damage the prompt information of sound quality.In this way, eventually End can be according in sonograph, and whether the corresponding color of preset standard audio frequency is lossless come the sound quality for judging audio file Sound quality thereby may be ensured that experience when user listens to music so that user can choose the audio file for playing lossless sound quality.
Based on the same technical idea, the embodiment of the invention also provides a kind of detection sound quality devices, as shown in figure 5, should Device includes:
Receiving module 501, the automatic detection instruction of sound quality of the first audio file for receiving user's input;
Module 502 is obtained, for obtaining the sonograph of first audio file;
Cue module 503, if in the sonograph, preset standard audio frequency is at each audio frame pair The color answered is the color of preset zero loudness of correspondence, then shows that the sound quality of first audio file is to damage mentioning for sound quality Show information.
Optionally, as shown in fig. 6, described device further include:
Display module 504, for the manual detection instruction of sound quality when first audio file for receiving user's input When, show the sonograph of first audio file, and the corresponding frequency of the standard audio frequency is shown in the sonograph Rate line.
Optionally, as shown in fig. 7, described device further include:
Mark module 505 damages sound quality for the sound quality of first audio file to be labeled as.
Optionally, the acquisition module 502, is used for:
According to the corresponding relationship of preset color and loudness, the sonograph of first audio file is generated.
Optionally, as shown in figure 8, described device further include:
Setup module 506, for when receiving the setting of color of corresponding zero loudness instruction, obtaining the of user's input One color sets first color to the color of corresponding zero loudness.
In the embodiment of the present invention, the automatic detection instruction of sound quality of the first audio file of user's input is received, obtains first The sonograph of audio file, if preset standard audio frequency corresponding color at each audio frame is equal in sonograph For the color of preset zero loudness of correspondence, then show that the sound quality of the first audio file is to damage the prompt information of sound quality.In this way, eventually End can be according in sonograph, and whether the corresponding color of preset standard audio frequency is lossless come the sound quality for judging audio file Sound quality thereby may be ensured that experience when user listens to music so that user can choose the audio file for playing lossless sound quality.
It should be understood that it is provided by the above embodiment detection sound quality device when detecting sound quality, only with above-mentioned each function Can module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of device is divided into different functional modules, described above all or part of to complete Function.In addition, the device of detection sound quality provided by the above embodiment and the embodiment of the method for detection sound quality belong to same design, Specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Referring to FIG. 9, the terminal can be used for it illustrates the structural schematic diagram of terminal involved in the embodiment of the present invention The method of the detection sound quality provided in above-described embodiment is provided.Specifically:
Terminal 900 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meter The memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 9 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.Wireless communication, which can be used, appoints (Global System of Mobile communication, the whole world are moved for one communication standard or agreement, including but not limited to GSM Dynamic communication system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 900 According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory 120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 500 that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 9 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
Terminal 900 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 900 is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 900 can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 900.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160 Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160 Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110 End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack, To provide the communication of peripheral hardware earphone Yu terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronics by WiFi module 170 Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 is shown WiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 900, it can according to need completely Do not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 900, utilizes each portion of various interfaces and connection whole mobile phone Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of terminal 900, to carry out integral monitoring to mobile phone.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor, Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothing Line communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 900 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 900 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this reality It applies in example, the display unit of terminal 900 is touch-screen display, and terminal 900 further includes having memory and one or one Above program, one of them perhaps more than one program be stored in memory and be configured to by one or one with Upper processor execution states one or more than one program includes the instruction for performing the following operation:
Receive the automatic detection instruction of sound quality of the first audio file of user's input;
Obtain the sonograph of first audio file;
If preset standard audio frequency corresponding color at each audio frame is default in the sonograph Zero loudness of correspondence color, then show that the sound quality of first audio file is to damage the prompt information of sound quality.
Optionally, the method also includes:
When the manual detection instruction of the sound quality for receiving first audio file that user inputs, first sound is shown The sonograph of frequency file, and the corresponding frequency line of the standard audio frequency is shown in the sonograph.
Optionally, the method also includes:
The sound quality of first audio file is labeled as to damage sound quality.
Optionally, the sonograph for obtaining first audio file, comprising:
According to the corresponding relationship of preset color and loudness, the sonograph of first audio file is generated.
Optionally, the method also includes:
When receiving the setting of color of corresponding zero loudness instruction, the first color of user's input is obtained, by described the One color is set as the color of corresponding zero loudness.
In the embodiment of the present invention, the automatic detection instruction of sound quality of the first audio file of user's input is received, obtains first The sonograph of audio file, if preset standard audio frequency corresponding color at each audio frame is equal in sonograph For the color of preset zero loudness of correspondence, then show that the sound quality of the first audio file is to damage the prompt information of sound quality.In this way, eventually End can be according in sonograph, and whether the corresponding color of preset standard audio frequency is lossless come the sound quality for judging audio file Sound quality thereby may be ensured that experience when user listens to music so that user can choose the audio file for playing lossless sound quality.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (4)

1. a kind of method for detecting sound quality, which is characterized in that the described method includes:
By the sound quality detection function of broadcast message class application program, the sound quality for receiving the first audio file of user's input detects automatically Instruction;
Determine the loudness of the first audio file each audio frequency components at each audio frame;
According to the corresponding relationship of preset color and loudness, first audio file each audio frequency at each audio frame is determined The corresponding color of the loudness of rate component;
According to the corresponding color of loudness of the first audio file each audio frequency components at each audio frame, described in generation The sonograph of first audio file, the horizontal axis of the sonograph are audio frame axis, and the longitudinal axis is frequency axis, and with different color tables Show audio loudness size corresponding to different audio frame different frequencies;
If preset standard audio frequency corresponding color at each audio frame is preset right in the sonograph The color of zero loudness is answered, then shows that the sound quality of first audio file is to damage the prompt information of sound quality, by first sound The sound quality of frequency file is 22khz, the color of zero loudness of correspondence labeled as sound quality, the preset standard audio frequency is damaged The first color of user's input to be obtained, according to first face when the setting instruction for the color for receiving corresponding zero loudness Color is arranged to obtain.
2. the method according to claim 1, wherein the method also includes:
When the manual detection instruction of the sound quality for receiving first audio file that user inputs, the first audio text is shown The sonograph of part, and the corresponding frequency line of the standard audio frequency is shown in the sonograph.
3. a kind of device for detecting sound quality, which is characterized in that described device includes:
Receiving module receives the first audio file of user's input for passing through the sound quality detection function of broadcast message class application program The automatic detection instruction of sound quality;
Module is obtained, for determining the loudness of the first audio file each audio frequency components at each audio frame;According to The corresponding relationship of preset color and loudness determines first audio file each audio frequency components at each audio frame The corresponding color of loudness;According to the corresponding face of loudness of the first audio file each audio frequency components at each audio frame Color generates the sonograph of first audio file, and the horizontal axis of the sonograph is audio frame axis, and the longitudinal axis is frequency axis, is used in combination Different colors indicates audio loudness size corresponding to different audio frame different frequencies;
Cue module, if in the sonograph, preset standard audio frequency corresponding face at each audio frame Color is the color of preset zero loudness of correspondence, then shows that the sound quality of first audio file is the prompt letter for damaging sound quality Breath, the preset standard audio frequency are 22khz, and the color of zero loudness of correspondence is when the face for receiving corresponding zero loudness When the setting instruction of color, the first color of user's input is obtained, is arranged to obtain according to first color;
Mark module damages sound quality for the sound quality of first audio file to be labeled as.
4. device according to claim 3, which is characterized in that described device further include:
Display module, for showing when the manual detection instruction of the sound quality for receiving first audio file that user inputs The sonograph of first audio file, and the corresponding frequency line of the standard audio frequency is shown in the sonograph.
CN201610597605.2A 2016-07-26 2016-07-26 A kind of method and apparatus detecting sound quality Active CN106228994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610597605.2A CN106228994B (en) 2016-07-26 2016-07-26 A kind of method and apparatus detecting sound quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610597605.2A CN106228994B (en) 2016-07-26 2016-07-26 A kind of method and apparatus detecting sound quality

Publications (2)

Publication Number Publication Date
CN106228994A CN106228994A (en) 2016-12-14
CN106228994B true CN106228994B (en) 2019-02-26

Family

ID=57534362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610597605.2A Active CN106228994B (en) 2016-07-26 2016-07-26 A kind of method and apparatus detecting sound quality

Country Status (1)

Country Link
CN (1) CN106228994B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108111908A (en) * 2017-12-25 2018-06-01 深圳Tcl新技术有限公司 Audio quality determines method, equipment and computer readable storage medium
CN112333608B (en) * 2018-07-26 2022-03-22 Oppo广东移动通信有限公司 Voice data processing method and related product
CN114003150A (en) * 2021-10-25 2022-02-01 北京字跳网络技术有限公司 Sound effect display method and terminal equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4709928B1 (en) * 2010-01-21 2011-06-29 株式会社東芝 Sound quality correction apparatus and sound quality correction method
CN102394065B (en) * 2011-11-04 2013-06-12 中山大学 Analysis method of digital audio fake quality WAVE file
CN102568470B (en) * 2012-01-11 2013-12-25 广州酷狗计算机科技有限公司 Acoustic fidelity identification method and system for audio files
CN104036788B (en) * 2014-05-29 2016-10-05 北京音之邦文化科技有限公司 The acoustic fidelity identification method of audio file and device
CN105070299A (en) * 2015-07-01 2015-11-18 浙江天格信息技术有限公司 Hi-Fi tone quality identifying method based on pattern recognition
CN105788612B (en) * 2016-03-31 2019-11-05 广州酷狗计算机科技有限公司 A kind of method and apparatus detecting sound quality

Also Published As

Publication number Publication date
CN106228994A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN105788612B (en) A kind of method and apparatus detecting sound quality
CN106331826B (en) A kind of methods, devices and systems of setting live streaming template and video mode
CN106791894B (en) A kind of method and apparatus playing live video
CN106454404B (en) A kind of methods, devices and systems playing live video
CN103414982B (en) A kind of method and apparatus that sound is provided
CN104427083B (en) The method and apparatus for adjusting volume
CN106210755B (en) A kind of methods, devices and systems playing live video
CN104850406B (en) A kind of method and apparatus for switching the page
CN106371964B (en) Method and device for prompting message
CN106488296B (en) A kind of method and apparatus showing video barrage
CN106254910B (en) Method and device for recording image
CN105530239B (en) Multi-medium data acquisition methods and device
CN105208056A (en) Information exchange method and terminal
CN106791916B (en) Method, device and system for recommending audio data
WO2017215661A1 (en) Scenario-based sound effect control method and electronic device
CN106303605B (en) A kind of methods, devices and systems to send a notification message
CN106228994B (en) A kind of method and apparatus detecting sound quality
CN105763929B (en) Audio switching method and device
CN106210838B (en) Caption presentation method and device
CN104731806B (en) A kind of method and terminal for quickly searching user information in social networks
CN105976849B (en) A kind of method and apparatus of playing audio-fequency data
CN107622137A (en) The method and apparatus for searching speech message
CN105187944B (en) A kind of method and apparatus to Show Status Bar
CN104166899B (en) The method and terminal of voice interface
CN105007609B (en) A kind of methods, devices and systems that Wireless LAN is added

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

GR01 Patent grant
GR01 Patent grant