Movatterモバイル変換


[0]ホーム

URL:


CN104167213B - Audio-frequency processing method and device - Google Patents

Audio-frequency processing method and device
Download PDF

Info

Publication number
CN104167213B
CN104167213BCN201410426117.6ACN201410426117ACN104167213BCN 104167213 BCN104167213 BCN 104167213BCN 201410426117 ACN201410426117 ACN 201410426117ACN 104167213 BCN104167213 BCN 104167213B
Authority
CN
China
Prior art keywords
audio
background sound
frequency information
mixed
frequency
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
CN201410426117.6A
Other languages
Chinese (zh)
Other versions
CN104167213A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co LtdfiledCriticalNubia Technology Co Ltd
Priority to CN201410426117.6ApriorityCriticalpatent/CN104167213B/en
Publication of CN104167213ApublicationCriticalpatent/CN104167213A/en
Application grantedgrantedCritical
Publication of CN104167213BpublicationCriticalpatent/CN104167213B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention discloses a kind of audio-frequency processing method and device, the audio-frequency processing method filters out the environmental noise in audio-frequency information comprising steps of by Mike's acquisition audio-frequency information;Preset background sound is mixed into audio-frequency information all the way with the audio-frequency information for having filtered out environmental noise in real time;Coded treatment is carried out to mixed audio-frequency information, so that true background sound to be replaced with to the background sound of the customized setting of user.Therefore in communication process; the background sound that other side hears is the background sound of user setting; rather than the background sound under true environment; so that background sound can be set to pretend the environment oneself being in user; to achieve the purpose that protect privacy or the other side that talks in professional jargon; or the harassing call for stranger, other side can be alerted as background sound by setting white noise or similar background noise.Both the environmental noise for having eliminated current environment improves recording or speech quality, and improves handling and interest, meets the individual demand of user.

Description

Audio-frequency processing method and device
Technical field
The present invention relates to fields of communication technology, more particularly, to a kind of audio-frequency processing method and device.
Background technique
In the prior art, mobile terminal would generally carry out filtering environmental noise in communication process using noise reduction technology, with thisTo improve speech quality.With the rapid development of communication technology, the amusement attribute of mobile terminal is more and more stronger, user is not only pursuedHigher voice quality also proposes requirements at the higher level to the handling and interest of mobile terminal.Existing mobile terminal is obviousUser is unable to satisfy in communication process to handling and interest individual demand, user experience is bad.
Summary of the invention
The main purpose of the present invention is to provide a kind of audio-frequency processing method and devices, it is intended to improve recording or communication processIn handling and interest, promoted user experience.
To achieve these objectives, the present invention proposes a kind of audio-frequency processing method, comprising steps of
Audio-frequency information is acquired by Mike, filters out the environmental noise in the audio-frequency information;
Preset background sound is mixed into audio-frequency information all the way with the audio-frequency information for having filtered out environmental noise in real time;
Coded treatment is carried out to mixed audio-frequency information.
Preferably, described that preset background sound is mixed into audio all the way with the audio-frequency information for having filtered out environmental noise in real timeInformation includes:
The format of the background sound is decoded as pcm format by the audio file for reading preset background sound;
The sample rate of the background sound of the pcm format is converted, so that the sample rate of the background soundIt is identical as the sample rate of collected audio-frequency information;
The background sound is mixed into audio-frequency information all the way with the audio-frequency information for having filtered out environmental noise in real time.
Preferably, the environmental noise filtered out in audio-frequency information includes:
Compare the volume difference of the audio-frequency information of two Mikes acquisition;
The audio-frequency information that volume difference in the audio-frequency information of acquisition is less than preset value is filtered out as environmental noise.
Preferably, after described the step of carrying out coded treatment to mixed audio-frequency information further include: storage is outsideAudio-frequency information after sending coded treatment.
Preferably, the method also includes: in primary call or Recording Process, the background sound is recycled and is mixedIt closes or is mixed using the background sound preset times.
The present invention proposes a kind of apparatus for processing audio simultaneously, including setting unit, Mike, filters out unit and processing unit,Wherein:
Setting unit, for background sound to be arranged;
Mike, for acquiring audio-frequency information;
Unit is filtered out, for filtering out the environmental noise in the audio-frequency information;
Processing unit, for preset background sound to be mixed into audio letter all the way with the audio-frequency information for having filtered out environmental noiseBreath, and coded treatment is carried out to mixed audio-frequency information.
Preferably, the processing unit is used for:
The format of the background sound is decoded as pcm format by the audio file for reading preset background sound;
The sample rate of the background sound of the pcm format is converted, so that the sample rate of the background soundIt is identical as the sample rate of collected audio-frequency information;
The background sound is mixed into audio-frequency information all the way with the audio-frequency information for having filtered out environmental noise in real time.
Preferably, the Mike at least two, the unit that filters out are used for: comparing the audio-frequency information of two Mikes acquisitionVolume difference, using volume difference in the audio-frequency information of acquisition be less than preset value audio-frequency information filtered as environmental noiseIt removes.
Preferably, the processing unit is further used for: the audio-frequency information after storing or being sent out coded treatment.
Preferably, the processing unit is further used for: in primary call or Recording Process, the background is recycledSound mix or mixed using the background sound preset times.
A kind of audio-frequency processing method provided by the present invention, in recording or communication process, by presetting background sound,The environmental noise of the audio-frequency information currently acquired is filtered out, and background sound is mixed in real time with audio-frequency information, thus by trueReal background sound replaces with the background sound of the customized setting of user.Therefore in communication process, the background sound that other side hears is to useThe background sound of family setting, rather than the background sound under true environment, so that user can be set what background sound was in pretend oneselfEnvironment can be by being arranged white noise to achieve the purpose that protect privacy or the other side that talks in professional jargon, or for the harassing call of strangerOr similar background noise alerts other side as background sound.Both the environmental noise for having eliminated current environment, improve recording orSpeech quality, and handling and interest is improved, the individual demand of user is met, the user experience is improved.
Detailed description of the invention
Fig. 1 is the flow chart of audio-frequency processing method first embodiment of the invention;
Fig. 2 is the schematic diagram that background sound is mixed with audio-frequency information in the present invention;
Fig. 3 is the flow chart of audio-frequency processing method second embodiment of the invention;
Fig. 4 is the module diagram of one embodiment of apparatus for processing audio of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Audio-frequency processing method of the invention can be applied to the application scenarios such as voice communication, audio recording, and the voice is logicalWords can be two people call or more people converse (such as videoconference), be also possible to the video calling based on application program, the soundIt includes recording or video recording that frequency, which is recorded,.It is described in detail by taking voice communication as an example below.
Referring to Fig. 1, audio-frequency processing method first embodiment of the invention is proposed, the audio-frequency processing method includes following stepIt is rapid:
Step S101: setting background sound
The present embodiment presets background sound before call.In specific implementation, it can be shown in the dialing interface of terminal" call setting " option increases background sound in " call setting " option and adds function choosing-item, can be with preset musical meeting, coffeeThe selection of the background sounds options for user such as shop, cinema, in-situ match can also be customized by the user the local audio file of selectionAs background sound option.The number that comes into force can also be further set, such as only come into force to primary call, or is raw to all callsEffect;Or setting application, such as be applied to particular contact, applied in address list All Contacts or stranger (i.e.Phone not in address list) etc..
It is possible to further which an audio file is arranged as background sound, two or more audio files also can be setAs background sound, and the order by merging of settable multiple audio files.It can also be provided in a communication process, be recycled pre-If background sound mixed (i.e. circulation reads (or play) preset background sound), or use preset background sound preset timesIt is mixed and (reads (or broadcasting) preset background sound preset times).
Step S102: after establishing voice communication, audio-frequency information is acquired by Mike
Step S103: the environmental noise in the audio-frequency information of acquisition is filtered out
Terminal can filter out the environmental noise in audio-frequency information using noise reduction technology in the prior art.
Preferably, terminal acquires audio-frequency information using at least two Mikes, compares the audio of any two Mike acquisitionThe volume difference of information, since user is nearest from Mike, the volume of the audio-frequency information of two collected users of Mike is poorIt is worth larger, so that the audio-frequency information of the smaller such as less than preset value of volume difference be filtered out as noise, the preset value is excellentIt is selected as 6 decibels.
Step S104: preset background sound is mixed into audio letter all the way with the audio-frequency information for having filtered out environmental noise in real timeBreath
Specifically, as shown in Fig. 2, terminal reads the audio file of (or broadcasting) preset background sound, institute by playerStating audio file can be the audio formats such as WMV, MP3, WAV, MP4, AVI, FLV.During reading audio file, sound is parsedThe format of background sound is decoded as pulse code modulation (PCM, Pulse Code Modulation) lattice by codec by railFormula;The sample rate of the background sound of PCM format is converted again, so that the sample rate of background sound and collected audio-frequency informationSample rate (usually 8K) is identical;Background sound is finally mixed into audio all the way with the audio-frequency information for having filtered out environmental noise in real timeInformation.
Step S105: coded treatment is carried out to mixed audio-frequency information
Terminal carries out coded treatment to mixed audio-frequency information by codec.
Step S106: the audio-frequency information after being sent out coded treatment
Terminal is sent out the audio-frequency information after coded treatment by radio-frequency module.To so that partner was heardBackground sound is the background sound of user setting, rather than the background sound under true environment, so that background sound can be set to pretend in userThe environment oneself being in, to achieve the purpose that protect privacy or the other side that talks in professional jargon, or for the harassing call of stranger, Ke YitongIt crosses setting white noise or similar background noise alerts other side as background sound.Handling and interest is improved, use is metThe individual demand at family, the user experience is improved.
Referring to Fig. 3, audio-frequency processing method second embodiment of the invention is proposed, the audio-frequency processing method includes following stepIt is rapid:
Step S201: in communication process, background sound is set
The present embodiment allows the background sound that background sound is arranged in user at any time in communication process or change is set.It is specific realOn now, " more " option can be shown in the dialing interface of terminal, increase background sound in " more " option and add function choosing-item.The specific setting method of background sound in the present embodiment is identical as the step S101 in first embodiment, and details are not described herein.
Step S202: audio-frequency information is acquired by Mike
Step S203: the environmental noise in the audio-frequency information of acquisition is filtered out
Step S204: preset background sound is mixed into audio letter all the way with the audio-frequency information for having filtered out environmental noise in real timeBreath
Step S205: coded treatment is carried out to mixed audio-frequency information
Step S206: the audio-frequency information after being sent out coded treatment
The present embodiment allows the background sound that background sound is arranged in user at any time in communication process or change is set, so that withFamily can be changed and be handled in real time according to the actual situation, further improve handling, the user experience is improved.
In certain embodiments, the audio-frequency processing method also can be applied to audio recording process, and background sound can beIt is arranged before audio recording or is configured during audio recording, the place in specific processing method and voice call processReason method is roughly the same, and difference is the last processing to the audio-frequency information after coded treatment.It is carried out if recording, video recording applicationAudio-frequency information after coded treatment is then stored in local after the completion of recording by audio recording;Sound is carried out if the application such as wechatFrequency is recorded, then the audio-frequency information after coded treatment is sent to corresponding contact person by wechat after the completion of recording.PrimaryIn Recording Process, background sound can be recycled and mix or mixed using background sound preset times.
Referring to fig. 4, one embodiment of apparatus for processing audio of the invention is proposed, the apparatus for processing audio includes that setting is singleMember, filters out unit and processing unit at Mike.
Setting unit: for background sound to be arranged.
Background sound can be arranged before call or recording in setting unit, can also set at any time in call or Recording ProcessSet or change background sound.Specifically, can be set in option or recording or call interface increase background sound addition function choosing-item,It can be selected, can also be made by oneself by user with the background sounds options for user such as preset musical meeting, coffee-house, cinema, in-situ matchJustice selects local audio file as background sound option.The number that comes into force can also be further set, such as only to primary call lifeEffect, or come into force to all calls;Or setting application, such as it is applied to particular contact, applied in address listAll Contacts or stranger's (phone i.e. not in address list) etc..
It is possible to further which an audio file is arranged as background sound, two or more audio files also can be setAs background sound, and the order by merging of settable multiple audio files.It can also be provided in primary call or Recording Process, circulation(i.e. circulation reads (or broadcasting) preset background sound) is mixed using preset background sound, or pre- using preset background soundIf number is mixed and (reads (or broadcasting) preset background sound preset times).
Mike: it for acquiring audio-frequency information, and is sent to processing unit or filters out unit.
Filter out unit: the environmental noise in audio-frequency information for filtering out acquisition.
Environmental noise in audio-frequency information can be filtered out using noise reduction technology in the prior art by filtering out unit.
Preferably, apparatus for processing audio acquires audio-frequency information using at least two Mikes, filters out unit more any twoThe volume difference of the audio-frequency information of a Mike's acquisition, since target sound source is usually nearest from Mike, two Mikes are collectedTarget sound source audio-frequency information volume difference it is larger, so that the audio-frequency information of the smaller such as less than preset value of volume difference be madeIt is filtered out for noise, the preset value is preferably 6 decibels.
Processing unit: for the setting parameter according to setting unit, respective handling is carried out.If setting unit is not provided with backJing Yin then directly receives the collected audio-frequency information of Mike;If setting unit is provided with background sound, controlling Mike will be collectedAudio-frequency information be sent to filter out unit carry out environmental noise filter out processing, by preset background sound with filtered out environmental noiseAudio-frequency information is mixed into audio-frequency information all the way in real time, and carries out coded treatment to mixed audio-frequency information.
Specifically, as shown in Fig. 2, processing unit reads the audio text of (or broadcasting) preset background sound by playerPart, the audio file can be the audio formats such as WMV, MP3, WAV, MP4, AVI, FLV.During reading audio file,Track is parsed, the format of background sound is decoded as by pulse code modulation (PCM, Pulse Code by codecModulation) format;The sample rate of the background sound of PCM format is converted again, so that the sample rate and acquisition of background soundThe sample rate (usually 8K) of the audio-frequency information arrived is identical;It is finally that background sound and the audio-frequency information that has filtered out environmental noise is real-timeIt is mixed into audio-frequency information all the way, and coded treatment is carried out to mixed audio-frequency information by codec.
If apparatus for processing audio currently passes through recording, video recording application carries out audio recording, processing unit is being recordedThe audio-frequency information after coded treatment is stored in local after;If passing through the application such as wechat carries out audio recording, processing unitThe audio-frequency information after coded treatment is then sent to by corresponding contact person by wechat after the completion of recording.
If apparatus for processing audio is currently carrying out voice communication, processing form unit passes through radio-frequency module and is sent out volumeCode treated audio-frequency information.To, so that the background sound that other side hears is the background sound of user setting, rather than under true environmentBackground sound so that background sound can be set to pretend the environment oneself being in user, to reach protection privacy or the other side that talks in professional jargonPurpose, or for the harassing call of stranger, can by setting white noise or similar background noise as background sound comeAlert other side.Handling and interest is improved, meets the individual demand of user, the user experience is improved.
Technical characteristic in above method embodiment is corresponding applicable in the present apparatus, no longer repeats here.
It should be understood that apparatus for processing audio provided by the above embodiment is when carrying out audio processing, only with above-mentioned eachThe division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different functionIt can module completion.In addition, apparatus for processing audio provided by the above embodiment and audio-frequency processing method embodiment belong to same design,Its specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that implementing the method for the above embodiments can lead toProgram is crossed to control relevant hardware and complete, the program can be stored in a computer readable storage medium, describedStorage medium can be ROM/RAM, disk, CD etc..
It should be understood that the above is only a preferred embodiment of the present invention, the scope of the patents of the invention cannot be therefore limited,It is all to utilize equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is applied directly or indirectly inOther related technical areas are included within the scope of the present invention.

