CN103680549A - Audio processing method and electronic equipment - Google Patents

Audio processing method and electronic equipment Download PDF

Info

Publication number
CN103680549A
CN103680549A CN201210333606.8A CN201210333606A CN103680549A CN 103680549 A CN103680549 A CN 103680549A CN 201210333606 A CN201210333606 A CN 201210333606A CN 103680549 A CN103680549 A CN 103680549A
Authority
CN
China
Prior art keywords
audio
time attribute
data
audio frequency
electronic equipment
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
CN201210333606.8A
Other languages
Chinese (zh)
Other versions
CN103680549B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210333606.8A priority Critical patent/CN103680549B/en
Publication of CN103680549A publication Critical patent/CN103680549A/en
Application granted granted Critical
Publication of CN103680549B publication Critical patent/CN103680549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an audio processing method and electronic equipment. In the audio processing method, whether audio is played in the audio recording process of the electronic equipment can be detected; if so, data and the time attribute of played audio are recorded, and the time attribute of recorded audio is simultaneously recorded; according to recorded information, the played audio is filtered out. According to the technical scheme, audio data played by the electronic equipment in the audio recording process can be effectively filtered out, so that the condition that audio played by the electronic equipment interferes with audio recording is avoided.

Description

A kind of audio-frequency processing method and electronic equipment
Technical field
The present invention relates to audio signal processing technique field, particularly relate to a kind of audio-frequency processing method and electronic equipment.
Background technology
Along with scientific and technical progress, increasing electronic equipment has had audio frequency and has play and audio recording function.
In order to improve electronic equipment, record the audio quality of generation, the recording process of certain sound is generally needed neighbourhood noise to be removed as far as possible.Yet along with electronic equipment has had audio playing function, the audio recording process of electronic equipment has also inevitably been subject to the interference of this electronic equipment institute audio plays.
For instance, when mobile phone carries out audio recording, as another handset call current phone, current phone the tinkle of bells sounds, and this ringing sound of cell phone also will be recorded, thus the effect of impact to this mobile phone institute recorded voice.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of audio-frequency processing method and electronic equipment, to solve electronic equipment audio recording process, is subject to the problem that institute's audio plays is disturbed, and technical scheme is as follows:
An audio-frequency processing method, is applied to electronic equipment, and described electronic equipment at least has audio frequency to be play and audio recording function, comprising:
Receive an audio recording instruction, start audio recording;
In the process of described audio recording, detect described electronic equipment and in the process of described audio recording, whether carried out audio frequency broadcasting, if carried out audio frequency broadcasting, the very first time attribute that the some or all of playing audio-fequency data of the played audio frequency of record, and record is associated with described some or all of playing audio-fequency data;
After described audio recording finishes, the second time attribute that obtains the first voice data and be associated with described the first voice data;
Some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carries out filtering processing to described the first voice data, obtains second audio data;
Preserve described second audio data.
Preferably, described played audio frequency is a plurality of audio frequency.
Preferably, the some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carries out filtering processing to described the first voice data, obtains second audio data, comprising:
Described very first time attribute and described the second time attribute are exported to processing;
Receive user and according to described very first time attribute and the definite described playing audio-fequency data to very first time section of described the second time attribute, carry out the first instruction of filtering processing;
According to described the first instruction, the playing audio-fequency data of very first time section in described the first voice data is carried out to filtering processing.
Preferably, receiving an audio recording instruction, start after audio recording, described method also comprises:
In the process of described audio recording, use the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency.
Preferably, described very first time attribute comprises: the information and the information finish time of the described some or all of playing audio-fequency data zero hour of described some or all of playing audio-fequency data.
An electronic equipment, at least has audio frequency and plays and audio recording function, and described electronic equipment comprises: command reception module, audio detection module, the first logging modle, time attribute obtain module, filtering processing module and audio frequency and preserve module,
Described command reception module, for receiving an audio recording instruction, starts audio recording;
Described audio detection module, for the process in described audio recording, detects described electronic equipment and in the process of described audio recording, whether has carried out audio frequency broadcasting, if carried out audio frequency broadcasting, triggers described the first logging modle;
Described the first logging modle, for recording the some or all of playing audio-fequency data of played audio frequency, and the very first time attribute that is associated with described some or all of playing audio-fequency data of record;
Described time attribute obtains module, after finishing for described audio recording, and the second time attribute that obtains the first voice data and be associated with described the first voice data;
Described filtering processing module, for the some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carries out filtering processing to described the first voice data, obtains second audio data;
Described audio frequency is preserved module, for preserving described second audio data.
Preferably, described played audio frequency is a plurality of audio frequency.
Preferably, described filtering processing module, comprising: time output sub-module, command reception submodule and filtering submodule,
Described time output sub-module, for exporting processing to described very first time attribute and described the second time attribute;
Described command reception submodule, receives user and according to described very first time attribute and the definite described playing audio-fequency data to very first time section of described the second time attribute, carries out the first instruction of filtering processing;
Described filtering submodule, for according to described the first instruction, carries out filtering processing to the playing audio-fequency data of very first time section in described the first voice data.
Preferably, also comprise: correction module, for receiving an audio recording instruction in described command reception module, starts after audio recording, in the process of described audio recording, use the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency.
Preferably, described very first time attribute comprises: the information and the information finish time of the described some or all of playing audio-fequency data zero hour of described some or all of playing audio-fequency data.
By applying above technical scheme, a kind of audio-frequency processing method and electronic equipment that the embodiment of the present invention provides, can in detected electrons equipment audio recording process, whether carry out audio frequency broadcasting, if, record is played data and the time attribute of audio frequency, and record the time attribute of institute's recording audio simultaneously, according to the information of above record, institute's audio plays is carried out to filtering processing.Therefore, the present invention can effectively carry out filtering by the voice data that in audio recording process, electronic equipment is play, and has avoided the situation of the audio disturbances audio recording of electronic equipment broadcasting.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, the accompanying drawing the following describes is only some embodiment that record in the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet of a kind of audio-frequency processing method that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of audio-frequency processing method that Fig. 2 provides for the embodiment of the present invention;
The schematic flow sheet of the another kind of audio-frequency processing method that Fig. 3 provides for the embodiment of the present invention;
The structural representation of a kind of electronic equipment that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the another kind of electronic equipment that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the another kind of electronic equipment that Fig. 6 provides for the embodiment of the present invention.
Embodiment
In order to make those skilled in the art person understand better the technical scheme in the present invention, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, should belong to the scope of protection of the invention.
As shown in Figure 1, a kind of audio-frequency processing method that the embodiment of the present invention provides, is applied to electronic equipment, and described electronic equipment at least has audio frequency to be play and audio recording function, and the method can comprise:
S100, reception one audio recording instruction, start audio recording;
Wherein, this electronic equipment can be mobile phone, computer, panel computer etc.
Concrete, can pass through the audio reception record commands such as button, touch-screen, voice-operated device.
S200, in the process of described audio recording, detect described electronic equipment and in the process of described audio recording, whether carried out audio frequency broadcasting, if carried out audio frequency broadcasting, perform step S300;
Wherein, the audio frequency that electronic equipment is play can be the tinkle of bells, song, SMS notification sound, system sound etc.
When not carrying out audio frequency broadcasting, can not carry out follow-up filtration treatment.
The some or all of playing audio-fequency data of S300, the played audio frequency of record, and the very first time attribute that is associated with described some or all of playing audio-fequency data of record;
Wherein, this played audio frequency can be a plurality of audio frequency, can be also an audio frequency.Concrete, when played audio frequency is an audio frequency, can only record the partial data of this audio frequency.As: when played audio frequency is the tinkle of bells, can only record the data of volume major part in the tinkle of bells.Wherein, the playing audio-fequency data recording can be the waveform of audio plays.When played audio frequency is a plurality of audio frequency, can only record the data of one or more audio frequency.As: when played audio frequency is a SMS notification sound and a tinkle of bells, can only record the data of the tinkle of bells.
It will be appreciated by persons skilled in the art that because played audio frequency is all stored in electronic equipment, so electronic equipment can obtain the data of institute's audio plays easily.
Wherein, attribute comprises the very first time: the information and the information finish time of the described some or all of playing audio-fequency data zero hour of described some or all of playing audio-fequency data.Be understandable that, when played audio frequency is while being a plurality of, the zero hour of recording and the finish time also can be for a plurality of.
After S400, described audio recording finish, the second time attribute that obtains the first voice data and be associated with described the first voice data;
Concrete, can use microphone to carry out audio recording.Be understandable that, the voice data obtaining after microphone records is simulating signal, can also use analog to digital converter that this simulating signal is converted to digital signal so that process.
It will be appreciated by persons skilled in the art that electronic equipment carried out under the prerequisite that audio frequency plays in audio recording process, will comprise in audio recording process all played audio frequency in the voice data obtaining after electronic equipment audio recording finishes.Wherein, the second time attribute can comprise: the finish time of the zero hour of the first voice data and the first voice data.In actual applications, can using zero hour of the first voice data as start time, be designated as 0 second constantly, and the first voice data be comprised at interior other, constantly using this zero hour as timing benchmark the finish time.For instance, suppose between the finish time of the first voice data and the zero hour of the first voice data to be 8 seconds at a distance of duration, after being designated as to 0 second constantly the zero hour of the first voice data, corresponding, be designated as the 8th second constantly the finish time of the first voice data.Other in the first voice data are constantly similar with it, and for the purpose of facilitating, the application does not repeat them here.
S500, the some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carry out filtering processing to described the first voice data, obtains second audio data;
Be understandable that, according to the time attribute of the audio plays of the time attribute of whole recording audio and record, just can determine the period that will carry out filtering processing.For instance: suppose that whole recording audio was from 0 second constantly to the 180th second constantly, the audio plays recording was from the 100th second constantly to the 110th second constantly, and the period that will carry out filtering processing is: the 100th second constantly to the 110th second constantly.
It should be noted is that, in actual applications, very first time attribute and the second time attribute may be the time informations directly obtaining according to the equipment such as crystal oscillator in electronic equipment with clocking capability, as 08: 00: 00 Beijing time.At this moment, the period that need to carry out filtering processing just needs calculate the time period between very first time attribute and the second time attribute according to the time information obtaining from equipment such as crystal oscillators.If: recording audio was since 08: 00: 00 Beijing time, finished to 08: 00: 50 Beijing time; The played audio frequency recording is since 08: 00: 10 Beijing time, finishes to 08: 00: 20 Beijing time.Can determine that the time period of the filtering of wanting is that the first voice data middle distance obtaining after recording audio is recorded the played voice data in this time period of 10 seconds to the 20 seconds zero hour according to above time information.
Because this application has is through having recorded some or all of playing audio-fequency data, therefore just this some or all of playing audio-fequency data in the determined time period can be carried out to filtering.
S600, preserve described second audio data.
A kind of audio-frequency processing method that the embodiment of the present invention provides, can in detected electrons equipment audio recording process, whether carry out audio frequency broadcasting, if, record is played data and the time attribute of audio frequency, and record the time attribute of institute's recording audio simultaneously, according to the information of above record, institute's audio plays is carried out to filtering processing.Therefore, the present invention can effectively carry out filtering by the voice data that in audio recording process, electronic equipment is play, and has avoided the situation of the audio disturbances audio recording of electronic equipment broadcasting.
As shown in Figure 2, in the another kind of audio-frequency processing method that the embodiment of the present invention provides, step S500 can comprise:
S510, described very first time attribute and described the second time attribute are exported to processing;
Concrete, can very first time attribute and the second time attribute be exported by output devices such as screen, loudspeakers.
S520, reception user carry out the first instruction of filtering processing according to described very first time attribute and the definite described playing audio-fequency data to very first time section of described the second time attribute;
Be understandable that, user is by after output device perception very first time attribute and the second time attribute, the time period that just can select voluntarily to carry out filtering processing.
Concrete, can receive the first instruction by multiple input equipments such as keyboard, touch-screen, voice-operated devices.
S530, according to described the first instruction, the playing audio-fequency data of very first time section in described the first voice data is carried out to filtering processing.
After receiving the first instruction, just can, according to user's instruction, to the playing audio-fequency data in user's fixed time section, carry out filtering.
A kind of audio-frequency processing method providing embodiment illustrated in fig. 2, the time attribute information relevant with the filtering time period can be offered to user, make user can select voluntarily the time period of wanted filtering, make the operability of electronic equipment stronger, user uses impression better.
As shown in Figure 3, in the another kind of audio-frequency processing method that the embodiment of the present invention provides, after step S100, can also comprise:
S101, in the process of described audio recording, use the correction parameter set in advance to proofread and correct processing to the played audio frequency in recorded audio frequency.
Be understandable that, the data of the some or all of playing audio-fequency data of the played audio frequency that middle step S300 embodiment illustrated in fig. 1 records for directly obtaining from the memory device of electronic equipment, and played audio frequency in the audio frequency that electronic equipment is recorded is that electronic equipment is recorded the voice data obtaining from playing environment.Between the some or all of playing audio-fequency data of the played audio frequency that the played voice data in the audio frequency of therefore recording and step S300 record, there is certain distortion.Therefore, step S101 can be used the correction parameter setting in advance to proofread and correct processing to the played audio frequency in the audio frequency of recording, so that the degree of distortion between the two reduces.
Concrete, technician can first calculate this correction parameter by experiment, as: first play certain audio frequency, then it is recorded, the audio frequency that obtains and the degree of distortion between the audio frequency of former broadcasting are recorded in contrast, and finally determine correction parameter.In actual applications, in order to improve the precision of correction parameter, can carry out test of many times.
A kind of audio-frequency processing method providing embodiment illustrated in fig. 3 can be used the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency, can be so that the data of the played audio frequency of recording are more pressed close to the raw data with this played audio frequency.Therefore, the filter process that can make embodiment illustrated in fig. 3 is more accurate, also makes the better effects if of filtering.
Corresponding to embodiment of the method above, the present invention also provides a kind of electronic equipment.
As shown in Figure 4, a kind of electronic equipment that the embodiment of the present invention provides, at least having audio frequency plays and audio recording function, described electronic equipment can comprise: command reception module 100, audio detection module 200, the first logging modle 300, time attribute obtain module 400, filtering processing module 500 and audio frequency and preserve module 600
Command reception module 100, for receiving an audio recording instruction, starts audio recording;
Wherein, this electronic equipment can be mobile phone, computer, panel computer etc.
Concrete, can pass through the audio reception record commands such as button, touch-screen, voice-operated device.
Audio detection module 200, for the process in described audio recording, detects described electronic equipment and in the process of described audio recording, whether has carried out audio frequency broadcasting, if carried out audio frequency broadcasting, triggers described the first logging modle;
Wherein, the audio frequency that electronic equipment is play can be the tinkle of bells, song, SMS notification sound, system sound etc.
The first logging modle 300, for recording the some or all of playing audio-fequency data of played audio frequency, and the very first time attribute that is associated with described some or all of playing audio-fequency data of record;
Wherein, this played audio frequency can be a plurality of audio frequency, can be also an audio frequency.Concrete, when played audio frequency is an audio frequency, can only record the partial data of this audio frequency.As: when played audio frequency is the tinkle of bells, can only record the data of volume major part in the tinkle of bells.Wherein, the playing audio-fequency data recording can be the waveform of audio plays.When played audio frequency is a plurality of audio frequency, can only record the data of one or more audio frequency.As: when played audio frequency is a SMS notification sound and a tinkle of bells, can only record the data of the tinkle of bells.
It will be appreciated by persons skilled in the art that because played audio frequency is all stored in electronic equipment, so electronic equipment can obtain the data of institute's audio plays easily.
Wherein, attribute comprises the very first time: the information and the information finish time of the described some or all of playing audio-fequency data zero hour of described some or all of playing audio-fequency data.Be understandable that, when played audio frequency is while being a plurality of, the zero hour of recording and the finish time also can be for a plurality of.
Time attribute obtains module 400, after finishing for described audio recording, and the second time attribute that obtains the first voice data and be associated with described the first voice data;
Concrete, can use microphone to carry out audio recording.Be understandable that, the voice data obtaining after microphone records is simulating signal, can also use analog to digital converter that this simulating signal is converted to digital signal so that process.
It will be appreciated by persons skilled in the art that electronic equipment carried out under the prerequisite that audio frequency plays in audio recording process, will comprise in audio recording process all played audio frequency in the voice data obtaining after electronic equipment audio recording finishes.Wherein, the second time attribute can comprise: the finish time of the zero hour of the first voice data and the first voice data.In actual applications, can using zero hour of the first voice data as start time, be designated as 0 second constantly, and the first voice data be comprised at interior other, constantly using this zero hour as timing benchmark the finish time.For instance, suppose between the finish time of the first voice data and the zero hour of the first voice data to be 8 seconds at a distance of duration, after being designated as to 0 second constantly the zero hour of the first voice data, corresponding, be designated as the 8th second constantly the finish time of the first voice data.Other in the first voice data are constantly similar with it, and for the purpose of facilitating, the application does not repeat them here.
Filtering processing module 500, for the some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carries out filtering processing to described the first voice data, obtains second audio data;
Be understandable that, according to the time attribute of the audio plays of the time attribute of whole recording audio and record, just can determine the period that will carry out filtering processing.For instance: suppose that whole recording audio was from 0 second constantly to the 180th second constantly, the audio plays recording was from the 100th second constantly to the 110th second constantly, and the period that will carry out filtering processing is: the 100th second constantly to the 110th second constantly.
It should be noted is that, in actual applications, very first time attribute and the second time attribute may be the time informations directly obtaining according to the equipment such as crystal oscillator in electronic equipment with clocking capability, as 08: 00: 00 Beijing time.At this moment, the period that need to carry out filtering processing just needs calculate the time period between very first time attribute and the second time attribute according to the time information obtaining from equipment such as crystal oscillators.If: recording audio was since 08: 00: 00 Beijing time, finished to 08: 00: 50 Beijing time; The played audio frequency recording is since 08: 00: 10 Beijing time, finishes to 08: 00: 20 Beijing time.Can determine that the time period of the filtering of wanting is that the first voice data middle distance obtaining after recording audio is recorded the played voice data in this time period of 10 seconds to the 20 seconds zero hour according to above time information.
Because this application has is through having recorded some or all of playing audio-fequency data, therefore just this some or all of playing audio-fequency data in the determined time period can be carried out to filtering.
Audio frequency is preserved module 600, for preserving described second audio data.
A kind of electronic equipment that the embodiment of the present invention provides, can detect and in audio recording process, whether carry out audio frequency broadcasting, if, record is played data and the time attribute of audio frequency, and record the time attribute of institute's recording audio simultaneously, according to the information of above record, institute's audio plays is carried out to filtering processing.Therefore, the present invention can effectively carry out filtering by the voice data that in audio recording process, electronic equipment is play, and has avoided the situation of the audio disturbances audio recording of electronic equipment broadcasting.
As shown in Figure 5, filtering processing module 500 in the another kind of electronic equipment that the embodiment of the present invention provides, can comprise: time output sub-module 510, command reception submodule 520 and filtering submodule 530,
Described time output sub-module 510, for exporting processing to described very first time attribute and described the second time attribute;
Concrete, can very first time attribute and the second time attribute be exported by output devices such as screen, loudspeakers.
Described command reception submodule 520, receives user and according to described very first time attribute and the definite described playing audio-fequency data to very first time section of described the second time attribute, carries out the first instruction of filtering processing;
Be understandable that, user is by after output device perception very first time attribute and the second time attribute, the time period that just can select voluntarily to carry out filtering processing.
Concrete, can receive the first instruction by multiple input equipments such as keyboard, touch-screen, voice-operated devices.
Described filtering submodule 530, for according to described the first instruction, carries out filtering processing to the playing audio-fequency data of very first time section in described the first voice data.
After receiving the first instruction, just can, according to user's instruction, to the playing audio-fequency data in user's fixed time section, carry out filtering.
A kind of electronic equipment providing embodiment illustrated in fig. 5, can offer user by the time attribute information relevant with the filtering time period, makes user can select voluntarily the time period of wanted filtering, makes the operability of electronic equipment stronger, and user uses impression better.
As shown in Figure 6, in the another kind of electronic equipment that the embodiment of the present invention provides, can also comprise: correction module 101, for receiving an audio recording instruction in described command reception module, start after audio recording, in the process of described audio recording, use the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency.
Be understandable that, the data of the some or all of playing audio-fequency data of the played audio frequency that in embodiment illustrated in fig. 4, the first logging modle 300 records for directly obtaining from the memory device of electronic equipment, and played audio frequency in the audio frequency that electronic equipment is recorded is that electronic equipment is recorded the voice data obtaining from playing environment.Between the some or all of playing audio-fequency data of the played audio frequency that the played voice data in the audio frequency of therefore recording and the first logging modle 300 record, there is certain distortion.Therefore, the first logging modle 300 can be used the correction parameter setting in advance to proofread and correct processing to the played audio frequency in the audio frequency of recording, so that the degree of distortion between the two reduces.
Concrete, technician can first calculate this correction parameter by experiment, as: first play certain audio frequency, then it is recorded, the audio frequency that obtains and the degree of distortion between the audio frequency of former broadcasting are recorded in contrast, and finally determine correction parameter.In actual applications, in order to improve the precision of correction parameter, can carry out test of many times.
A kind of electronic equipment providing embodiment illustrated in fig. 6 can use the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency, can be so that the data of the played audio frequency of recording are more pressed close to the raw data with this played audio frequency.Therefore, the filter process that can make embodiment illustrated in fig. 6 is more accurate, also makes the better effects if of filtering.
While for convenience of description, describing above device, with function, being divided into various unit describes respectively.Certainly, when enforcement is of the present invention, the function of each unit can be realized in same or a plurality of software and/or hardware.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential general hardware platform by software and realizes.Understanding based on such, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, each embodiment stresses is the difference with other embodiment.Especially, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.Device embodiment described above is only schematic, the wherein said unit as separating component explanation can or can not be also physically to separate, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.Those of ordinary skills, in the situation that not paying creative work, are appreciated that and implement.
The present invention can be used in numerous general or special purpose computingasystem environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, small-size computer, mainframe computer, comprise distributed computing environment of above any system or equipment etc.
The present invention can describe in the general context of the computer executable instructions of being carried out by computing machine, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can in distributed computing environment, put into practice the present invention, in these distributed computing environment, by the teleprocessing equipment being connected by communication network, be executed the task.In distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
It should be noted that, in this article, relational terms such as the first and second grades is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply and between these entities or operation, have the relation of any this reality or sequentially.
The above is only the specific embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. an audio-frequency processing method, is applied to electronic equipment, and described electronic equipment at least has audio frequency to be play and audio recording function, it is characterized in that, comprising:
Receive an audio recording instruction, start audio recording;
In the process of described audio recording, detect described electronic equipment and in the process of described audio recording, whether carried out audio frequency broadcasting, if carried out audio frequency broadcasting, the very first time attribute that the some or all of playing audio-fequency data of the played audio frequency of record, and record is associated with described some or all of playing audio-fequency data;
After described audio recording finishes, the second time attribute that obtains the first voice data and be associated with described the first voice data;
Some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carries out filtering processing to described the first voice data, obtains second audio data;
Preserve described second audio data.
2. method according to claim 1, is characterized in that, described played audio frequency is a plurality of audio frequency.
3. method according to claim 1 and 2, it is characterized in that the some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency carries out filtering processing to described the first voice data, obtain second audio data, comprising:
Described very first time attribute and described the second time attribute are exported to processing;
Receive user and according to described very first time attribute and the definite described playing audio-fequency data to very first time section of described the second time attribute, carry out the first instruction of filtering processing;
According to described the first instruction, the playing audio-fequency data of very first time section in described the first voice data is carried out to filtering processing.
4. method according to claim 1 and 2, is characterized in that, receiving an audio recording instruction, starts after audio recording, and described method also comprises:
In the process of described audio recording, use the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency.
5. method according to claim 1 and 2, is characterized in that, described very first time attribute comprises: the information and the information finish time of the described some or all of playing audio-fequency data zero hour of described some or all of playing audio-fequency data.
6. an electronic equipment, at least having audio frequency plays and audio recording function, it is characterized in that, described electronic equipment comprises: command reception module, audio detection module, the first logging modle, time attribute obtain module, filtering processing module and audio frequency and preserve module
Described command reception module, for receiving an audio recording instruction, starts audio recording;
Described audio detection module, for the process in described audio recording, detects described electronic equipment and in the process of described audio recording, whether has carried out audio frequency broadcasting, if carried out audio frequency broadcasting, triggers described the first logging modle;
Described the first logging modle, for recording the some or all of playing audio-fequency data of played audio frequency, and the very first time attribute that is associated with described some or all of playing audio-fequency data of record;
Described time attribute obtains module, after finishing for described audio recording, and the second time attribute that obtains the first voice data and be associated with described the first voice data;
Described filtering processing module, for the some or all of playing audio-fequency data based on described very first time attribute, described the second time attribute and described played audio frequency, carries out filtering processing to described the first voice data, obtains second audio data;
Described audio frequency is preserved module, for preserving described second audio data.
7. electronic equipment according to claim 6, is characterized in that, described played audio frequency is a plurality of audio frequency.
8. according to the electronic equipment described in claim 6 or 7, it is characterized in that, described filtering processing module, comprising: time output sub-module, command reception submodule and filtering submodule,
Described time output sub-module, for exporting processing to described very first time attribute and described the second time attribute;
Described command reception submodule, receives user and according to described very first time attribute and the definite described playing audio-fequency data to very first time section of described the second time attribute, carries out the first instruction of filtering processing;
Described filtering submodule, for according to described the first instruction, carries out filtering processing to the playing audio-fequency data of very first time section in described the first voice data.
9. according to the electronic equipment described in claim 6 or 7, it is characterized in that, also comprise: correction module, for receiving an audio recording instruction in described command reception module, start after audio recording, in the process of described audio recording, use the correction parameter setting in advance to proofread and correct processing to the played audio frequency in recorded audio frequency.
10. according to the electronic equipment described in claim 6 or 7, it is characterized in that, described very first time attribute comprises: the information and the information finish time of the described some or all of playing audio-fequency data zero hour of described some or all of playing audio-fequency data.
CN201210333606.8A 2012-09-10 2012-09-10 A kind of audio-frequency processing method and electronics Active CN103680549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210333606.8A CN103680549B (en) 2012-09-10 2012-09-10 A kind of audio-frequency processing method and electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210333606.8A CN103680549B (en) 2012-09-10 2012-09-10 A kind of audio-frequency processing method and electronics

