CN105208189B - Audio-frequency processing method and mobile terminal - Google Patents
Audio-frequency processing method and mobile terminal Download PDFInfo
- Publication number
- CN105208189B CN105208189B CN201410757918.0A CN201410757918A CN105208189B CN 105208189 B CN105208189 B CN 105208189B CN 201410757918 A CN201410757918 A CN 201410757918A CN 105208189 B CN105208189 B CN 105208189B
- Authority
- CN
- China
- Prior art keywords
- audio data
- audio
- processing
- digital
- control instruction
- 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
Links
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
The present invention relates to mobile communication fields, provide a kind of audio-frequency processing method, it include: the first audio data for receiving user's input, the second audio data and control instruction that application layer is sent are received by operating system standard interface, in digital audio processing IC chip, synthesis processing is carried out to first audio data and the second audio data according to the control instruction, obtains third audio data.The present invention also provides a kind of mobile terminals, for realizing the above method.The embodiment of the present invention is handled by Real-time hardware of the digital audio processing IC chip to audio data, and the standard interface that operating system provides, so that user when returning function using ear with minimum time delay, improve real-time, and realize the personalized customization that audio is returned to ear.
Description
Technical field
The present invention relates to mobile communication field more particularly to a kind of audio-frequency processing methods and mobile terminal.
Background technique
With the diversification of intelligent terminal purposes, people can install K song software on smart phone, meet " mobile
The demand of KTV ".However, when needing to realize that ear returns function (singing effect for hearing oneself while singing), it is common
The operating system frame of intelligent terminal can only return to the recording for not passing through audio effect processing, including causing upper level applications to need
Portion is handled again to be recorded and synthesizes, so that the waiting time that ear returns extends, real-time is poor.
Summary of the invention
To solve the above-mentioned problems in the prior art, on the one hand the embodiment of the present invention provides a kind of audio processing side
Method, comprising:
Receive the first audio data of user's input;
The second audio data and control instruction that application layer is sent are received by operating system standard interface;
In digital audio processing IC chip, the first audio data and second audio data are carried out according to control instruction
Synthesis processing, obtains third audio data;
Export third audio data.
On the other hand, the embodiment of the invention also provides a kind of mobile terminals, comprising:
First receiving module, for receiving the first audio data of user's input;
Second receiving module, for receiving the second audio data and control that application layer is sent by operating system standard interface
System instruction;
Digital audio processing IC chip, for being carried out according to control instruction to the first audio data and second audio data
Synthesis processing, obtains third audio data;
Output module exports third audio data.
In the technical solution of the embodiment of the present invention, by digital audio processing IC chip to the Real-time hardware of audio data
Processing and operating system provide standard interface so that user when returning function using ear with minimum time delay, mention
High real-time, and realize the personalized customization that audio is returned to ear.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of the first embodiment of audio-frequency processing method of the invention;
Fig. 2 is the flow diagram of the second embodiment of audio-frequency processing method of the invention;
Fig. 3 is the flow diagram of the 3rd embodiment of audio-frequency processing method of the invention;
Fig. 4 is the structural schematic diagram of the first embodiment of mobile terminal of the invention;
Fig. 5 is the structural schematic diagram of the second embodiment of mobile terminal of the invention;
Fig. 6 is the structural schematic diagram of the 3rd embodiment of mobile terminal of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, is the flow diagram of the first embodiment of audio-frequency processing method of the invention, this method comprises:
Step S11: the first audio data of user's input is received.
In this step, the first audio data can be the voice data of user.User can be set by audio inputs such as microphones
The standby input for completing the first audio data.
Step S12: the second audio data and control instruction that application layer is sent are received by operating system standard interface.
In this step, operating system can be Android, the systems such as iOS.
In this step, illustratively, second audio data can for application layer send audio file, the audio file it is interior
Background music, the accompaniment music etc. of Rong Kewei Karaoke.
In this step, what control instruction can be set as needed for user, it is used to indicate follow audio processing type, side
The related command of formula, effect.System drives hardware to complete relevant operation by control instruction.
Step S13: in digital audio processing IC chip, according to control instruction to the first audio data and the second audio
Data carry out synthesis processing, obtain third audio data.
In this step, illustratively, when the voice data that the first audio data is user, second audio data is Karaoke
Accompaniment music when, handling obtained third audio data by synthesis can be voice that raw tone, audio effect processing are crossed, a left side
Voice+accompaniment tone that voice that sound channel raw tone+right channel audio effect processing is crossed, raw tone+accompaniment music, audio effect processing are crossed
The forms such as happy.
Step S14: output third audio data.
In this step, third audio data can be played directly from output equipments such as loudspeakers to user, also may be output to record
Other modules such as sound module are handled.
In this step, third audio data can also be handled through resampling, change its sample rate, synchronous to meet hardware clock
Requirement.
The embodiment of the present invention is handled, Yi Jicao by Real-time hardware of the digital audio processing IC chip to audio data
The standard interface that system offer is provided, so that user is when returning function using ear with minimum time delay.
Referring to figure 2., be audio-frequency processing method of the invention second embodiment flow diagram, this method comprises:
Step S21: the first audio data of user's input is received.
Step S22: the second audio data and control instruction that application layer is sent are received by operating system standard interface.
Step S21 to S22 is identical as the correspondence step in the first embodiment of audio-frequency processing method, and which is not described herein again.
Step S23: in digital audio processing IC chip, by digital signal processor according to control instruction to the first sound
Frequency evidence and second audio data carry out audio mix, space reverberation, the adjustment of volume tone color or modified tone processing, obtain third audio
Data.
In this step, user can configure the different type of audio processing in application layer by control instruction, obtain user
The audio frequency effect needed.
Step S24: output third audio data.
This step is identical as the correspondence step in the first embodiment of audio-frequency processing method, and which is not described herein again.
The embodiment of the present invention is configured control instruction in application layer by user, and is connect using operating system standard
Control instruction is handed down to hardware by mouth, is used to indicate audio processing type, is realized the customization to audio processing effect, can be met use
The personalized audiovisual demand at family.
Referring to figure 3., be audio-frequency processing method of the invention 3rd embodiment flow diagram, this method comprises:
Step S31: the first audio data of user's input is received.
This step is identical as the correspondence step in the first embodiment of audio-frequency processing method, and which is not described herein again.
Step S32: preposition amplification and analog to digital conversion are carried out to the first audio data.
In this step, the first audio data that user inputs is converted from analog into digital signal, after transferring to
Continuous digital signal processor carries out audio processing.
Step S33: the second audio data and control instruction that application layer is sent are received by operating system standard interface.
This step is identical as the correspondence step in the first embodiment of audio-frequency processing method, and which is not described herein again.
Step S34: in digital audio processing IC chip, by digital signal processor according to control instruction to the first sound
Frequency evidence and second audio data carry out audio mix, space reverberation, the adjustment of volume tone color or modified tone processing, obtain third audio
Data.
This step is identical as the correspondence step in the second embodiment of audio-frequency processing method, and which is not described herein again.
Step S35: output third audio data.
This step is identical as the correspondence step in the first embodiment of audio-frequency processing method, and which is not described herein again.
Step S36: digital to analog conversion is carried out to third audio data, after power amplification, is played out by loudspeaker.
In this step, by third audio data from digital signal be converted to analog signal and amplify after, again by loudspeaker
User is played to, returns function so as to complete the ear of low latency.
The embodiment of the present invention, by transferring to bottom hardware to complete audio processing process, effectively increase ear return it is real-time
Property, while the unified acoustic processing effect based on hardware feature is obtained convenient for application layer.
The embodiment of sound intermediate frequency processing method of the present invention is discussed in detail above.It will correspond to the above method below
Mobile terminal is further elaborated.
Referring to figure 4., be mobile terminal of the invention first embodiment structural schematic diagram, the mobile terminal 100 packet
It includes: the first receiving module 110, the second receiving module 120, digital audio processing IC chip 130, output module 140.
First receiving module 110, for receiving the first audio data of user's input.
Second receiving module 120, for receiving the second audio data that application layer is sent by operating system standard interface
And control instruction.
Digital audio processing IC chip 130 is connected with the first receiving module 110 and the second receiving module 120, is used for root
Synthesis processing is carried out to the first audio data and second audio data according to control instruction, obtains third audio data.
Output module 140 is connected with digital audio processing IC chip 130, for exporting third audio data.
Illustratively, operating system can be Android, the systems such as iOS.First audio data can be the voice number of user
According to.User can complete the input of the first audio data by audio input device such as microphones.Second audio data can be application
The content of the audio file that layer is sent, the audio file can be background music, the accompaniment music etc. of Karaoke.Control instruction can be
What user was set as needed, it is used to indicate the related command of follow audio processing type, mode, effect.System passes through control
It instructs to drive hardware to complete relevant operation.
Illustratively, when the voice data that the first audio data is user, second audio data is the accompaniment tone of Karaoke
When happy, it is original that voice, L channel that obtained third audio data can be crossed for raw tone, audio effect processing are handled by synthesis
The shapes such as voice+accompaniment music that voice that voice+right channel audio effect processing is crossed, raw tone+accompaniment music, audio effect processing are crossed
Formula.
Wherein, third audio data can be played directly from output equipments such as loudspeakers to user, also may be output to recording mould
Other modules such as block are handled.Third audio data can also be handled through resampling, change its sample rate, to meet hardware clock
Synchronous requirement.
The embodiment of the present invention is handled, Yi Jicao by Real-time hardware of the digital audio processing IC chip to audio data
The standard interface that system offer is provided, so that user is when returning function using ear with minimum time delay.
Referring to figure 5., be mobile terminal of the invention second embodiment structural schematic diagram, the mobile terminal 200 packet
It includes: the first receiving module 210, the second receiving module 220, digital audio processing IC chip 230, output module 240.
First receiving module 210, for receiving the first audio data of user's input.
Second receiving module 220, for receiving the second audio data that application layer is sent by operating system standard interface
And control instruction.
Digital audio processing IC chip 230 is connected with the first receiving module 210 and the second receiving module 220, is used for root
Synthesis processing is carried out to the first audio data and second audio data according to control instruction, obtains third audio data.
Output module 240 is connected with digital audio processing IC chip 230, for exporting third audio data.
Wherein, digital audio processing IC chip 230 includes digital signal processor (DSP) 231, for being referred to according to control
It enables and audio mix, space reverberation, the adjustment of volume tone color or modified tone processing is carried out to the first audio data and second audio data, obtain
To third audio data.
The embodiment of the present invention is configured control instruction in application layer by user, and is connect using operating system standard
Control instruction is handed down to hardware by mouth, is used to indicate audio processing type, is realized the customization to audio processing effect, can be met use
The personalized audiovisual demand at family.
Fig. 6 is please referred to, is the structural schematic diagram of the 3rd embodiment of mobile terminal of the invention, the mobile terminal 300 packet
It includes: the first receiving module 310, the second receiving module 320, digital audio processing IC chip 330, output module 340, preceding storing
Big module 350, analog to digital conversion module 360, digital to analog conversion module 370, power amplifier module 380 and loudspeaker 390.
First receiving module 310, for receiving the first audio data of user's input.
Second receiving module 320, for receiving the second audio data that application layer is sent by operating system standard interface
And control instruction.
Digital audio processing IC chip 330 is connected with the first receiving module 310 and the second receiving module 320, is used for root
Synthesis processing is carried out to the first audio data and second audio data according to control instruction, obtains third audio data.
Output module 340 is connected with digital audio processing IC chip 330, for exporting third audio data.
Pre-amplifying module 350 is connected with the first receiving module 310, for carrying out preposition amplification to the first audio data.
Analog to digital conversion module 360 is connected with pre-amplifying module 350 and digital audio processing IC chip 330, for pair
It is premenstrual to put big the first audio data progress analog to digital conversion.
Digital to analog conversion module 370 is connected with output module 340, for carrying out digital to analog conversion to third audio data.
Power amplifier module 380 is connected with digital to analog conversion module 370, for the third audio data through digital to analog conversion
Carry out power amplification.
Loudspeaker 390 is connected with power amplifier module 380, for playing the third sound through digital to analog conversion and power amplification
Frequency evidence.
Wherein, digital audio processing IC chip 330 includes digital signal processor 331, for according to control instruction pair
First audio data and second audio data carry out audio mix, space reverberation, the adjustment of volume tone color or modified tone processing, obtain the
Three audio datas.
The embodiment of the present invention, by transferring to bottom hardware to complete audio processing process, effectively increase ear return it is real-time
Property, while the unified acoustic processing effect based on hardware feature is obtained convenient for application layer.
Those of ordinary skill in the art will appreciate that all or part of the process in above-described embodiment method, is that can pass through
Computer program instructs relevant hardware to complete, and the program can be stored in a computer readable storage medium, should
Program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic disk, light
Disk, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory,
RAM) etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the present invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (6)
1. a kind of audio-frequency processing method characterized by comprising
Receive the first audio data of user's input;
Preposition amplification and analog to digital conversion are carried out to first audio data, are converted from analog into digital signal;
The second audio data of application layer transmission is received by operating system standard interface and control instruction, the control instruction are
What user was set as needed, it is used to indicate the related command of follow audio processing type, mode or effect, user is in application layer
The different type of audio processing is configured by the control instruction, obtains the audio frequency effect that user needs, and utilize operation system
Control instruction is handed down to hardware by system standard interface, is used to indicate audio processing type, is driven by the control instruction hard
Part completes relevant operation, realizes the customization to audio processing effect;
In digital audio processing IC chip, by digital signal processor according to the control instruction to the first audio number
Synthesis processing is carried out according to the second audio data, obtains third audio data;
Export the third audio data;
Digital to analog conversion is carried out to the third audio data, analog signal is converted to from digital signal, after power amplification, by loudspeaking
Device plays out;
Wherein,
It is described in digital audio processing IC chip, by digital signal processor according to the control instruction to first sound
The step of frequency evidence and the second audio data carry out synthesis processing, obtain third audio data, comprising:
In digital audio processing IC chip, by digital signal processor according to the control instruction to the first audio number
Audio mix, space reverberation, the adjustment of volume tone color or modified tone processing are carried out according to the second audio data, obtains third audio
Data.
2. the method as described in claim 1, which is characterized in that
After the output third audio data the step of, further includes: carry out resampling to the third audio data.
3. the method as described in claim 1, which is characterized in that
After the output third audio data the step of, further includes: carried out at recording to the third audio data
Reason.
4. a kind of mobile terminal characterized by comprising
First receiving module, for receiving the first audio data of user's input;
Pre-amplifying module is connected with first receiving module, for carrying out preposition amplification to first audio data;
First analog to digital conversion module, is connected with the pre-amplifying module and digital audio processing IC chip, for premenstrual
It puts the first big audio data and carries out analog to digital conversion, be converted from analog into digital signal;
Second receiving module, second audio data and control for being sent by operating system standard interface reception application layer refer to
It enables, the control instruction is what user was set as needed, is used to indicate the correlation of follow audio processing type, mode or effect
Order, user configure the different type of audio processing in application layer by the control instruction, obtain the audio that user needs
Effect, and control instruction is handed down to hardware using operating system standard interface, it is used to indicate audio processing type, by described
Control instruction drives hardware to complete relevant operation, realizes customization to audio processing effect;
Digital audio processing IC chip is used for according to the control instruction to first audio data and second audio
Data carry out synthesis processing, obtain third audio data;
Output module exports the third audio data;
Second digital to analog conversion module, is connected with the output module, for carrying out digital to analog conversion to the third audio data;
Power amplifier module is connected with the second digital to analog conversion module, for the third audio data through digital to analog conversion into
Row power amplification;
Loudspeaker is connected with the power amplifier module, for playing the third audio data through digital to analog conversion and power amplification;
Wherein,
The digital audio processing IC chip includes:
Digital signal processor, for according to the control instruction to first audio data and the second audio data into
Row audio mix, space reverberation, the adjustment of volume tone color or modified tone processing, obtain third audio data.
5. mobile terminal as claimed in claim 4, which is characterized in that
The mobile terminal further include:
Resampling module, for carrying out resampling to the third audio data.
6. mobile terminal as claimed in claim 4, which is characterized in that
The mobile terminal further include:
Recording module, for carrying out recording processing to the third audio data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410757918.0A CN105208189B (en) | 2014-12-10 | 2014-12-10 | Audio-frequency processing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410757918.0A CN105208189B (en) | 2014-12-10 | 2014-12-10 | Audio-frequency processing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105208189A CN105208189A (en) | 2015-12-30 |
CN105208189B true CN105208189B (en) | 2019-07-26 |
Family
ID=54955607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410757918.0A Active CN105208189B (en) | 2014-12-10 | 2014-12-10 | Audio-frequency processing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105208189B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106303841B (en) * | 2016-09-30 | 2019-12-27 | 维沃移动通信有限公司 | Audio playing mode switching method and mobile terminal |
CN107911777B (en) * | 2017-11-15 | 2019-12-10 | 维沃移动通信有限公司 | Processing method and device for return-to-ear function and mobile terminal |
CN109375892B (en) * | 2018-10-12 | 2021-12-07 | 北京微播视界科技有限公司 | Method and apparatus for playing audio |
CN111381797B (en) * | 2018-12-28 | 2021-10-15 | 北京字节跳动网络技术有限公司 | Processing method and device for realizing KTV function on client and user equipment |
CN109785820B (en) * | 2019-03-01 | 2022-12-27 | 腾讯音乐娱乐科技(深圳)有限公司 | Processing method, device and equipment |
CN111754964A (en) * | 2019-03-29 | 2020-10-09 | 比亚迪股份有限公司 | Sound processing device and method, karaoke system and vehicle |
CN110262769A (en) * | 2019-06-27 | 2019-09-20 | 联想(北京)有限公司 | A kind of data transmission method and electronic equipment |
CN112581957B (en) * | 2020-12-04 | 2023-04-11 | 浪潮电子信息产业股份有限公司 | Computer voice control method, system and related device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5753845A (en) * | 1995-09-28 | 1998-05-19 | Yamaha Corporation | Karaoke apparatus creating vocal effect matching music piece |
CN1779780A (en) * | 2005-10-21 | 2006-05-31 | 北京中星微电子有限公司 | Audio mixing method based on portable terminal |
CN101017665A (en) * | 2006-02-09 | 2007-08-15 | 上海乐金广电电子有限公司 | Digital audio data playing device with the Kara OK function and its operation method |
CN104093095A (en) * | 2014-07-15 | 2014-10-08 | 邓成忠 | Singing device with automatically-adjusted volume |
-
2014
- 2014-12-10 CN CN201410757918.0A patent/CN105208189B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5753845A (en) * | 1995-09-28 | 1998-05-19 | Yamaha Corporation | Karaoke apparatus creating vocal effect matching music piece |
CN1779780A (en) * | 2005-10-21 | 2006-05-31 | 北京中星微电子有限公司 | Audio mixing method based on portable terminal |
CN101017665A (en) * | 2006-02-09 | 2007-08-15 | 上海乐金广电电子有限公司 | Digital audio data playing device with the Kara OK function and its operation method |
CN104093095A (en) * | 2014-07-15 | 2014-10-08 | 邓成忠 | Singing device with automatically-adjusted volume |
Also Published As
Publication number | Publication date |
---|---|
CN105208189A (en) | 2015-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105208189B (en) | Audio-frequency processing method and mobile terminal | |
CN109559763B (en) | Real-time digital audio signal sound mixing method and device | |
CN102724360B (en) | Method and device for implementation of hearing-aid function of mobile phone and hearing-aid mobile phone | |
CN104157292B (en) | Anti- utter long and high-pitched sounds acoustic signal processing method and device | |
WO2018152679A1 (en) | Audio file transmitting method and apparatus, audio file receiving method and apparatus, devices and system | |
CN105704598A (en) | Singing earphone | |
CN103312912A (en) | Sound mixing system and method | |
CN204559866U (en) | Audio frequency apparatus | |
CN108510997A (en) | Electronic equipment and echo cancel method applied to electronic equipment | |
CN106941643B (en) | A kind of multi-functional intelligent sound control method of set | |
CN204578723U (en) | The wireless audio system of remote-controlled record/playback and multi-media sound system thereof | |
CN109461429A (en) | A kind of AI K song microphone speaker integrated equipment | |
CN105959438A (en) | Processing method and system for audio multi-channel output loudspeaker and mobile phone | |
CN203193859U (en) | Bluetooth audio system with telephone recording function | |
CN105187993B (en) | A kind of three-dimension stereo Headphone device and restoring method | |
CN101257533A (en) | Mobile terminal for intellectualized controlling sound volume of loudspeaker and its implementing method | |
CN205812305U (en) | A kind of intelligent radio microphone | |
CN103200480A (en) | Headset and working method thereof | |
US10291759B2 (en) | Data return type voice input/output device for smart phone | |
CN203243508U (en) | Wireless howling suppression device | |
CN203181164U (en) | A handset | |
CN202799080U (en) | Audio equipment with recording function | |
CN109743528A (en) | A kind of audio collection of video conference and play optimization method, device and medium | |
CN108235185A (en) | Source of sound input client device, remote controler and the system for playing music | |
CN113992965A (en) | Low-delay transmission method and system |
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 |