CN111045634B - Audio processing method and device - Google Patents

Audio processing method and device Download PDF

Info

Publication number
CN111045634B
CN111045634B CN201811190929.XA CN201811190929A CN111045634B CN 111045634 B CN111045634 B CN 111045634B CN 201811190929 A CN201811190929 A CN 201811190929A CN 111045634 B CN111045634 B CN 111045634B
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.)
Active
Application number
CN201811190929.XA
Other languages
Chinese (zh)
Other versions
CN111045634A (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The embodiment of the invention discloses an audio processing method and device. One embodiment of the method comprises the following steps: acquiring audio to be processed; performing audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; determining whether the target audio characteristic data is within a preset threshold value range or not in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data; and 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. This embodiment achieves avoiding the influence of the equalization processing effect due to the target audio characteristics 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 upgrading of various electronic devices, various processes can be performed on audio through the electronic devices. When the current electronic equipment performs equalization processing on the audio, graphic equalization or parameter equalization can be adopted, and the graphic equalization and the parameter equalization cannot be simultaneously adopted.
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; performing audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; determining whether the target audio characteristic data is within a preset threshold value range or not in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data; and 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 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, removing frequency components greater than the upper frequency threshold from the frequency spectrum of the target audio characteristic data.
In some embodiments, in response to determining that the target audio characteristic data is not within the threshold range, adjusting the target audio characteristic data further comprises: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components less than a preset lower frequency threshold, removing frequency components less than the lower frequency threshold in the frequency spectrum of the target audio characteristic data.
In some embodiments, 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 the 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 an equalization algorithm indicated by the equalization algorithm type 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 to obtain audio characteristic data and display the audio characteristic data; a determining unit configured to determine whether the target audio characteristic data is within a preset threshold range in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data; and 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 an equalization process 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 adjusting 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.
In some embodiments, the adjustment unit is further configured to: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components less than a preset lower frequency threshold, removing frequency components less than the lower frequency threshold in the frequency spectrum of the target audio characteristic data.
In some embodiments, the adjustment unit is further configured to: responding to the received equalization algorithm category information selected by the 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 an equalization algorithm indicated by the equalization algorithm type information.
In some embodiments, the apparatus further comprises: and a processing unit configured to perform an equalization process 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, including: one or more processors; a storage device having one or more programs stored thereon; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of the implementations of the first aspect.
The method and the device provided by the embodiment of the invention firstly carry out audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and display the audio characteristic data; determining whether the target audio characteristic data is within a preset threshold value range or not in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data; and 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 process, the target audio characteristic data is adjusted, so that the influence on the equalization processing effect due to the fact that the target audio characteristic exceeds a preset range is avoided. Therefore, the parameter balance adjustment can be realized on the basis of the graphic balance. Thereby being convenient for simultaneously using two balanced adjustment modes.
Drawings
Other features, objects and advantages of the present invention will become more apparent upon reading of the detailed description of non-limiting embodiments, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which an embodiment of the present invention may be applied;
FIG. 2 is a flow chart of one embodiment of an audio processing method according to the present invention;
fig. 3 is a schematic view of an application scenario of an audio processing method according to an embodiment of the present invention;
FIG. 4 is a flow chart of yet another embodiment of an audio processing method according to the present invention;
fig. 5 is a schematic structural view of an embodiment of an audio processing device according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the related disclosure and not limiting thereof. It should be further noted that, for convenience of description, only the portions related to the disclosure are shown in the drawings.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other. The invention will be described in detail below with reference to the drawings in connection with embodiments.
Fig. 1 shows an embodiment system architecture 100 to which an audio processing method or apparatus of an embodiment of the invention may be applied.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 is used as a medium to provide communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the terminal devices 101, 102, 103 to receive or send messages or the like. Various communication client applications, such as a singing application, a video recording sharing application, an audio processing application, and the like, can be installed on the terminal devices 101, 102, 103.
The terminal devices 101, 102, 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, various electronic devices having a display screen and supporting audio processing may be used. When the terminal devices 101, 102, 103 are software, they can be installed in the above-described electronic devices. Which may be implemented as a plurality of software or software modules, or as a single software or software module. The present invention 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 performed by the terminal devices 101, 102, 103. Accordingly, the audio processing means are typically provided in the terminal devices 101, 102, 103.
The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention 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 shows a flow 200 of one embodiment of an audio processing method according to the present invention. The audio processing method comprises the following steps:
in step 201, audio to be processed is acquired.
In the present embodiment, the execution subject of the audio processing method (e.g., the terminal devices 101, 102, 103 shown in fig. 1) can acquire audio to be processed in various ways. For example, the executing body may record the singing voice of the user through the recording device to obtain the audio to be processed. The recording device may be integrated on the execution body, or may be in communication connection with the execution body, which is not limited in the present invention. For another example, the executing body may also obtain pre-stored audio from a local or other storage device in communication connection as the audio to be processed.
In this embodiment, the audio to be processed may be arbitrary audio. The determination of the audio to be processed can be specified by a technician or can be obtained by screening according to a certain condition. For example, when the user sings through the terminal device (e.g., a smart phone), the audio to be processed may be the complete audio singed by the user, or may be an audio clip singed by the user. In a real-time listening scenario, the audio to be processed may also be a short (e.g. 30 ms) piece of audio that the user sings. It should be noted that, the audio to be processed may be the original audio sung by the user, or may be the audio after the original audio is processed to a certain extent.
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 body may perform audio characteristic analysis on the audio to be processed in various manners to obtain audio characteristic data, and display the audio characteristic data. As an example, some existing audio processing software or open source kits may be utilized to extract various characteristics of the audio to be processed. As an example, various characteristics of the audio to be processed may also be extracted using various algorithms (e.g., fourier transforms) that exist. Wherein the audio characteristic data includes, but is not limited to: spectrum, spectrum center point, spectrum differential amplitude, signal to noise ratio, spectrum cut-off spectrum, etc. On this basis, audio characteristic data obtained by various means can be displayed by a display device. The display device may be integrated into the execution body or may be in communication with the execution body. The present invention is not particularly limited thereto. In addition, the execution subject 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. The audio characteristic data may also be presented in the form of an operative graphical interface, as an example.
In step 203, in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data, it is determined whether the target audio characteristic data is within a preset threshold range.
In this embodiment, in response to receiving target audio characteristic data obtained after the user adjusts the audio characteristic data, the execution body may determine whether the target audio characteristic data is within a preset threshold range. In practice, the user may adjust the audio characteristic data according to the need on the basis of presenting the audio characteristic data of the audio to be processed in step 202. So that the execution subject 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, step 204 may continue to be performed.
In some optional implementations 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 subjected to the equalization processing.
In step 204, in response to determining that the target audio characteristic data is not within the threshold range, the target audio characteristic data is adjusted, and the audio to be processed is subjected to equalization processing 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 above-described execution subject may adjust the target audio characteristic data in various ways. As an example, data exceeding the above threshold range among 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 the present embodiment, 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, removing frequency components greater than the upper frequency threshold from the frequency spectrum of the target audio characteristic data.
In some optional implementations of the present embodiment, in response to determining that the target audio characteristic data is not within the threshold range, adjusting the target audio characteristic data further comprises: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components less than a preset lower frequency threshold, removing frequency components less than the lower frequency threshold in the frequency spectrum of the target audio characteristic data.
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 the smartphone 301. The smartphone 301 first acquires the audio 3011 to be processed. Then, audio characteristics analysis is performed on the audio 3011 to be processed, and audio characteristic data 3012 is obtained. And presents the audio characteristic data 3012. In response to receiving target audio characteristic data 3013, which is obtained after the user adjusts for 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 3011 to be processed is subjected to equalization processing based on the adjusted target audio characteristic data, i.e., 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 the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; determining whether the target audio characteristic data is within a preset threshold value range or not in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data; and 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 process, the target audio characteristic data is adjusted, so that the influence on the equalization processing effect due to the fact that the target audio characteristic exceeds a preset range is avoided. Therefore, the parameter balance adjustment can be realized on the basis of the graphic balance. Two balanced 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 includes the steps of:
in step 401, audio to be processed is acquired.
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, determining whether the target audio characteristic data is within a preset threshold range in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data.
In response to determining that the target audio characteristic data is not within the threshold range, step 404, the target audio characteristic data is adjusted.
In this embodiment, the specific implementation of steps 401 to 404 and the technical effects thereof may refer to steps 201 to 204 in the corresponding embodiment of fig. 2, which are not described herein again.
Step 405, in response to receiving the equalization algorithm type 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 type information.
In this embodiment, the execution subject of the audio processing method may display the graphic equalizing 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 subject may perform the 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. Specifically, the equalization algorithm may be classified into different categories in advance according to a certain index (for example, different types of filters used). And displays category information of these categories. And then, the parameters of the filter corresponding to the filter category information selected by the user can be adjusted through the adjusted target audio characteristic data. The audio to be processed is then processed through 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 type information selected by the user in the displayed graphical equalization interface. Thereby increasing the flexibility and the selectivity of the equalization process.
With further reference to fig. 5, as an implementation of the method shown in the foregoing figures, the present invention provides an audio processing apparatus, an embodiment of which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable 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 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 display the audio characteristic data. The determining unit 503 is configured to determine whether the target audio characteristic data is within a preset threshold value range in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data. The adjustment 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 an equalization process on the audio to be processed based on the adjusted target audio characteristic data.
In this embodiment, the specific implementation of the audio acquisition unit 501, the analysis unit 502, the determination unit 503, and the adjustment unit 504 in the audio processing apparatus 500 and the technical effects thereof may refer to steps 201-204 corresponding to fig. 2, and are not described herein.
In some optional implementations of the present embodiment, the audio characteristic data may include 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, removing frequency components greater than the upper frequency threshold from the frequency spectrum of the target audio characteristic data.
In some optional implementations of the present embodiment, the adjustment unit 504 may be further configured to: in response to determining that the frequency spectrum of the target audio characteristic data includes frequency components less than a preset lower frequency threshold, removing frequency components less than the lower frequency threshold in the frequency spectrum of the target audio characteristic data.
In some optional implementations of the present embodiment, the adjustment unit 504 may be further configured to: responding to the received equalization algorithm category information selected by the 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 an equalization algorithm indicated by the equalization algorithm type information.
In some optional implementations of this embodiment, the apparatus 500 may further include: a processing unit (not shown in the figures). Wherein the processing unit is configured to perform an equalization process 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 analysis unit 502 may perform audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and display the audio characteristic data. Then, in response to receiving target audio characteristic data obtained after the user adjusts 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 adjustment unit 504 may adjust the target audio characteristic data and perform an equalization process 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 due to the fact that the target audio characteristic exceeds a preset range is avoided.
In the following reference is made to figure 6, a schematic diagram of a configuration of an electronic device (e.g., a terminal device in fig. 1) 600 suitable for use in implementing embodiments of the present invention is shown. The terminal device in the embodiment of the present invention may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), car terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 6 is only an example and should not be construed as limiting the functionality and scope of use of embodiments of the invention.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to 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 required 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 through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic 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 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present invention, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present 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 shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the method of the embodiment of the present invention are performed when the computer program is executed by the processing means 601.
The computer readable medium according to the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated 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; performing audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data; determining whether the target audio characteristic data is within a preset threshold value range or not in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data; and 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.
Computer program code for carrying out operations 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 ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts 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 involved in the embodiments of the present invention may be implemented in software or in hardware. The name of the unit does not constitute a limitation of the unit itself in some cases, and for example, the audio acquisition unit may also be described as "a unit that acquires audio to be processed".
The above description is only illustrative of the preferred embodiments of the present invention and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present invention is not limited to the specific combinations of technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present invention (but not limited to) having similar functions are replaced with each other.

