CN111045634A - Audio processing method and device - Google Patents

Audio processing method and device Download PDF

Info

Publication number
CN111045634A
CN111045634A CN201811190929.XA CN201811190929A CN111045634A CN 111045634 A CN111045634 A CN 111045634A CN 201811190929 A CN201811190929 A CN 201811190929A CN 111045634 A CN111045634 A CN 111045634A
Authority
CN
China
Prior art keywords
characteristic data
audio characteristic
target audio
audio
response
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.)
Granted
Application number
CN201811190929.XA
Other languages
Chinese (zh)
Other versions
CN111045634B (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.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811190929.XA priority Critical patent/CN111045634B/en
Publication of CN111045634A publication Critical patent/CN111045634A/en
Application granted granted Critical
Publication of CN111045634B publication Critical patent/CN111045634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the invention discloses an audio processing method and device. One embodiment of the method comprises: acquiring audio to be processed; carrying out audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; in response to receiving target audio characteristic data obtained after a user adjusts the audio characteristic data, determining whether the target audio characteristic data is within a preset threshold range; and adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data. The embodiment realizes the effect of avoiding the influence on the equalization processing effect caused by the target audio characteristic exceeding the preset range.

Description

Audio processing method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to an audio processing method and device.
Background
With the popularization and upgrade of various electronic devices, various processing can be performed on audio through the electronic devices. When the existing electronic equipment performs equalization processing on audio, graphic equalization or parameter equalization can be adopted, and graphic equalization and parameter equalization cannot be adopted at the same time.
Disclosure of Invention
The embodiment of the invention provides an audio processing method and device.
In a first aspect, an embodiment of the present invention provides an audio processing method, including: acquiring audio to be processed; carrying out audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; in response to receiving target audio characteristic data obtained after a user adjusts the audio characteristic data, determining whether the target audio characteristic data is within a preset threshold range; and adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data.
In some embodiments, the audio characteristic data comprises a frequency spectrum, and in response to determining that the target audio characteristic data is not within the threshold range, adjusting the target audio characteristic data comprises: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components greater than a preset upper frequency threshold, frequency components greater than the upper frequency threshold in the frequency spectrum of the target audio characteristic data are removed.
In some embodiments, adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range further comprises: and removing frequency components smaller than a lower limit frequency threshold in the frequency spectrum of the target audio characteristic data in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components smaller than the preset lower limit frequency threshold.
In some embodiments, equalizing the audio to be processed based on the adjusted target audio characteristic data includes: responding to the received equalization algorithm category information selected by a user in the displayed graphical equalization interface; and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm class information.
In some embodiments, the method further comprises: and in response to determining that the target audio characteristic data is within the threshold range, performing equalization processing on the audio to be processed based on the target audio characteristic data.
In a second aspect, an embodiment of the present invention provides an audio processing apparatus, including: an audio acquisition unit configured to acquire audio to be processed; the analysis unit is configured to analyze the audio characteristics of the audio to be processed, obtain audio characteristic data and display the audio characteristic data; the determining unit is configured to respond to the received target audio characteristic data obtained after the user adjusts the audio characteristic data, and determine whether the target audio characteristic data is within a preset threshold range; an adjusting unit configured to adjust the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and perform equalization processing on the audio to be processed based on the adjusted target audio characteristic data.
In some embodiments, the audio characteristic data comprises a frequency spectrum, and the adjustment unit is further configured to: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components greater than a preset upper frequency threshold, frequency components greater than the upper frequency threshold in the frequency spectrum of the target audio characteristic data are removed.
In some embodiments, the adjustment unit is further configured to: and removing frequency components smaller than a lower limit frequency threshold in the frequency spectrum of the target audio characteristic data in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components smaller than the preset lower limit frequency threshold.
In some embodiments, the adjustment unit is further configured to: responding to the received equalization algorithm category information selected by a user in the displayed graphical equalization interface; and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm class information.
In some embodiments, the apparatus further comprises: a processing unit configured to perform equalization processing on the audio to be processed based on the target audio characteristic data in response to determining that the target audio characteristic data is within the threshold range.
In a third aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation manner of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method as described in any of the implementations of the first aspect.
According to the method and the device provided by the embodiment of the invention, firstly, audio characteristic analysis is carried out on audio to be processed to obtain audio characteristic data, and the audio characteristic data are displayed; in response to receiving target audio characteristic data obtained after a user adjusts the audio characteristic data, determining whether the target audio characteristic data is within a preset threshold range; and adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data. In the process, the target audio characteristic data is adjusted, so that the influence on the equalization processing effect caused by the fact that the target audio characteristic exceeds a preset range is avoided. Thus, parameter equalization adjustment can be realized on the basis of the illustrated equalization. Thereby facilitating the simultaneous use of both equalization adjustment modes.
Drawings
Other features, objects and advantages of the invention will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present invention may be applied;
FIG. 2 is a flow diagram for one embodiment of an audio processing method in accordance with the present invention;
fig. 3 is a schematic diagram of an application scenario of an audio processing method according to an embodiment of the present invention;
FIG. 4 is a flow diagram of yet another embodiment of an audio processing method according to the present invention;
FIG. 5 is a schematic block diagram of one embodiment of an audio processing device according to the present invention;
FIG. 6 is a schematic block diagram of an electronic device suitable for use in implementing embodiments of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant disclosure and are not limiting of the disclosure. It should be noted that, for the convenience of description, only the parts relevant to the related disclosure are shown in the drawings.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an embodiment system architecture 100 of an audio processing method or apparatus to which embodiments of the invention may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. Various communication client applications, such as a singing application, a video recording and sharing application, an audio processing application, etc., may be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal apparatuses 101, 102, 103 are hardware, various electronic apparatuses having a display screen and supporting audio processing are possible. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the above-described electronic apparatuses. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for applications installed on the terminal devices 101, 102, 103.
It should be noted that the audio processing method provided by the embodiment of the present invention is generally executed by the terminal devices 101, 102, and 103. Accordingly, the audio processing means is generally provided in the terminal devices 101, 102, 103.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, fig. 2 illustrates a flow 200 of one embodiment of an audio processing method according to the present invention. The audio processing method comprises the following steps:
step 201, obtaining audio to be processed.
In the present embodiment, the execution subject of the audio processing method (e.g., the terminal apparatuses 101, 102, 103 shown in fig. 1) may acquire the audio to be processed in various ways. For example, the executing body may record the voice sung by the user through a recording device to obtain the audio to be processed. The recording device may be integrated on the execution main body, or may be in communication connection with the execution main body, which is not limited in the present invention. For another example, the execution main body may also obtain pre-stored audio from a local or other storage device connected in communication as the audio to be processed.
In the present embodiment, the audio to be processed may be arbitrary audio. The determination of the audio to be processed may be specified by a technician, or may be obtained by screening according to a certain condition. For example, when a user sings through a terminal device (e.g., a smartphone), the audio to be processed may be the complete audio that the user sings, or may be an audio clip that the user sings. In the real-time listening scenario, the audio to be processed may also be an audio clip with a short singing time (e.g., 30 ms) of the user. It should be noted that the audio to be processed may be an original audio that is recorded and sung by the user, or may be an audio obtained by performing a certain processing on the original audio.
Step 202, performing audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data.
In this embodiment, the execution main body may perform audio characteristic analysis on the audio to be processed in various ways, obtain audio characteristic data, and display the audio characteristic data. As an example, various characteristics of the audio to be processed may be extracted using some existing audio processing software or an open source toolkit. As an example, the extraction of various characteristics of the audio to be processed may also be performed using various existing algorithms (e.g., fourier transform). The audio characteristic data includes, but is not limited to: spectrum, spectral center point, spectral difference amplitude, signal-to-noise ratio, spectral cutoff spectrum, and the like. On the basis, the audio characteristic data obtained in various ways can be displayed through the display device. The display device can be integrated in the execution main body or can be in communication connection with the execution main body. The present invention is not particularly limited. In addition, the execution body may present the audio characteristic data in various forms. As an example, the audio characteristic data may be presented in the form of a waveform diagram. By way of example, the audio characteristic data may also be presented in the form of an operative graphical interface.
Step 203, in response to receiving the target audio characteristic data obtained by adjusting the audio characteristic data by the user, determining whether the target audio characteristic data is within a preset threshold range.
In this embodiment, in response to receiving the target audio characteristic data obtained by adjusting the audio characteristic data by the user, the executing entity may determine whether the target audio characteristic data is within a preset threshold range. In practice, on the basis of displaying the audio characteristic data of the audio to be processed in step 202, the user may adjust the audio characteristic data as needed. So that the execution body can obtain the target audio characteristic data. On this basis, the execution subject may determine whether the target audio characteristic data is within a preset threshold range. If it is determined that the target audio characteristic data is not within the preset threshold range, execution may continue with step 204.
In some optional implementation manners of this embodiment, if it is determined that the target audio characteristic data is within the preset threshold range, the audio to be processed may be directly equalized.
And step 204, in response to determining that the target audio characteristic data is not within the threshold range, adjusting the target audio characteristic data, and performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data.
In the present embodiment, in response to determining that the target audio characteristic data is not within the threshold range, the execution subject described above may adjust the target audio characteristic data in various ways. As an example, data out of the above-described threshold range in the target audio characteristic data may be deleted. As an example, data that is not within the threshold range may also be adjusted to be within the threshold range.
In some optional implementations of this embodiment, the audio characteristic data includes a frequency spectrum, and adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range includes: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components greater than a preset upper frequency threshold, frequency components greater than the upper frequency threshold in the frequency spectrum of the target audio characteristic data are removed.
In some optional implementations of this embodiment, in response to determining that the target audio characteristic data is not within the threshold range, adjusting the target audio characteristic data further includes: and removing frequency components smaller than a lower limit frequency threshold in the frequency spectrum of the target audio characteristic data in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components smaller than the preset lower limit frequency threshold.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the audio processing method according to the present embodiment. In the application scenario of fig. 3, the execution subject of the audio processing method may be a smartphone 301. The smartphone 301 first obtains the to-be-processed audio 3011. Then, audio characteristic analysis is performed on the audio 3011 to be processed, resulting in audio characteristic data 3012. And presenting the audio characteristic data 3012. In response to receiving the target audio characteristic data 3013 adjusted by the user with respect to the audio characteristic data 3012, the smartphone 301 may determine whether the target audio characteristic data 3013 is within a preset threshold range. In response to determining that the target audio characteristic data 3013 is not within the threshold range, the target audio characteristic data 3013 is adjusted, and the audio to be processed 3011 is subjected to equalization processing based on the adjusted target audio characteristic data, i.e., the new target audio characteristic data 3014.
The method provided by the embodiment of the invention comprises the steps of firstly carrying out audio characteristic analysis on audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; in response to receiving target audio characteristic data obtained after a user adjusts the audio characteristic data, determining whether the target audio characteristic data is within a preset threshold range; and adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data. In the process, the target audio characteristic data is adjusted, so that the influence on the equalization processing effect caused by the fact that the target audio characteristic exceeds a preset range is avoided. Thus, parameter equalization adjustment can be realized on the basis of the illustrated equalization. Two equilibrium adjustment modes are convenient to use simultaneously.
With further reference to fig. 4, a flow 400 of yet another embodiment of an audio processing method is shown. The flow 400 of the audio processing method comprises the following steps:
step 401, obtaining audio to be processed.
Step 402, performing audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data.
Step 403, in response to receiving the target audio characteristic data obtained by adjusting the audio characteristic data by the user, determining whether the target audio characteristic data is within a preset threshold range.
In response to determining that the target audio characteristic data is not within the threshold range, an adjustment is made to the target audio characteristic data, step 404.
In this embodiment, the specific implementation of steps 401 and 404 and the technical effects thereof can refer to steps 201 and 204 in the embodiment corresponding to fig. 2, and are not described herein again.
Step 405, in response to receiving the equalization algorithm category information selected by the user in the displayed graphical equalization interface, performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm category information.
In the present embodiment, the execution subject of the audio processing method may display the graphic equalization interface through the display device. Therefore, the user can select the equalization algorithm category information displayed in the graphical equalization interface by executing preset operation. On this basis, the execution main body may perform equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm category information. Specifically, the equalization algorithms may be classified into different categories according to a certain index (for example, the type of filter used is different). And displays the category information of these categories. And then, adjusting the parameters of the filter corresponding to the filter type information selected by the user through the adjusted target audio characteristic data. Then, the audio to be processed is processed by a filter.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the audio processing method in this embodiment adds a step of performing equalization processing on the audio to be processed according to the equalization algorithm category information selected by the user in the displayed graphical equalization interface. Thereby increasing the flexibility and selectivity of the equalization process.
With further reference to fig. 5, as an implementation of the method shown in the above figures, the present invention provides an audio processing apparatus, an embodiment of which corresponds to the embodiment of the method shown in fig. 2, and the apparatus can be applied to various electronic devices.
As shown in fig. 5, the audio processing apparatus 500 of the present embodiment includes: an audio acquisition unit 501, an analysis unit 502, a determination unit 503, and an adjustment unit 504. Wherein the audio acquisition unit 501 is configured to acquire the audio to be processed. The analysis unit 502 is configured to perform audio characteristic analysis on the audio to be processed, obtain audio characteristic data, and present the audio characteristic data. The determining unit 503 is configured to determine whether the target audio characteristic data is within a preset threshold range in response to receiving the target audio characteristic data adjusted by the user for the audio characteristic data. The adjusting unit 504 is configured to adjust the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and to perform equalization processing on the audio to be processed based on the adjusted target audio characteristic data.
In this embodiment, specific implementations of the audio obtaining unit 501, the analyzing unit 502, the determining unit 503 and the adjusting unit 504 in the audio processing apparatus 500 and technical effects thereof can refer to step 201 and 204 corresponding to fig. 2, and are not described herein again.
In some optional implementations of this embodiment, the audio characteristic data may comprise a frequency spectrum, and the adjusting unit may be further configured to: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components greater than a preset upper frequency threshold, frequency components greater than the upper frequency threshold in the frequency spectrum of the target audio characteristic data are removed.
In some optional implementations of this embodiment, the adjusting unit 504 may be further configured to: and removing frequency components smaller than a lower limit frequency threshold in the frequency spectrum of the target audio characteristic data in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components smaller than the preset lower limit frequency threshold.
In some optional implementations of this embodiment, the adjusting unit 504 may be further configured to: responding to the received equalization algorithm category information selected by a user in the displayed graphical equalization interface; and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm class information.
In some optional implementations of this embodiment, the apparatus 500 may further include: a processing unit (not shown in the figure). Wherein the processing unit is configured to perform equalization processing on the audio to be processed based on the target audio characteristic data in response to determining that the target audio characteristic data is within the threshold range.
In this embodiment, the audio characteristic data may be obtained by performing audio characteristic analysis on the audio to be processed through the analysis unit 502, and displaying the audio characteristic data. Then, in response to receiving the target audio characteristic data adjusted by the user with respect to the audio characteristic data, the determining unit 503 may determine whether the target audio characteristic data is within a preset threshold range. In response to determining that the target audio characteristic data is not within the threshold range, the adjusting unit 504 may adjust the target audio characteristic data and perform equalization processing on the audio to be processed based on the adjusted target audio characteristic data. In the process, the target audio characteristic data is adjusted, so that the influence on the equalization processing effect caused by the fact that the target audio characteristic exceeds a preset range is avoided.
Referring now to fig. 6, shown is a schematic diagram of an electronic device (e.g., terminal device of fig. 1) 600 suitable for use in implementing embodiments of the present invention. The terminal device in the embodiments of the present invention may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the invention.
It should be noted that the computer readable medium of the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring audio to be processed; carrying out audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; in response to receiving target audio characteristic data obtained after a user adjusts the audio characteristic data, determining whether the target audio characteristic data is within a preset threshold range; and adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and performing equalization processing on the audio to be processed based on the adjusted target audio characteristic data.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, an audio acquisition unit may also be described as a "unit that acquires audio to be processed".
The foregoing description is only exemplary of the preferred embodiments of the invention and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents is encompassed without departing from the spirit of the disclosure. For example, the above features and (but not limited to) features having similar functions disclosed in the present invention are mutually replaced to form the technical solution.

Claims (12)

1. An audio processing method, comprising:
acquiring audio to be processed;
carrying out audio characteristic analysis on audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data;
in response to receiving target audio characteristic data obtained after a user adjusts the audio characteristic data, determining whether the target audio characteristic data is within a preset threshold range;
in response to determining that the target audio characteristic data is not within the threshold range, adjusting the target audio characteristic data, and equalizing the audio to be processed based on the adjusted target audio characteristic data.
2. The method of claim 1, wherein the audio characteristic data comprises a frequency spectrum, and
the adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range comprises:
in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components greater than a preset upper frequency threshold, removing frequency components greater than the upper frequency threshold from the frequency spectrum of the target audio characteristic data.
3. The method of claim 2, wherein the adjusting the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, further comprises:
in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components smaller than a preset lower frequency threshold, removing the frequency components smaller than the lower frequency threshold in the frequency spectrum of the target audio characteristic data.
4. The method of claim 1, wherein the equalizing the audio to be processed based on the adjusted target audio characteristic data comprises:
responding to the received equalization algorithm category information selected by a user in the displayed graphical equalization interface;
and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm class information.
5. The method according to any one of claims 1-4, wherein the method further comprises:
in response to determining that the target audio characteristic data is within the threshold range, performing equalization processing on the audio to be processed based on the target audio characteristic data.
6. An audio processing apparatus comprising:
an audio acquisition unit configured to acquire audio to be processed;
the analysis unit is configured to analyze audio characteristics of the audio to be processed, obtain audio characteristic data and display the audio characteristic data;
the determining unit is configured to respond to the received target audio characteristic data obtained after the audio characteristic data is adjusted by a user, and determine whether the target audio characteristic data is within a preset threshold range;
an adjusting unit configured to adjust the target audio characteristic data in response to determining that the target audio characteristic data is not within the threshold range, and perform equalization processing on the audio to be processed based on the adjusted target audio characteristic data.
7. The apparatus of claim 6, wherein the audio characteristic data comprises a frequency spectrum, and
the adjustment unit is further configured to:
in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components greater than a preset upper frequency threshold, removing frequency components greater than the upper frequency threshold from the frequency spectrum of the target audio characteristic data.
8. The apparatus of claim 7, wherein the adjustment unit is further configured to:
in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components smaller than a preset lower frequency threshold, removing the frequency components smaller than the lower frequency threshold in the frequency spectrum of the target audio characteristic data.
9. The apparatus of claim 6, wherein the adjustment unit is further configured to:
responding to the received equalization algorithm category information selected by a user in the displayed graphical equalization interface;
and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and the equalization algorithm indicated by the equalization algorithm class information.
10. The apparatus of any of claims 6-9, wherein the apparatus further comprises:
a processing unit configured to perform equalization processing on the audio to be processed based on the target audio characteristic data in response to determining that the target audio characteristic data is within the threshold range.
11. A terminal device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-5.
CN201811190929.XA 2018-10-12 2018-10-12 Audio processing method and device Active CN111045634B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811190929.XA CN111045634B (en) 2018-10-12 2018-10-12 Audio processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811190929.XA CN111045634B (en) 2018-10-12 2018-10-12 Audio processing method and device

Publications (2)

Publication Number Publication Date
CN111045634A true CN111045634A (en) 2020-04-21
CN111045634B CN111045634B (en) 2023-07-07

Family

ID=70229801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811190929.XA Active CN111045634B (en) 2018-10-12 2018-10-12 Audio processing method and device

Country Status (1)

Country Link
CN (1) CN111045634B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710347A (en) * 2020-04-24 2020-09-25 中科新悦(苏州)科技有限公司 Audio data analysis method, electronic device and storage medium
CN114640925A (en) * 2022-03-02 2022-06-17 广州市迪声音响有限公司 Dynamic gain equalization system and method for sound equipment

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002021505A2 (en) * 2000-09-08 2002-03-14 Neural Audio, Inc. System and method for processing audio data
JP2005136635A (en) * 2003-10-29 2005-05-26 Sony Corp Method and apparatus of processing audio data
US20110235815A1 (en) * 2010-03-26 2011-09-29 Sony Ericsson Mobile Communications Ab Method and arrangement for audio signal processing
US20120063614A1 (en) * 2009-05-26 2012-03-15 Crockett Brett G Audio signal dynamic equalization processing control
US20120063615A1 (en) * 2009-05-26 2012-03-15 Brett Graham Crockett Equalization profiles for dynamic equalization of audio data
CN102447445A (en) * 2010-09-30 2012-05-09 无锡中星微电子有限公司 Method for audio parameter balance and audio parameter balancer
JP2012129692A (en) * 2010-12-14 2012-07-05 Nec Casio Mobile Communications Ltd Portable terminal, audio data reproduction system, audio data reproduction method and program
US20130114830A1 (en) * 2009-12-30 2013-05-09 Oxford Digital Limited Determining a configuration for an audio processing operation
US20140341396A1 (en) * 2012-01-06 2014-11-20 Sony Mobile Communications Ab Smart automatic audio recording leveler
WO2014209434A1 (en) * 2013-02-15 2014-12-31 Max Sound Corporation Voice enhancement methods and systems
US20160295325A1 (en) * 2015-03-31 2016-10-06 Sony Corporation Method and device
US20170223456A1 (en) * 2014-10-17 2017-08-03 Dolby Laboratories Licensing Corporation User Experience Oriented Audio Signal Processing
WO2017214086A1 (en) * 2016-06-07 2017-12-14 Dolby Laboratories Licensing Corporation Audio equalization system and method
US20180103319A1 (en) * 2016-10-11 2018-04-12 Dts, Inc. Gain phase equalization (gpeq) filter and tuning methods for asymmetric transaural audio reproduction
CN108597527A (en) * 2018-04-19 2018-09-28 北京微播视界科技有限公司 Multichannel audio processing method, device, computer readable storage medium and terminal

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002021505A2 (en) * 2000-09-08 2002-03-14 Neural Audio, Inc. System and method for processing audio data
JP2005136635A (en) * 2003-10-29 2005-05-26 Sony Corp Method and apparatus of processing audio data
US20120063614A1 (en) * 2009-05-26 2012-03-15 Crockett Brett G Audio signal dynamic equalization processing control
US20120063615A1 (en) * 2009-05-26 2012-03-15 Brett Graham Crockett Equalization profiles for dynamic equalization of audio data
US20130114830A1 (en) * 2009-12-30 2013-05-09 Oxford Digital Limited Determining a configuration for an audio processing operation
US20110235815A1 (en) * 2010-03-26 2011-09-29 Sony Ericsson Mobile Communications Ab Method and arrangement for audio signal processing
CN102447445A (en) * 2010-09-30 2012-05-09 无锡中星微电子有限公司 Method for audio parameter balance and audio parameter balancer
JP2012129692A (en) * 2010-12-14 2012-07-05 Nec Casio Mobile Communications Ltd Portable terminal, audio data reproduction system, audio data reproduction method and program
US20140341396A1 (en) * 2012-01-06 2014-11-20 Sony Mobile Communications Ab Smart automatic audio recording leveler
WO2014209434A1 (en) * 2013-02-15 2014-12-31 Max Sound Corporation Voice enhancement methods and systems
US20170223456A1 (en) * 2014-10-17 2017-08-03 Dolby Laboratories Licensing Corporation User Experience Oriented Audio Signal Processing
US20160295325A1 (en) * 2015-03-31 2016-10-06 Sony Corporation Method and device
WO2017214086A1 (en) * 2016-06-07 2017-12-14 Dolby Laboratories Licensing Corporation Audio equalization system and method
US20180103319A1 (en) * 2016-10-11 2018-04-12 Dts, Inc. Gain phase equalization (gpeq) filter and tuning methods for asymmetric transaural audio reproduction
CN108597527A (en) * 2018-04-19 2018-09-28 北京微播视界科技有限公司 Multichannel audio processing method, device, computer readable storage medium and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111710347A (en) * 2020-04-24 2020-09-25 中科新悦(苏州)科技有限公司 Audio data analysis method, electronic device and storage medium
CN111710347B (en) * 2020-04-24 2023-12-05 中科新悦(苏州)科技有限公司 Audio data analysis method, electronic device and storage medium
CN114640925A (en) * 2022-03-02 2022-06-17 广州市迪声音响有限公司 Dynamic gain equalization system and method for sound equipment
CN114640925B (en) * 2022-03-02 2023-10-03 广州市迪声音响有限公司 Dynamic gain equalization system and method for sound equipment

Also Published As

Publication number Publication date
CN111045634B (en) 2023-07-07

Similar Documents

Publication Publication Date Title
US11587593B2 (en) Method and apparatus for displaying music points, and electronic device and medium
CN110213614B (en) Method and device for extracting key frame from video file
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
CN109981787B (en) Method and device for displaying information
CN110534085B (en) Method and apparatus for generating information
CN111459364B (en) Icon updating method and device and electronic equipment
US11783865B2 (en) Method and apparatus for displaying video playback page, and electronic device and medium
CN110889802A (en) Image processing method and device
CN111045634B (en) Audio processing method and device
CN111435600B (en) Method and apparatus for processing audio
CN110620808A (en) Method and device for pushing information
CN114121050A (en) Audio playing method and device, electronic equipment and storage medium
CN112307161B (en) Method and apparatus for playing audio
CN111048108B (en) Audio processing method and device
CN109375892B (en) Method and apparatus for playing audio
CN111367592B (en) Information processing method and device
CN111045635B (en) Audio processing method and device
CN113495712A (en) Automatic volume adjustment method, apparatus, medium, and device
CN111145792B (en) Audio processing method and device
CN111048107B (en) Audio processing method and device
CN109445873B (en) Method and device for displaying setting interface
CN111210837B (en) Audio processing method and device
CN111145776B (en) Audio processing method and device
CN111294321B (en) Information processing method and device
CN111145793B (en) Audio processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant