CN106205580A - 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
CN106205580A
CN106205580A CN201610513704.8A CN201610513704A CN106205580A CN 106205580 A CN106205580 A CN 106205580A CN 201610513704 A CN201610513704 A CN 201610513704A CN 106205580 A CN106205580 A CN 106205580A
Authority
CN
China
Prior art keywords
voice data
layer
data
audio
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610513704.8A
Other languages
Chinese (zh)
Other versions
CN106205580B (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 invention provides a kind of audio data processing method and terminal, wherein, audio data processing method includes: utilize the layer adjacent with hardware layer to obtain the voice data of recording from described hardware layer;Described voice data is carried out audio effect processing, and is mixed in played data and plays out.The scheme that the present invention provides obtains the voice data of recording by utilizing the layer adjacent with hardware layer from described hardware layer, it is possible to reduce the caching of process, it is achieved low delay ear returns, and does not increase extra hardware cost.

Description

A kind of audio data processing method and terminal
Technical field
The present invention relates to field of terminal technology, particularly relate to a kind of audio data processing method and terminal.
Background technology
The demand of Intelligent mobile equipment KTV gets more and more at present, and user needs the Consumer's Experience as at KTV, again There is reasonable audio effect.
But, current Android platform realizes the following two kinds mode of KTV and respectively there is different defects:
The first, do not have ear to return function, could listen, after only having sung, the effect sung;
The second, APP realizes ear in application layer and returns with audio effect processing, and the number of plies divided due to android is too many, all can for every layer Having bigger caching, the sound causing ear to return has bigger time delay, and experience effect is excessively poor.
Summary of the invention
It is an object of the invention to provide a kind of audio data processing method and terminal, solve terminal in prior art and realize The problem that KTV ear returns function time delay length.
In order to solve above-mentioned technical problem, the embodiment of the present invention provides a kind of audio data processing method, including:
The layer adjacent with hardware layer is utilized to obtain the voice data of recording from described hardware layer;
Described voice data is carried out audio effect processing, and is mixed in played data and plays out.
Present invention also offers a kind of terminal, including:
Acquisition module, for utilizing the layer adjacent with hardware layer to obtain the voice data of recording from described hardware layer;
Processing module, for described voice data carries out audio effect processing, and is mixed in played data and plays out.
Having the beneficial effect that of the technique scheme of the present invention:
In such scheme, described audio data processing method obtains from described hardware layer by utilizing the layer adjacent with hardware layer Enroll the voice data of sound, it is possible to reduce the caching of process, it is achieved low delay ear returns, do not increase extra hardware cost.
Accompanying drawing explanation
Fig. 1 is the audio data processing method schematic flow sheet of the embodiment of the present invention one;
Fig. 2 is the audio data processing method concrete application flow schematic diagram one of the embodiment of the present invention one;
Fig. 3 is the audio data processing method concrete application flow schematic 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.
Detailed description of the invention
For making the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The present invention is directed to existing middle terminal and realize the problem that KTV ear returns function time delay length, it is provided that multiple solution, Specific as follows:
Embodiment one
As it is shown in figure 1, the audio data processing method that the embodiment of the present invention one provides, including:
Step 11: utilize the layer adjacent with hardware layer to obtain the voice data of recording from described hardware layer.
When being provided with digital audio processor in the terminal, the layer adjacent with hardware layer refers to comprise digital audio processor Process layer;When not the most being provided with digital audio processor, the layer adjacent with hardware layer refers to inner nuclear layer.
Step 12: described voice data is carried out audio effect processing, and be mixed in played data and play out.
Sound after step 12 can be specially after voice data carries out audio effect processing and preserve, then acquisition processes at preservation Frequency is according to playing out.
The audio data processing method that the embodiment of the present invention one provides is mainly used in mobile terminal.
In view of terminal may have digital audio processor, it is likely not to have, so, the embodiment of the present invention is for step 11 Two kinds of specific implementations are provided with step 12:
The first, for having the terminal of digital audio processor, the described utilization layer adjacent with hardware layer from described firmly The step of the voice data that part layer obtains recording includes: utilization processes layer and obtains the voice data of recording from described hardware layer;
Described audio effect processing that described voice data is carried out, and be mixed into the step played out in played data and include: Utilization processes layer and described voice data carries out audio effect processing, and is mixed in played data and plays out;Described process layer bag Include digital audio processor.
The second, for there is no the terminal of digital audio processor, the described utilization layer adjacent with hardware layer from described firmly The step of the voice data that part layer obtains recording includes: utilize inner nuclear layer to obtain the voice data of recording from described hardware layer;
Described audio effect processing that described voice data is carried out, and be mixed into the step played out in played data and include: Utilize ccf layer that described voice data carries out audio effect processing, and the voice data after utilizing inner nuclear layer to process is mixed into broadcasting Data play out.
Utilize ccf layer that described voice data is carried out audio effect processing and can strengthen the stability of system.
In order to prevent from frequently executing audio effect processing operation, in the embodiment of the present invention, described utilize ccf layer to described audio frequency Data carry out the step of audio effect processing and include: when the frame number of the voice data of recording is more than or equal to preset value, utilize framework Layer carries out audio effect processing to described voice data.
Could also say that, when the data in recording caching reach preset value, send an event to KTV audio effect processing mould Block processes.Preset value preferably 240 frame.
In order to ensure to play with recording synchronizes, do not have staccato with sound, in the embodiment of the present invention one, described utilization yet The layer adjacent with hardware layer includes from the step of the voice data that described hardware layer obtains recording: utilize the layer adjacent with hardware layer Use the voice data that the first sample rate is recorded from described hardware layer collection;
Described audio effect processing that described voice data is carried out, and be mixed into the step played out in played data and include: Described voice data is carried out audio effect processing, and is mixed in played data and uses described first sample rate to play out.
Preferably, the described step that described voice data carries out audio effect processing includes: disappear described voice data Make an uproar, dynamic compression, equilibrium and reverberation process.Certainly can also include that other operate, and do not limit at this.
Concrete, described described voice data is carried out audio effect processing, and be mixed into the step played out in played data Suddenly include: described voice data is carried out audio effect processing, and preserves;Voice data after processing is mixed in played data Row is play.
Preserving the voice data after audio effect processing is to be mixed in played data for the ease of the voice data after processing Play out.
The audio data processing method provided the embodiment of the present invention one below is further described, with android system As a example by terminal KTV of system.
In short, return to realize low delay ear, do not increase extra hardware cost, present applicant proposes Android inner nuclear layer or realize KTV ear in digital audio processor (ADSP) and return the method with audio effect processing:
Mode one
Realize KTV ear with the platform of digital audio processor (ADSP) and return the method with audio effect processing, as shown in Figure 2:
Set up audio frequency and play path (audio playback) with audio sound-recording path (audio record);At numeral sound Processor (ADSP) preserves the data of recording (tx) frequently;It is saved in after the data of recording (tx) preserved are carried out audio effect processing In caching (buffer);The data mixing of recording (tx) to playing (rx) in digital audio processor (ADSP) played data In;Mixed data playback out.Record with broadcasting uses same employing rate.
The manner is closer from hardware due to digital audio processor (ADSP), can directly take the data of hardware, warp The caching (buffer) crossed is little, adds digital audio processor (ADSP) to Digital Signal Processing ratio comparatively fast, processes the time The shortest, within can accomplishing 30ms, the shortest time delay, people does not feels.
It addition, recording (tx) number after audio effect processing in digital audio processor (ADSP) plays (rx) data According to being mixed in broadcasting (rx), add that broadcasting is with the identical sample rate of recording, it is ensured that play with recording synchronizes, also will not Staccato occurs with sound.
A kind of realize low delay KTV ear with digital audio processor (ADSP) platform it can be said that this application provides and return The method of function, saves hardware cost, provides reasonable Consumer's Experience simultaneously.
Mode two
Without digital audio processor (ADSP) chip, realize KTV ear at android inner nuclear layer and return the side with audio effect processing Method, as shown in Figure 3:
Set up audio frequency and play (audio playback) with audio sound-recording (audio record) path;In android Core is protected the data of recording;When the data in recording caching reach 240 frames (5ms), send an event to KTV audio effect processing Resume module;The data of recording are saved in android kernel after processing through de-noising, dynamic compression, equilibrium, reverberation;? Android kernel is play the hardware of path and (in android kernel played data, the recording data through audio effect processing is mixed To playing in path;Mixed data playback out.Record with broadcasting uses same employing rate.
The manner is closer from hardware due to the android kernel of not band digital audio processor (ADSP) platform, can Directly to take the data of hardware, the caching of process is little, it is possible to reduce the time delay that ear returns;Process is put into Android system Go in Ceng to process, the stability of system can be strengthened.
It addition, in the data mixing of recording to played data in android kernel plays the hardware of path, add and broadcast Put with the identical sample rate of recording, it is ensured that play with recording synchronizes, also do not have staccato with sound.
A kind of realize low delay KTV ear without digital audio processor (ADSP) platform it can be said that this application provides and return The method of function, had both saved hardware cost, also provided reasonable Consumer's Experience.
The audio data processing method that the embodiment of the present invention one provides, in addition to can apply to mobile terminal KTV, also may be used To be applied to other sound needing record to arrive, real-time play sight out.
Embodiment two
As shown in Figure 4, the terminal that the embodiment of the present invention two provides, including:
Acquisition module 41, for utilizing the layer adjacent with hardware layer to obtain the voice data of recording from described hardware layer.
When being provided with digital audio processor in the terminal, the layer adjacent with hardware layer refers to comprise digital audio processor Process layer;When not the most being provided with digital audio processor, the layer adjacent with hardware layer refers to inner nuclear layer.
Processing module 42, for described voice data carries out audio effect processing, and is mixed in played data and plays out.
Processing module 42 can be specifically for carrying out voice data preserving after audio effect processing, then after at preservation, acquisition processes Voice data play out.
The terminal that the embodiment of the present invention two provides refers mainly to mobile terminal.
In view of terminal may have digital audio processor, it is likely not to have, so, the embodiment of the present invention is for obtaining mould Block 41 and processing module 42 provide two kinds of specific implementations:
The first, for having the terminal of digital audio processor, described acquisition module includes: first obtains submodule, For utilizing the voice data processing layer from the acquisition recording of described hardware layer;
Described processing module includes: first processes submodule, is used for utilizing process layer that described voice data is carried out audio Process, and be mixed in played data and play out;Described process layer includes digital audio processor.
The second, for not having the terminal of digital audio processor, described acquisition module includes: second obtains submodule, For utilizing inner nuclear layer to obtain the voice data of recording from described hardware layer;
Described processing module includes: second processes submodule, is used for utilizing ccf layer that described voice data is carried out audio Process, and the voice data after utilizing inner nuclear layer to process is mixed in played data and plays out.
Utilize ccf layer that described voice data is carried out audio effect processing and can strengthen the stability of system.
In order to prevent frequently executing audio effect processing operation, in the embodiment of the present invention, described processing module includes: the 3rd processes Submodule, when the frame number of the voice data in recording is more than or equal to preset value, utilizes ccf layer to described voice data Carry out audio effect processing.
Could also say that, when the 3rd process submodule data in recording caching reach preset value, send an event To KTV audio effect processing resume module.Preset value preferably 240 frame.
In order to ensure to play with recording synchronizes, do not have staccato with sound, in the embodiment of the present invention two, described acquisition yet Module includes: gather submodule, for utilizing the layer adjacent with hardware layer to use the first sample rate to record from described hardware layer collection The voice data of sound;
Described processing module includes: fourth process submodule, for described voice data is carried out audio effect processing, and mixes Described first sample rate is used to play out in played data.
Preferably, described processing module includes: the 5th processes submodule, for described voice data carrying out de-noising, moving State compression, equilibrium and reverberation process.Certainly can also carry out other operations, not limit at this.
Concrete, described processing module includes: the 6th processes submodule, for carrying out described voice data at audio Reason, and preserve;Playing submodule, the voice data after processing is mixed in played data and plays out.
Herein, the voice data after preserving audio effect processing is to be mixed into broadcasting number for the ease of the voice data after processing Play out according to.
Wherein, the described of above-mentioned audio data processing method realizes embodiment all be applicable to the embodiment of this terminal, also Identical technique effect can be reached.
Embodiment three
As it is shown in figure 5, the terminal 500 that the embodiment of the present invention three provides includes:
At least one processor 501, memorizer 502, at least one network interface 504 and other user interfaces 503.Terminal Each assembly in 500 is coupled by bus system 505.It is understood that bus system 505 be used for realizing these assemblies it Between connection communication.Bus system 505, in addition to including data/address bus, also includes power bus, controls bus and status signal Bus.But for the sake of understanding explanation, in Figure 5 various buses are all designated as bus system 505.
Wherein, user interface 503 can include display, keyboard or pointing device (such as, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
The memorizer 502 being appreciated that in the embodiment of the present invention can be volatile memory or nonvolatile memory, Maybe can include volatibility and nonvolatile memory.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 Read Only Memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM (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), enhancement mode 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 memorizer 502 of system and method described herein be intended to include but not limited to these and arbitrarily its It is suitable for the memorizer of type.
In some embodiments, memorizer 502 stores following element, executable module or data structure, or Their subset of person, or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021, comprise various system program, such as ccf layer, core library layer, driving layer etc., be used for Realize various basic business and process hardware based task.Application program 5022, comprises various application program, such as media Player (Media Player), browser (Browser) etc., be used 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 calling program or the instruction of memorizer 502 storage, concrete, can be application The program stored in program 5022 or instruction, processor 501 obtains from described hardware layer for utilizing the layer adjacent with hardware layer The voice data of recording;Described voice data is carried out audio effect processing, and is mixed in played data and plays out.
The method that the invention described above embodiment discloses can apply in processor 501, or is realized by processor 501. Processor 501 is probably a kind of IC chip, has the disposal ability of signal.During realizing, said method each Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned process Device 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General The processor etc. that processor can be microprocessor or this processor can also be any routine.In conjunction with embodiment of the present invention institute The step of disclosed method can be embodied directly in hardware decoding processor and perform, or with the hardware in decoding processor And software module combination execution completes.Software module may be located at random access memory, and flash memory, read only memory are able to programme read-only In the storage medium that this areas such as memorizer or electrically erasable programmable memorizer, depositor are ripe.This storage medium is positioned at Memorizer 502, processor 501 reads the information in memorizer 502, completes the step of said method in conjunction with its hardware.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its Combination realizes.Realizing for hardware, processing unit can be implemented in one or more special IC (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, Controller, microcontroller, microprocessor, for performing in other electronic unit or a combination thereof of herein described function.
Software is realized, can be realized herein by the module (such as process, function etc.) performing function described herein Described technology.Software code is storable in performing in memorizer and by processor.Memorizer can within a processor or Processor is outside to be realized.
Alternatively, processor 501 processes layer specifically for: utilization and obtains the voice data of recording from described hardware layer;Profit With processing layer described voice data carried out audio effect processing, and be mixed in played data and play out;Described process layer includes Digital audio processor.
Alternatively, processor 501 is specifically additionally operable to: utilize inner nuclear layer to obtain the voice data of recording from described hardware layer; Utilize ccf layer that described voice data carries out audio effect processing, and the voice data after utilizing inner nuclear layer to process is mixed into broadcasting Data play out.
Alternatively, processor 501 is more particularly for: when the frame number of the voice data of recording is more than or equal to preset value, Utilize ccf layer that described voice data is carried out audio effect processing.
Alternatively, processor 501 is specifically additionally operable to: utilize the layer adjacent with hardware layer use the first sample rate from described firmly The voice data of part layer collection recording;Described voice data is carried out audio effect processing, and it is described to be mixed in played data use First sample rate plays out.
Terminal 500 is capable of each process that in previous embodiment, terminal realizes, for avoiding repeating, the most superfluous State.
To sum up, the described terminal that the embodiment of the present invention three provides is by utilizing the layer adjacent with hardware layer from described hardware layer Obtain the voice data of recording, it is possible to reduce the caching of process, it is achieved low delay ear returns, do not increase extra hardware cost.
Embodiment four
Specifically, as shown in Figure 6, the terminal 600 in the embodiment of the present invention four can be mobile phone, panel computer, individual 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, memorizer 620, input block 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (Wireless Fidelity) module 680 and power supply 690。
Wherein, input block 630 can be used for receiving numeral or the character information of user's input, and produces and terminal 600 User setup and function control the input of relevant signal.Specifically, in the embodiment of the present invention, this input block 630 is permissible Including contact panel 631.Contact panel 631, also referred to as touch screen, thereon or neighbouring touch operation (is compared can to collect user As user uses any applicable object such as finger, stylus or adnexa operation on contact panel 631), and according to setting in advance Fixed formula drives corresponding attachment means.Optionally, contact panel 631 can include touch detecting apparatus and touch controller two Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings, signal is passed Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then Give this processor 660, and order that processor 660 sends can be received and performed.Furthermore, it is possible to use resistance-type, electricity The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block 630 Can also include other input equipments 632, other input equipments 632 can include but not limited to physical keyboard, function key (such as Volume control button, switch key etc.), trace ball, mouse, one or more in action bars etc..
Wherein, display unit 640 can be used for showing the information inputted by user or the information being supplied to user and terminal The various menu interfaces of 600.Display unit 640 can include display floater 641, optionally, can use LCD or organic light emission two The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display floater 641.
It should be noted that contact panel 631 can cover display floater 641, formed and touch display screen, when this touch display screen is examined Measure thereon or after neighbouring touch operation, send processor 660 to determine the type of touch event, with preprocessor 660 provide corresponding visual output according to the type of touch event on touch display screen.
Touch display screen and include Application Program Interface viewing area and conventional control viewing area.This Application Program Interface viewing area And the arrangement mode of this conventional control viewing area does not limit, can be arranged above and below, left-right situs etc. can be distinguished two and show Show the arrangement mode in district.This Application Program Interface viewing area is displayed for the interface of application program.Each interface is permissible The interface elements such as the icon and/or the widget desktop control that comprise at least one application program.This Application Program Interface viewing area It can also be the empty interface not comprising any content.This conventional control viewing area is for showing the control that utilization rate is higher, such as, The application icons etc. such as settings button, interface numbering, scroll bar, phone directory icon.
Wherein processor 660 is the control centre of terminal 600, utilizes various interface and the whole mobile phone of connection each Part, is stored in the software program in first memory 621 and/or module by running or performing, and calls and be stored in the Data in two memorizeies 622, perform the various functions of terminal 600 and process data, thus terminal 600 carries out overall prison Control.Optionally, processor 660 can include one or more processing unit.
In embodiments of the present invention, by call the software program and/or module stored in this first memory 621 and/ Or the data in this second memory 622, processor 660 utilizes the layer adjacent with hardware layer to obtain recording from described hardware layer Voice data;Described voice data is carried out audio effect processing, and is mixed in played data and plays out.
Alternatively, processor 660 processes layer specifically for: utilization and obtains the voice data of recording from described hardware layer;Profit With processing layer described voice data carried out audio effect processing, and be mixed in played data and play out;Described process layer includes Digital audio processor.
Alternatively, processor 660 is specifically additionally operable to: utilize inner nuclear layer to obtain the voice data of recording from described hardware layer; Utilize ccf layer that described voice data carries out audio effect processing, and the voice data after utilizing inner nuclear layer to process is mixed into broadcasting Data play out.
Alternatively, processor 660 is more particularly for: when the frame number of the voice data of recording is more than or equal to preset value, Utilize ccf layer that described voice data is carried out audio effect processing.
Alternatively, processor 660 is specifically additionally operable to: utilize the layer adjacent with hardware layer use the first sample rate from described firmly The voice data of part layer collection recording;Described voice data is carried out audio effect processing, and it is described to be mixed in played data use First sample rate plays out.
Visible, the described terminal that the embodiment of the present invention four provides is by utilizing the layer adjacent with hardware layer from described hardware layer Obtain the voice data of recording, it is possible to reduce the caching of process, it is achieved low delay ear returns, do not increase extra hardware cost.
It should be noted that each embodiment in this specification all uses the mode gone forward one by one to describe, each embodiment weight Point explanation is all the difference with other embodiments, and between each embodiment, identical similar part sees mutually.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, the system of foregoing description, The specific works process of device and unit, is referred to the corresponding process in preceding method embodiment, does not repeats them here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.Another point, shown or discussed is mutual Between coupling direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention. And aforesaid storage medium includes: USB flash disk, portable hard drive, ROM, RAM, magnetic disc or CD etc. are various can store program code Medium.
Also, it should be noted in this article, the relational terms of such as first and second or the like is used merely to one Entity or operation separate with another entity or operating space, and not necessarily require or imply between these entities or operation There is relation or the order of any this reality.And, term " includes ", " comprising " or its any other variant are intended to contain Comprising of lid nonexcludability, so that include that the process of a series of key element, method, article or terminal unit not only include that A little key elements, but also include other key elements being not expressly set out, or also include for this process, method, article or The key element that terminal unit is intrinsic.In the case of there is no more restriction, statement " including ... " key element limited, and It is not precluded within and includes the process of described key element, method, article or terminal unit there is also other identical element.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (12)

1. an audio data processing method, it is characterised in that including:
The layer adjacent with hardware layer is utilized to obtain the voice data of recording from described hardware layer;
Described voice data is carried out audio effect processing, and is mixed in played data and plays out.
2. audio data processing method as claimed in claim 1, it is characterised in that the described utilization layer adjacent with hardware layer from The step of the voice data that described hardware layer obtains recording includes:
Utilization processes layer and obtains the voice data of recording from described hardware layer;
Described audio effect processing that described voice data is carried out, and be mixed into the step played out in played data and include:
Utilization processes layer and described voice data carries out audio effect processing, and is mixed in played data and plays out;
Described process layer includes digital audio processor.
3. audio data processing method as claimed in claim 1, it is characterised in that the described utilization layer adjacent with hardware layer from The step of the voice data that described hardware layer obtains recording includes:
Inner nuclear layer is utilized to obtain the voice data of recording from described hardware layer;
Described audio effect processing that described voice data is carried out, and be mixed into the step played out in played data and include:
Utilize ccf layer that described voice data carries out audio effect processing, and the voice data after utilizing inner nuclear layer to process is mixed into Played data plays out.
4. audio data processing method as claimed in claim 3, it is characterised in that described utilize ccf layer to described audio frequency number Include according to the step carrying out audio effect processing:
When the frame number of the voice data of recording is more than or equal to preset value, utilize ccf layer that described voice data is carried out audio Process.
5. audio data processing method as claimed in claim 1, it is characterised in that the described utilization layer adjacent with hardware layer from The step of the voice data that described hardware layer obtains recording includes:
The layer adjacent with hardware layer is utilized to use the voice data that the first sample rate is recorded from described hardware layer collection;
Described audio effect processing that described voice data is carried out, and be mixed into the step played out in played data and include:
Described voice data is carried out audio effect processing, and is mixed in played data and uses described first sample rate to play out.
6. audio data processing method as claimed in claim 1, it is characterised in that described described voice data is carried out audio The step processed includes:
Described voice data carries out de-noising, dynamic compression, equilibrium and reverberation process.
7. a terminal, it is characterised in that including:
Acquisition module, for utilizing the layer adjacent with hardware layer to obtain the voice data of recording from described hardware layer;
Processing module, for described voice data carries out audio effect processing, and is mixed in played data and plays out.
8. terminal as claimed in claim 7, it is characterised in that described acquisition module includes:
First obtains submodule, for utilizing the voice data processing layer from the acquisition recording of described hardware layer;
Described processing module includes:
First processes submodule, is used for utilizing process layer that described voice data is carried out audio effect processing, and is mixed into played data In play out;
Described process layer includes digital audio processor.
9. terminal as claimed in claim 7, it is characterised in that described acquisition module includes:
Second obtains submodule, for utilizing inner nuclear layer to obtain the voice data of recording from described hardware layer;
Described processing module includes:
Second processes submodule, is used for utilizing ccf layer that described voice data carries out audio effect processing, and utilizes at inner nuclear layer general Voice data after reason is mixed in played data and plays out.
10. terminal as claimed in claim 9, it is characterised in that described processing module includes:
3rd processes submodule, when the frame number of the voice data in recording is more than or equal to preset value, utilizes ccf layer pair Described voice data carries out audio effect processing.
11. terminals as claimed in claim 7, it is characterised in that described acquisition module includes:
Gather submodule, for the sound utilizing the layer adjacent with hardware layer to use the first sample rate to record from described hardware layer collection Frequency evidence;
Described processing module includes:
Fourth process submodule, for described voice data carries out audio effect processing, and it is described to be mixed in played data use First sample rate plays out.
12. terminals as claimed in claim 7, it is characterised in that described processing module includes:
5th processes submodule, processes for described voice data carries out de-noising, dynamic compression, equilibrium and reverberation.
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 true CN106205580A (en) 2016-12-07
CN106205580B 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)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648538A (en) * 2016-12-30 2017-05-10 维沃移动通信有限公司 Audio playing method of mobile terminal and mobile terminal
CN107992282A (en) * 2017-11-29 2018-05-04 珠海市魅族科技有限公司 Audio data processing method and device, computer installation and readable storage devices
CN108182930A (en) * 2017-12-18 2018-06-19 福建星网视易信息系统有限公司 Sound effect treatment method, equipment and audio/video on-demand system
CN109644198A (en) * 2017-01-04 2019-04-16 森海塞尔电子股份有限及两合公司 Method and system for the low latency transmission audio in mobile radio telephone network
CN109920438A (en) * 2017-12-13 2019-06-21 成都鼎桥通信技术有限公司 A kind of speaker's signal processing method of private network terminal
CN110096250A (en) * 2018-01-31 2019-08-06 北京金山云网络技术有限公司 A kind of audio data processing method, device, electronic equipment and storage medium
CN111381797A (en) * 2018-12-28 2020-07-07 北京字节跳动网络技术有限公司 Processing method and device for realizing KTV function on client and user equipment
CN113518258A (en) * 2021-05-14 2021-10-19 北京天籁传音数字技术有限公司 Low-delay full-scene audio implementation method and device and electronic equipment
CN113571032A (en) * 2020-04-28 2021-10-29 深圳市万普拉斯科技有限公司 Audio data transmission method and device, computer equipment and storage medium
CN116665625A (en) * 2023-07-28 2023-08-29 成都赛力斯科技有限公司 Audio signal processing method, device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103313167A (en) * 2013-06-20 2013-09-18 厦门雅迅网络股份有限公司 Android system based energy-saving control method for audio power amplifier
US20140189095A1 (en) * 2012-12-31 2014-07-03 Arbitron Mobile Oy Apparatus, System and Methods for Portable Device Tracking Using Temporary Privileged Access
CN104637488A (en) * 2013-11-07 2015-05-20 华为终端有限公司 Sound processing method and terminal device
CN105049968A (en) * 2015-07-07 2015-11-11 深圳市东方智通科技有限公司 Integrated digital sound effect processing audible device based on Android system and operation method thereof
CN105654932A (en) * 2014-11-10 2016-06-08 乐视致新电子科技(天津)有限公司 System and method for implementing karaoke application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140189095A1 (en) * 2012-12-31 2014-07-03 Arbitron Mobile Oy Apparatus, System and Methods for Portable Device Tracking Using Temporary Privileged Access
CN103313167A (en) * 2013-06-20 2013-09-18 厦门雅迅网络股份有限公司 Android system based energy-saving control method for audio power amplifier
CN104637488A (en) * 2013-11-07 2015-05-20 华为终端有限公司 Sound processing method and terminal device
CN105654932A (en) * 2014-11-10 2016-06-08 乐视致新电子科技(天津)有限公司 System and method for implementing 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

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648538A (en) * 2016-12-30 2017-05-10 维沃移动通信有限公司 Audio playing method of mobile terminal and mobile terminal
CN109644198B (en) * 2017-01-04 2021-07-06 森海塞尔电子股份有限及两合公司 Method and system for low-delay audio transmission in a mobile radio network
CN109644198A (en) * 2017-01-04 2019-04-16 森海塞尔电子股份有限及两合公司 Method and system for the low latency transmission audio in mobile radio telephone network
US10979474B2 (en) 2017-01-04 2021-04-13 Sennheiser Electronic Gmbh & Co. Kg Method and system for a low-latency audio transmission in a mobile communications network
CN107992282B (en) * 2017-11-29 2020-11-03 珠海市魅族科技有限公司 Audio data processing method and device, computer device and readable storage device
CN107992282A (en) * 2017-11-29 2018-05-04 珠海市魅族科技有限公司 Audio data processing method and device, computer installation and readable storage devices
CN109920438A (en) * 2017-12-13 2019-06-21 成都鼎桥通信技术有限公司 A kind of speaker's signal processing method of private network terminal
CN108182930A (en) * 2017-12-18 2018-06-19 福建星网视易信息系统有限公司 Sound effect treatment method, equipment and audio/video on-demand system
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
CN110096250A (en) * 2018-01-31 2019-08-06 北京金山云网络技术有限公司 A kind of audio data processing method, device, electronic equipment and storage medium
CN111381797A (en) * 2018-12-28 2020-07-07 北京字节跳动网络技术有限公司 Processing method and device for realizing KTV function on client and user equipment
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
CN113518258A (en) * 2021-05-14 2021-10-19 北京天籁传音数字技术有限公司 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

Also Published As

Publication number Publication date
CN106205580B (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN106205580A (en) A kind of audio data processing method and terminal
CN106507180B (en) A kind of method and terminal of video processing
CN106101848A (en) A kind of barrage display packing and electronic equipment
CN106817656B (en) A kind of outer method and mobile terminal for putting sound system audio calibration
US20110291930A1 (en) Electronic device with touch input function and touch input method thereof
CN105302442A (en) Image information processing method and terminal
CN106303804A (en) The control method of a kind of mike and mobile terminal
CN103279269B (en) Data interactive method between a kind of application program and device, terminal device
CN107623776A (en) A kind of method for controlling volume, system and mobile terminal
CN106504777A (en) A kind of processing method of recording data and mobile terminal
CN106201632A (en) The access method of a kind of application program and mobile terminal
CN107438204A (en) A kind of method and mobile terminal of media file loop play
CN105824557B (en) A kind of method and mobile terminal for playing voice messaging
CN106406739A (en) Note generating method and mobile terminal
CN106764288A (en) A kind of camera bracket and mobile terminal
CN106648538B (en) A kind of audio frequency playing method and mobile terminal of mobile terminal
CN106507176A (en) A kind of method of video playback and mobile terminal
CN106055301A (en) Volume setting method and mobile terminal
CN106686402A (en) Video processing method and mobile terminal
CN107221347A (en) Method and terminal that a kind of audio is played
CN105959483A (en) Audio stream processing method and mobile terminal
CN106101409A (en) A kind of mobile terminal and control method
CN104216639A (en) Terminal operation method
CN107172486A (en) A kind of video encoding/decoding method and mobile terminal
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