Claims (10)

1. An audio processing method, comprising:
acquiring audio to be processed;
performing audio characteristic analysis on the audio to be processed to obtain audio characteristic data, and displaying the audio characteristic data;
determining whether the target audio characteristic data is within a preset threshold range or not in response to receiving target audio characteristic data obtained after the user adjusts the audio characteristic data;
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;
the equalizing processing of the audio to be processed based on the adjusted target audio characteristic data comprises the following steps:
responding to receiving equalization algorithm type information selected by a user in a displayed graphical equalization interface, wherein the type information of the equalization algorithm is selected according to different types of the selected filters;
and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and an equalization algorithm indicated by the equalization algorithm type information.
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 includes:
and removing frequency components greater than a preset upper frequency threshold in the frequency spectrum of the target audio characteristic data in response to determining that the frequency components greater than the preset upper frequency threshold are included in 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:
and removing frequency components smaller than a preset lower frequency threshold value in the frequency spectrum of the target audio characteristic data in response to determining that the frequency components smaller than the lower frequency threshold value are included in the frequency spectrum of the target audio characteristic data.
4. A method according to any one of claims 1-3, wherein 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.
5. An audio processing apparatus, comprising:
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 to obtain audio characteristic data and display the audio characteristic data;
a determining unit configured to determine whether the target audio characteristic data is within a preset threshold range in response to receiving the target audio characteristic data obtained after the user adjusts the audio characteristic data;
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 an equalization process on the audio to be processed based on the adjusted target audio characteristic data;
wherein the adjustment unit is further configured to:
responding to receiving equalization algorithm type information selected by a user in a displayed graphical equalization interface, wherein the type information of the equalization algorithm is selected according to different types of the selected filters;
and carrying out equalization processing on the audio to be processed based on the adjusted target audio characteristic data and an equalization algorithm indicated by the equalization algorithm type information.
6. The apparatus of claim 5, wherein the audio characteristic data comprises a frequency spectrum, and
the adjustment unit is further configured to:
and removing frequency components greater than a preset upper frequency threshold in the frequency spectrum of the target audio characteristic data in response to determining that the frequency components greater than the preset upper frequency threshold are included in the frequency spectrum of the target audio characteristic data.
7. The apparatus of claim 6, wherein the adjustment unit is further configured to:
and removing frequency components smaller than a preset lower frequency threshold value in the frequency spectrum of the target audio characteristic data in response to determining that the frequency components smaller than the lower frequency threshold value are included in the frequency spectrum of the target audio characteristic data.
8. The apparatus of any of claims 5-7, wherein the apparatus further comprises:
and 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.
9. 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, causes the one or more processors to implement the method of any of claims 1-4.
10. A computer readable medium having stored thereon a computer program, wherein the program when executed by a processor implements the method of any of claims 1-4.
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 CN111045634A (en) 2020-04-21
CN111045634B true 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)

Families Citing this family (2)

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

Citations (7)

* 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
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
WO2014209434A1 (en) * 2013-02-15 2014-12-31 Max Sound Corporation Voice enhancement methods and systems
WO2017214086A1 (en) * 2016-06-07 2017-12-14 Dolby Laboratories Licensing Corporation Audio equalization system and method
CN108597527A (en) * 2018-04-19 2018-09-28 北京微播视界科技有限公司 Multichannel audio processing method, device, computer readable storage medium and terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010138311A1 (en) * 2009-05-26 2010-12-02 Dolby Laboratories Licensing Corporation Equalization profiles for dynamic equalization of audio data
WO2010138309A1 (en) * 2009-05-26 2010-12-02 Dolby Laboratories Licensing Corporation Audio signal dynamic equalization processing control
GB2477713A (en) * 2009-12-30 2011-08-17 Oxford Digital Ltd 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
CN104025192B (en) * 2012-01-06 2018-12-18 索尼移动通信株式会社 Intelligent automated audio records leveller
CN105895112A (en) * 2014-10-17 2016-08-24 杜比实验室特许公司 Audio signal processing oriented to user experience
DE102016204448A1 (en) * 2015-03-31 2016-10-06 Sony Corporation Procedure and device
US10075789B2 (en) * 2016-10-11 2018-09-11 Dts, Inc. Gain phase equalization (GPEQ) filter and tuning methods for asymmetric transaural audio reproduction

Patent Citations (7)

* 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
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
WO2014209434A1 (en) * 2013-02-15 2014-12-31 Max Sound Corporation Voice enhancement methods and systems
WO2017214086A1 (en) * 2016-06-07 2017-12-14 Dolby Laboratories Licensing Corporation Audio equalization system and method
CN108597527A (en) * 2018-04-19 2018-09-28 北京微播视界科技有限公司 Multichannel audio processing method, device, computer readable storage medium and terminal

Also Published As

Publication number Publication date
CN111045634A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN110213614B (en) Method and device for extracting key frame from video file
CN109981787B (en) Method and device for displaying information
CN110809189B (en) Video playing method and device, electronic equipment and computer readable medium
WO2021114979A1 (en) Video page display method and apparatus, electronic device and computer-readable medium
CN111459364B (en) Icon updating method and device and electronic equipment
CN111290819B (en) Method and device for displaying operation prompt and electronic equipment
CN110347875B (en) Video scene classification method and device, mobile terminal and storage medium
CN111045634B (en) Audio processing method and device
US11783865B2 (en) Method and apparatus for displaying video playback page, and electronic device and medium
CN111435600B (en) Method and apparatus for processing audio
CN114021016A (en) Data recommendation method, device, equipment and storage medium
CN110619101B (en) Method and apparatus for processing information
CN116072108A (en) Model generation method, voice recognition method, device, medium and equipment
CN114121050A (en) Audio playing method and device, electronic equipment and storage medium
CN111048108B (en) Audio processing method and device
CN109445873B (en) Method and device for displaying setting interface
CN111045635B (en) Audio processing method and device
CN113495712A (en) Automatic volume adjustment method, apparatus, medium, and device
CN111048107B (en) Audio processing method and device
CN111145776B (en) Audio processing method and device
CN111210837B (en) Audio processing method and device
CN111145792B (en) Audio processing method and device
CN113435528B (en) Method, device, readable medium and electronic equipment for classifying objects
CN112488943B (en) Model training and image defogging method, device and equipment
CN111291199B (en) Information query 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