CN114449391A - Recording method and device and electronic equipment - Google Patents

Recording method and device and electronic equipment Download PDF

Info

Publication number
CN114449391A
CN114449391A CN202210117873.5A CN202210117873A CN114449391A CN 114449391 A CN114449391 A CN 114449391A CN 202210117873 A CN202210117873 A CN 202210117873A CN 114449391 A CN114449391 A CN 114449391A
Authority
CN
China
Prior art keywords
microphone
input
user
gain
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210117873.5A
Other languages
Chinese (zh)
Inventor
林翔
游利文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210117873.5A priority Critical patent/CN114449391A/en
Publication of CN114449391A publication Critical patent/CN114449391A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/08Mouthpieces; Microphones; Attachments therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2430/00Signal processing covered by H04R, not provided for in its groups
    • H04R2430/01Aspects of volume control, not necessarily automatic, in sound systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2499/00Aspects covered by H04R or H04S not otherwise provided for in their subgroups
    • H04R2499/10General applications
    • H04R2499/11Transducers incorporated or for use in hand-held devices, e.g. mobile phones, PDA's, camera's

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses a recording method, a recording device and electronic equipment, and belongs to the field of communication. The recording method is applied to electronic equipment, wherein a first microphone is arranged on the electronic equipment, external equipment is connected with the electronic equipment, a second microphone is arranged on the external equipment, and the method comprises the following steps: receiving a first input of a user in a case where audio signals are acquired through the first microphone and the second microphone; adjusting a gain parameter of the first microphone and/or the second microphone in response to the first input.

Description

Recording method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a recording method, a recording device and electronic equipment.
Background
At present, in the process of recording multi-channel audio, a plurality of sound receiving devices are adopted to collect sound sources at different positions in the same scene and are combined into an audio file, so that the problem of large sound size difference of multi-channel sound may occur. If, when user A shoots the video for user B with the cell-phone to start the bluetooth MIC, and the bluetooth MIC is worn on B one's body, only the bluetooth MIC is carrying out the radio reception, and the microphone on the cell-phone does not work, has the unable multichannel recording that realizes, and only through the sound size of user A and B that the bluetooth MIC gathered, each side sound size in the video file that finally generates can have the difference, needs the later stage to handle the audio of audio file, and is more loaded down with trivial details.
Disclosure of Invention
An object of the embodiments of the present application is to provide a recording method, an apparatus, and an electronic device, which can solve the problem that a sound size difference of multiple paths of sounds is large in a process of performing multi-channel audio recording.
In a first aspect, an embodiment of the present application provides a recording method, which is applied to an electronic device, where the electronic device is provided with a first microphone, an external device is connected to the electronic device, and the external device is provided with a second microphone, and the recording method includes: the method comprises the following steps:
receiving a first input of a user in a case where audio signals are acquired through the first microphone and the second microphone;
adjusting a gain parameter of the first microphone and/or the second microphone in response to the first input.
In a second aspect, an embodiment of the present application provides a sound recording device, which is applied to an electronic device, the electronic device is provided with a first microphone, an external device is connected to the electronic device, the external device is provided with a second microphone, and the sound recording device includes:
a first receiving module, configured to receive a first input of a user when an audio signal is acquired by the first microphone and the second microphone;
a first response module to adjust a gain parameter of the first microphone and/or the second microphone in response to the first input.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the electronic equipment is provided with the first microphone, the external equipment is connected with the electronic equipment, the external equipment is provided with the second microphone, and under the condition that the electronic equipment simultaneously acquires audio signals through the first microphone and the second microphone, the gain parameters of the first microphone and/or the second microphone are/is adjusted by receiving the first input of a user, so that the finally generated audio file meets the subjective listening feeling requirements of the user, and the problem that the clear sound size difference of multi-path sound is large is avoided.
Drawings
FIG. 1 is a schematic flow chart of a recording method according to an embodiment of the present application;
FIG. 2 is a schematic view of a recording interface according to an embodiment of the present application;
FIG. 3 is a schematic view of a camera interface according to an embodiment of the present application;
FIG. 4 is a system path block diagram of an embodiment of the present application;
FIG. 5 is a schematic diagram of a peripheral assembly of an embodiment of the present application;
FIG. 6 is a block diagram of a recording apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a hardware configuration diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/", and generally means that the former and latter related objects are in an "or" relationship.
The recording method, the recording apparatus, and the electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a recording method, which is applied to an electronic device, where the electronic device is provided with a first microphone, an external device is connected to the electronic device, and the external device is provided with a second microphone, and the method includes the following steps:
step 101, receiving a first input of a user under the condition that an audio signal is acquired through a first microphone and a second microphone;
optionally, the external device and the electronic device establish a connection relationship through near field communication, such as bluetooth, WIFI, and the like.
Alternatively, the external device may be a TWS bluetooth headset or a bluetooth microphone.
In this step, the first input is used to trigger an adjustment of a gain parameter of the first microphone and/or the second microphone. The first input can be an input operation on the electronic device, such as an input on a volume key, or an input on a control interface; the first input may be an input operation performed simultaneously on the external device and the electronic device, such as adjusting volume keys of the electronic device and the external device simultaneously, or the like.
In response to the first input, a gain parameter of the first microphone and/or the second microphone is adjusted, step 102.
The gain parameter of the first microphone and/or the second microphone may be adjusted before or during the recording of the sound. In the step, gain parameters are adjusted, that is, amplification factors of the sound collected by the first microphone and/or the second microphone are adjusted, so that the sound of each path of sound signal is amplified or reduced to different degrees before the multiple paths of sound signals are synthesized, and the sound of each path of sound signal is equalized.
In the above embodiment, the user can adjust the gain parameters of the sound signals collected by the second microphone on the external device and the first microphone on the electronic device based on the first input, so as to equalize the sound sizes of the audio signals on the multiple recording channels, avoid the problem of large difference in definition of multiple paths of sound in the finally generated audio file, and meet the subjective auditory perception requirement of the user.
In an embodiment, before step 101, the method further comprises:
displaying a gain control interface;
receiving a first input of a user, specifically: a first input to the gain control interface from a user is received.
For example, the gain control interface may be called up and displayed through a setup access of the electronic device, and the external device and the electronic device may have separate gain control interfaces respectively, or the external device and the electronic device correspond to one gain control interface, which is not limited thereto.
The first input may include, but is not limited to, at least one of a click input, a press input, a long press input, a pinch input, a drag input, a slide input, and a swipe input, that is, the first input may be one of the above-mentioned inputs, or may also be a combination input of two or more of the above-mentioned inputs.
In this embodiment, by displaying the gain control interface, a user can adjust the gain parameter of the first microphone and/or the second microphone based on the gain control interface, which is convenient for the user to operate.
In a specific embodiment, a first control and a second control are displayed on the gain control interface; the first control is used for adjusting a gain parameter of the first microphone; the second control is used for adjusting the gain parameter of the second microphone; receiving a first input of a user to the gain control interface, specifically: a first input by a user to the first control and/or the second control is received.
Illustratively, as in fig. 2 and 3, the external device is a TWS headset and the bluetooth MIC (microphone) electronic device is a cell phone, the first control b3 and the second control (b 1 and b2 in fig. 2 and 3) are progress bar controls, the progress bar control b1 is used for adjusting a gain parameter of the first microphone on the cell phone, the progress bar control b2 is used for adjusting a gain parameter of the bluetooth MIC, and the progress bar control b3 is used for adjusting a gain parameter of the microphone on the TWS headset.
In a specific example, as shown in fig. 2, when the mobile phone enters the display interface of the recording application, the monitoring mode is turned on by default, the gain control interface is displayed, at this time, sounds received by the microphone on the TWS headset, the bluetooth microphone, and the microphone on the mobile phone are transmitted back to the speaker of the TWS headset in real time for playing, and a user may adjust the gain parameters of audio signals collected on multiple recording channels in real time on the gain control interface, for example, the recording gain percentage is controlled by adjusting the progress bar control, so as to adjust the sound level of multiple audio signals in a balanced manner, until the subjective listening feeling requirement of the user is met.
In a specific application scenario, if users a and B, C, D are in a meeting with 4 people, the user a wears the TWS headset to enter a recording interface, and after the recording gain is adjusted by the mobile phone, the monitoring mode can be manually closed; then the Bluetooth microphone is clamped on the collar of the B, two TWS earphones (left and right sound channels) are respectively worn on the C and the D, and the user A holds the mobile phone to record. Opening the recorder to start multi-channel recording: a microphone on the mobile phone picks up the voice of the user A; the Bluetooth microphone picks up the sound of B; microphones on the two TWS headphones pick up the sound of C and D, respectively; the sound sizes of all parties in the finally generated sound recording file can achieve the sound recording effect required by the user A.
In another specific example, as shown in fig. 3, when a cell phone enters the display interface of a camera application, the system first detects whether both the bluetooth MIC and the TWS headset are enabled. And if so, entering a sound pre-monitoring mode and displaying a gain control interface. At this time, the sound received by the Bluetooth microphone and the microphone on the mobile phone is transmitted back to the speaker at the TWS earphone end in real time for playing, and a user can adjust the gain parameters of the three paths of audio signals in real time on a gain control interface and balance and adjust the recording gain of the microphone on the TWS earphone, the Bluetooth microphone and the microphone on the mobile phone.
In a specific application scenario, a child performs a program or introduces the program, the Bluetooth microphone is clamped at the collar of the child, a user takes a mobile phone under a desk to shoot, and the TWS earphone is worn on the ear. At the moment, the user operates the mobile phone to enter a camera shooting mode, and the user can adjust the recording gain on the interface in real time; if the user only needs to record the sound of a child, the user can adjust the recording gain of the TWS earphone and the microphone of the mobile phone to be 0 percent (namely the TWS earphone and the microphone on the mobile phone are muted), and the system only receives the sound of the Bluetooth microphone; the sound recorded by the Bluetooth microphone is processed by a DSP in a digital signal processor of the mobile phone and is directly transmitted back to a loudspeaker of the TWS earphone for playing, so that a user can monitor the sound of the Bluetooth microphone in real time; the recording gain percentage is controlled by adjusting the progress bar 1 to balance and adjust the sound size of the multi-channel audio signals until the subjective auditory sensation requirements of users are met. It should be pointed out that the recording gain of the three channels can be adjusted in real time in the whole shooting process, and finally the sound of each party in the video file generated after shooting is finished meets the subjective listening requirement of the user.
In the above embodiment, the gain parameters of the audio signals on the multiple recording channels are adjusted by displaying the gain control interface, displaying the first control and the second control for adjusting the gain parameters of the first microphone and the second microphone on the gain control interface, and adjusting the percentage of the gain parameters of the first microphone and the second microphone based on the first control and the second control.
In one embodiment, the gain control interface is displayed on a display interface of a recording application or a display interface of a camera application.
Illustratively, as shown in FIG. 2, this shows a gain control interface displayed on a display interface of a recording application; as shown in fig. 3, a gain control interface displayed on a display interface of a camera application is shown.
Further, in one embodiment, a gain control interface is displayed, comprising:
receiving a second input of the user to a display interface of the recording application program or a display interface of the camera application program;
in response to the second input, a gain control interface is displayed.
As an example, as shown in fig. 2 and 3, a listening switch a is displayed on the display interface of the sound recording application and the display interface of the camera application, and the second input is a click input of the listening switch a by the user.
As another example, the second input is a sliding input by the user to an edge of the camera interface.
In this embodiment, the gain control interface may be displayed based on a second input of the user to the display interface of the recording application or the display interface of the camera application, thereby implementing the adjustment of the gain parameters of the audio signals on the plurality of recording channels.
In an embodiment, after step 102, the method further comprises:
and synthesizing the audio signals collected by the first microphone and the second microphone into a target audio signal.
In this embodiment, the gain parameters of the multiple audio signals in the synthesized target audio signal are adjusted based on the first input, so that the target audio signal can satisfy the subjective listening requirement of the user.
Next, the recording method provided by the present application will be described by taking TWS headphones and bluetooth microphones as examples of external devices.
Referring to fig. 4, shown is a system path block diagram of a microphone on an electronic device, a microphone on a TWS headset, and a bluetooth microphone.
As shown in fig. 4, Gain0 controls the speaker playing Gain on the TWS headset, which can be adjusted by the volume key; gain1 controls the microphone recording Gain on the TWS headset; gain2 controls the microphone recording Gain on the Bluetooth microphone; gain3 controls the recording Gain of the microphone on the mobile phone; in a monitoring mode, in a recording or video-recording scene, a microphone on the TWS earphone, a Bluetooth microphone and a microphone on the mobile phone work simultaneously, and the system transmits the three paths of recording signals back to a loudspeaker of the TWS earphone in real time for playing, so that a user can monitor the sound volume of the three paths of recording signals in real time. Therefore, the user can adjust the gain of the three paths of recording signals in real time to enable the sound in the obtained recording file or video file to meet the subjective requirements of the user, and a better recording effect is achieved.
In one embodiment, the present application further provides a peripheral assembly comprising:
the device comprises a shell, a first storage space and a second storage space are arranged on the shell;
the first external equipment is arranged in the first placing space and is provided with a microphone and a first wireless transmission module;
the second external equipment is arranged in the second placing space and is provided with a microphone and a second wireless transmission module;
the first external device can be in communication connection with the electronic device through the first wireless transmission module, and the second external device can be in communication connection with the electronic device through the second wireless transmission module.
Specifically, when multi-channel recording is performed, based on a first input of a user to the electronic device, gain parameters of audio signals collected by the first external device, the second external device and a microphone on the electronic device are adjusted.
As shown in fig. 5, the first external device is a microphone device 2, and the second external device is a pair of earphones 1, wherein the earphones 1 are provided with a loudspeaker 11 and a microphone 12. Specifically, the headset is a TWS headset, and the microphone device is a bluetooth microphone.
In the above example, by using the mixed sound MIX processing in the digital signal processing DSP of the mobile phone, the user can listen to the recording effect in advance in real time in a scene where the user uses the bluetooth microphone and the TWS headset at the same time, and the gain of the three paths of sound of the microphone on the TWS headset, the bluetooth microphone, and the microphone on the mobile phone is displayed openly, so that the user can adjust the gain parameter in real time, and different scene requirements of the user are met. If a user uses the Bluetooth microphone and the TWS earphone to record, the mobile phone is placed in a pocket, Gain3 corresponding to the microphone on the mobile phone can be adjusted to be 0 (mute state) in a recording interface, and only the sound of the Bluetooth microphone and the microphone on the TWS earphone is recorded; if the user is taken as a photographer in a video recording scene, and only the voice of the photographed person is desired to be recorded, the Gain of Gain3 corresponding to the microphone on the mobile phone can be adjusted to 0 (mute state), and when the user takes a mobile phone for shooting, the voice of the user cannot be recorded into the generated video file; if the user wants to record the sound of the person to be shot and the person to be shot at the same time in a video recording scene, the recording Gain of Gain1/2/3 can be dynamically adjusted in real time, and the multi-path sound in the finally generated recording file or video file can be clearly heard.
According to the recording method provided by the embodiment of the application, the execution main body can be a recording device. The recording method executed by the recording device is taken as an example in the embodiment of the present application, and the recording device provided in the embodiment of the present application is described.
As shown in fig. 6, an embodiment of the present application provides a sound recording apparatus 600, which is applied to an electronic device, wherein a first microphone is disposed on the electronic device, an external device is connected to the electronic device, a second microphone is disposed on the external device, and the sound recording apparatus 600 includes:
a first receiving module 601, configured to receive a first input of a user when an audio signal is acquired through a first microphone and a second microphone;
a first response module 602 is configured to adjust a gain parameter of the first microphone and/or the second microphone in response to the first input.
Optionally, the apparatus 600 further comprises:
the display module is used for displaying the gain control interface;
the first receiving module 601 is specifically configured to: a first input to the gain control interface from a user is received.
Optionally, a first control and a second control are displayed on the gain control interface; the first control is used for adjusting a gain parameter of the first microphone; the second control is used for adjusting the gain parameter of the second microphone;
the first receiving module 601 is specifically configured to: a first input by a user to the first control and/or the second control is received.
Optionally, the gain control interface is displayed on a display interface of the recording application or a display interface of the camera application.
Optionally, the display module comprises:
the first display submodule is used for receiving second input of a user on a display interface of the sound recording application program or a display interface of the camera application program;
and the second display submodule is used for responding to a second input and displaying the gain control interface.
Optionally, the apparatus 600 further comprises:
and the processing module is used for synthesizing the audio signals collected by the first microphone and the second microphone into a target audio signal.
The sound recording apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The recording device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The recording device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in an embodiment of the present application, and includes a processor 701 and a memory 702, where the memory 702 stores a program or an instruction that can be executed on the processor 701, and when the program or the instruction is executed by the processor 701, the steps of the foregoing recording method embodiment are implemented, and the same technical effect can be achieved, and details are not described here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The electronic device 800 is provided with a first microphone, the external device is connected to the electronic device 800, the external device is provided with a second microphone, and specifically, the user input unit 807 is configured to receive a first input of a user when an audio signal is acquired by the first microphone and the second microphone.
A processor 810 for adjusting a gain parameter of the first microphone and/or the second microphone in response to the first input.
Optionally, a display unit 806, configured to display a gain control interface; the user input unit 807 is specifically configured to receive a first input from a user to the gain control interface.
Optionally, a first control and a second control are displayed on the gain control interface; wherein the first control is used for adjusting a gain parameter of the first microphone; the second control is used for adjusting a gain parameter of the second microphone;
the user input unit 807 is specifically configured to receive a first input of the first control and/or the second control by a user.
Optionally, the gain control interface is displayed on a display interface of a recording application or a display interface of a camera application.
Optionally, the user input unit 807 is further configured to receive a second input from the user to the display interface of the sound recording application or the display interface of the camera application; a display unit 806, configured to display the gain control interface in response to the second input.
Optionally, after adjusting the gain parameter of the first microphone and/or the second microphone in response to the first input, the method further comprises:
the processor 810 is further configured to synthesize the audio signals collected by the first microphone and the second microphone into a target audio signal.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics Processing Unit 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes at least one of a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, and the like), and the like. Further, the memory 809 can include volatile memory or nonvolatile memory, or the memory 809 can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 809 in the present embodiment includes, but is not limited to, these and any other suitable types of memory.
Processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above-mentioned recording method embodiment, and can achieve the same technical effect, and for avoiding repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
The embodiment of the present application provides a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element identified by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A recording method is applied to electronic equipment, wherein a first microphone is arranged on the electronic equipment, external equipment is connected with the electronic equipment, and a second microphone is arranged on the external equipment, and the recording method comprises the following steps: the method comprises the following steps:
receiving a first input of a user in a case where audio signals are acquired through the first microphone and the second microphone;
adjusting a gain parameter of the first microphone and/or the second microphone in response to the first input.
2. The audio recording method of claim 1, wherein before the receiving the first input from the user, the method further comprises:
displaying a gain control interface;
the receiving of the first input of the user specifically includes:
a first input to the gain control interface from a user is received.
3. The audio recording method according to claim 2, wherein a first control and a second control are displayed on the gain control interface; wherein the first control is used for adjusting a gain parameter of the first microphone; the second control is used for adjusting a gain parameter of the second microphone;
the receiving a first input of the user to the gain control interface specifically includes:
receiving a first input of a user to the first control and/or the second control.
4. The audio recording method according to claim 2, wherein the gain control interface is displayed on a display interface of an audio recording application or a display interface of a camera application.
5. The audio recording method of claim 4, wherein the displaying the gain control interface comprises:
receiving a second input of the user to the display interface of the sound recording application program or the display interface of the camera application program;
displaying the gain control interface in response to the second input.
6. The sound recording method of claim 1, wherein after the adjusting gain parameters of the first microphone and/or the second microphone in response to the first input, the method further comprises:
and synthesizing the audio signals collected by the first microphone and the second microphone into a target audio signal.
7. The utility model provides a recording device, its characterized in that is applied to electronic equipment, be provided with first microphone on the electronic equipment, external equipment with electronic equipment connects, be provided with the second microphone on the external equipment, recording device includes:
a first receiving module, configured to receive a first input of a user when an audio signal is acquired by the first microphone and the second microphone;
a first response module to adjust a gain parameter of the first microphone and/or the second microphone in response to the first input.
8. The audio recording device of claim 7, further comprising:
the display module is used for displaying the gain control interface;
the first receiving module is specifically configured to: a first input to the gain control interface from a user is received.
9. An electronic device, comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the sound recording method as claimed in any one of claims 1-6.
10. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the sound recording method as claimed in any one of claims 1 to 6.
CN202210117873.5A 2022-02-08 2022-02-08 Recording method and device and electronic equipment Pending CN114449391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210117873.5A CN114449391A (en) 2022-02-08 2022-02-08 Recording method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210117873.5A CN114449391A (en) 2022-02-08 2022-02-08 Recording method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114449391A true CN114449391A (en) 2022-05-06