Publications (2)

Publication Number Publication Date
CN103680549A true CN103680549A (en) 2014-03-26
CN103680549B CN103680549B (en) 2016-06-01

Family

ID=50317885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210333606.8A Active CN103680549B (en) 2012-09-10 2012-09-10 A kind of audio-frequency processing method and electronics

Country Status (1)

Country Link
CN (1) CN103680549B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253943A (en) * 2014-09-04 2014-12-31 广东欧珀移动通信有限公司 Video shooting method and device using mobile terminal
CN105183446A (en) * 2015-07-16 2015-12-23 贵阳语玩科技有限公司 Audio management system
CN107885482A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Audio frequency playing method, device, storage medium and electronic equipment
CN109168118A (en) * 2018-07-04 2019-01-08 广州视源电子科技股份有限公司 Reverberation detection method, device and electronic equipment
CN110913310A (en) * 2018-09-14 2020-03-24 成都启英泰伦科技有限公司 Echo cancellation method for broadcast distortion correction

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338499A (en) * 1998-05-28 1999-12-10 Kokusai Electric Co Ltd Noise canceller
CN1479525A (en) * 2002-06-27 2004-03-03 Integrated design of omnidirectional camera and microphone array
US20060217990A1 (en) * 2002-12-20 2006-09-28 Wolfgang Theimer Method and device for organizing user provided information with meta-information
CN101593517A (en) * 2009-06-29 2009-12-02 北京市博汇科技有限公司 A kind of audio frequency comparison system and audio power comparison method thereof
US20110166856A1 (en) * 2010-01-06 2011-07-07 Apple Inc. Noise profile determination for voice-related feature

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338499A (en) * 1998-05-28 1999-12-10 Kokusai Electric Co Ltd Noise canceller
CN1479525A (en) * 2002-06-27 2004-03-03 Integrated design of omnidirectional camera and microphone array
US20060217990A1 (en) * 2002-12-20 2006-09-28 Wolfgang Theimer Method and device for organizing user provided information with meta-information
CN101593517A (en) * 2009-06-29 2009-12-02 北京市博汇科技有限公司 A kind of audio frequency comparison system and audio power comparison method thereof
US20110166856A1 (en) * 2010-01-06 2011-07-07 Apple Inc. Noise profile determination for voice-related feature

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253943A (en) * 2014-09-04 2014-12-31 广东欧珀移动通信有限公司 Video shooting method and device using mobile terminal
CN104253943B (en) * 2014-09-04 2018-06-22 广东欧珀移动通信有限公司 Use the video capture method and apparatus of mobile terminal
CN105183446A (en) * 2015-07-16 2015-12-23 贵阳语玩科技有限公司 Audio management system
CN105183446B (en) * 2015-07-16 2019-08-13 贵阳语玩科技有限公司 Audio management system
CN107885482A (en) * 2017-11-07 2018-04-06 广东欧珀移动通信有限公司 Audio frequency playing method, device, storage medium and electronic equipment
CN107885482B (en) * 2017-11-07 2021-03-02 Oppo广东移动通信有限公司 Audio playing method and device, storage medium and electronic equipment
CN109168118A (en) * 2018-07-04 2019-01-08 广州视源电子科技股份有限公司 Reverberation detection method, device and electronic equipment
CN110913310A (en) * 2018-09-14 2020-03-24 成都启英泰伦科技有限公司 Echo cancellation method for broadcast distortion correction

Also Published As

Publication number Publication date
CN103680549B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US10770050B2 (en) Audio data processing method and apparatus
CN105872253B (en) Live broadcast sound processing method and mobile terminal
CN103680549A (en) Audio processing method and electronic equipment
CN104021148B (en) Method and device for adjusting sound effect
CN106954143B (en) Manually adjust the method and electronic equipment of sound quality
CN109032558A (en) Sounding control method, device, electronic device and computer-readable medium
CN107623776A (en) A kind of method for controlling volume, system and mobile terminal
CN101569093A (en) Dynamically learning a user's response via user-preferred audio settings in response to different noise environments
US11284151B2 (en) Loudness adjustment method and apparatus, and electronic device and storage medium
CN104538040A (en) Method and device for dynamically selecting communication voice signals
CN111508531B (en) Audio processing method and device
CN104133851A (en) Audio similarity detecting method, audio similarity detecting device and electronic equipment
CN111010608B (en) Video playing method and electronic equipment
CN108319443B (en) audio output method, mobile terminal and audio playing device
CN110568926B (en) Sound signal processing method and terminal equipment
CN102982792A (en) Method using mobile phone to tune musical instrument and device using mobile phone to tune musical instrument
CN107071174A (en) A kind of method of speech processing and mobile terminal
US20100281984A1 (en) Method and apparatus for measuring position of the object using microphone
CN106060268A (en) Voice output method for mobile terminal and mobile terminal
CN107168677A (en) Audio-frequency processing method and device, electronic equipment, storage medium
CN105094333A (en) Method and device for control
CN104092809A (en) Communication sound recording method and recorded communication sound playing method and device
CN106101409A (en) A kind of mobile terminal and control method
CN106055301A (en) Volume setting method and mobile terminal
CN108712706A (en) Vocal technique, device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant