Sound effect adjustment method, device, equipment and storage medium
By obtaining the frequency response curve and customized sound effect parameters of audio equipment, combined with the user's adjustment instructions, the problem of limited sound effect modes of smart speakers is solved, personalized adjustment of sound effects is realized, and the diverse needs of users are met.
Patent Information
- Application Number
- CN202210307462.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-03-25
AI Technical Summary
Existing smart speakers can only choose limited sound effect modes after leaving the factory, which cannot meet personalized needs.
By obtaining the frequency response curve of the audio device, selecting custom sound effect parameters, and adjusting the sound effect parameters according to the user's adjustment instructions, a sound effect adjustment method and device are provided to allow the user to customize the sound effect.
It realizes users' personalized adjustment of smart audio sound effects and meets users' diverse needs.
Smart Images

Figure CN114666708B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of acoustic technology, and more specifically, to a sound effect adjustment method, a sound effect device, an electronic device, and a computer-readable storage medium. Background Art
[0002] In recent years, smart speakers have been increasingly used.
[0003] Currently, before smart speakers leave the factory, a limited number of different sound effect modes are set to meet the sound effect needs of different users for smart speakers.
[0004] After the smart speaker leaves the factory, the user can only select one of a limited number of different sound effect modes, which cannot meet the user's personalized needs for the sound effects of the smart speaker. For example, the user's needs for sound effects other than the sound effect mode set by the smart speaker cannot be met. Summary of the invention
[0005] One purpose of the present application is to provide a new technical solution for sound effect adjustment.
[0006] According to a first aspect of the present application, a method for adjusting sound effects is provided, the method comprising:
[0007] Obtaining a frequency response curve of an audio device, and selecting custom sound effect parameters according to the frequency response curve;
[0008] Pushing the frequency response curve and the custom sound effect parameters to the user end;
[0009] Receive sound effect adjustment instructions from the user end;
[0010] According to the sound effect adjustment instruction, the sound effect parameters of the audio device are adjusted.
[0011] Optionally, the audio device includes a first microphone and a speaker, and obtaining a frequency response curve of the audio device includes:
[0012] Controlling the speaker to play an audio signal;
[0013] Controlling the first microphone to collect the audio signal played by the speaker;
[0014] Determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
[0015] Acquire the transmission amount from the first microphone to an external reference point;
[0016] A frequency response curve of the first microphone at the external reference point is determined according to the transmission amount from the first microphone to the external reference point and the frequency response curve of the first microphone.
[0017] Optionally, determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone includes:
[0018] Determining a sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone;
[0019] A frequency response curve of the first microphone is determined according to the sound pressure level.
[0020] Optionally, determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone includes:
[0021] Filtering out a noise signal from the audio signal collected by the first microphone to obtain a noise-reduced audio signal;
[0022] A frequency response curve of the first microphone is determined according to the noise-reduced audio signal.
[0023] Optionally, the audio device further includes at least one second microphone. After determining the frequency response curve of the first microphone at the external reference point based on the transmission amount from the first microphone to the external reference point and the frequency response curve of the first microphone, the method includes:
[0024] Obtaining a frequency response curve of each of the second microphones at an external reference point;
[0025] A frequency response curve of a microphone array is determined according to the frequency response curve of each of the second microphones at an external reference point and the frequency response curve of the first microphone at an external reference point, wherein the first microphone and the second microphone constitute the microphone array.
[0026] Optionally, determining the frequency response curve of the microphone array according to the frequency response curve of each of the second microphones at the external reference point and the frequency response curve of the first microphone at the external reference point includes:
[0027] Determine an average value curve between the frequency response curve of each second microphone at the external reference point and the frequency response curve of the first microphone at the external reference point;
[0028] The average value curve is determined as the frequency response curve of the microphone array at an external reference point.
[0029] Optionally, the method further includes:
[0030] Designing a user interface UI that is compatible with the audio device;
[0031] The frequency response curve and the custom sound effect parameters are displayed on the screen of the audio device through the UI interface, or a connection is established between the audio device and a remote control device, and the frequency response curve and the custom sound effect parameters are displayed on the screen of the remote control device through the UI interface and the connection.
[0032] According to a second aspect of the present application, a sound effect adjustment device is provided, the device comprising:
[0033] An acquisition module, used to acquire a frequency response curve of an audio device and select custom sound effect parameters according to the frequency response curve;
[0034] A push module, used to push the frequency response curve and custom sound effect parameters to the user end;
[0035] A receiving module, used for receiving a sound effect adjustment instruction from a user end;
[0036] The adjustment module is used to adjust the sound effect parameters of the audio device according to the sound effect adjustment instruction.
[0037] According to a third aspect of the present application, an electronic device is provided, comprising the sound effect adjustment device as described in the second aspect;
[0038] Alternatively, it includes a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the sound effect adjustment method as described in any one of the first aspects.
[0039] Optionally, the device further includes: a speaker and a microphone module, the microphone module includes a first microphone, or further includes at least one second microphone, wherein:
[0040] The speaker is used to play audio signals;
[0041] The microphone module is used to collect the audio signal played by the speaker.
[0042] According to a fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the sound effect adjustment method according to any one of the first aspects is implemented.
[0043] In an embodiment of the present application, a method for adjusting sound effects is provided, the method comprising obtaining a frequency response curve of an audio device, and selecting custom sound effect parameters according to the frequency response curve; pushing the frequency response curve and the custom sound effect parameters to a user terminal; receiving a sound effect adjustment instruction from the user terminal; and adjusting the sound effect parameters of the audio device according to the sound effect adjustment instruction. Through this embodiment, a user can input a sound effect adjustment instruction that meets their own needs to adjust the sound effects of an audio device. That is, this embodiment provides a method for meeting the user's personalized needs for smart audio sound effects.
[0044] Other features and advantages of the present application will become apparent from the following detailed description of exemplary embodiments of the present application with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with the description, serve to explain the principles of the application.
[0046] Figure 1 It is a flowchart of a sound effect adjustment method provided in an embodiment of the present application;
[0047] Figure 2 is a flow chart of a method for determining a frequency response curve of a first microphone provided in an embodiment of the present application;
[0048] Figure 3 It is a structural schematic diagram of a sound effect adjustment device provided in an embodiment of the present application;
[0049] Figure 4 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0050] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application.
[0051] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present application, its application, or uses.
[0052] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0053] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0054] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0055] <Method Example>
[0056] The embodiment of the present application provides a method for adjusting sound effects. The method can be applied to an audio device, such as a smart speaker. The method can also be applied to an external electronic device connected to the audio device, such as a computer or a smart phone.
[0057] like Figure 1 As shown, the sound effect adjustment method provided in the embodiment of the present application includes the following S1100-S1400:
[0058] S1100. Obtain a frequency response curve of an audio device, and select a custom sound effect parameter according to the frequency response curve.
[0059] In one embodiment of the present application, when the sound effect adjustment method provided in the embodiment of the present application is applied to an external electronic device connected to an audio device, the specific implementation of the above S1100 can be to obtain a frequency response curve of the audio device from the audio device.
[0060] When the sound effect adjustment method provided in the embodiment of the present application is applied to an audio device, the specific implementation of the above S1100 may be: before the audio device leaves the factory, the operator tests the frequency response curve of the audio device, and stores the frequency response curve of the audio device obtained by the test in the memory of the audio device. On this basis, the frequency response curve of the audio device is directly read from the memory of the audio device.
[0061] When the sound effect adjustment method provided in the embodiment of the present application is applied to an audio device, the specific implementation of the above S1100 can also be achieved through the following S1110-S1114.
[0062] In the embodiment of the present application, the custom sound effect parameters are software and hardware parameters that can adjust the sound effects of the audio device.
[0063] In one embodiment of the present application, the software and hardware for adjusting the sound effect of the audio device may be an equalizing filter.
[0064] In one embodiment of the present application, types of equalization filters may include: notch filters, peak filters, bandpass filters, and bandstop filters, etc.
[0065] Taking the equalization filter type as a notch filter as an example, the characteristic value of the notch filter can be specifically a valley value and / or a frequency range. Taking the equalization filter type as a peak filter as an example, the characteristic value of the peak filter can be specifically a peak value and / or a frequency range.
[0066] In one embodiment of the present application, the specific implementation of selecting the custom sound effect parameters according to the frequency response curve in the above S1100 may be:
[0067] According to the characteristic value of the frequency response curve, a custom sound effect parameter is selected. The characteristic value of the frequency response curve can be exemplarily a frequency band width, a peak value, a valley value, a frequency band width between adjacent peak values, etc. of the frequency response curve. In addition, in the electronic device applied to the sound effect adjustment method provided in the embodiment of the present application, a mapping relationship between different characteristic value ranges and corresponding custom sound effect parameters is pre-stored.
[0068] It can be understood that, based on the above embodiments, targeted customized sound effect parameters can be output.
[0069] In another embodiment of the present application, the same custom sound effect parameters may be selected for different frequency response curves.
[0070] S1200: Push the frequency response curve and the custom sound effect parameters to a user terminal.
[0071] In the embodiment of the present application, the user terminal provides a visual and operable interface for the user. Based on this, it can be seen that based on the above S1200, the user can intuitively view the frequency response curve and customized sound effect parameters of the audio device.
[0072] In one embodiment of the present application, when the sound effect adjustment method provided in the embodiment of the present application is applied to an audio device, the user end is the screen of the audio device.
[0073] When the sound effect adjustment method provided in the embodiment of the present application is applied to an external electronic device connected to an audio device, the user end is the screen of the external electronic device.
[0074] S1300: Receive a sound effect adjustment instruction from a user terminal.
[0075] In the embodiment of the present application, the user can input a sound effect adjustment instruction that meets his / her needs through the user terminal. The sound effect adjustment instruction is specifically an indication of software and hardware parameters that can adjust the sound effect of the audio device.
[0076] In one embodiment of the present application, the software and hardware for adjusting the sound effect of the audio device may be an equalizing filter. On this basis, the sound effect adjustment instruction in the above S1300 may specifically be:
[0077] Indicates at least one of the number, type, and characteristic value of equalization filters in the audio device.
[0078] In one embodiment of the present application, the sound effect adjustment method provided in the embodiment of the present application further includes the following S1310-S1312:
[0079] S1310. Design a user interface UI that is compatible with the audio device.
[0080] In the embodiment of the present application, the UI interface is a human-computer interaction interface, which is used for the user to input sound effect adjustment instructions, and output the frequency response curve and customized sound effect parameters of the audio device.
[0081] S1311. Display the frequency response curve and the custom sound effect parameters on the screen of the audio device through the UI interface, or establish a connection between the audio device and the remote control device, and display the frequency response curve and the custom sound effect parameters on the screen of the remote control device through the UI interface.
[0082] In an embodiment of the present application, the audio device includes a screen. When the sound effect adjustment method provided in the embodiment of the present application is applied to the audio device, the frequency response curve and the customized sound effect parameters of the audio device can be displayed on the screen of the audio device through the UI interface.
[0083] Alternatively, when the sound effect adjustment method provided in the embodiment of the present application is applied to an external electronic device connected to an audio device, the external electronic device is a remote control device for remotely controlling the sound effects of the audio device. On this basis, a connection between the audio device and the remote control device needs to be established. And based on the connection between the audio device and the remote control device and the UI interface, the frequency response curve and the custom sound effect parameters are displayed on the screen of the remote control device.
[0084] In this way, users can view the frequency response curve of the audio device and customize the sound adjustment parameters.
[0085] In an embodiment of the present application, the user can manually input a sound effect adjustment instruction based on the UI interface for the displayed custom sound effect parameters. On this basis, the electronic device can receive the sound effect adjustment instruction.
[0086] S1400: Adjust the sound effect parameters of the audio device according to the sound effect adjustment instruction.
[0087] In the embodiment of the present application, taking the sound effect adjustment instruction as an example to indicate at least one of the number, type and parameter value of the equalizing filter in the audio playback device, the above S1400 is specifically implemented as controlling the equalizing filter to match the sound effect adjustment instruction according to the sound effect adjustment instruction. On this basis, by adjusting at least one of the number, type and parameter value of the equalizing filter in the audio playback device, the sound effect of the audio device can be changed, thereby changing the shape of the frequency response curve. That is to say, at the visual level, when observing that the shape of the frequency response curve has changed, the user can determine that the sound effect of the audio device has changed.
[0088] In an embodiment of the present application, a method for adjusting sound effects is provided, the method comprising obtaining a frequency response curve of an audio device, and selecting custom sound effect parameters according to the frequency response curve; pushing the frequency response curve and the custom sound effect parameters to a user terminal; receiving a sound effect adjustment instruction from the user terminal; and adjusting the sound effect parameters of the audio device according to the sound effect adjustment instruction. Through this embodiment, a user can input a sound effect adjustment instruction that meets their own needs to adjust the sound effects of an audio device. That is, this embodiment provides a method for meeting the user's personalized needs for smart audio sound effects.
[0089] In one embodiment of the present application, the audio device includes a first microphone and a speaker. Figure 2 As shown, the above S1100 can be specifically implemented through the following S1110-S1114:
[0090] S1110. Control the speaker to play an audio signal.
[0091] In one embodiment, the audio signal played by the loudspeaker may be a frequency sweep signal, or may be a music signal.
[0092] It is understandable that, since the frequency sweep signal is a signal of equal amplitude with a frequency periodically changing within a certain range, the frequency sweep signal can cover a wider frequency range while maintaining a stable sound pressure level. Thus, through the frequency sweep signal, a more accurate frequency response curve of the first microphone can be obtained based on the following S1112.
[0093] S1111. Control the first microphone to collect the audio signal played by the speaker.
[0094] In the embodiment of the present application, while controlling the speaker to play the audio signal, the first microphone is controlled to collect the audio signal played by the speaker.
[0095] In one embodiment of the present application, the sound effect adjustment method provided in the embodiment of the present application further includes, before the above S1111: calibrating the first microphone, so as to provide a basis for the first microphone to collect accurate audio signals.
[0096] S1112. Determine a frequency response curve of the first microphone according to the audio signal collected by the first microphone.
[0097] In one embodiment of the present application, the specific implementation of the above S1112 may be: performing Fourier transform or fast Fourier transform on the audio signal collected by the first microphone to obtain a frequency response curve of the first microphone.
[0098] In another embodiment, the specific implementation of the above S1112 may also be the following S1112-1 and S1112-2:
[0099] S1112-1. Determine a sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone.
[0100] S1112-2. Determine a frequency response curve of the first microphone according to the sound pressure level.
[0101] In this embodiment, the specific implementation of the above S1112-2 can be: according to the sound pressure level, search for a frequency response curve corresponding to a sound pressure level that is the same as or closest to the sound pressure level obtained according to the above S1112-1 in a preset frequency response curve database, and use the found frequency response curve as the frequency response curve of the first microphone in the above S1112-2.
[0102] The preset frequency response curve database stores frequency response curves corresponding to different sound pressure levels.
[0103] In one embodiment, the above-mentioned preset frequency response curve database is obtained by an operator through testing before the audio device leaves the factory. The specific testing process may be: controlling the speaker to play an audio signal with a sound pressure level of a, and controlling the first microphone to collect the audio signal with a sound pressure level of a; testing the frequency response curve of the audio signal with a sound pressure level of a collected by the first microphone; repeating the above steps to obtain the frequency response curves of audio signals with different sound pressure levels.
[0104] It is understandable that in order to avoid the influence of noise on the above test, the above test can be performed in a noise-removing environment.
[0105] It should be noted that since the frequency response curves corresponding to audio signals of the same sound pressure level are the same, the above S1112-2 can be implemented based on the sound pressure level of the audio signal obtained based on the above S1112-1 and the above preset frequency response curve database.
[0106] In the embodiment of the present application, since the sound pressure level of the audio signal can be quickly obtained, the frequency response curve of the first microphone can be quickly obtained through the above S1112-1 and S1112-2.
[0107] S1113. Obtain the transmission amount from the first microphone to the external reference point.
[0108] In the embodiment of the present application, the transmission amount of the external reference point in the above S1113 is obtained by testing by an operator before the audio device leaves the factory. That is to say, the sound effect adjustment method provided in the embodiment of the present application further includes the following steps before the above S1110:
[0109] S1110-1. Control a speaker of an audio device to play an audio signal, and control a first microphone and a test microphone of the audio device to simultaneously collect an audio signal.
[0110] The test microphone is arranged at an external reference point, and the performance and specifications of the test microphone and the first microphone are completely consistent.
[0111] S1110-2. Calculate a frequency response curve of the audio signal collected by the first microphone, and calculate a frequency response curve of the audio signal collected by the test microphone.
[0112] S1110-3. Use the difference between the frequency response curve of the audio signal collected by the test microphone and the frequency response curve of the audio signal collected by the first microphone as the transfer amount from the first microphone to the external reference point.
[0113] The specific calculation method of the difference between the frequency response curve of the audio signal collected by the test microphone and the frequency response curve of the audio signal collected by the first microphone is: subtract the amplitudes corresponding to the same frequency on the two frequency response curves.
[0114] It is understandable that the transfer amount from the first microphone to the external reference point can reflect the change in the frequency response curve from the first microphone to its own position to the external reference point, and the change is caused by the distance. Therefore, when the environment in which the audio device is located and the audio signal played change, the transfer amount from the first microphone to the external reference point is fixed. In addition, in order to avoid the influence of noise on the above test, the above test can be performed in a noise reduction environment.
[0115] S1114. Determine a frequency response curve of the first microphone at the external reference point according to the transmission amount from the first microphone to the external reference point and the frequency response curve of the first microphone.
[0116] In this embodiment, the specific implementation of S1114 may be: taking the sum of the transmission amount from the first microphone to the reference point and the frequency response curve of the first microphone as the frequency response curve of the first microphone at the reference point.
[0117] The sum of the transfer amount from the first microphone to the reference point and the frequency response curve of the first microphone is calculated as follows: the amplitude corresponding to each frequency on the frequency response curve of the first microphone is superimposed with the amplitude corresponding to the same frequency in the transfer amount from the first microphone to the reference point.
[0118] It should be noted that when there are two or more external reference points, by repeating the above steps S1113 and S1114, the frequency response curves of the first microphone at the multiple external reference points can be obtained.
[0119] It can be understood that the above S1110-S1114 can be implemented after the audio device leaves the factory. Therefore, through the above S1110-S1114, it is possible to detect the frequency response curve of the audio device at an external reference point which is the user's usual listening position after the audio device leaves the factory.
[0120] In one embodiment of the present application, the specific implementation of the above S1112 may be the following S1112-3 and S1112-4:
[0121] S1112-3. Filter out the noise signal from the audio signal collected by the first microphone to obtain a noise-reduced audio signal.
[0122] In this embodiment, since the external environment in which the audio device is located usually has noise, the audio signal obtained in the above S1112 includes the audio signal played by the speaker and the noise of the external environment. At the same time, since the vibration of the speaker and the vibration of the first microphone will generate vibration noise, the audio signal obtained based on the above S1112 also includes the vibration noise as mentioned above. On this basis, in order for the first microphone to collect accurate audio signals, the noise signal needs to be filtered out from the audio signal collected by the first microphone.
[0123] S1112-4. Determine a frequency response of the first microphone according to the noise-reduced audio signal.
[0124] In combination with the above embodiment, the sound effect adjustment method provided in the embodiment of the present application further includes the following S1112-31 before the above S1112-3:
[0125] S1112-31. Determine a noise signal according to the audio signal played by the speaker and the audio signal collected by the first microphone.
[0126] In this embodiment, the specific implementation of the above S1112-31 may be: determining the difference between the audio signal collected by the first microphone and the audio signal played by the speaker as the noise signal.
[0127] The audio signal played by the speaker is specifically an audio signal input to the speaker.
[0128] Of course, other methods can also be used to obtain the noise signal in the audio signal collected by the first microphone. For example, the noise signal in the audio signal collected by the first microphone is tracked by the minimum mean recursion method to obtain the noise signal. Alternatively, the noise signal in the audio signal collected by the first microphone is estimated by using Bayesian statistical probability to obtain the noise signal.
[0129] In one embodiment of the present application, when the audio device further includes at least one second microphone, the sound effect adjustment method provided in the embodiment of the present application further includes the following S1115 and S1116 after the above S1114:
[0130] S1115. Obtain a frequency response curve of each second microphone at an external reference point.
[0131] S1116 . Determine a frequency response curve of the microphone array according to the frequency response curve of each second microphone at the external reference point and the frequency response of the first microphone at the external reference point.
[0132] The first microphone and the second microphone form a microphone array.
[0133] In an embodiment of the present application, the audio device includes a microphone array, and the microphone array includes a first microphone and a second microphone.
[0134] In this embodiment, the specific implementation of the above S1115 may be to regard each second microphone as a first microphone, and refer to the above S1110 to S1114 to obtain the frequency response curve of each second microphone at the external reference point.
[0135] In the embodiment of the present application, the frequency response curve of the microphone array at the external reference point can be detected through the above S1115 and S1116.
[0136] In one embodiment, the above S1116 may be implemented by the following S1116-1 and S1116-2:
[0137] S1116-1. Determine an average value curve between the frequency response curve of each second microphone at the external reference point and the frequency response curve of the first microphone at the external reference point.
[0138] In this embodiment, the specific implementation of the above S1116-1 is: determining the average of the amplitudes corresponding to the same frequency on the frequency response curve of each second microphone at the reference point and the frequency response curve of the first microphone at the reference point; recording the curve composed of the coordinate points formed by each average value and the corresponding frequency as the average value curve.
[0139] S1116-2. Determine the average value curve as the frequency response curve of the microphone array at the external reference point.
[0140] Of course, the above S1116 can also be implemented in other ways, for example, the frequency response curve of each second microphone at the reference point and the frequency response curve located in the middle position between the frequency response curve of the first microphone at the reference point can be used as the frequency response curve of the microphone array at the external reference point.
[0141] <Device Example>
[0142] The present application embodiment provides a sound effect adjustment device 300, such as Figure 3 As shown, the sound effect adjustment device 300 includes: an acquisition module 310, a display module 320, a receiving module 330 and an adjustment module 340, wherein:
[0143] An acquisition module 310 is used to acquire a frequency response curve of an audio device and select a custom sound effect parameter according to the frequency response curve;
[0144] A push module 320, used to push the frequency response curve and the custom sound effect parameters to the user end;
[0145] The receiving module 330 is used to receive a sound effect adjustment instruction from a user terminal;
[0146] The adjustment module 340 is used to adjust the sound effect parameters of the audio device according to the sound effect adjustment instruction.
[0147] In one embodiment of the present application, the audio device includes a first microphone and a speaker. The acquisition module 310 includes: a first control unit, a second control unit, a first determination unit, an acquisition unit, and a second determination unit, wherein:
[0148] A first control unit, used to control the speaker to play an audio signal;
[0149] A second control unit, used for controlling the first microphone to collect the audio signal played by the speaker;
[0150] A first determining unit, configured to determine a frequency response curve of the first microphone according to the audio signal collected by the first microphone;
[0151] A first acquisition unit, configured to acquire a transmission amount from the first microphone to an external reference point;
[0152] The second determining unit determines a frequency response curve of the first microphone at an external reference point according to the transmission amount from the first microphone to the external reference point and the frequency response curve of the first microphone.
[0153] In one embodiment, the first determining unit is specifically configured to:
[0154] Determining a sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone;
[0155] A frequency response curve of the first microphone is determined according to the sound pressure level.
[0156] In one embodiment of the present application, the first determining unit is further specifically configured to:
[0157] Filtering out a noise signal from the audio signal collected by the first microphone to obtain a noise-reduced audio signal;
[0158] A frequency response curve of the first microphone is determined according to the noise-reduced audio signal.
[0159] In one embodiment of the present application, the audio device further includes at least one second microphone, and the acquisition module 310 further includes a second acquisition unit and a third determination unit, wherein:
[0160] A second acquisition unit, used to acquire a frequency response curve of each of the second microphones at an external reference point;
[0161] The third determining unit is used to determine the frequency response curve of the microphone array according to the frequency response curve of each of the second microphones at the external reference point and the frequency response curve of the first microphone at the external reference point, wherein the first microphone and the second microphone constitute the microphone array.
[0162] In one embodiment of the present application, the third determining unit is specifically configured to:
[0163] Determine an average value curve between the frequency response curve of each second microphone at the external reference point and the frequency response curve of the first microphone at the external reference point;
[0164] The average value curve is determined as the frequency response curve of the microphone array at an external reference point.
[0165] In one embodiment of the present application, the sound effect adjustment device 300 provided in the embodiment of the present application further includes a design module and a display module, wherein:
[0166] A design module, used to design a user interface UI interface adapted to the audio device;
[0167] A display module is used to display the frequency response curve and the custom sound effect parameters on the screen of the audio device through the UI interface, or to establish a connection between the audio device and a remote control device, and to display the frequency response curve and the custom sound effect parameters on the screen of the remote control device through the UI interface and the connection.
[0168] <Equipment Embodiment>
[0169] An embodiment of the present application provides an electronic device 400, which includes a sound effect adjustment device 300 as described in any one of the above device embodiments.
[0170] Or, if Figure 4 As shown, it includes a memory 410 and a processor 420, the memory 410 is used to store computer instructions, and the processor 420 is used to call the computer instructions from the memory 410 to execute the sound effect adjustment method as described in any one of the above method embodiments.
[0171] In one embodiment of the present application, the electronic device 400 may be an audio device, or may be an external electronic device connected to the audio device, such as a laptop computer.
[0172] In one embodiment of the present application, when the electronic device 400 is an audio device, the electronic device 400 further includes a speaker and a microphone module, and the microphone module includes a first speaker, or further includes at least one second microphone, wherein:
[0173] The speaker is used to play audio signals;
[0174] The microphone module is used to collect the audio signal played by the speaker.
[0175] <Storage Medium Embodiment>
[0176] An embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the computer program implements any one of the sound effect adjustment methods provided in the above method embodiments.
[0177] The present application may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present application.
[0178] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0179] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0180] The computer program instructions for performing the operation of the present application can be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions can be executed completely on a user's computer, partially on a user's computer, executed as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of a computer-readable program instruction to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA) or a programmable logic array (PLA), the electronic circuit can execute a computer-readable program instruction, thereby realizing various aspects of the present application.
[0181] Various aspects of the present application are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0182] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0183] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0184] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, program segment or instruction, and the part of the module, program segment or instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0185] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present application is defined by the appended claims.
Claims
1. A sound effect adjustment method, characterized in that: The method comprises: Obtaining a frequency response curve of an audio device, and selecting custom sound effect parameters according to the frequency response curve; Pushing the frequency response curve and the custom sound effect parameters to the user end; Receive sound effect adjustment instructions from the user end; According to the sound effect adjustment instruction, adjust the sound effect parameters of the audio device; The audio device includes a first microphone and a speaker; and obtaining a frequency response curve of the audio device includes: Controlling the speaker to play an audio signal; Controlling the first microphone to collect the audio signal played by the speaker; Determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone; Acquire a transfer amount from the first microphone to an external reference point; wherein the transfer amount from the first microphone to the external reference point is used to reflect a change in a frequency response curve from the position of the first microphone itself to the external reference point, wherein the change is caused by the distance; A frequency response curve of the first microphone at the external reference point is determined according to the transmission amount from the first microphone to the external reference point and the frequency response curve of the first microphone.
2. The method according to claim 1, characterized in that The step of determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone includes: Determining a sound pressure level of the audio signal collected by the first microphone according to the audio signal collected by the first microphone; A frequency response curve of the first microphone is determined according to the sound pressure level.
3. The method according to claim 1 or 2, characterized in that: The step of determining a frequency response curve of the first microphone according to the audio signal collected by the first microphone includes: Filtering out a noise signal from the audio signal collected by the first microphone to obtain a noise-reduced audio signal; A frequency response curve of the first microphone is determined according to the noise-reduced audio signal.
4. The method according to claim 1, characterized in that: The audio device further includes at least one second microphone. After determining the frequency response curve of the first microphone at the external reference point based on the distance from the first microphone to the external reference point and the frequency response curve of the first microphone, the method includes: Obtaining a frequency response curve of each of the second microphones at an external reference point; A frequency response curve of a microphone array is determined according to the frequency response curve of each of the second microphones at an external reference point and the frequency response curve of the first microphone at an external reference point, wherein the first microphone and the second microphone constitute the microphone array.
5. The method according to claim 4, characterized in that Determining the frequency response curve of the microphone array according to the frequency response curve of each of the second microphones at the external reference point and the frequency response curve of the first microphone at the external reference point includes: Determine an average value curve between the frequency response curve of each second microphone at the external reference point and the frequency response curve of the first microphone at the external reference point; The average value curve is determined as the frequency response curve of the microphone array at an external reference point.
6. The method according to claim 1, characterized in that The method further comprises: Designing a user interface UI that is compatible with the audio device; The frequency response curve and the custom sound effect parameters are displayed on the screen of the audio device through the UI interface, or a connection is established between the audio device and a remote control device, and the frequency response curve and the custom sound effect parameters are displayed on the screen of the remote control device through the UI interface and the connection.
7. A sound effect adjustment device, characterized in that: The device comprises: An acquisition module is used to obtain the frequency response curve of the audio device and select custom sound effect parameters according to the frequency response curve; A push module, used to push the frequency response curve and custom sound effect parameters to the user end; A receiving module, used for receiving a sound effect adjustment instruction from a user end; An adjustment module, used to adjust the sound effect parameters of the audio device according to the sound effect adjustment instruction; The audio device includes a first microphone and a speaker; the acquisition module includes: a first control unit, a second control unit, a first determination unit, an acquisition unit, and a second determination unit, wherein: The first control unit is used to control the speaker to play an audio signal; The second control unit is used to control the first microphone to collect the audio signal played by the speaker; The first determining unit is used to determine a frequency response curve of the first microphone according to the audio signal collected by the first microphone; The acquisition unit is used to acquire the transfer amount from the first microphone to the external reference point; wherein the transfer amount from the first microphone to the external reference point is used to reflect the change of the frequency response curve from the position of the first microphone itself to the external reference point, and the change is caused by the distance; The second determination unit determines a frequency response curve of the first microphone at an external reference point according to the transmission amount from the first microphone to the external reference point and the frequency response curve of the first microphone.
8. An electronic device, characterized in that: comprising the sound effect adjustment device as claimed in claim 7; Alternatively, it includes a memory and a processor, wherein the memory is used to store computer instructions, and the processor is used to call the computer instructions from the memory to execute the sound effect adjustment method as described in any one of claims 1-6.
9. The device according to claim 8, characterized in that The device further includes: a speaker and a microphone module, the microphone module includes a first microphone, or further includes at least one second microphone, wherein: The speaker is used to play audio signals; The microphone module is used to collect the audio signal played by the speaker.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the sound effect adjustment method according to any one of claims 1-6 is implemented.