Family

ID=81371475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210117873.5A Pending CN114449391A (en) 2022-02-08 2022-02-08 Recording method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114449391A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022536A (en) * 2022-05-24 2022-09-06 Oppo广东移动通信有限公司 Video shooting method and device, electronic equipment and storage medium
CN115361636A (en) * 2022-08-15 2022-11-18 Oppo广东移动通信有限公司 Sound signal adjusting method and device, terminal equipment and storage medium
CN117135254A (en) * 2023-03-28 2023-11-28 荣耀终端有限公司 Voice call method and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115022536A (en) * 2022-05-24 2022-09-06 Oppo广东移动通信有限公司 Video shooting method and device, electronic equipment and storage medium
CN115022536B (en) * 2022-05-24 2023-10-03 Oppo广东移动通信有限公司 Video shooting method, device, electronic equipment and storage medium
CN115361636A (en) * 2022-08-15 2022-11-18 Oppo广东移动通信有限公司 Sound signal adjusting method and device, terminal equipment and storage medium
CN117135254A (en) * 2023-03-28 2023-11-28 荣耀终端有限公司 Voice call method and electronic equipment

Similar Documents

Publication Publication Date Title
EP3163748B1 (en) Method, device and terminal for adjusting volume
CN114449391A (en) Recording method and device and electronic equipment
CN110166890B (en) Audio playing and collecting method and device and storage medium
WO2023151526A1 (en) Audio acquisition method and apparatus, electronic device and peripheral component
CN106454644B (en) Audio playing method and device
EP3364638B1 (en) Recording method, recording playing method and apparatus, and terminal
CN108966067B (en) Play control method and related product
US20170195817A1 (en) Simultaneous Binaural Presentation of Multiple Audio Streams
CN106445453A (en) Method and device for switching audio output paths
US11399254B2 (en) Apparatus and associated methods for telecommunications
CN111770404A (en) Recording method, recording device, electronic equipment and readable storage medium
WO2021244159A1 (en) Translation method and apparatus, earphone, and earphone storage apparatus
WO2019237667A1 (en) Method and apparatus for playing audio data
JP4992591B2 (en) Communication system and communication terminal
CN112764710A (en) Audio playing mode switching method and device, electronic equipment and storage medium
WO2021244135A1 (en) Translation method and apparatus, and headset
CN109360577B (en) Method, apparatus, and storage medium for processing audio
CN109819188B (en) Video processing method and terminal equipment
WO2018058331A1 (en) Method and apparatus for controlling volume
US11368611B2 (en) Control method for camera device, camera device, camera system, and storage medium
US20230319217A1 (en) Recording Method and Device
CN113407147A (en) Audio playing method, device, equipment and storage medium
CN109429152A (en) Speaker unit, electronic equipment, effect adjusting method and device
JP6930280B2 (en) Media capture / processing system
CN111756893A (en) Audio output method, electronic device, and 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