CN112202956A - Terminal equipment and audio acquisition method thereof - Google Patents
Terminal equipment and audio acquisition method thereof Download PDFInfo
- Publication number
- CN112202956A CN112202956A CN202011085504.XA CN202011085504A CN112202956A CN 112202956 A CN112202956 A CN 112202956A CN 202011085504 A CN202011085504 A CN 202011085504A CN 112202956 A CN112202956 A CN 112202956A
- Authority
- CN
- China
- Prior art keywords
- audio
- audio data
- module
- adc
- distortion
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 36
- 238000004891 communication Methods 0.000 claims description 40
- 238000006243 chemical reaction Methods 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000009232 chiropractic Methods 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 229920006395 saturated elastomer Polymers 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/64—Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
- H04M1/65—Recording arrangements for recording a message from the calling party
- H04M1/6505—Recording arrangements for recording a message from the calling party storing speech in digital form
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L21/00—Speech or voice signal processing techniques to produce another audible or non-audible signal, e.g. visual or tactile, in order to modify its quality or its intelligibility
- G10L21/02—Speech enhancement, e.g. noise reduction or echo cancellation
- G10L21/0208—Noise filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R3/00—Circuits for transducers, loudspeakers or microphones
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Computational Linguistics (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Circuit For Audible Band Transducer (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a terminal device and an audio acquisition method thereof, wherein the terminal device comprises a loudspeaker and a microphone; the audio acquisition method comprises the following steps: acquiring distortion debugging audio data of a preset time period through the microphone; and judging whether at least a part of distortion data exists in the distortion debugging audio data, if so, discarding the distortion debugging audio data in a preset time period, and calling an audio acquisition channel of the loudspeaker to acquire the current audio data through the loudspeaker. The invention can effectively realize the high-fidelity recording function in a noisy environment while ensuring that the cost is not increased or is lower, and can ensure higher recording amplitude and restoring degree in a medium or small volume environment, thereby effectively improving the recording quality and efficiency of terminal equipment and further improving the user experience.
Description
Technical Field
The invention relates to the technical field of recording, in particular to a terminal device for realizing high-fidelity recording by using a loudspeaker and an audio acquisition method thereof.
Background
Recording is as terminal equipment products such as smart mobile phone essential basic function, is used widely in occasions such as voice conversation, sound collection, therefore the quality of equipment recording directly can influence terminal equipment user's experience.
The recording function of the terminal equipment is mainly realized through audio acquisition of a microphone. However, the AOP (Acoustic Overload Point) of the consumer microphone limited by the terminal device is low, and in a noisy environment (e.g., KTV (singing entertainment venue), concert scene, etc.), the ambient sound pressure level is generally too high and exceeds the AOP of the microphone, which leads to saturated and distorted recording, thereby generating a series of problems such as noise breaking and noise, further reducing the recording quality and efficiency of the terminal device, and affecting the user experience.
At present, although the above-mentioned sound recording break problem can be partially solved by using high sound pressure level microphones (the AOP of a common microphone is generally 120dB SPL (sound pressure level), and the AOP of a high sound pressure level microphone is generally 130dB SPL), the following drawbacks still exist in the solution using the high sound pressure level microphone:
1. in order to ensure that the sound recording of a large volume of sound is not broken, the high-sound-pressure microphone uses a thicker microphone diaphragm, although the sound is not broken in the large volume of sound, the sensitivity of the thick microphone diaphragm is poor, and the recording amplitude and the restoring degree are low in a medium or small volume environment;
2. the price of the high sound pressure level microphone is several times of that of the common microphone due to the reasons of special material technology, application field, market scale and the like, so that the cost of the terminal equipment is high, and the high sound pressure level microphone is not easy to popularize.
Disclosure of Invention
The invention provides a terminal device and an audio acquisition method thereof, aiming at overcoming the defect that the terminal device in the prior art cannot simultaneously ensure the recording quality and the recording cost.
The invention solves the technical problems through the following technical scheme:
an audio acquisition method of a terminal device comprises a loudspeaker and a microphone;
the audio acquisition method comprises the following steps:
acquiring distortion debugging audio data of a preset time period through the microphone; and the number of the first and second groups,
and judging whether at least a part of distortion data exists in the distortion debugging audio data, if so, discarding the distortion debugging audio data in a preset time period, and calling an audio acquisition channel of the loudspeaker to acquire the current audio data through the loudspeaker.
Optionally, the method further comprises:
and judging whether at least a part of distortion data exists in the distortion debugging audio data, if not, retaining the distortion debugging audio data in a preset time period, and calling the microphone to collect the current audio data through the microphone.
Optionally, the step of determining whether at least a part of distortion data exists in the distortion debugging audio data includes:
judging whether at least one part of signal amplitude in the distortion debugging audio data exceeds a preset amplitude value or not; or the like, or, alternatively,
and judging whether at least one part of signal energy in the distortion debugging audio data exceeds a preset energy value.
Optionally, the method further comprises:
and in response to calling the audio acquisition channel of the loudspeaker, closing the audio output channel of the loudspeaker to close the sound output of the loudspeaker.
Optionally, the terminal device further includes a first ADC (analog-to-digital converter), a second ADC, and an audio processing chip;
the first ADC is respectively in communication connection with an audio acquisition channel of the loudspeaker and the audio processing chip;
the second ADC is respectively in communication connection with the microphone and the audio processing chip;
the audio acquisition method further comprises:
responding to calling of an audio acquisition channel of the loudspeaker, and sending current audio data acquired through the audio acquisition channel of the loudspeaker to the first ADC for analog-to-digital conversion;
and sending the current audio data after the analog-to-digital conversion to the audio processing chip for audio processing and outputting.
Optionally, the audio processing chip includes an HPF (high pass filter) module, a Dgain (digital gain) module, an EQ (equalizer) module, and an InCode (encoding) module;
the HPF module is respectively in communication connection with the first ADC and the second ADC, and filters out a direct-current component of the received audio data;
the Dgain module is in communication connection with the HPF module and is used for amplifying the received audio data;
the EQ module is in communication connection with the Dgain module, and performs equalization processing on the received audio data;
the InCode module is in communication connection with the EQ module, and encodes the received audio data to generate a corresponding sound recording file.
Optionally, the terminal device further includes a first PGA (programmable gain amplifier) and a second PGA;
the first ADC is in communication connection with the audio processing chip through the first PGA;
the second ADC is in communication connection with the audio processing chip through the second PGA.
A terminal device comprising a speaker, a microphone, and a processor;
the processor is configured to acquire distortion debugging audio data for a preset time period through the microphone;
the processor is further configured to determine whether at least a portion of the distortion debugging audio data exists in the distortion debugging audio data, if so, discard the distortion debugging audio data for a preset time period, and call an audio acquisition path of the speaker to acquire current audio data through the speaker.
Optionally, the processor is further configured to:
and judging whether at least a part of distortion data exists in the distortion debugging audio data, if not, retaining the distortion debugging audio data in a preset time period, and calling the microphone to collect the current audio data through the microphone.
Optionally, the processor is configured to determine whether at least a portion of signal amplitudes in the distortion debugging audio data exceed a preset amplitude value; or the like, or, alternatively,
the processor is configured to determine whether at least a portion of signal amplitudes in the distortion debugging audio data exceed a preset amplitude value.
Optionally, the processor is further configured to:
and in response to calling the audio acquisition channel of the loudspeaker, closing the audio output channel of the loudspeaker to close the sound output of the loudspeaker.
Optionally, the terminal device further includes a first ADC, a second ADC, and an audio processing chip;
the first ADC is respectively in communication connection with an audio acquisition channel of the loudspeaker and the audio processing chip;
the second ADC is respectively in communication connection with the microphone and the audio processing chip;
the processor is further configured to:
responding to calling of an audio acquisition channel of the loudspeaker, and sending current audio data acquired through the audio acquisition channel of the loudspeaker to the first ADC for analog-to-digital conversion;
and sending the current audio data after the analog-to-digital conversion to the audio processing chip for audio processing and outputting.
Optionally, the audio processing chip includes an HPF module, a Dgain module, an EQ module, and an InCode module;
the HPF module is respectively in communication connection with the first ADC and the second ADC, and is configured to filter out a direct-current component of the received audio data;
the Dgain module is in communication connection with the HPF module and is configured to amplify the received audio data;
the EQ module is in communication connection with the Dgain module and is configured to perform equalization processing on received audio data;
the InCode module is in communication connection with the EQ module and is configured to encode received audio data to generate a corresponding sound recording file.
Optionally, the terminal device further includes a first PGA and a second PGA;
the first ADC is in communication connection with the audio processing chip through the first PGA;
the second ADC is in communication connection with the audio processing chip through the second PGA.
An electronic device comprises a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor executes the computer program to implement the steps of the audio acquisition method of the terminal device.
A computer readable medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the audio capturing method of a terminal device as described above.
On the basis of the common knowledge in the field, the preferred conditions can be combined randomly to obtain the preferred embodiments of the invention.
The positive progress effects of the invention are as follows:
according to the terminal equipment and the audio acquisition method thereof provided by the invention, the high-fidelity recording function in a noisy environment can be effectively realized while the cost is not increased or is lower, and higher recording amplitude and reproduction degree can be ensured in a medium or small volume environment, so that the recording quality and efficiency of the terminal equipment are effectively improved, and the user experience degree is further improved.
Drawings
The features and advantages of the present disclosure will be better understood upon reading the detailed description of embodiments of the disclosure in conjunction with the following drawings. In the drawings, components are not necessarily drawn to scale, and components having similar relative characteristics or features may have the same or similar reference numerals.
Fig. 1 is a flowchart illustrating an audio capturing method of a terminal device according to an embodiment of the present invention.
Fig. 2 is a schematic partial structure diagram of a terminal device according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of an electronic device implementing an audio acquisition method of a terminal device according to another embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
In order to overcome the above existing defects, the present embodiment provides an audio acquisition method for a terminal device, where the terminal device includes a speaker and a microphone; the audio acquisition method comprises the following steps: acquiring distortion debugging audio data of a preset time period through a microphone; and judging whether at least a part of distortion data exists in the distortion debugging audio data, if so, discarding the distortion debugging audio data in a preset time period, and calling an audio acquisition channel of the loudspeaker to acquire the current audio data through the loudspeaker.
As an electroacoustic conversion device, a speaker is conventionally used which converts an electric signal into an acoustic signal. That is, as shown in fig. 2, the multimedia data is decoded by the DeCode module, and is transmitted to a DAC (analog-to-digital converter) for analog-to-digital conversion, and is amplified by a PA (power amplifier), and finally drives the speaker 211, which is not detailed in this embodiment. On the contrary, when the loudspeaker diaphragm is excited by sound waves, the coil does cutting magnetic induction lines in a magnetic field, and induced current is also generated, so that the function of collecting sound is realized. The current is weaker than that of the traditional microphone, but the amplitude displacement of the loudspeaker is limited, and the current signal cannot generate distortion.
In this embodiment, through rationally utilizing terminal equipment conventionality such as smart mobile phones from the speaker of taking, realized the recording function of noisy environment high-fidelity effectively to terminal equipment's recording quality and efficiency have been promoted effectively, and then user experience degree has been promoted.
Specifically, as an embodiment, as shown in fig. 1, the audio acquisition method of the terminal device provided in this embodiment mainly includes the following steps:
In the step, in response to starting the recording function and starting recording, distortion debugging audio data of a preset time period is collected through a microphone of the terminal device, and the distortion debugging audio data is used for debugging the audio saturation distortion condition caused by overhigh environmental sound pressure level.
In this embodiment, the preset time period may be 200ms, but the preset time period is not specifically limited in this embodiment, and may be adjusted and selected accordingly according to actual requirements.
In this step, it is determined whether at least a portion of distortion data exists in the acquired distortion debugging audio data of the preset time period, that is, AOP distortion determination is performed on the distortion debugging audio data of 200ms, if yes, step 103 is executed, and if not, step 104 is executed.
Specifically, in this step, it may be determined whether at least a portion of the signal amplitude in the distortion debugging audio data exceeds a preset amplitude value, if so, it indicates that distortion data exists, step 103 is executed, and if not, it indicates that distortion data does not exist, step 104 is executed.
In this step, it may also be determined whether at least a portion of signal energy in the distortion debugging audio data exceeds a preset energy value, if so, it indicates that distortion data exists, step 103 is executed, otherwise, it indicates that distortion data does not exist, and step 104 is executed.
In this embodiment, both the preset amplitude value and the preset energy value can be adjusted and selected accordingly according to actual conditions.
And 103, calling a loudspeaker channel to record, and discarding distortion debugging audio data.
In this step, in response to the current audio generating distortion, an audio capture path of the speaker is invoked to capture the current audio data through the speaker, and the distortion debugging audio data for a preset time period is discarded.
In the step, the audio output channel of the loudspeaker is closed in response to calling the audio acquisition channel of the loudspeaker so as to close the sound output of the loudspeaker, thereby preventing the sound emitted by the loudspeaker from influencing the recording condition of the loudspeaker and effectively eliminating interference.
The terminal equipment further comprises a first ADC, a first PGA and an audio processing chip, wherein the audio processing chip comprises an HPF module, a Dgain module, an EQ module and an InCode module.
In this embodiment, preferably, the audio processing chip may adopt a chiropractic UDS710_ UDX710 chip, but this embodiment does not specifically limit the audio processing chip, and may perform corresponding selection according to actual requirements.
Specifically, an audio acquisition channel of the loudspeaker is in communication connection with a first ADC, the first ADC is in communication connection with an HPF module through a first PGA, the HPF module is in communication connection with a Dgain module, the Dgain module is in communication connection with an EQ module, and the EQ module is in communication connection with an InCode module.
In this step, the current audio data collected through the audio collection channel of the speaker is first sent to the first ADC for analog-to-digital conversion, and then is amplified by the first PGA for signal amplitude. The audio data is then transferred to an audio processing chip for processing, typically with 3-level debugging. Firstly, filtering a direct current component of audio data through an HPF module; then, the audio data is amplified through a Dgain module; and finally, performing equalization processing on the audio data through an EQ module. And finally, coding the audio data through an InCode module after debugging so as to generate and store a corresponding recording file.
And step 104, calling a microphone channel to record.
In the step, in response to that the current audio does not generate distortion, the distortion debugging audio data of the preset time period is reserved, and the microphone is called to collect the current audio data through the microphone, so that the recording amplitude and the restoring degree can be fully ensured in a medium or small volume environment.
In this embodiment, the terminal device further includes a second ADC and a second PGA, the microphone is in communication connection with the second ADC, the second ADC is in communication connection with the audio processing chip through the second PGA, the microphone transmits the acquired current audio data to the second ADC for digital-to-analog conversion and signal amplitude amplification through the second PGA, and then the acquired current audio data is transmitted to the audio processing chip to be stored as a corresponding recording file after the audio processing.
According to the audio acquisition method of the terminal equipment, the cost is not increased or the cost is low, the high-fidelity recording function of a noisy environment can be effectively realized, and the high recording amplitude and the high reproduction degree can be ensured in a medium or small volume environment, so that the recording quality and efficiency of the terminal equipment are effectively improved, and the user experience degree is further improved.
In order to overcome the above drawbacks, the present embodiment further provides a terminal device, where the terminal device uses the audio capture method of the terminal device.
Specifically, as shown in fig. 2, the terminal device mainly includes a speaker 211, a microphone 212, a first ADC221, a first PGA222, a second ADC223, a second PGA224, an audio processing chip 23, and a processor (not shown in the figure).
The first ADC221 is communicatively coupled to the audio capture path of the speaker 211, and the first ADC221 is further communicatively coupled to the audio processing chip 23 via the first PGA 222.
The second ADC223 is communicatively coupled to the audio capture path of the microphone 212, and the second ADC223 is further communicatively coupled to the audio processing chip 23 via a second PGA 224.
Specifically, in the present embodiment, the audio processing chip 23 mainly includes an HPF module 231, a Dgain module 232, an EQ module 233, and an InCode module 234.
The HPF module 231 is communicatively connected to the first ADC221 and the second ADC223, respectively, and the HPF module 231 is configured to filter out a dc component of the received audio data.
The Dgain module 232 is communicatively coupled to the HPF module 231, and the Dgain module 232 is configured to amplify the received audio data.
The InCode module 234 is communicatively coupled to the EQ module 233, and the InCode module 234 is configured to encode the received audio data to generate a corresponding audio recording file.
The processor is configured to collect distortion debugging audio data over a preset time period via the microphone 212.
The processor is further configured to determine whether at least a portion of the distortion debugging audio data exists in the distortion debugging audio data, if so, discard the distortion debugging audio data for a preset time period and invoke an audio capture path of the speaker 211 to capture the current audio data through the speaker 211, if not, retain the distortion debugging audio data for the preset time period and invoke the microphone 212 to capture the current audio data through the microphone 212.
When the processor judges the distortion data, the processor is configured to judge whether at least one part of signal amplitude in the distortion debugging audio data exceeds a preset amplitude value; or, the processor is configured to determine whether at least a portion of the signal amplitude in the distortion debugging audio data exceeds a preset amplitude value.
The processor is further configured to close the audio output path of the speaker 211 to turn off the sound output of the speaker 211 in response to invoking the audio capture path of the speaker 211.
The processor is further configured to: in response to invoking the audio acquisition path of the speaker 211, sending current audio data acquired through the audio acquisition path of the speaker 211 to the first ADC221 for analog-to-digital conversion; the current audio data after the analog-to-digital conversion is sent to the audio processing chip 23 for audio processing and output.
The processor is further configured to: in response to invoking the audio capture path of the microphone 212, sending current audio data captured through the audio capture path of the microphone 212 to the second ADC223 for analog-to-digital conversion; the current audio data after the analog-to-digital conversion is sent to the audio processing chip 23 for audio processing and output.
The terminal equipment that this embodiment provided when guaranteeing not increase cost or lower cost, can realize the recording function of noisy environment high-fidelity effectively, also can guarantee higher recording range and reduction degree in medium or little volume environment moreover to terminal equipment's recording quality and efficiency have been promoted effectively, and then user experience degree has been promoted.
Fig. 3 is a schematic structural diagram of an electronic device according to another embodiment of the present invention. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, and the processor executes the program to realize the audio acquisition method of the terminal device in the above embodiment. The electronic device 30 shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 3, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 connecting the various system components (including the memory 32 and the processor 31).
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM)321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
The processor 31 executes various functional applications and data processing, such as an audio capture method of a terminal device in the above embodiments of the present invention, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through input/output (I/O) interfaces 35. Also, model-generating device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via network adapter 36. As shown in FIG. 3, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
The present embodiment also provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps in the audio capturing method of the terminal device as in the above embodiments.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible embodiment, the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of an audio acquisition method implementing the terminal device as in the above embodiments, when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may execute entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (16)
1. The audio acquisition method of the terminal equipment is characterized in that the terminal equipment comprises a loudspeaker and a microphone;
the audio acquisition method comprises the following steps:
acquiring distortion debugging audio data of a preset time period through the microphone; and the number of the first and second groups,
and judging whether at least a part of distortion data exists in the distortion debugging audio data, if so, discarding the distortion debugging audio data in a preset time period, and calling an audio acquisition channel of the loudspeaker to acquire the current audio data through the loudspeaker.
2. The audio acquisition method of claim 1, further comprising:
and judging whether at least a part of distortion data exists in the distortion debugging audio data, if not, retaining the distortion debugging audio data in a preset time period, and calling the microphone to collect the current audio data through the microphone.
3. The audio acquisition method as claimed in claim 1 or 2, wherein the step of determining whether at least a portion of distortion data is present in the distortion debugging audio data comprises:
judging whether at least one part of signal amplitude in the distortion debugging audio data exceeds a preset amplitude value or not; or the like, or, alternatively,
and judging whether at least one part of signal energy in the distortion debugging audio data exceeds a preset energy value.
4. The audio acquisition method of claim 1, further comprising:
and in response to calling the audio acquisition channel of the loudspeaker, closing the audio output channel of the loudspeaker to close the sound output of the loudspeaker.
5. The audio acquisition method according to claim 1, wherein the terminal device further comprises a first ADC, a second ADC, and an audio processing chip;
the first ADC is respectively in communication connection with an audio acquisition channel of the loudspeaker and the audio processing chip;
the second ADC is respectively in communication connection with the microphone and the audio processing chip;
the audio acquisition method further comprises:
responding to calling of an audio acquisition channel of the loudspeaker, and sending current audio data acquired through the audio acquisition channel of the loudspeaker to the first ADC for analog-to-digital conversion;
and sending the current audio data after the analog-to-digital conversion to the audio processing chip for audio processing and outputting.
6. The audio acquisition method according to claim 5, wherein the audio processing chip comprises an HPF module, a Dgain module, an EQ module and an InCode module;
the HPF module is respectively in communication connection with the first ADC and the second ADC, and filters out a direct-current component of the received audio data;
the Dgain module is in communication connection with the HPF module and is used for amplifying the received audio data;
the EQ module is in communication connection with the Dgain module, and performs equalization processing on the received audio data;
the InCode module is in communication connection with the EQ module, and encodes the received audio data to generate a corresponding sound recording file.
7. The audio capturing method according to claim 5, wherein the terminal device further includes a first PGA and a second PGA;
the first ADC is in communication connection with the audio processing chip through the first PGA;
the second ADC is in communication connection with the audio processing chip through the second PGA.
8. A terminal device, characterized in that the terminal device comprises a speaker, a microphone and a processor;
the processor is configured to acquire distortion debugging audio data for a preset time period through the microphone;
the processor is further configured to determine whether at least a portion of the distortion debugging audio data exists in the distortion debugging audio data, if so, discard the distortion debugging audio data for a preset time period, and call an audio acquisition path of the speaker to acquire current audio data through the speaker.
9. The terminal device of claim 8, wherein the processor is further configured to:
and judging whether at least a part of distortion data exists in the distortion debugging audio data, if not, retaining the distortion debugging audio data in a preset time period, and calling the microphone to collect the current audio data through the microphone.
10. The terminal device according to claim 8 or 9, wherein the processor is configured to determine whether at least a portion of signal amplitudes in the distortion debugging audio data exceed a preset amplitude value; or the like, or, alternatively,
the processor is configured to determine whether at least a portion of signal amplitudes in the distortion debugging audio data exceed a preset amplitude value.
11. The terminal device of claim 8, wherein the processor is further configured to:
and in response to calling the audio acquisition channel of the loudspeaker, closing the audio output channel of the loudspeaker to close the sound output of the loudspeaker.
12. The terminal device of claim 8, wherein the terminal device further comprises a first ADC, a second ADC, and an audio processing chip;
the first ADC is respectively in communication connection with an audio acquisition channel of the loudspeaker and the audio processing chip;
the second ADC is respectively in communication connection with the microphone and the audio processing chip;
the processor is further configured to:
responding to calling of an audio acquisition channel of the loudspeaker, and sending current audio data acquired through the audio acquisition channel of the loudspeaker to the first ADC for analog-to-digital conversion;
and sending the current audio data after the analog-to-digital conversion to the audio processing chip for audio processing and outputting.
13. The terminal device of claim 12, wherein the audio processing chip includes an HPF module, a Dgain module, an EQ module, and an InCode module;
the HPF module is respectively in communication connection with the first ADC and the second ADC, and is configured to filter out a direct-current component of the received audio data;
the Dgain module is in communication connection with the HPF module and is configured to amplify the received audio data;
the EQ module is in communication connection with the Dgain module and is configured to perform equalization processing on received audio data;
the InCode module is in communication connection with the EQ module and is configured to encode received audio data to generate a corresponding sound recording file.
14. The terminal device according to claim 12, wherein the terminal device further comprises a first PGA and a second PGA;
the first ADC is in communication connection with the audio processing chip through the first PGA;
the second ADC is in communication connection with the audio processing chip through the second PGA.
15. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the audio capture method of the terminal device according to any one of claims 1 to 7 when executing the computer program.
16. A computer-readable medium, on which computer instructions are stored, characterized in that the computer instructions, when executed by a processor, implement the steps of the audio acquisition method of a terminal device according to any one of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011085504.XA CN112202956A (en) | 2020-10-12 | 2020-10-12 | Terminal equipment and audio acquisition method thereof |
PCT/CN2021/123367 WO2022078351A1 (en) | 2020-10-12 | 2021-10-12 | Terminal device and audio collection method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011085504.XA CN112202956A (en) | 2020-10-12 | 2020-10-12 | Terminal equipment and audio acquisition method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112202956A true CN112202956A (en) | 2021-01-08 |
Family
ID=74014056
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011085504.XA Pending CN112202956A (en) | 2020-10-12 | 2020-10-12 | Terminal equipment and audio acquisition method thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112202956A (en) |
WO (1) | WO2022078351A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022078351A1 (en) * | 2020-10-12 | 2022-04-21 | 展讯通信(上海)有限公司 | Terminal device and audio collection method therefor |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115641882B (en) * | 2022-10-27 | 2023-05-12 | 深圳市移文科技有限公司 | Intelligent starting method and device for recording of wearable equipment and wearable equipment |
CN117155482B (en) * | 2023-10-24 | 2024-03-19 | 天津七一二移动通信有限公司 | External device for eliminating interference audio frequency for industrial personal computer and implementation method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106024035A (en) * | 2016-05-04 | 2016-10-12 | 珠海市魅族科技有限公司 | Audio processing method and terminal |
CN106373603A (en) * | 2016-09-08 | 2017-02-01 | Tcl通讯(宁波)有限公司 | Device and method for controlling recording according to sound volume |
CN107071127A (en) * | 2017-04-28 | 2017-08-18 | 维沃移动通信有限公司 | A kind of way of recording and mobile terminal |
CN109040378A (en) * | 2018-09-21 | 2018-12-18 | 深圳市万普拉斯科技有限公司 | Method, apparatus and mobile terminal based on sound output element acquisition external sound wave |
WO2019166030A1 (en) * | 2018-02-28 | 2019-09-06 | 成都星环科技有限公司 | Smart sound field adaptation system, smart sound field calibration system, and smart speech processing system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20190037844A (en) * | 2017-09-29 | 2019-04-08 | 엘지전자 주식회사 | Mobile terminal |
CN112202956A (en) * | 2020-10-12 | 2021-01-08 | 展讯通信(上海)有限公司 | Terminal equipment and audio acquisition method thereof |
-
2020
- 2020-10-12 CN CN202011085504.XA patent/CN112202956A/en active Pending
-
2021
- 2021-10-12 WO PCT/CN2021/123367 patent/WO2022078351A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106024035A (en) * | 2016-05-04 | 2016-10-12 | 珠海市魅族科技有限公司 | Audio processing method and terminal |
CN106373603A (en) * | 2016-09-08 | 2017-02-01 | Tcl通讯(宁波)有限公司 | Device and method for controlling recording according to sound volume |
CN107071127A (en) * | 2017-04-28 | 2017-08-18 | 维沃移动通信有限公司 | A kind of way of recording and mobile terminal |
WO2019166030A1 (en) * | 2018-02-28 | 2019-09-06 | 成都星环科技有限公司 | Smart sound field adaptation system, smart sound field calibration system, and smart speech processing system |
CN109040378A (en) * | 2018-09-21 | 2018-12-18 | 深圳市万普拉斯科技有限公司 | Method, apparatus and mobile terminal based on sound output element acquisition external sound wave |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022078351A1 (en) * | 2020-10-12 | 2022-04-21 | 展讯通信(上海)有限公司 | Terminal device and audio collection method therefor |
Also Published As
Publication number | Publication date |
---|---|
WO2022078351A1 (en) | 2022-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112202956A (en) | Terminal equipment and audio acquisition method thereof | |
WO2015192711A1 (en) | Pick-up device and method | |
CN101668085B (en) | Method for regulating voice output of mobile terminal and mobile terminal | |
CN109817238B (en) | Audio signal acquisition device, audio signal processing method and device | |
US20080292114A1 (en) | Audio reproducing apparatus | |
US20130177163A1 (en) | Noise reduction using a speaker as a microphone | |
JP6608380B2 (en) | Communication system, method and apparatus with improved noise resistance | |
CN112509595A (en) | Audio data processing method, system and storage medium | |
CN105872909B (en) | A kind of method and device for realizing Audio Signal Processing | |
CN112688965B (en) | Conference audio sharing method and device, electronic equipment and storage medium | |
CN112235462A (en) | Voice adjusting method, system, electronic equipment and computer readable storage medium | |
CN110366067B (en) | Far field voice module echo cancellation circuit and device | |
US20070064960A1 (en) | Apparatus to convert analog signal of array microphone into digital signal and computer system including the same | |
CN104168000A (en) | Audio processing system and method | |
WO2020057656A1 (en) | Method, device and mobile terminal for collecting external sound wave based on sound output element | |
CN111083250A (en) | Mobile terminal and noise reduction method thereof | |
CN112637438B (en) | Entrance guard double-end intercom method and system based on single-line transmission | |
KR20110063001A (en) | Method and apparatus for enhancing a voice signal in a noisy environment | |
CN101820563B (en) | Speaker protection system | |
CN108154887B (en) | Information processing method and device and terminal | |
CN112750452A (en) | Voice processing method, device and system, intelligent terminal and electronic equipment | |
CN203014945U (en) | Mobile terminal | |
CN113763945B (en) | Voice awakening method, device, equipment and storage medium | |
CN111147655A (en) | Model generation method and device | |
CN111899764B (en) | Audio monitoring method and device, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210108 |