Claims (10)

CN201410426117.6A2014-08-262014-08-26Audio-frequency processing method and deviceActiveCN104167213B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410426117.6ACN104167213B (en)2014-08-262014-08-26Audio-frequency processing method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410426117.6ACN104167213B (en)2014-08-262014-08-26Audio-frequency processing method and device

Publications (2)

Publication NumberPublication Date
CN104167213A CN104167213A (en)2014-11-26
CN104167213Btrue CN104167213B (en)2019-07-30

Family

ID=51910994

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410426117.6AActiveCN104167213B (en)2014-08-262014-08-26Audio-frequency processing method and device

Country Status (1)

CountryLink
CN (1)CN104167213B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104917893B (en)*2015-05-302018-01-19广东欧珀移动通信有限公司A kind of call handling method and terminal
CN106506437B (en)*2015-09-072021-03-16腾讯科技(深圳)有限公司Audio data processing method and device
CN107295135B (en)*2016-04-012021-02-19富泰华工业(深圳)有限公司Communication device and communication environment disguising method used by same
GB2551521A (en)2016-06-202017-12-27Nokia Technologies OyDistributed audio capture and mixing controlling
CN105959489A (en)*2016-06-282016-09-21广东欧珀移动通信有限公司 Call voice processing method and system, and communication terminal
CN106531177B (en)*2016-12-072020-08-11腾讯科技(深圳)有限公司Audio processing method, mobile terminal and system
CN108076230B (en)*2017-12-282021-01-26努比亚技术有限公司Call volume adjusting method, mobile terminal and computer readable storage medium
CN111147680A (en)*2018-11-062020-05-12成都鼎桥通信技术有限公司Small signal processing method and device
CN110430330A (en)*2019-08-082019-11-08北京云中融信网络科技有限公司A kind of audio data processing method and device based on call
CN110660032A (en)*2019-09-242020-01-07Oppo广东移动通信有限公司 Object shielding method, object shielding device and electronic device
CN111043637B (en)*2020-01-022021-10-29宁波方太厨具有限公司Intelligent adjusting method for noise of range hood
CN116708636A (en)*2023-08-022023-09-05合众新能源汽车股份有限公司Camouflage communication method, system, equipment, medium and vehicle based on vehicle cabin
CN118555143B (en)*2024-07-292025-02-11广东保伦电子股份有限公司 A method for audio encryption and decryption

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1166018A (en)*1996-05-201997-11-26明碁电脑股份有限公司 Speech processor for controlling electrical devices using voice commands
CN1996763A (en)*2005-11-262007-07-11沃福森微电子股份有限公司 Audio equipment
CN102810316A (en)*2012-06-292012-12-05宇龙计算机通信科技(深圳)有限公司Method for adding background voice during conversation and communication terminal
CN103888610A (en)*2014-03-182014-06-25深圳市中兴移动通信有限公司Method for achieving telephone conversation and sound recording simultaneously and communication terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1166018A (en)*1996-05-201997-11-26明碁电脑股份有限公司 Speech processor for controlling electrical devices using voice commands
CN1996763A (en)*2005-11-262007-07-11沃福森微电子股份有限公司 Audio equipment
CN102810316A (en)*2012-06-292012-12-05宇龙计算机通信科技(深圳)有限公司Method for adding background voice during conversation and communication terminal
CN103888610A (en)*2014-03-182014-06-25深圳市中兴移动通信有限公司Method for achieving telephone conversation and sound recording simultaneously and communication terminal

Also Published As

Publication numberPublication date
CN104167213A (en)2014-11-26

Similar Documents

PublicationPublication DateTitle
CN104167213B (en)Audio-frequency processing method and device
US10728386B2 (en)Identifying and filtering incoming telephone calls to enhance privacy
CN104159229B (en)Incoming call processing method and device
US20190141190A1 (en)Electronic call assistant based on a caller-status and a callee-status
JPWO2018164165A1 (en) Communication system, API server used in communication system, headset, and portable communication terminal
CN104023148A (en)Incoming call processing method and processing device under conference mode
CN103873690A (en)Information processing method and intelligent terminal during driving
US10257350B2 (en)Playing back portions of a recorded conversation based on keywords
CN104113624A (en)Recording method capable of uploading conversation recording files of fixed-line telephones and fixed-line telephone
CN102801854A (en)Method for politely rejecting smart phone call
CN108449496A (en) Voice call data detection method, device, storage medium and mobile terminal
CN104200824A (en)Audio recording method and device
KR20120074042A (en)Method and apparatus for calling service multipoint in portable terminal
CN101754194B (en)Color ring back tone system and shielding method for color ring back tone service
CN105611026B (en)A kind of method, apparatus and electronic equipment adjusting In Call
CN102025801A (en)Method and device for converting text information
CN102833693B (en)A kind of call processing method, apparatus and system
JP6499202B2 (en) Enhanced call recording for dual SIM dual active wireless communication devices
CN110572517B (en)Incoming call refusing processing method, called terminal and storage medium
CN104394283A (en)Dynamic adjustment method and system of IVR menu
CN101453535A (en)Mobile phone alarming method
CN108234736A (en)Call processing method and processing unit under a kind of conference model
CN105704327A (en)Call rejection method and call rejection system
CN101325773A (en)Mobile terminal with automatic replying function and method thereof
CN105592213A (en)Incoming call processing method and processing apparatus in conference mode

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
CB02Change of applicant information

Address after:A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant after:Nubian Technologies Ltd.

Address before:A District No. 9018 Han innovation building in Nanshan District high tech Zone in Shenzhen city of Guangdong Province, North Central Avenue, 518000 floor 10

Applicant before:Shenzhen ZTE Mobile Tech Co., Ltd.

CORChange of bibliographic data
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp