CN113840028B - Audio processing method and device, electronic equipment and computer readable storage medium - Google Patents

Audio processing method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113840028B
CN113840028B CN202111108828.5A CN202111108828A CN113840028B CN 113840028 B CN113840028 B CN 113840028B CN 202111108828 A CN202111108828 A CN 202111108828A CN 113840028 B CN113840028 B CN 113840028B
Authority
CN
China
Prior art keywords
audio signal
audio
audio processing
processing
preset requirement
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111108828.5A
Other languages
Chinese (zh)
Other versions
CN113840028A (en
Inventor
郭华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202111108828.5A priority Critical patent/CN113840028B/en
Publication of CN113840028A publication Critical patent/CN113840028A/en
Application granted granted Critical
Publication of CN113840028B publication Critical patent/CN113840028B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/64Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
    • H04M1/65Recording arrangements for recording a message from the calling party
    • H04M1/656Recording arrangements for recording a message from the calling party for recording conversations
    • 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
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Circuit For Audible Band Transducer (AREA)

Abstract

The application discloses an audio processing method, an audio processing device, an electronic device and a non-volatile computer readable storage medium. The audio processing method comprises the following steps: during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time; and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement. The audio processing method, the audio processing device, the electronic device and the non-volatile computer readable storage medium in the embodiment of the application can ensure that the finally obtained audio signal can meet the preset requirement no matter whether the preset recording mode corresponds to the preset requirement or not, and the preset requirement is a preset requirement of a user, so that the finally obtained audio signal can meet the recording requirement of the user, and the use experience of the user is improved.

Description

Audio processing method and device, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of audio processing technologies, and in particular, to an audio processing method, an audio processing apparatus, an electronic device, and a non-volatile computer-readable storage medium.
Background
Currently, the recording function has become an indispensable function in the smart device. However, in the recording process, the recording effect is often affected by the recording environment, so that the finally obtained recording cannot meet the requirements of the user, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides an audio processing method, an audio processing device, electronic equipment and a non-volatile computer readable storage medium.
The audio processing method comprises the steps of simultaneously storing a first audio signal which is not processed and a second audio signal which is processed in a preset recording mode during recording; and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
The audio processing device of the embodiment of the application comprises a storage module and a processing module. The storage module is used for simultaneously storing the unprocessed first audio signal and the second audio signal processed in a preset recording mode during recording. The processing module is used for carrying out audio processing on the first audio signal when the second audio signal is determined not to meet the preset requirement, so that the first audio signal meets the preset requirement.
The electronic device of the embodiment of the application comprises a processor. The processor simultaneously stores an unprocessed first audio signal and a second audio signal processed in a preset recording mode during recording; and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
The non-transitory computer-readable storage medium of the embodiments of the present application contains a computer program that, when executed by one or more processors, causes the processors to perform the following audio processing method: during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time; and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
According to the audio processing method, the audio processing device, the electronic device and the non-volatile computer readable storage medium, during recording, an unprocessed first audio signal and a processed second audio signal in a preset recording mode can be stored at the same time, and when the second audio signal does not meet a preset requirement, the first audio signal can be subjected to audio processing, so that the first audio signal meets the preset requirement. From this, then can guarantee whether predetermine the recording mode and correspond and predetermine the demand, finally the audio signal that obtains can both accord with and predetermine the demand, and predetermine the demand and be the demand that the user set for in advance, consequently, can guarantee finally that the audio signal homoenergetic that obtains can satisfy user's recording demand to promote user's use and experience.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of embodiments of the present application.
Drawings
The above and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart diagram of an audio processing method according to some embodiments of the present application;
FIG. 2 is a schematic diagram of an audio processing device according to some embodiments of the present application;
FIG. 3 is a schematic plan view of an electronic device of some embodiments of the present application;
FIG. 4 is a schematic flow chart diagram of an audio processing method of some embodiments of the present application;
FIG. 5 is a schematic illustration of a scenario of an audio processing method according to some embodiments of the present application;
FIG. 6 is a schematic flow chart diagram of an audio processing method of some embodiments of the present application;
FIG. 7 is a schematic diagram of a scenario of an audio processing method according to some embodiments of the present application;
FIGS. 8-9 are schematic flow diagrams of audio processing methods according to some embodiments of the present application;
FIG. 10 is a schematic diagram of a scenario of an audio processing method according to some embodiments of the present application;
FIGS. 11-12 are schematic flow charts of audio processing methods according to some embodiments of the present application;
FIG. 13 is a schematic diagram of a connection state of a non-volatile computer readable storage medium and a processor of some embodiments of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for the purpose of explaining the embodiments of the present application, and are not to be construed as limiting the embodiments of the present application.
Referring to fig. 1, an audio processing method is provided in an embodiment of the present disclosure. The audio processing method comprises the following steps:
101: during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time; and
102: and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
Referring to fig. 2, an audio processing apparatus 10 is provided in the present embodiment. The audio processing device 10 comprises a memory module 11 and a processing module 12. The audio processing method according to the embodiment of the present application can be applied to the audio processing apparatus 10. The storage module 11 is configured to execute step 101, and the processing module 12 is configured to execute step 102. That is, the storage module 11 is configured to store the unprocessed first audio signal and the processed second audio signal in the preset recording mode at the same time during recording. The processing module 12 is configured to perform audio processing on the first audio signal when it is determined that the second audio signal does not meet the preset requirement, so that the first audio signal meets the preset requirement.
Referring to fig. 3, an electronic device 100 is further provided in the present embodiment. The electronic device 100 comprises a processor 30. The audio processing method of the embodiment of the application can be applied to the electronic device 100. The processor 30 is configured to perform step 101 and step 102. That is, the processor 30 is configured to store the unprocessed first audio signal and the processed second audio signal in the preset recording mode at the same time during recording; and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
The electronic device 100 further includes a housing 40. The electronic device 100 may be a cell phone, a tablet computer, a display device, a notebook computer, a teller machine, a gate, a smart watch, a head-up display device, a game console, etc. As shown in fig. 3, in the embodiment of the present application, the electronic device 100 is a mobile phone as an example for description, and it is understood that the specific form of the electronic device 100 is not limited to the mobile phone. The housing 40 may also be used to mount functional modules of the electronic device 100, such as a display device, an imaging device, a power supply device, and a communication device, so that the housing 40 provides protection for the functional modules, such as dust prevention, drop prevention, and water prevention.
Specifically, when the user uses the electronic device 100 and starts recording, the processor 30 may simultaneously store the unprocessed first audio signal and the processed second audio signal in the preset recording mode. The first audio signal is an unprocessed audio signal, that is, an original audio signal of a user when recording through the electronic device 100. The preset recording mode may be a conference mode, an interview mode, a standard mode, or the like, and thus the second audio signal is a processed audio signal obtained by setting the preset recording mode. Generally, the predetermined recording mode is a standard mode, and the second audio signal is an audio signal in the standard mode, and compared with the first audio signal, the original audio signal is subjected to noise reduction in the standard mode to obtain the second audio signal.
Next, after the processor 30 obtains the first audio signal and the second audio signal, the processor 30 needs to determine whether the second audio signal meets the preset requirement, and when the second audio signal does not meet the preset requirement, perform audio processing on the first audio signal so that the first audio signal meets the preset requirement. The preset requirement is a preset requirement of a user, and if the user wants that the environmental noise in the second audio signal after passing through the processor 30 is small, the voice is clear.
Taking the preset recording mode as the standard mode, the preset requirement is clear human voice, and no environmental noise is taken as an example, after the electronic device 100 starts recording, the processor 30 stores the first audio signal and the second audio signal, the second audio signal is recording in the standard mode, and after the recording is subjected to noise reduction processing, the second audio signal with less environmental noise is obtained. However, the processed second audio signal does not meet the requirements of clear human voice and no environmental noise, and therefore, the second audio signal does not meet the preset requirements, and at this time, the processor 30 processes the unprocessed first audio signal again, so that the processed first audio signal can meet the requirements of clear human voice and no environmental noise. If the processor 30 processes the first audio signal in the interview mode, the interview mode filters out environmental noise in the audio signal and enhances human voice, so that the first audio signal meets the preset requirement.
The audio processing method, the audio processing apparatus 10 and the electronic device 100 according to the embodiment of the present application can simultaneously store the first audio signal without being processed and the second audio signal processed in the preset recording mode during recording, and ensure that the first audio signal can be processed by performing audio processing on the first audio signal when the second audio signal does not meet the preset requirement, so that the first audio signal meets the preset requirement. From this, then can guarantee whether predetermine the recording mode and correspond preset demand, finally obtained audio signal can both accord with preset demand, and predetermine the demand and be the good demand of user preset, consequently, can guarantee that finally obtained audio signal homoenergetic satisfies user's recording demand to promote user's use and experience.
Referring to fig. 2-4, in some embodiments, step 102: audio processing a first audio signal, comprising the steps of:
401: identifying different objects in the first audio signal, the objects including human voice and ambient noise;
402: receiving a first input operation to determine an object to be adjusted and an adjustment amplitude of a parameter to be adjusted, wherein the parameter comprises noise reduction intensity and gain; and
403: and processing the first audio signal according to the object to be adjusted and the adjustment amplitude of the parameter.
In certain embodiments, the processing module 12 is further configured to perform steps 401, 402, and 403. Namely, the processing module 12 is configured to identify different objects in the first audio signal, wherein the objects include human voice and environmental noise; receiving a first input operation to determine an object to be adjusted and an adjustment amplitude of parameters to be adjusted, wherein the parameters comprise noise reduction strength and gain; and processing the first audio signal according to the object to be adjusted and the adjustment amplitude of the parameter.
In certain embodiments, processor 30 is further configured to perform steps 401, 402, and 403. I.e. the processor 30 is arranged to identify different objects in the first audio signal, the objects comprising human voice and ambient noise; receiving a first input operation to determine an object to be adjusted and an adjustment amplitude of parameters to be adjusted, wherein the parameters comprise noise reduction strength and gain; and processing the first audio signal according to the object to be adjusted and the adjustment amplitude of the parameter.
Specifically, before the processor 30 determines that the second audio signal does not meet the preset requirement to perform audio processing on the first audio signal, the processor 30 further needs to identify different objects in the first audio signal to perform different processing on the different objects. Wherein, the object comprises human voice and environmental noise. The processor 30 may perform sound enhancement processing on human voice and may also perform noise reduction processing on ambient noise.
Next, the processor 30 may determine an adjustment object and an adjustment amplitude of the parameter to be adjusted by receiving a first input operation of the user, and the processor 30 may process the first audio signal according to the adjustment object and the adjustment amplitude of the parameter to be adjusted. Wherein the adjusting parameters comprise noise reduction strength and gain.
As shown in fig. 5, the user may select the voice and the environmental noise displayed by the electronic device and adjust the selected object according to the adjustment bar 50 displayed in the electronic apparatus 100, where if the adjustment bar 50 is dragged upwards, the adjustment range is increased, and if the adjustment bar 50 is dragged downwards, the adjustment range is decreased. For example, after the user selects the voice, the user drags the adjustment bar 50 upwards, and the processor 30 gains the voice to make the voice in the first audio signal clearer. For another example, after the user selects the ambient noise, the adjustment bar 50 is dragged upwards, and the processor 30 increases the noise reduction strength of the ambient noise.
In some embodiments, the adjustment columns 50 include two, and the two adjustment columns 50 correspond to the noise reduction strength and the gain, respectively. The user can drag different adjustment bars 50 to control the adjustment amplitude of the noise reduction strength and the gain, respectively.
Therefore, the user can adjust the object in the first audio signal in a self-defined manner through the first input operation of the user, and can adjust the amplitude in a self-defined manner, so that the first audio signal which is in line with the expectation of the user is obtained, namely the satisfactory recording of the user is obtained.
Referring to fig. 2, fig. 3 and fig. 6, an audio processing method according to an embodiment of the present application, step 102: audio processing the first audio signal, further comprising the steps of:
601: receiving a second input operation to determine an audio processing direction; and
602: and carrying out audio processing on a target audio part corresponding to the audio processing direction in the first audio signal.
In certain embodiments, the processing module 12 is further configured to perform step 601 and step 602. Namely, the processing module 12 is further configured to receive a second input operation to determine an audio processing direction; and carrying out audio processing on a target audio part corresponding to the audio processing direction in the first audio signal.
In certain embodiments, processor 30 is configured to perform step 601 and step 602. That is, the processor 30 receives a second input operation to determine the audio processing direction; and carrying out audio processing on a target audio part corresponding to the audio processing direction in the first audio signal.
Specifically, before the processor 30 determines that the second audio signal does not meet the preset requirement to perform audio processing on the first audio signal, the processor 30 may further receive a second input operation of the user to determine an audio processing direction, so as to perform audio processing on a target audio portion of the first audio signal corresponding to the audio processing direction.
As shown in fig. 7, before the processor 30 performs audio processing on the first audio signal, the user may select directions displayed in the electronic device 100, such as front, rear, left, and right directions, to determine a direction in which the audio processing is required. The direction displayed in the electronic device 100 represents a direction around the user, such as a forward direction representing the front of the user, a backward direction representing the back of the user, and the like. In addition, there may be an upper direction and a lower direction, which are not described herein.
When the user selects the front direction, the processor 30 performs audio processing on the target audio part corresponding to the front direction. For another example, when the user selects the rear direction, the processor 30 processes the target audio portion corresponding to the rear direction. Also for example, in the left direction selected by the user, the processor 30 processes the target audio portion corresponding to the left direction.
Wherein the processing of the target audio portion by the processor 30 may be denoising or enhancing the target audio portion.
Therefore, the processor 30 can perform directional noise reduction on the first audio signal or directional enhancement on the human voice in the first audio signal according to the second input operation of the user.
Referring to fig. 2, 3, and 8, in some embodiments, step 602: the audio processing is carried out on the target audio part corresponding to the audio processing direction in the first audio signal, and the method further comprises the following steps:
801: receiving a third input operation to determine the adjustment amplitude of the parameters for adjustment, wherein the parameters comprise the noise reduction strength and the gain; and
802: and processing the target audio part according to the adjusting amplitude of the adjusting parameter.
In certain embodiments, the processing module 12 is configured to perform steps 801 and 802. Namely, the processing module 12 is configured to receive a third input operation to determine an adjustment amplitude of a parameter for performing adjustment, where the parameter includes noise reduction strength and gain; and processing the target audio part according to the adjusting amplitude of the adjusted parameter.
In certain embodiments, processor 30 is configured to perform steps 801 and 802. That is, the processor 30 is configured to receive a third input operation to determine an adjustment amplitude of the parameter for adjustment, where the parameter includes the noise reduction strength and the gain; and processing the target audio part according to the adjusting amplitude of the adjusted parameter.
Specifically, after the user selects the audio processing direction to be processed in the first audio signal by selecting the direction (as shown in fig. 7), that is, the user inputs the second input operation, the processor 30 further receives a third input operation of the user to determine an adjustment range of the parameter to be adjusted, and the processor 30 may process the target audio portion according to the adjustment range of the parameter. Wherein the adjusting parameters comprise noise reduction strength and gain.
More specifically, after the processor 30 receives the second input operation input by the user to determine the audio processing direction, the electronic device 100 may display the corresponding adjustment bar 50 (as shown in fig. 5), so that the user may drag the adjustment bar 50 (i.e., the third input operation) to enable the processor 30 to determine the adjustment amplitude of the parameter to be adjusted.
In some embodiments, the adjustment columns 50 include two, and the two adjustment columns 50 correspond to the noise reduction strength and the gain, respectively. The user can control the adjustment range of the noise reduction strength and the gain by dragging different adjustment bars 50.
Thus, the processor 30 can determine the noise reduction strength and the adjustment amplitude of the gain according to the third input operation of the user, so as to implement the noise reduction processing and the gain control of the target audio portion, that is, directionally perform the noise reduction processing and the human voice enhancement operation on the first audio signal.
In some embodiments, when the user inputs the second input operation to enable the processor 30 to determine the audio processing direction, the user may select an audio processing direction that is not desired to be adjusted by using the adjustment dial, and in this case, the target audio portion corresponding to the audio processing direction is the audio signal that is not desired to be adjusted by the user. Then, when the user inputs a third input operation, the processor 30 may adjust the amplitude according to the adjusted parameter to process the non-target audio portion. Such as increasing the gain of the non-target audio portion, or decreasing the noise reduction strength of the non-target audio portion.
Referring to fig. 2, 3 and 9, in some embodiments, step 601: receiving a second input operation to determine an audio processing direction, further comprising the steps of:
901: displaying a preset recording area through a display screen;
902: receiving a second input operation, and determining a selected area in the recording area; and
903: and determining the audio processing direction according to the selected area.
In some embodiments, the processing module 12 is configured to perform step 901, step 902 and step 903, and the processing module 12 is configured to display a preset recording area through a display screen; receiving a second input operation, and determining a selected area in the recording area; and determining the audio processing direction according to the selected area.
In certain embodiments, processor 30 is configured to perform steps 901, 902, and 903. Namely, the processor 30 is configured to display a preset recording area through the display screen; receiving a second input operation, and determining a selected area in the recording area; and determining the audio processing direction according to the selected area.
Specifically, in the process of determining the audio processing direction by the processor 30, the processor 30 may display a preset recording area through the display screen, and determine a selected area in the recording area according to the received second input operation, so as to determine the audio processing direction according to the selected area.
More specifically, as shown in fig. 10, a preset recording area 60 may be displayed on the display screen of the electronic device 100, and different directions, such as three directions a, B, and C, may be displayed in the recording area. For example, when the user selects the direction a in the recording area, the processor 30 may determine that the selected area in the recording area is the area in the direction a, and the processor 30 determines that the audio processing direction is the direction a. For another example, when the user selects the B direction in the recording area, the processor 30 may determine that the selected area in the recording area is the B direction area, and the processor 30 determines that the audio processing direction is the B direction. For example, when the user selects the recording area in the C direction, the processor 30 may determine that the selected recording area is the recording area in the C direction, and the processor 30 may determine that the audio processing direction is the C direction.
Next, the processor 30 may perform audio processing on the first audio signal in the direction according to the audio processing direction. Wherein, the audio processing may be to reduce noise or enhance the first audio signal corresponding to the direction.
Therefore, the processor 30 can perform directional noise reduction on the first audio signal or directional enhancement on the human voice in the first audio signal according to the second input operation of the user.
Referring to fig. 2, fig. 3 and fig. 11, the audio processing method according to the embodiment of the present application further includes the steps of:
1101: during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time;
1102: receiving an input operation to determine whether the second audio signal meets a preset requirement;
1103: if yes, deleting the first audio signal; and
1104: and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
In some embodiments, the audio processing apparatus 10 further includes a determining module 13 and a deleting module 14, the storing module 11 is configured to execute step 1101, the determining module 13 is configured to execute step 1102, the deleting module 14 is configured to execute step 1103, and the processing module 12 is configured to execute step 1104. That is, the storage module 11 is configured to store the unprocessed first audio signal and the second audio signal processed in the preset recording mode at the same time during recording. The determining module 13 is configured to receive an input operation to determine whether the second audio signal meets a preset requirement. The deleting module 14 is configured to delete the first audio signal if yes. The processing module 12 is configured to perform audio processing on the first audio signal when it is determined that the second audio signal does not meet the preset requirement, so that the first audio signal meets the preset requirement.
In certain embodiments, processor 30 is configured to perform steps 1101, 1102, 1103, and 1104. That is, the processor 30 stores the unprocessed first audio signal and the processed second audio signal in the preset recording mode at the same time when recording; receiving an input operation to determine whether the second audio signal meets a preset requirement; if yes, deleting the first audio signal; and when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement.
Step 1101 is the same as the step 101, and step 1104 is the same as the step 102, which are not repeated herein.
Specifically, after the processor 30 stores the first audio signal and the second audio signal, the processor 30 also receives an input operation to determine whether the second audio signal meets a preset requirement. Wherein the input operation may be: the electronic device 100 displays whether the second audio signal is detected to meet the preset requirement, and after the user clicks "yes", the processor 30 starts to determine whether the second audio signal meets the preset requirement. The input operation may also be: the user plays the second audio signal, and after the playing is completed, the electronic device 100 displays two options whether the second audio signal meets the preset requirement, and after the user clicks "yes", the processor 30 determines that the second audio signal meets the preset requirement.
After the processor 30 determines that the second audio signal meets the preset requirement, the processor 30 deletes the first audio signal, that is, only retains the processed second audio signal, so as to reduce the occupied space of the stored audio signal during recording, thereby improving the user experience.
Referring to fig. 2, fig. 3 and fig. 12, the audio processing method according to the embodiment of the present application further includes the steps of:
1201: during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time;
1202: when the second audio signal is determined not to meet the preset requirement, carrying out audio processing on the first audio signal so as to enable the first audio signal to meet the preset requirement;
1203: receiving input operation to determine whether the first audio signal after audio processing meets a preset requirement; and
1204: if so, the first audio signal after the audio processing is saved, and the second audio signal is deleted.
In some embodiments, the audio processing apparatus 10 further includes a determining module 13 and a deleting module 14, the storing module 11 is configured to perform step 1201, the processing module 12 is configured to perform step 1202, the determining module 13 is configured to perform step 1203, and the deleting module 14 is configured to perform step 1204. Namely, the storage module 11 is configured to store the unprocessed first audio signal and the processed second audio signal in the preset recording mode at the same time during recording. The processing module 12 is configured to perform audio processing on the first audio signal when it is determined that the second audio signal does not meet the preset requirement, so that the first audio signal meets the preset requirement. The determining module 13 is configured to receive an input operation to determine whether the first audio signal after the audio processing meets a preset requirement. The deleting module 14 is configured to, if yes, save the first audio signal after the audio processing, and delete the second audio signal.
In certain embodiments, processor 30 is configured to perform steps 1201, 1202, 1203, and 1204. Namely, the processor 30 is configured to store the unprocessed first audio signal and the processed second audio signal in the preset recording mode at the same time during recording; when the second audio signal is determined not to meet the preset requirement, performing audio processing on the first audio signal to enable the first audio signal to meet the preset requirement; receiving input operation to determine whether the first audio signal after audio processing meets a preset requirement; and if so, saving the first audio signal after the audio processing, and deleting the second audio signal.
Step 1201 is executed in the same manner as step 101, and step 1202 is executed in the same manner as step 102, which are not described herein again.
Specifically, after the processor 30 determines that the second audio signal does not meet the preset requirement to perform audio processing on the first audio signal, the processor 30 further determines whether the audio-processed first audio signal meets the preset requirement according to the input operation. Wherein the input operation may be: the electronic device 100 displays whether the first audio signal after audio processing is detected to meet the preset requirement, and after the user clicks "yes", the processor 30 starts to determine whether the first audio signal after audio processing meets the preset requirement. The input operation may also be: the user plays the first audio signal after audio processing, and after the playing is completed, the electronic device 100 displays whether the first audio signal after audio processing meets two options of the preset requirement, and after the user clicks "yes", the processor 30 determines that the first audio signal after audio processing meets the preset requirement.
Next, after the processor 30 determines that the first audio signal after the audio processing meets the preset requirement, the processor 30 stores the first audio signal after the audio processing and deletes the second audio signal. That is, the processor 30 only stores the audio signals meeting the preset requirement, so as to reduce the occupied space of the stored audio signals during recording, thereby improving the user experience.
It should be noted that, when the processor 30 determines that the first audio signal after the audio processing does not meet the preset requirement, the processor 30 may further perform audio processing on the first audio signal again according to an input operation of a user until the first audio signal after the audio processing meets the preset requirement, and during this period, the first audio signal that does not meet the preset requirement after the audio processing is deleted, so as to reduce the occupied storage space.
Referring to fig. 13, the present embodiment further provides a non-volatile computer-readable storage medium 200 containing a computer program 201. The computer program 201, when executed by the one or more processors 30, causes the one or more processors 30 to perform the audio processing method of any of the embodiments described above.
For example, the computer program 201, when executed by the one or more processors 30, causes the processors 30 to perform the following audio processing method:
101: acquiring an audio signal;
102: identifying a frequency band of the audio signal, the frequency band being associated with color information; and
103: the color of the electronic device 100 when the pointing device 20 emits light is controlled based on the color information.
As another example, the computer program 201, when executed by the one or more processors 30, causes the processors 30 to perform the following audio processing method:
401: performing Fourier transform on the audio signal to acquire frequency information of the audio signal; and
402: according to the frequency information, the frequency band of the audio signal is determined.
Also for example, the computer program 201, when executed by the one or more processors 30, causes the processors 30 to perform the following audio processing method:
601: determining the proportions of a plurality of signals in a preset frequency range in the audio signal according to the frequency information; and
602: and determining the preset frequency band with the maximum proportion as the frequency band of the audio signal.
In the description herein, references to the description of the terms "certain embodiments," "one example," "exemplary," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application and that variations, modifications, substitutions and alterations in the above embodiments may be made by those of ordinary skill in the art within the scope of the present application.

Claims (9)

1. An audio processing method, comprising:
during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time; and
when the second audio signal is determined not to meet the preset requirement, performing audio processing on the first audio signal to enable the first audio signal to meet the preset requirement;
the audio processing the first audio signal comprises:
receiving a second input operation to determine an audio processing direction; and
and carrying out audio processing on a target audio part corresponding to the audio processing direction in the first audio signal.
2. The audio processing method of claim 1, wherein the audio processing the first audio signal comprises:
identifying different objects in the first audio signal, the objects including human voice and ambient noise;
receiving a first input operation to determine the object to be adjusted and the adjustment amplitude of the parameter to be adjusted, wherein the parameter comprises the noise reduction strength and the gain;
processing the first audio signal according to the object to be adjusted and the adjustment amplitude of the parameter.
3. The audio processing method according to claim 1, wherein said audio processing a target audio portion of the first audio signal corresponding to the audio processing direction comprises:
receiving a third input operation to determine an adjustment amplitude of parameters for adjustment, wherein the parameters comprise noise reduction strength and gain;
processing the target audio portion according to the adjusted amplitude of the adjusted parameter.
4. The audio processing method according to claim 1, wherein the receiving a second input operation to determine an audio processing direction comprises:
displaying a preset recording area through a display screen;
receiving the second input operation, and determining a selected area in the recording area;
and determining the audio processing direction according to the selected area.
5. The audio processing method of claim 1, further comprising:
receiving an input operation to determine whether the second audio signal meets a preset requirement;
and if so, deleting the first audio signal.
6. The audio processing method of claim 1, further comprising:
receiving input operation to determine whether the first audio signal after audio processing meets a preset requirement;
if so, saving the first audio signal after audio processing, and deleting the second audio signal.
7. An audio processing apparatus, comprising:
the storage module is used for simultaneously storing the unprocessed first audio signal and the second audio signal processed in a preset recording mode during recording; and
the processing module is used for carrying out audio processing on the first audio signal when the second audio signal is determined not to meet the preset requirement, so that the first audio signal meets the preset requirement; the processing module is further used for receiving a second input operation to determine an audio processing direction; and carrying out audio processing on a target audio part corresponding to the audio processing direction in the first audio signal.
8. An electronic device, comprising a processor configured to:
during recording, storing an unprocessed first audio signal and a second audio signal processed in a preset recording mode at the same time;
when the second audio signal is determined not to meet the preset requirement, performing audio processing on the first audio signal to enable the first audio signal to meet the preset requirement;
receiving a second input operation to determine an audio processing direction; and
and carrying out audio processing on a target audio part corresponding to the audio processing direction in the first audio signal.
9. A non-transitory computer-readable storage medium comprising a computer program that, when executed by a processor, causes the processor to perform the audio processing method of any of claims 1-6.
CN202111108828.5A 2021-09-22 2021-09-22 Audio processing method and device, electronic equipment and computer readable storage medium Active CN113840028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111108828.5A CN113840028B (en) 2021-09-22 2021-09-22 Audio processing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111108828.5A CN113840028B (en) 2021-09-22 2021-09-22 Audio processing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113840028A CN113840028A (en) 2021-12-24
CN113840028B true CN113840028B (en) 2022-12-02

Family

ID=78960288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111108828.5A Active CN113840028B (en) 2021-09-22 2021-09-22 Audio processing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113840028B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449494A (en) * 2018-03-12 2018-08-24 广东欧珀移动通信有限公司 voice communication data processing method, device, storage medium and server
CN111128212A (en) * 2019-12-09 2020-05-08 秒针信息技术有限公司 Mixed voice separation method and device
CN111933120A (en) * 2020-08-19 2020-11-13 潍坊医学院 Voice data automatic labeling method and system for voice recognition

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108538320B (en) * 2018-03-30 2020-09-11 Oppo广东移动通信有限公司 Recording control method and device, readable storage medium and terminal
CN110198375A (en) * 2019-06-05 2019-09-03 深圳壹秘科技有限公司 The way of recording, terminal and computer readable storage medium
CN112951259A (en) * 2021-03-01 2021-06-11 杭州网易云音乐科技有限公司 Audio noise reduction method and device, electronic equipment and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108449494A (en) * 2018-03-12 2018-08-24 广东欧珀移动通信有限公司 voice communication data processing method, device, storage medium and server
CN111128212A (en) * 2019-12-09 2020-05-08 秒针信息技术有限公司 Mixed voice separation method and device
CN111933120A (en) * 2020-08-19 2020-11-13 潍坊医学院 Voice data automatic labeling method and system for voice recognition

Also Published As

Publication number Publication date
CN113840028A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN109089043B (en) Shot image preprocessing method and device, storage medium and mobile terminal
CN106060406B (en) Photographing method and mobile terminal
US9418398B2 (en) Low power subpixel rendering on RGBW display
US20230230276A1 (en) Video shooting method, video shooting apparatus, and electronic device
CN109741281B (en) Image processing method, image processing device, storage medium and terminal
CN109035158B (en) Image blurring processing method, image blurring processing device, storage medium and electronic equipment
CN112840376A (en) Image processing method, device and equipment
CN107509030B (en) focusing method and mobile terminal
CN106993091B (en) Image blurring method and mobile terminal
CN107277268A (en) A kind of audio frequency playing method and mobile terminal
CN105227860A (en) Image generating method, device and mobile terminal
CN108781254A (en) It takes pictures method for previewing, graphic user interface and terminal
CN112015365A (en) Volume adjustment method and device and electronic equipment
CN111638849A (en) Screenshot method and device and electronic equipment
CN113840028B (en) Audio processing method and device, electronic equipment and computer readable storage medium
CN112312021B (en) Shooting parameter adjusting method and device
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
CN112270728A (en) Image processing method and device, electronic equipment and readable storage medium
CN112948048A (en) Information processing method, information processing device, electronic equipment and storage medium
CN104917969B (en) The method and mobile terminal of a kind of image procossing
CN111026481A (en) Desktop layout method, terminal and computer storage medium
CN105635832B (en) A kind of method for processing video frequency and device
CN116188343A (en) Image fusion method and device, electronic equipment, chip and medium
CN113750518A (en) Skill button control method and device, electronic equipment and computer readable medium
CN113676687A (en) Information processing method and electronic equipment

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
GR01 Patent grant
GR01 Patent grant