Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the audio recording method provided by the embodiment of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Referring to fig. 1, a flowchart illustrating steps of an audio recording method provided in an embodiment of the present application is shown, and as shown in fig. 1, the audio recording method may specifically include the following steps:
step 101: in the audio recording process, the type identification of a plurality of sounds and the volume identification of each sound included in the audio are displayed.
The embodiment of the application can be applied to a scene that a user adjusts the sound sizes of different sound types in the audio recording process.
The embodiment of the application can be applied to a scene that multiple microphones record audio, in practical application, the hardware configuration of mobile equipment is higher and higher, and most of equipment uses 2 microphones, 3 microphones and even 4 microphones; when the voice is recorded, the angle information of the horizontal plane in the space can be acquired by utilizing the microphones, the front and back directions cannot be distinguished by 2 microphones, and the current sound source direction can be displayed on the horizontal plane by positioning the 3 microphones in any direction on the horizontal plane.
In the process of recording the audio by using the multiple microphones, after the audio is recorded, the recorded audio can be analyzed in real time to obtain the sound types of the multiple sounds contained in the recorded audio and the volume of each sound. And then the type identification corresponding to a plurality of sound types and the volume identification of the volume of each sound can be displayed on the audio recording interface.
In some examples, the type identifier may be an identifier displayed in text on the audio recording interface, such as text "noise", "human voice", "music voice", etc., to mark the type identifiers of different sounds.
In some examples, the type identifier may be an identifier displayed on the audio recording interface in the form of an image, as shown in fig. 2, an avatar is displayed on the audio recording interface, the type identifier may be used to represent a human voice, a horn image may be used to represent a type identifier of noise, a note image may be used to represent a type identifier of a musical sound, and the like.
For example, the volume of the sound may be displayed in the form of a volume control bar for the sound corresponding to the different types of identifiers, or the volume of each sound may be displayed in the form of a volume marker, for example, red indicates that the volume is too large, green indicates that the volume is too small, and the like.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation of the embodiments of the present application.
After displaying the type identifications of the plurality of sounds included in the audio and the volume identification of each sound, step 102 is performed.
Step 102: a first input is received for a first one of the type identifications.
The first type identifier refers to a type identifier corresponding to a sound of which the volume needs to be adjusted by the user among the plurality of types of identifiers. For example, the multiple types of identifiers include a type identifier of music sound, a type identifier of noise, and a type identifier of human voice, and when the user adjusts the volume of the music sound, the type identifier of the music sound is used as a first type identifier; and when the user adjusts the volume of the noise and the voice, the type identifier of the noise and the type identifier of the voice are used as the first type identifier and the like.
The first input refers to an input performed by a user for adjusting the volume of the sound corresponding to the first type identifier.
In some examples, the first input may be an input formed by a sliding operation performed by a user, for example, a volume control bar corresponding to multiple types of identifiers is displayed on the audio recording interface, the user may adjust the volume level of the first type of identifier by sliding a touch button on the volume control bar corresponding to the first type of identifier, and the operation of the user sliding a button on the volume control bar forms the first input.
In some examples, the first input may be an input formed by a click operation performed by a user, for example, two volume adjustment regions, one volume up region and the other volume down region, may be preset in the audio recording interface, and when the user needs to adjust the volume of the first type identifier, the displayed first type identifier may be double-clicked first, and then the volume up region or the volume down region is clicked, so that the volume adjustment of the first type identifier may be implemented, at this time, an operation performed by the user to click the first type identifier and an operation performed by the user to click the volume adjustment region may be regarded as the first input.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
After displaying the type identifiers of the plurality of sounds and the volume identifier of each sound, a first input of a first type identifier of the type identifiers may be received, and then step 103 is performed.
Step 103: and responding to the first input, and adjusting the volume of the first sound corresponding to the first type identification.
The first sound is the sound corresponding to the first type identifier.
After receiving a first input for the first type identifier, a volume level of a first sound corresponding to the first type identifier may be adjusted in response to the first input.
According to the embodiment of the application, the type identification and the volume identification of the recorded sound are displayed in the audio recording process, so that a user can adjust the volume of the sound corresponding to the type identification in the audio recording process, the volume can be edited in real time, and the audio recording quality is improved.
Next, the process of adjusting the volume level of the first type identifier by taking the first input as the sliding input as an example is described in detail as follows.
In a specific implementation manner of the present application, the step 103 may include:
substep A1: and receiving sliding input of the volume control bar corresponding to the first type identification.
The step 104 may include:
substep B1: in response to the sliding input, adjusting a volume of the first sound to a target volume corresponding to the sliding input.
In this embodiment, the audio recording interface may display volume control bars corresponding to multiple types of identifiers, and when the user needs to adjust the volume of the sound corresponding to the first type of identifier, the user may perform sliding input on the volume control bar of the first type of identifier.
The target volume refers to a volume to which the volume of the first sound needs to be adjusted. It is to be understood that the target volume may be larger than or smaller than the recording volume of the first sound, and specifically, may be determined according to actual situations, which is not limited in this embodiment.
In response to the sliding input, a target volume of the first sound may be determined according to the input parameter of the sliding input, and then the volume of the first sound may be adjusted to the target volume.
According to the embodiment of the application, the volume control bars corresponding to the various types of identifications are displayed on the audio recording interface, so that a user can conveniently adjust the volume of the sound corresponding to the different types of identifications, the audio recording effect is improved, and the user experience is improved.
In this embodiment, in the process of recording audio by using multiple microphones, a sound recording direction may be displayed on the audio recording interface, and when a sound source of the recorded sound changes, the sound recording direction may be adjusted by a user, which may be described in detail in conjunction with the following specific implementation manner.
In another specific implementation manner of the present application, the step 102 may include:
substep C1: and displaying the type identifier, the volume identifier and the sound recording direction of each sound.
In the embodiment of the present application, in the process of recording audio by using multiple microphones, the recording direction of each recorded sound may also be obtained, as shown in fig. 2, the directions of recording different sounds may be displayed in a three-dimensional manner on the audio recording interface.
After the step 102, the method may further include:
step D1: a second input is received.
In this embodiment, the second input refers to an input performed by the user on the audio recording device to adjust the audio recording orientation.
In a specific implementation, when the orientation of the recorded audio changes, the user may manually rotate the audio recording device to form a second input, and specifically, the audio recording interface may display the audio source change trajectory, as shown in fig. 3, and the user may monitor the change of the audio source in real time through the displayed audio source change trajectory.
After receiving the second input of the audio recording device from the user, step D2 is performed.
Step D2: adjusting the sound recording orientation in response to the second input.
After receiving a second input from the user to the audio recording device, the sound recording orientation may be adjusted according to input parameters of the second input.
According to the embodiment of the application, the voice recording direction is adjusted in the voice recording process, so that the voice recording effect can be improved.
In this embodiment of the application, after the audio recording is completed, the retained sound and the removed sound may be selected by the operation of the user on the audio recording interface, and specifically, the detailed description may be made in conjunction with the following specific implementation manner.
In another specific implementation manner of this embodiment, after the step 104, the method may further include:
step E1: after the audio recording is completed, a third input to a second one of the type identifiers is received.
In this embodiment, the second type identifier refers to a type identifier corresponding to a sound that needs to be eliminated.
The third input is input performed by the user to cancel the sound corresponding to the second type identifier.
In some examples, the third input may be an input formed by a click operation performed by the user on the displayed second type identifier, for example, the second type identifier is displayed on the audio recording interface, and when the user saves the recorded audio, the user may click the identifier to remove the sound corresponding to the second type identifier, and at this time, the operation of clicking the identifier by the user may be regarded as the third input.
In some examples, the third input may be an input formed by a user performing a drag operation, for example, a second type identifier is displayed on the audio recording interface and a recovery area is displayed, when the user drags the second type identifier into the recovery area, a sound corresponding to the second type identifier may be removed, and at this time, the drag operation performed by the user on the second type identifier may be regarded as the third input.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present application, and are not to be taken as the only limitation to the embodiments.
After receiving the third input for the second type identifier, step E2 is performed.
Step E2: and in response to the third input, removing the sound corresponding to the second type identification, and generating and storing target audio.
The target audio refers to audio obtained after the sound of the second type identification in the recorded audio is eliminated.
After receiving a third input of the second type identifier from the user, the sound corresponding to the second type identifier may be removed in response to the third input to generate the target audio, and the generated target audio may be saved.
After the voice recording is completed and the recording is clicked for storage, a user needs to select whether noise and music sound in other directions except the voice are not reserved according to own requirements, then whether the noise or the music sound appearing in the recording process is removed or not, and after the user selects the recording, the final voice storage is performed, so that the quality of the stored audio can be improved.
In this embodiment, the volume of the sound may be adjusted by the user in the process of playing the recorded audio, and specifically, the following specific implementation manner may be described in detail.
In another specific implementation manner of the present application, after the step 104, the method may further include:
step F1: and displaying the type identification of a plurality of sounds and the volume identification of each sound included in the audio in the process of playing the recorded audio.
In this embodiment, during playing the recorded audio, the type identifier and the volume identifier of the played multiple sounds may be displayed on the playing page, and then step F2 is executed.
Step F2: receiving a fourth input to a third one of the type identifiers.
The third type identifier is a type identifier corresponding to a sound of which the volume needs to be adjusted by the user in the process of playing the audio.
The fourth input refers to an input performed by the user on the third type identifier for adjusting the volume of the sound corresponding to the third type identifier.
After the playing page displays the type identifier and the volume identifier of the played sound, a fourth input of the third type identifier by the user can be received.
After receiving the fourth input of the third one of the type identifications from the user, step F3 is performed.
Step F3: and responding to the fourth input, and adjusting the volume of the second sound corresponding to the third type identification.
The second sound is the sound corresponding to the third type identifier.
After receiving a third input of the user to a third type identifier in the type identifiers, the fourth input may be responded to adjust the volume of the second sound according to the input parameter of the fourth input.
The embodiment of the application can not only adjust the volume in the recording process, but also adjust the volume in the voice playing process, for example, when a certain conversation application program plays voice, the orientation of a speaker in the voice, whether the voice contains other types of voice or not, whether the voice size meets the requirements or not and the like are analyzed in real time; and the voice content can be analyzed by video recording or video playing, and can be edited according to the requirements of users.
According to the audio recording method provided by the embodiment of the application, the type identifications and the volume identifications of each sound included in the audio are displayed in the audio recording process, the first input of the first type identification in the type identifications is received, and the volume of the first sound corresponding to the first type identification is adjusted in response to the first input. According to the embodiment of the application, the type identification and the volume identification of the recorded sound are displayed in the audio recording process, and the user can adjust the volume corresponding to the type identification in the audio recording process, so that the volume can be edited in real time, the audio recording quality is improved, and the user experience is further improved.
It should be noted that, in the audio recording method provided in the embodiment of the present application, the execution main body may be an audio recording apparatus, or a control module in the audio recording apparatus for executing the audio recording method. In the embodiment of the present application, an audio recording apparatus is used as an example to execute an audio recording method, and the audio recording apparatus provided in the embodiment of the present application is described.
Referring to fig. 4, a schematic structural diagram of an audio recording apparatus provided in an embodiment of the present application is shown, and as shown in fig. 4, the audio recording apparatus 400 may specifically include the following modules:
a type identifier display module 410, configured to display, in a process of recording an audio, a type identifier of a plurality of sounds included in the audio and a volume identifier of each sound;
a first input receiving module 420, configured to receive a first input of a first type identifier of the type identifiers;
the first volume adjustment module 430 is configured to adjust a volume of a first sound corresponding to the first type identifier in response to the first input.
Optionally, the first input receiving module 420 includes:
the sliding input receiving unit is used for receiving sliding input of the volume control bar corresponding to the first type identification;
the first volume adjustment module 430 includes:
and the target volume adjusting unit is used for responding to the sliding input and adjusting the volume of the first sound to the target volume corresponding to the sliding input.
Optionally, the type identifier display module 410 includes:
the type identification display unit is used for displaying the type identification, the volume identification and the sound recording direction of each sound;
the device further comprises:
the second input receiving module is used for receiving a second input;
and the recording direction adjusting module is used for responding to the second input and adjusting the sound recording direction.
Optionally, the method further comprises:
the third input receiving module is used for receiving a third input of a second type identifier in the type identifiers after the audio recording is finished;
and the second audio removing module is used for responding to the third input, removing the sound corresponding to the second type identifier, and generating and storing the target audio.
Optionally, the method further comprises:
the system comprises a volume identifier display module, a volume identifier display module and a volume identifier display module, wherein the volume identifier display module is used for displaying type identifiers of a plurality of sounds and volume identifiers of each sound in the audio in the process of playing the recorded audio;
the fourth input receiving module is used for receiving a fourth input of a third type identifier in the type identifiers;
and the second volume adjusting module is used for responding to the fourth input and adjusting the volume of the second sound corresponding to the third type identifier.
According to the audio recording device provided by the embodiment of the application, in the audio recording process, the type identifications of a plurality of sounds and the volume identifications of each sound included in the audio are displayed, the first input of the first type identification in the type identifications is received, and the volume of the first sound corresponding to the first type identification is adjusted in response to the first input. According to the embodiment of the application, the type identification and the volume identification of the recorded sound are displayed in the audio recording process, and the user can adjust the volume of the sound corresponding to the type identification in the audio recording process, so that real-time editing of the volume can be realized, the audio recording quality is improved, and the user experience is further improved.
The audio recording device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The audio recording device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The audio recording device provided in the embodiment of the present application can implement each process implemented by the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 5, an electronic device 500 is further provided in this embodiment of the present application, and includes a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and executable on the processor 501, where the program or the instruction is executed by the processor 501 to implement each process of the foregoing audio recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and the like.
Those skilled in the art will appreciate that the electronic device 600 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 610 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of 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 display unit 606 is configured to display type identifiers of a plurality of sounds included in an audio and a volume identifier of each sound in the audio recording process;
a radio frequency unit 601, further configured to receive a first input of a first type identifier in the type identifiers;
a processor 610, configured to adjust a volume of a first sound corresponding to the first type identifier in response to the first input.
According to the embodiment of the application, the type identification and the volume identification of the recorded sound are displayed in the audio recording process, and the user can adjust the volume of the sound corresponding to the type identification in the audio recording process, so that real-time editing of the volume can be realized, the audio recording quality is improved, and the user experience is further improved.
Optionally, the radio frequency unit 601 is further configured to receive a sliding input to the volume control bar corresponding to the first type identifier;
the processor 610 is further configured to adjust a volume of the first sound to a target volume corresponding to the sliding input in response to the sliding input.
Optionally, the display unit 606 is further configured to display the type identifier, the volume identifier, and a sound recording direction of each sound;
a radio frequency unit 601, further configured to receive a second input;
a processor 610, further configured to adjust the sound recording orientation in response to the second input.
Optionally, the radio frequency unit 601 is further configured to receive, after the audio recording is completed, a third input to a second type identifier of the type identifiers;
the processor 610 is further configured to remove the sound corresponding to the second type identifier in response to the third input, and generate and store a target audio.
Optionally, the display unit 606 is further configured to display, in a process of playing the recorded audio, type identifiers of a plurality of sounds included in the audio and a volume identifier of each sound;
a radio frequency unit 601, further configured to receive a fourth input to a third type identifier in the type identifiers;
the processor 610 is further configured to adjust a volume of the second sound corresponding to the third type identifier in response to the fourth input.
According to the embodiment of the application, the various types of identifiers and the volume identifiers of each type of sound can be displayed in the process of playing the recorded audio, so that a user can adjust the volume of the sound corresponding to the sound identifier, and the user experience is further improved.
It is to be understood that, in the embodiment of the present application, the input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics Processing Unit 6041 processes image data of a still picture or a video obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 607 includes a touch panel 6071 and other input devices 6072. A touch panel 6071, also referred to as a touch screen. The touch panel 6071 may include two parts of a touch detection device and a touch controller. Other input devices 6072 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 609 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 610 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
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 above-mentioned audio 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 execute a program or an instruction to implement each process of the above-mentioned audio recording method embodiment, and can achieve the same technical effect, and is not repeated here to avoid repetition.
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.
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 defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a 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 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.