CN106205580B - A kind of audio data processing method and terminal - Google Patents

A kind of audio data processing method and terminal Download PDF

Info

Publication number
CN106205580B
CN106205580B CN201610513704.8A CN201610513704A CN106205580B CN 106205580 B CN106205580 B CN 106205580B CN 201610513704 A CN201610513704 A CN 201610513704A CN 106205580 B CN106205580 B CN 106205580B
Authority
CN
China
Prior art keywords
audio data
layer
audio
data
processing
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
CN201610513704.8A
Other languages
Chinese (zh)
Other versions
CN106205580A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610513704.8A priority Critical patent/CN106205580B/en
Publication of CN106205580A publication Critical patent/CN106205580A/en
Application granted granted Critical
Publication of CN106205580B publication Critical patent/CN106205580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • G10H1/361Recording/reproducing of accompaniment for use with an external source, e.g. karaoke systems

Abstract

The present invention provides a kind of audio data processing method and terminals, wherein audio data processing method includes: the audio data for obtaining recording from the hardware layer using the layer adjacent with hardware layer;Audio effect processing is carried out to the audio data, and is mixed into played data and plays out.Scheme provided by the invention passes through the audio data for obtaining recording from the hardware layer using the layer adjacent with hardware layer, it is possible to reduce the caching of process realizes that low delay ear returns, do not increase additional hardware cost.

Description

A kind of audio data processing method and terminal
Technical field
The present invention relates to field of terminal technology, a kind of audio data processing method and terminal are particularly related to.
Background technique
The demand of Intelligent mobile equipment KTV is more and more at present, and user needs the user experience as in KTV, again There is relatively good audio effect.
But at present Android platform realize KTV the following two kinds mode respectively have the defects that it is different:
The first, no ear returns function, and the effect sung could be listened after only having sung;
Second, APP realizes that ear is returned with audio effect processing in application layer, and since android points of the numbers of plies are too many, every layer all can There is bigger caching, the sound for causing ear to return has bigger delay, and experience effect is excessively poor.
Summary of the invention
The purpose of the present invention is to provide a kind of audio data processing method and terminal, solves terminal in the prior art and realize KTV ear returns the long problem of function delay.
In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of audio data processing method, comprising:
The audio data of recording is obtained from the hardware layer using the layer adjacent with hardware layer;
Audio effect processing is carried out to the audio data, and is mixed into played data and plays out.
The present invention also provides a kind of terminals, comprising:
Module is obtained, for obtaining the audio data of recording from the hardware layer using the layer adjacent with hardware layer;
Processing module for carrying out audio effect processing to the audio data, and is mixed into played data and plays out.
The advantageous effects of the above technical solutions of the present invention are as follows:
In above scheme, the audio data processing method using the layer adjacent with hardware layer from the hardware layer by being obtained Enroll the audio data of sound, it is possible to reduce the caching of process realizes that low delay ear returns, do not increase additional hardware cost.
Detailed description of the invention
Fig. 1 is the audio data processing method flow diagram of the embodiment of the present invention one;
Fig. 2 is the audio data processing method concrete application flow diagram one of the embodiment of the present invention one;
Fig. 3 is the audio data processing method concrete application flow diagram two of the embodiment of the present invention one;
Fig. 4 is the terminal structure schematic diagram of the embodiment of the present invention two;
Fig. 5 is the terminal structure schematic diagram of the embodiment of the present invention three;
Fig. 6 is the terminal structure schematic diagram of the embodiment of the present invention four.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
The present invention realizes that KTV ear returns the long problem of function delay for existing middle terminal, provides a variety of solutions, It is specific as follows:
Embodiment one
As shown in Figure 1, the audio data processing method that the embodiment of the present invention one provides, comprising:
Step 11: obtaining the audio data of recording from the hardware layer using the layer adjacent with hardware layer.
When being equipped with digital audio processor in the terminal, the layer adjacent with hardware layer refers to comprising digital audio processor Process layer;When in the terminal without being equipped with digital audio processor, the layer adjacent with hardware layer refers to inner nuclear layer.
Step 12: audio effect processing being carried out to the audio data, and is mixed into played data and plays out.
Step 12 can be specially to save after carrying out audio effect processing to audio data, then obtain treated sound from preservation place Frequency evidence plays out.
The audio data processing method that the embodiment of the present invention one provides is mainly used in mobile terminal.
In view of that there may be digital audio processor in terminal, may not have, so, the embodiment of the present invention is directed to step 11 Two kinds of specific implementations are provided with step 12:
The first, for the terminal with digital audio processor, it is described using the layer adjacent with hardware layer from described hard The step of audio data of part layer acquisition recording includes: the audio data for obtaining recording from the hardware layer using process layer;
It is described that audio effect processing is carried out to the audio data, and be mixed into the step of playing out in played data and include: Audio effect processing is carried out to the audio data using process layer, and is mixed into played data and plays out;The process layer packet Include digital audio processor.
Second, for the terminal of not digital audio processor, it is described using the layer adjacent with hardware layer from described hard The step of audio data of part layer acquisition recording includes: the audio data for obtaining recording from the hardware layer using inner nuclear layer;
It is described that audio effect processing is carried out to the audio data, and be mixed into the step of playing out in played data and include: Audio effect processing is carried out to the audio data using ccf layer, and audio data is mixed into broadcasting by treated using inner nuclear layer It is played out in data.
Carrying out audio effect processing to the audio data using ccf layer can be enhanced the stability of system.
Audio effect processing is frequently executed in order to prevent to operate, it is described to utilize ccf layer to the audio in the embodiment of the present invention The step of data progress audio effect processing includes: to utilize frame when the frame number of the audio data of recording is greater than or equal to preset value Layer carries out audio effect processing to the audio data.
It could also say that, when the data in recording caching reach preset value, send an event and give KTV audio effect processing mould Block processing.Preset value preferably 240 frames.
It is synchronized to guarantee to play with recording, staccato will not occur with sound, in the embodiment of the present invention one, the utilization The step of layer adjacent with hardware layer obtains the audio data recorded from the hardware layer includes: to utilize the layer adjacent with hardware layer The audio data recorded using the first sample rate from hardware layer acquisition;
It is described that audio effect processing is carried out to the audio data, and be mixed into the step of playing out in played data and include: Audio effect processing is carried out to the audio data, and is mixed into played data and is played out using first sample rate.
Preferably, described the step of carrying out audio effect processing to the audio data includes: to disappear to the audio data It makes an uproar, dynamic compression, equilibrium and reverberation processing.It certainly can also include other operations, it is not limited here.
Specifically, described carry out audio effect processing to the audio data, and it is mixed into the step played out in played data It suddenly include: audio effect processing to be carried out to the audio data, and save;Will treated audio data is mixed into played data into Row plays.
Audio data after saving audio effect processing is for the ease of by treated, audio data is mixed into played data It plays out.
The audio data processing method provided below the embodiment of the present invention one is further described, with android system For the terminal KTV of system.
In short, in order to realize that low delay ear returns, do not increase additional hardware cost, present applicant proposes Android inner nuclear layer realizes that KTV ear returns the method with audio effect processing in digital audio processor (ADSP):
Mode one
Platform with digital audio processor (ADSP) realizes that KTV ear returns the method with audio effect processing, as shown in Figure 2:
It establishes audio and plays access (audio playback) with audio sound-recording access (audio record);In digital sound The data of recording (tx) are saved in frequency processor (ADSP);It is stored in after carrying out audio effect processing to the data of the recording (tx) of preservation It caches in (buffer);The data mixing of recording (tx) to broadcasting (rx) in digital audio processor (ADSP) played data In;Mixed data playback is come out.Recording is with playing using similarly using rate.
The method can directly take the data of hardware since digital audio processor (ADSP) is closer from hardware, warp The caching (buffer) crossed seldom, along with digital audio processor (ADSP) is very fast to Digital Signal Processing ratio, handles the time It is especially short, it can accomplish within 30ms, delay short in this way, people, which does not feel, to come.
In addition, playing the number in (rx) data recording (tx) after audio effect processing at digital audio processor (ADSP) It is played in (rx) according to being mixed into, in addition playing with identical sample rate of recording, it is ensured that it plays and is synchronized with recording, it will not There is staccato with sound.
Realize that low delay KTV ear returns with digital audio processor (ADSP) platform it can be said that this application provides one kind The method of function saves hardware cost, while providing relatively good user experience.
Mode two
Without digital audio processor (ADSP) chip, realize that KTV ear returns the side with audio effect processing in android inner nuclear layer Method, as shown in Figure 3:
It establishes audio and plays (audio playback) with audio sound-recording (audio record) access;In android The data of recording are protected in core;When the data in recording caching reach 240 frames (5ms), sends an event and give KTV audio effect processing Resume module;The data of recording are passed through de-noising, dynamic compression is balanced, is saved in android kernel after reverberation processing;? Android kernel plays the hardware of access (the recording data mixing by audio effect processing in android kernel played data Into broadcasting access;Mixed data playback is come out.Recording is with playing using similarly using rate.
The method is closer from hardware due to not having the android kernel with digital audio processor (ADSP) platform, can Directly to take the data of hardware, the caching of process is seldom, it is possible to reduce the delay that ear returns;Processing is put into Android system It goes to handle in layer, the stability of system can be enhanced.
In addition, in the hardware that android kernel plays access the data mixing of recording into played data, in addition broadcasting It puts with identical sample rate of recording, it is ensured that play and synchronized with recording, staccato will not occur with sound.
Realize that low delay KTV ear returns without digital audio processor (ADSP) platform it can be said that this application provides one kind The method of function, both saves hardware cost, also provides relatively good user experience.
The audio data processing method that the embodiment of the present invention one provides may be used also other than it can be applied to mobile terminal KTV To be applied to the sound that other need to record, the scene played back in real time.
Embodiment two
As shown in figure 4, terminal provided by Embodiment 2 of the present invention, comprising:
Module 41 is obtained, for obtaining the audio data of recording from the hardware layer using the layer adjacent with hardware layer.
When being equipped with digital audio processor in the terminal, the layer adjacent with hardware layer refers to comprising digital audio processor Process layer;When in the terminal without being equipped with digital audio processor, the layer adjacent with hardware layer refers to inner nuclear layer.
Processing module 42 for carrying out audio effect processing to the audio data, and is mixed into played data and plays out.
Processing module 42 can be specifically used for saving after carrying out audio effect processing to audio data, then after preservation place acquisition processing Audio data play out.
Terminal provided by Embodiment 2 of the present invention refers mainly to mobile terminal.
In view of that there may be digital audio processor in terminal, may not have, so, the embodiment of the present invention is for acquisition mould Block 41 and processing module 42 provide two kinds of specific implementations:
The first, for the terminal with digital audio processor, the acquisition module includes: the first acquisition submodule, For the audio data of recording to be obtained from the hardware layer using process layer;
The processing module includes: the first processing submodule, for carrying out audio to the audio data using process layer Processing, and be mixed into played data and play out;The process layer includes digital audio processor.
Second, for the terminal of not digital audio processor, the acquisition module includes: the second acquisition submodule, For the audio data of recording to be obtained from the hardware layer using inner nuclear layer;
The processing module includes: second processing submodule, for carrying out audio to the audio data using ccf layer Processing, and using inner nuclear layer will treated that audio data is mixed into played data plays out.
Carrying out audio effect processing to the audio data using ccf layer can be enhanced the stability of system.
It frequently executes audio effect processing in order to prevent to operate, in the embodiment of the present invention, the processing module includes: third processing Submodule, when the frame number for the audio data in recording is greater than or equal to preset value, using ccf layer to the audio data Carry out audio effect processing.
It could also say that, third handles submodule when the data in caching of recording reach preset value, sends an event Give KTV audio effect processing resume module.Preset value preferably 240 frames.
It is synchronized to guarantee to play with recording, staccato will not occur with sound, in the embodiment of the present invention two, the acquisition Module includes: acquisition submodule, is recorded for being acquired using the first sample rate from the hardware layer using the layer adjacent with hardware layer The audio data of sound;
The processing module includes: fourth process submodule, for carrying out audio effect processing to the audio data, and is mixed It is played out into played data using first sample rate.
Preferably, the processing module includes: the 5th processing submodule, for carrying out de-noising to the audio data, moving State compression, balanced and reverberation processing.Certainly other operations can also be carried out, it is not limited here.
Specifically, the processing module includes: the 6th processing submodule, for carrying out at audio to the audio data Reason, and save;Submodule is played, for will treated that audio data is mixed into played data plays out.
Herein, the audio data after saving audio effect processing is for the ease of by treated, audio data is mixed into broadcasting number It is played out in.
Wherein, the realization embodiment of above-mentioned audio data processing method is suitable for the embodiment of the terminal, Identical technical effect can be reached.
Embodiment three
As shown in figure 5, the terminal 500 that the embodiment of the present invention three provides includes:
At least one processor 501, memory 502, at least one network interface 504 and other users interface 503.Terminal Various components in 500 are coupled by bus system 505.It is understood that bus system 505 for realizing these components it Between connection communication.Bus system 505 further includes power bus, control bus and status signal in addition to including data/address bus Bus.But for the sake of clear explanation, various buses are all designated as bus system 505 in Fig. 5.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily its It is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program or instruction of calling memory 502 to store, specifically, can be application The program or instruction stored in program 5022, processor 501 are used to obtain using the layer adjacent with hardware layer from the hardware layer The audio data of recording;Audio effect processing is carried out to the audio data, and is mixed into played data and plays out.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501. Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 501 is specifically used for: obtaining the audio data of recording from the hardware layer using process layer;Benefit Audio effect processing is carried out to the audio data with process layer, and is mixed into played data and plays out;The process layer includes Digital audio processor.
Optionally, processor 501 is specifically also used to: obtaining the audio data of recording from the hardware layer using inner nuclear layer; Audio effect processing is carried out to the audio data using ccf layer, and audio data is mixed into broadcasting by treated using inner nuclear layer It is played out in data.
Optionally, processor 501 is more particularly for: when the frame number of the audio data of recording is greater than or equal to preset value, Audio effect processing is carried out to the audio data using ccf layer.
Optionally, processor 501 is specifically also used to: using the layer adjacent with hardware layer using the first sample rate from described hard The audio data of part layer acquisition recording;Audio effect processing is carried out to the audio data, and is mixed into played data using described First sample rate plays out.
Terminal 500 can be realized each process that terminal is realized in previous embodiment, no longer superfluous here to avoid repeating It states.
To sum up, the terminal that the embodiment of the present invention three provides, which passes through, utilizes the layer adjacent with hardware layer from the hardware layer Obtain the audio data of recording, it is possible to reduce the caching of process realizes that low delay ear returns, do not increase additional hardware cost.
Example IV
Specifically, as shown in fig. 6, the terminal 600 in the embodiment of the present invention four can be mobile phone, tablet computer, a number Word assistant (Personal Digital Assistant, PDA) or vehicle-mounted computer etc..
Terminal 600 in Fig. 6 includes radio frequency (Radio Frequency, RF) circuit 610, memory 620, input unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and power supply 690。
Wherein, input unit 630 can be used for receiving the number or character information of user's input, and generate and terminal 600 User setting and function control related signal input.Specifically, in the embodiment of the present invention, which can be with Including touch panel 631.Touch panel 631, also referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user uses the operation of finger, stylus any suitable object or attachment on touch panel 631), and according to setting in advance Fixed formula drives corresponding attachment device.Optionally, touch panel 631 may include touch detecting apparatus and touch controller two A part.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then The processor 660 is given, and order that processor 660 is sent can be received and executed.Furthermore, it is possible to using resistance-type, electricity The multiple types such as appearance formula, infrared ray and surface acoustic wave realize touch panel 631.In addition to touch panel 631, input unit 630 Can also include other input equipments 632, other input equipments 632 can include but is not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Wherein, display unit 640 can be used for showing information input by user or be supplied to the information and terminal of user 600 various menu interfaces.Display unit 640 may include display panel 641, optionally, can use LCD or organic light emission two The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 641.
It should be noted that touch panel 631 can cover display panel 641, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 660 is sent to determine the type of touch event, is followed by subsequent processing device 660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 660 is the control centre of terminal 600, utilizes each of various interfaces and connection whole mobile phone Part by running or execute the software program and/or module that are stored in first memory 621, and calls and is stored in the Data in two memories 622 execute the various functions and processing data of terminal 600, to carry out whole prison to terminal 600 Control.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/ Or the data in the second memory 622, processor 660 obtain recording from the hardware layer using the layer adjacent with hardware layer Audio data;Audio effect processing is carried out to the audio data, and is mixed into played data and plays out.
Optionally, processor 660 is specifically used for: obtaining the audio data of recording from the hardware layer using process layer;Benefit Audio effect processing is carried out to the audio data with process layer, and is mixed into played data and plays out;The process layer includes Digital audio processor.
Optionally, processor 660 is specifically also used to: obtaining the audio data of recording from the hardware layer using inner nuclear layer; Audio effect processing is carried out to the audio data using ccf layer, and audio data is mixed into broadcasting by treated using inner nuclear layer It is played out in data.
Optionally, processor 660 is more particularly for: when the frame number of the audio data of recording is greater than or equal to preset value, Audio effect processing is carried out to the audio data using ccf layer.
Optionally, processor 660 is specifically also used to: using the layer adjacent with hardware layer using the first sample rate from described hard The audio data of part layer acquisition recording;Audio effect processing is carried out to the audio data, and is mixed into played data using described First sample rate plays out.
Utilize the layer adjacent with hardware layer from the hardware layer as it can be seen that the terminal that the embodiment of the present invention four provides passes through Obtain the audio data of recording, it is possible to reduce the caching of process realizes that low delay ear returns, do not increase additional hardware cost.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or the terminal device that include a series of elements not only include that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of terminal device.In the absence of more restrictions, the element limited by sentence "including a ...", and It is not precluded in the process, method including the element, article or terminal device that there is also other identical elements.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (4)

1. a kind of audio data processing method characterized by comprising
The audio data of recording is obtained from the hardware layer using the layer adjacent with hardware layer;
Audio effect processing is carried out to the audio data, and is mixed into played data and plays out;
It is described to include: from the step of audio data of hardware layer acquisition recording using the layer adjacent with hardware layer
The audio data recorded using the first sample rate from hardware layer acquisition using the layer adjacent with hardware layer;
It is described that audio effect processing is carried out to the audio data, and be mixed into the step of playing out in played data and include:
Audio effect processing is carried out to the audio data, and is mixed into played data and is played out using first sample rate;
It is described to include: from the step of audio data of hardware layer acquisition recording using the layer adjacent with hardware layer
The audio data of recording is obtained from the hardware layer using inner nuclear layer;
It is described that audio effect processing is carried out to the audio data, and be mixed into the step of playing out in played data and include:
Audio effect processing is carried out to the audio data using ccf layer, and audio data is mixed by treated using inner nuclear layer It is played out in played data;
It is described to include: to the step of audio data progress audio effect processing using ccf layer
When the frame number of the audio data of recording is greater than or equal to preset value, audio is carried out to the audio data using ccf layer Processing;
It is described to the audio data carry out audio effect processing the step of include:
De-noising, dynamic compression, equilibrium and reverberation processing are carried out to the audio data.
2. audio data processing method as described in claim 1, which is characterized in that it is described using the layer adjacent with hardware layer from The hardware layer obtains the step of audio data of recording further include:
The audio data of recording is obtained from the hardware layer using process layer;
It is described that audio effect processing is carried out to the audio data, and be mixed into the step of playing out in played data and include:
Audio effect processing is carried out to the audio data using process layer, and is mixed into played data and plays out;
The process layer includes digital audio processor.
3. a kind of terminal characterized by comprising
Module is obtained, for obtaining the audio data of recording from the hardware layer using the layer adjacent with hardware layer;
Processing module for carrying out audio effect processing to the audio data, and is mixed into played data and plays out;
The acquisition module includes:
Submodule is acquired, the sound for recording using the first sample rate from hardware layer acquisition using the layer adjacent with hardware layer Frequency evidence;
The processing module includes:
Fourth process submodule for carrying out audio effect processing to the audio data, and is mixed into played data using described First sample rate plays out;
The acquisition module further include:
Second acquisition submodule, for obtaining the audio data of recording from the hardware layer using inner nuclear layer;
The processing module includes:
Second processing submodule for carrying out audio effect processing to the audio data using ccf layer, and will be located using inner nuclear layer Audio data after reason, which is mixed into played data, to be played out;
The processing module further include:
Third handles submodule, when the frame number for the audio data in recording is greater than or equal to preset value, utilizes ccf layer pair The audio data carries out audio effect processing;
The processing module includes:
5th processing submodule, is handled for carrying out de-noising, dynamic compression, equilibrium and reverberation to the audio data.
4. terminal as claimed in claim 3, which is characterized in that the acquisition module further include:
First acquisition submodule, for obtaining the audio data of recording from the hardware layer using process layer;
The processing module includes:
First processing submodule for carrying out audio effect processing to the audio data using process layer, and is mixed into played data In play out;
The process layer includes digital audio processor.
CN201610513704.8A 2016-06-30 2016-06-30 A kind of audio data processing method and terminal Active CN106205580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610513704.8A CN106205580B (en) 2016-06-30 2016-06-30 A kind of audio data processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610513704.8A CN106205580B (en) 2016-06-30 2016-06-30 A kind of audio data processing method and terminal

Publications (2)

Publication Number Publication Date
CN106205580A CN106205580A (en) 2016-12-07
CN106205580B true CN106205580B (en) 2019-07-26

Family

ID=57463183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610513704.8A Active CN106205580B (en) 2016-06-30 2016-06-30 A kind of audio data processing method and terminal

Country Status (1)

Country Link
CN (1) CN106205580B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648538B (en) * 2016-12-30 2018-09-04 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal of mobile terminal
DE102017100076A1 (en) 2017-01-04 2018-07-05 Sennheiser Electronic Gmbh & Co. Kg Method for low-latency audio transmission in an LTE network
CN107992282B (en) * 2017-11-29 2020-11-03 珠海市魅族科技有限公司 Audio data processing method and device, computer device and readable storage device
CN109920438B (en) * 2017-12-13 2021-04-23 成都鼎桥通信技术有限公司 Method for processing talkback signal of private network terminal
CN108182930B (en) * 2017-12-18 2021-12-10 福建星网视易信息系统有限公司 Sound effect processing method and equipment and audio and video on demand system
CN110096250B (en) * 2018-01-31 2020-05-29 北京金山云网络技术有限公司 Audio data processing method and device, electronic equipment and storage medium
CN111381797B (en) * 2018-12-28 2021-10-15 北京字节跳动网络技术有限公司 Processing method and device for realizing KTV function on client and user equipment
CN113571032A (en) * 2020-04-28 2021-10-29 深圳市万普拉斯科技有限公司 Audio data transmission method and device, computer equipment and storage medium
CN113518258B (en) * 2021-05-14 2023-06-30 北京天籁传音数字技术有限公司 Low-delay full-scene audio implementation method and device and electronic equipment
CN116665625A (en) * 2023-07-28 2023-08-29 成都赛力斯科技有限公司 Audio signal processing method, device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104637488A (en) * 2013-11-07 2015-05-20 华为终端有限公司 Sound processing method and terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9473555B2 (en) * 2012-12-31 2016-10-18 The Nielsen Company (Us), Llc Apparatus, system and methods for portable device tracking using temporary privileged access
CN103313167B (en) * 2013-06-20 2018-07-10 厦门雅迅网络股份有限公司 Audio frequency power amplifier energy-saving control method based on Android system
CN105654932B (en) * 2014-11-10 2020-12-15 乐融致新电子科技(天津)有限公司 System and method for realizing karaoke application
CN105049968A (en) * 2015-07-07 2015-11-11 深圳市东方智通科技有限公司 Integrated digital sound effect processing audible device based on Android system and operation method thereof

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104637488A (en) * 2013-11-07 2015-05-20 华为终端有限公司 Sound processing method and terminal device

Also Published As

Publication number Publication date
CN106205580A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106205580B (en) A kind of audio data processing method and terminal
CN106101848B (en) A kind of barrage display methods and electronic equipment
CN106303804B (en) A kind of control method and mobile terminal of microphone
CN106844067B (en) A kind of processing method and mobile terminal of content
CN106406739B (en) A kind of note generation method and mobile terminal
CN106341538B (en) A kind of method for pushing and mobile terminal of lyrics poster
CN106780685B (en) A kind of generation method and terminal of dynamic picture
CN106504777B (en) A kind of processing method and mobile terminal of recording data
US20110291930A1 (en) Electronic device with touch input function and touch input method thereof
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
CN107491278B (en) A kind of split screen processing method and terminal
CN105302442A (en) Image information processing method and terminal
CN105824495A (en) Method for operating mobile terminal with single hand and mobile terminal
CN107423018B (en) A kind of multi-screen display method and terminal
CN106648538B (en) A kind of audio frequency playing method and mobile terminal of mobile terminal
CN107172465B (en) A kind of video playing control method and mobile terminal
CN106507176A (en) A kind of method of video playback and mobile terminal
CN107221347A (en) Method and terminal that a kind of audio is played
CN107026986B (en) A kind of processing method and mobile terminal of video background music
CN107071330A (en) A kind of interactive method of video calling and mobile terminal
CN107172486B (en) A kind of video encoding/decoding method and mobile terminal
CN106686402A (en) Video processing method and mobile terminal
CN106230069B (en) A kind of charging method and terminal
CN106385489B (en) A kind of method and mobile terminal of determining upstream voice data
CN107124656A (en) The player method and mobile terminal of a kind of multimedia file

Legal Events

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