CN110995909B - Sound compensation method and device - Google Patents

Sound compensation method and device Download PDF

Info

Publication number
CN110995909B
CN110995909B CN201911144886.6A CN201911144886A CN110995909B CN 110995909 B CN110995909 B CN 110995909B CN 201911144886 A CN201911144886 A CN 201911144886A CN 110995909 B CN110995909 B CN 110995909B
Authority
CN
China
Prior art keywords
distance
module
compensation coefficient
sound
inner cavity
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
CN201911144886.6A
Other languages
Chinese (zh)
Other versions
CN110995909A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911144886.6A priority Critical patent/CN110995909B/en
Publication of CN110995909A publication Critical patent/CN110995909A/en
Application granted granted Critical
Publication of CN110995909B publication Critical patent/CN110995909B/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/02Constructional features of telephone sets
    • H04M1/03Constructional features of telephone transmitters or receivers, e.g. telephone hand-sets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components

Abstract

The invention provides a sound compensation method, a sound compensation device and a mobile terminal. The method comprises the following steps: under the condition that the telescopic module is positioned in the inner cavity, acquiring a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity through the first distance detection piece; acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece; determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance; compensating the audio signal of the acoustic device according to the sound compensation coefficient; the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall. The invention can adaptively compensate the audio signal of the acoustic device, and finally the sound output of the receiver has better consistency.

Description

Sound compensation method and device
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for sound compensation.
Background
With the continuous development of communication technology, mobile terminals (such as mobile phones) have been gradually applied to the life and work of people.
The mobile terminals all pursue high screen ratio, in order to realize full screen, some front cameras of the mobile terminals have adopted the pop-up slider, in order to guarantee the front camera slider is in the centre position when popping out, the pop-up has also had the scheme that the receiver pops up with the front camera, under this situation, the receiver and the front camera are all placed in the pop-up slider device, the pop-up slider needs to open the sound hole, the complete machine equipment has the sound hole too, therefore the receiver of the complete machine goes out the sound and has two layers of sound holes, one layer is located on the pop-up slider, the other layer is located on the complete machine. The gap between the two layers of holes becomes the key size of the sound output of the receiver, and the consistency of the gap can influence the consistency of the receiving loudness and frequency response of the receiver. The subjective feeling of machines with different gaps is that the sound output of a receiver is different in size and tone quality.
The pop-up sliding block is popped up and retracted by the control of a motor, the retraction positions of the sliding block are possibly not very same every time, and the sound output hole of the telephone receiver is not necessarily over against the sound output hole of the whole equipment, so that the receiving loudness and the frequency response consistency of the telephone receiver are influenced.
Disclosure of Invention
The embodiment of the invention provides a sound compensation method and a sound compensation device, which are used for solving the problem that when a sliding block retracts in the prior art, the sound output hole of a receiver is not opposite to the sound output hole of the whole equipment, so that the receiving loudness and frequency response consistency of the receiver are poor.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a sound compensation method applied to an electronic device with a retractable module, where the electronic device includes a housing, the housing includes an inner cavity and a through hole communicated with the inner cavity, the retractable module can retract into the inner cavity or at least partially extend out of the housing through the through hole, the retractable module is provided with an acoustic device, the housing is further provided with a sound outlet, the sound outlet is at least partially opposite to the acoustic device when the retractable module is located in the inner cavity, and at least one of the retractable module and the housing is provided with a first distance detector and a second distance detector, including:
under the condition that the telescopic module is positioned in the inner cavity, acquiring a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity through the first distance detection piece;
acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece;
determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance;
compensating the audio signal of the acoustic device according to the sound compensation coefficient;
the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
In a second aspect, an embodiment of the present invention further provides a sound compensation device applied to an electronic device with a retractable module, where the electronic device includes a housing, the housing includes an inner cavity and a through hole communicated with the inner cavity, the retractable module can retract into the inner cavity or at least partially extend out of the housing through the through hole, the retractable module is provided with an acoustic device, the housing is further provided with a sound outlet hole, the sound outlet hole is at least partially opposite to the acoustic device when the retractable module is located in the inner cavity, and at least one of the retractable module and the housing is provided with a first distance detector and a second distance detector, including:
the first distance acquisition module is used for acquiring a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity through the first distance detection piece under the condition that the telescopic module is positioned in the inner cavity;
the second distance acquisition module is used for acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece;
the compensation coefficient determining module is used for determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance;
the audio signal compensation module is used for compensating the audio signal of the acoustic device according to the sound compensation coefficient;
the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, where the computer program, when executed by the processor, implements the steps of the sound compensation method described in any one of the above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the sound compensation method described in any one of the above.
In the embodiment of the invention, under the condition that the telescopic module is positioned in the inner cavity, a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained through the first distance detection piece, a second distance between a first side wall of the telescopic module and a second side wall of the inner cavity is obtained through the second distance detection piece, a sound compensation coefficient of the acoustic device is determined according to the first distance and the second distance, and an audio signal of the acoustic device is compensated according to the sound compensation coefficient. According to the embodiment of the invention, the distance detection piece is used for acquiring the gap between the telescopic module and the whole machine, and the audio signal of the acoustic device is compensated in a self-adaptive manner, so that the sound output of the receiver has better consistency.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for sound compensation according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for sound compensation according to an embodiment of the present invention;
fig. 2a is a schematic diagram of a distance detecting device according to an embodiment of the present invention;
fig. 2b is a schematic diagram of a capacitance detection circuit according to an embodiment of the invention;
fig. 3 is a schematic structural diagram of a sound compensation apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a sound compensation apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flow chart of steps of a sound compensation method provided in an embodiment of the present invention is shown, and the sound compensation method is applied to an electronic device provided with a telescopic module, where the electronic device includes a housing, the housing is provided with an inner cavity and a through hole communicated with the inner cavity, the telescopic module can retract into the inner cavity or at least partially extend out of the housing through the through hole, the telescopic module is provided with an acoustic device, the housing is further provided with a sound outlet, the sound outlet is at least partially opposite to the acoustic device under the condition that the telescopic module is located in the inner cavity, and at least one of the telescopic module and the housing is provided with a first distance detector and a second distance detector, and the sound compensation method specifically includes the following steps:
step 101: the telescopic module is located in the inner cavity, and a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained through the first distance detection piece.
In an embodiment of the present invention, the electronic Device may be an electronic Device such as a mobile phone and a PAD (Portable Android Device) that is provided with a retractable module, and the electronic Device may include a casing, for example, a mobile phone shell, and the like, an inner cavity and a through hole communicated with the inner cavity are disposed in the casing, the retractable module may retract into the inner cavity or at least partially may extend out of the casing through the through hole, an acoustic Device is disposed in the retractable module, a sound outlet hole is further disposed on the casing, the sound outlet hole is opposite to at least a portion of the acoustic Device when the retractable module is located in the inner cavity, and at least one of the retractable module and the casing is provided with a first distance detector and a second distance detector. The acoustic device may be disposed on the first sidewall and the sound outlet hole is located on the second sidewall.
The above structure can be described in detail with reference to fig. 2a as follows.
Referring to fig. 2a, a schematic diagram of a distance detection apparatus according to an embodiment of the present invention is shown, as shown in fig. 2a, an inner cavity is pre-arranged on an electronic device, a telescopic module can be just accommodated in the inner cavity, and a front camera and an acoustic device are arranged in the telescopic module.
The acoustic device may be a microphone, a receiver, or the like, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
The first distance is the distance between the bottom end of the telescopic module and the bottom surface of the inner cavity.
The situation where the telescopic member is located in the inner cavity can be divided into two categories:
one is that the telescopic module is always in the inner cavity, in this case, since the user walking vibration may cause the distance between the bottom end of the telescopic module and the bottom surface of the inner cavity to change, the present invention can perform distance detection once every set time. The other is that the telescopic module retracts to the inner cavity.
Under the condition that flexible device is located the inner chamber, can obtain the first distance between the bottom of flexible module and the bottom surface of inner chamber through first distance detection piece, specifically, can detect the electric capacity between two dull and stereotyped electrodes through the dull and stereotyped electrode that sets up in the bottom of flexible module and the dull and stereotyped electrode that the bottom surface of inner chamber set up, determine the distance between the bottom of flexible module and the inner chamber bottom surface through electric capacity.
After the first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained through the first distance detecting member, step 102 is executed.
Step 102: and acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece.
An acoustic device is arranged on one side of the telescopic module, and a sound outlet hole opposite to the acoustic device is further formed in one side of the inner cavity.
The first side wall refers to a side wall of the telescopic module, which is opposite to the inner cavity in the telescopic direction of the telescopic module, of the inner cavity.
The second side wall refers to the side wall on the inner cavity opposite to the first side wall.
The second distance is the distance between the first side wall of the telescopic module and the second side wall of the inner cavity.
Be provided with the second apart from the detection piece on any one in flexible module and casing, after acquireing first distance, can acquire the second distance between the first lateral wall of flexible module and the second lateral wall of inner chamber through the second apart from the detection piece. The manner of acquiring the second distance may be by an infrared distance measuring sensor, and specifically, will be described in detail in the following embodiment two, which is not repeated herein.
After acquiring the second distance between the first sidewall of the telescopic module and the second sidewall of the inner cavity through the second distance detecting member, step 103 is performed.
Step 103: inputting the first distance and the second distance to the compensation coefficient neural network model.
The sound compensation coefficient refers to a coefficient that compensates an audio signal of the acoustic device.
After the first distance and the second distance are obtained, a sound compensation coefficient of the acoustic device may be determined according to the first distance and the second distance, and in the present invention, the sound compensation coefficient may be obtained according to a pre-trained compensation coefficient neural network model in combination with the first distance and the second distance, which will be specifically described in detail in the following embodiment two, and details of the embodiment of the present invention are not repeated here.
After determining the sound compensation coefficient of the acoustic device according to the first distance and the second distance, step 104 is performed.
Step 104: and compensating the audio signal of the acoustic device according to the sound compensation coefficient.
The audio signal refers to a frequency and amplitude variation information carrier with regular sound waves of voice, music and sound effects.
After obtaining the sound compensation coefficient, the sound compensation coefficient may be used to compensate the audio signal of the acoustic device, and specifically, the sound compensation coefficient may include: the gain compensation coefficient and the recursive filter compensation coefficient may be used to compensate the loudness of the audio signal by using the gain compensation coefficient, and to compensate the frequency of the audio signal by using the recursive filter compensation coefficient, which will be described in detail in the following embodiments.
According to the embodiment of the invention, the distance detection piece is used for acquiring the gap between the telescopic module and the whole machine, and the audio signal of the acoustic device is compensated in a self-adaptive manner, so that the sound output of the receiver has better consistency.
According to the sound compensation method provided by the embodiment of the invention, under the condition that the telescopic module is positioned in the inner cavity, a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained through the first distance detection piece, a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity is obtained through the second distance detection piece, the sound compensation coefficient of the acoustic device is determined according to the first distance and the second distance, and the audio signal of the acoustic device is compensated according to the sound compensation coefficient. According to the embodiment of the invention, the distance detection piece is used for acquiring the gap between the telescopic module and the whole machine, and the audio signal of the acoustic device is compensated in a self-adaptive manner, so that the sound output of the receiver has better consistency.
Example two
Referring to fig. 2, a flow chart of steps of a sound compensation method provided in an embodiment of the present invention is shown, and the sound compensation method is applied to an electronic device provided with a telescopic module, where the electronic device includes a housing, the housing is provided with an inner cavity and a through hole communicated with the inner cavity, the telescopic module can retract into the inner cavity or at least partially extend out of the housing through the through hole, the telescopic module is provided with an acoustic device, the housing is further provided with a sound outlet, the sound outlet is at least partially opposite to the acoustic device under the condition that the telescopic module is located in the inner cavity, and at least one of the telescopic module and the housing is provided with a first distance detector and a second distance detector, and the sound compensation method specifically includes the following steps:
step 201: obtaining a plurality of training samples; each of the training samples includes a first initial distance and a second initial distance.
In an embodiment of the present invention, the electronic Device may be an electronic Device such as a mobile phone and a PAD (Portable Android Device) that is provided with a retractable module, and the electronic Device may include a casing, for example, a mobile phone shell, and the like, an inner cavity and a through hole communicated with the inner cavity are disposed in the casing, the retractable module may retract into the inner cavity or at least partially may extend out of the casing through the through hole, an acoustic Device is disposed in the retractable module, a sound outlet hole is further disposed on the casing, the sound outlet hole is opposite to at least a portion of the acoustic Device when the retractable module is located in the inner cavity, and at least one of the retractable module and the casing is provided with a first distance detector and a second distance detector. The acoustic device may be disposed on the first sidewall and the sound outlet hole is located on the second sidewall. The acoustic device may be disposed on the first sidewall and the sound outlet hole is located on the second sidewall.
The acoustic device may be a microphone, a receiver, or the like, and specifically, may be determined according to actual situations, and the embodiment of the present invention is not limited thereto.
To flexible module and the ascending interval d of casing in the Z direction, infrared distance measuring sensor starts the back, can directly return the value of interval d, and is comparatively convenient. A sensor such as a laser ranging sensor may be used instead, and an infrared ranging sensor is exemplified in the following steps of the present invention.
The plate capacitor can also be replaced by infrared distance measuring sensors, laser distance measuring sensors and the like. In the following steps of the present invention, a plate capacitor is taken as an example for explanation.
The training samples refer to samples used for training the neural network model when the telescopic module is located at different positions.
The training sample can comprise a first initial distance and a second initial distance, wherein the first initial distance refers to the distance between the bottom end of the telescopic module and the bottom surface of the inner cavity; the second initial distance is the distance between the first side wall of the telescopic module block provided with the acoustic device and the second side wall of the inner cavity on the side provided with the sound outlet.
Among a plurality of training samples, there may be samples in which the first initial distances are the same and the second initial distances are different; the first initial distance may be different from the second initial distance, and the second initial distance may be the same.
After acquiring the plurality of training samples, step 202 is performed.
Step 202: inputting the plurality of training samples to an initial neural network model.
The initial neural network model refers to a neural network model that has not been trained.
After obtaining the plurality of training samples, the initial neural network model may be trained using the plurality of training samples, and specifically, in the training process, the plurality of training samples may be sequentially input to the initial neural network model to train the initial neural network model.
After inputting the plurality of training samples to the initial neural network model, step 203 is performed.
Step 203: and determining a test compensation coefficient corresponding to each training sample according to the plurality of training samples and the initial neural network model.
After each training sample is input into the initial neural network model, the initial neural network model may output a test compensation coefficient.
After determining the test compensation coefficient corresponding to each training sample according to the plurality of training samples and the initial neural network model, step 204 is performed.
Step 204: calculating a loss value of the initial neural network model based on the test compensation coefficients and the real compensation coefficients of the training samples.
The real compensation coefficient refers to an accurate sound compensation coefficient corresponding to each training sample.
The loss value is a loss value between a real compensation coefficient and a test compensation coefficient obtained after the initial neural network model is trained by adopting the training sample.
The loss value may reflect the result of training the initial neural network model.
After the test compensation coefficient corresponding to each training sample is determined, the loss value of the initial neural network model can be calculated according to the test compensation coefficient and the real compensation coefficient, and it can be understood that the technique for calculating the loss value is a mature technique in the art, and for a specific calculation mode, the embodiment of the present invention is not described in detail herein.
After calculating the loss value of the initial neural network model based on the test compensation coefficients and the true compensation coefficients of the training samples, step 205 is performed.
Step 205: and under the condition that the loss value is within a preset range, taking the initial neural network model as a compensation coefficient neural network model.
The preset range can be set according to the actual application scene and the actual requirement, and the embodiment of the invention does not limit the preset range.
Further, if the loss value is within the preset range, the deviation between the predicted intention value and the real intention value of each training sample can be considered to be very small, at this time, the predicted intention value and the real intention value of the training sample can be considered to be consistent, the initial audio processing model can correctly predict the real intention of the training sample, and accordingly, the initial neural network model can be used as a compensation coefficient neural network model.
In the case that the loss value is within the preset range, after the initial neural network model is used as the compensation coefficient neural network model, step 206 is executed.
Step 206: and under the condition that the telescopic module is positioned in the inner cavity, determining the first distance according to the capacitance value between the first polar plate and the second polar plate through the first distance detection piece.
The first polar plate is a polar plate arranged at the bottom end of the telescopic module.
The second electrode plate is a polar plate which is arranged on the bottom surface of the inner cavity and is opposite to the first polar plate.
The capacitance value is a capacitance value between the first polar plate and the second polar plate, as shown in fig. 2a, an inner cavity is pre-arranged on the electronic device, the telescopic module can be just accommodated in the inner cavity, a front camera and an acoustic device are arranged in the telescopic module, and two metal sheets at two ends of the distance d1 can be respectively used as the first polar plate and the second polar plate.
The first distance is the distance between the bottom end of the telescopic module and the bottom surface of the inner cavity.
The situation where the telescopic member is located in the inner cavity can be divided into two categories:
one is that the telescopic module is always in the inner cavity, in this case, since the user walking vibration may cause the distance between the bottom end of the telescopic module and the bottom surface of the inner cavity to change, the present invention can perform distance detection once every set time. The other is that the telescopic module retracts to the inner cavity.
The first distance detecting element is a circuit disposed in the electronic device for detecting a capacitance between the first plate and the second plate, for example, referring to fig. 2b, a schematic diagram of a capacitance detecting circuit according to an embodiment of the present invention is shown, and as shown in fig. 2b, the capacitance detecting circuit may include: the capacitance detection circuit can detect the capacitance value between the first plate and the second plate.
After the capacitance value between the first plate and the second plate is obtained, the first distance can be calculated according to the dielectric medium between the first plate and the second plate and the facing area between the first plate and the second plate, specifically, as can be seen from capacitance formula C = (ɛ × S)/d1, when the gap d1 between the complete machine and the slide block Y direction is different, the capacitance value C of the plate capacitor is also different. According to the formula C = Q/U, the capacitance change can be converted into voltage change, the voltage change is amplified by the transistor and output to the waveform detection device for detection, and the detection result of the detection circuit and the gap d1 between the whole machine and the sliding block have a one-to-one correspondence relationship.
After the first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained by the first distance detecting member, step 207 is executed.
Step 207: and acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece.
An acoustic device is arranged on one side of the telescopic module, and a sound outlet hole opposite to the acoustic device is further formed in one side of the inner cavity.
The first side wall refers to a side wall of the telescopic module, which is opposite to the inner cavity in the telescopic direction of the telescopic module, of the inner cavity.
The second side wall refers to the side wall on the inner cavity opposite to the first side wall.
The second distance is the distance between the first side wall of the telescopic module and the second side wall of the inner cavity.
Be provided with the second apart from the detection piece on any one in flexible module and casing, after acquireing first distance, can acquire the second distance between the first lateral wall of flexible module and the second lateral wall of inner chamber through the second apart from the detection piece. The second distance may be acquired by an infrared distance measuring sensor.
In the present invention, the second distance detecting element may be an infrared distance measuring sensor, and step 207 may include:
substep A1: and under the condition that the number of the infrared distance measuring sensors is one, determining the second distance through the infrared distance measuring sensors.
Substep A2: and under the condition that the number of the infrared ranging sensors is multiple, determining the second distance according to the distance parameter acquired by each infrared ranging sensor.
In the present invention, the infrared distance measuring sensor is used for measuring a distance between a first side wall of the telescopic module, which is provided with the telescopic module, and a second side wall of the inner cavity, which is provided with the sound outlet, i.e. a second distance, where a distance d shown in fig. 2a is the second distance.
When the number of the arranged infrared distance measuring sensors is one, the second distance can be measured through the infrared distance measuring sensors. Specifically, the incident light can be emitted to the side wall of the telescopic module or the side wall of the housing according to the infrared ranging sensor, the emitting time of the incident light is recorded, the time for receiving the reflected light can be recorded after the infrared ranging sensor receives the reflected light of the incident light, and the second distance, namely, the second distance = (receiving time-emitting time) × transmission speed can be calculated according to the transmission speed of the incident light after the emitting time of the incident light and the receiving time of the reflected light received by the ranging sensor are recorded.
And when the quantity of the infrared distance measuring sensors is a plurality, the second distance can be measured according to the distance parameter obtained by each infrared distance measuring sensor. Specifically, the emitting light can be emitted to the same point of the side wall of the telescopic module or the side wall of the shell through the infrared distance measuring sensor, the emitting time of the emitting light is recorded, the time of receiving the reflecting light can be recorded after the infrared distance measuring sensor receives the reflecting light of the emitting light, and the second distance is obtained through calculation by combining the triangular constant force after the emitting time of the emitting light is recorded and the receiving time of the reflecting light is received by the distance measuring sensor.
It should be understood that the above examples are only examples for better understanding of the technical solutions of the embodiments of the present invention, and are not to be taken as the only limitation of the embodiments of the present invention.
After acquiring the second distance between the first sidewall of the telescopic module and the second sidewall of the inner cavity by the second distance detecting member, step 208 is performed.
Step 208: and inputting the first distance and the second distance into a pre-trained compensation coefficient neural network model.
Step 209: and acquiring the sound compensation coefficient of the acoustic device output by the compensation coefficient neural network model.
The sound compensation coefficient refers to a coefficient for compensating an audio signal of the acoustic device.
After the first distance and the second distance are obtained, the first distance and the second distance may be input to a pre-trained compensation coefficient neural network model, and then, a sound compensation coefficient output by the compensation coefficient neural network model may be obtained.
After the first distance and the second distance are input to the pre-trained compensation coefficient neural network model to determine the sound compensation coefficient, step 210 is performed.
Step 210: and compensating the loudness of the audio signal by adopting the gain compensation coefficient, and compensating the frequency response of the audio signal by adopting the recursive filter compensation coefficient.
In the present invention, the sound compensation coefficient may include a gain compensation coefficient and a recursive filter compensation coefficient (i.e., an IIR compensation coefficient),
the gain compensation factor may be used to compensate for the loudness of the audio signal.
The IIR compensation coefficient may be used to compensate for the frequency of the audio signal.
After obtaining the sound compensation coefficient, the loudness of the audio signal may be compensated by using the gain compensation coefficient, and the frequency response of the audio signal may be compensated by using the recursive filter compensation coefficient.
According to the embodiment of the invention, the gain compensation coefficient and the IIR compensation coefficient corresponding to different distance values are preset, so that the loudness and frequency response of the audio signal emitted by the acoustic device can be compensated in the subsequent process, and the loudness and sound quality of the whole machine with different gaps can be consistent.
The sound compensation method provided by the embodiment of the invention has the beneficial effects of the sound compensation method provided by the embodiment one, and can also preset the gain compensation coefficient and the IIR compensation coefficient corresponding to different distance values, so that the loudness and the frequency response of the audio signal of the acoustic device can be compensated in the subsequent process, the loudness and the sound quality of machines with different gaps are consistent, and the problems that some machines have large sound, some machines have small sound and the sound quality is different are avoided.
EXAMPLE III
Referring to fig. 3, a schematic structural diagram of a sound compensation device according to an embodiment of the present invention is shown, and the sound compensation device is applied to an electronic device with a retractable module, where the electronic device includes a housing, the housing is provided with an inner cavity and a through hole communicated with the inner cavity, the retractable module can be retracted into the inner cavity or at least partially extended out of the housing through the through hole, the retractable module is provided with an acoustic device, the housing is further provided with a sound outlet, the sound outlet is at least partially opposite to the acoustic device under the condition that the retractable module is located in the inner cavity, at least one of the retractable module and the housing is provided with a first distance detector and a second distance detector, and the sound compensation device specifically includes the following modules:
a first distance obtaining module 310, configured to obtain, by the first distance detecting element, a first distance between a bottom end of the telescopic module and a bottom surface of the inner cavity when the telescopic module is located in the inner cavity;
a second distance obtaining module 320, configured to obtain, through the second distance detecting element, a second distance between the first sidewall of the telescopic module and the second sidewall of the inner cavity;
a compensation coefficient determining module 330, configured to determine a sound compensation coefficient of the acoustic device according to the first distance and the second distance;
the audio signal compensation module 340 is configured to compensate the audio signal of the acoustic device according to the sound compensation coefficient;
the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
According to the sound compensation device provided by the embodiment of the invention, under the condition that the telescopic module is positioned in the inner cavity, a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained through the first distance detection piece, a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity is obtained through the second distance detection piece, the sound compensation coefficient of the acoustic device is determined according to the first distance and the second distance, and the audio signal of the acoustic device is compensated according to the sound compensation coefficient. According to the embodiment of the invention, the distance detection piece is used for acquiring the gap between the telescopic module and the whole machine, and the audio signal of the acoustic device is compensated in a self-adaptive manner, so that the sound output of the receiver has better consistency.
Example four
Referring to fig. 4, a schematic structural diagram of a sound compensation device according to an embodiment of the present invention is shown, and the sound compensation device is applied to an electronic device with a retractable module, where the electronic device includes a housing, the housing is provided with an inner cavity and a through hole communicated with the inner cavity, the retractable module can be retracted into the inner cavity or at least partially extended out of the housing through the through hole, the retractable module is provided with an acoustic device, the housing is further provided with a sound outlet, the sound outlet is at least partially opposite to the acoustic device under the condition that the retractable module is located in the inner cavity, at least one of the retractable module and the housing is provided with a first distance detector and a second distance detector, and the sound compensation device specifically includes the following modules:
a training sample obtaining module 410, configured to obtain a plurality of training samples; each training sample comprises a first initial distance and a second initial distance;
a training sample input module 420, configured to input the plurality of training samples to an initial neural network model;
a test coefficient determining module 430, configured to determine, according to the training samples and the initial neural network model, a test compensation coefficient corresponding to each training sample;
a loss value calculation module 440, configured to calculate a loss value of the initial neural network model based on the test compensation coefficient and the real compensation coefficient of the training sample;
a compensation model determining module 450, configured to use the initial neural network model as a compensation coefficient neural network model when the loss value is within a preset range;
a first distance obtaining module 460, configured to obtain, by the first distance detecting element, a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity when the telescopic module is located in the inner cavity;
a second distance obtaining module 470, configured to obtain, through the second distance detecting element, a second distance between the first sidewall of the telescopic module and the second sidewall of the inner cavity;
a compensation coefficient determining module 480, configured to determine a sound compensation coefficient of the acoustic device according to the first distance and the second distance;
the audio signal compensation module 490 is configured to compensate the audio signal of the acoustic device according to the sound compensation coefficient;
the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
Preferably, the compensation factor determining module 480 includes:
a distance input sub-module 481 for inputting the first distance and the second distance to the compensation coefficient neural network model;
a compensation coefficient obtaining sub-module 482, configured to obtain the sound compensation coefficient of the acoustic device output by the compensation coefficient neural network model.
Preferably, a first polar plate is arranged at the bottom end of the telescopic module, a second polar plate opposite to the first polar plate is arranged on the bottom surface of the inner cavity, and the first distance obtaining module 460 includes:
the first distance obtaining sub-module 461 is configured to determine the first distance according to a capacitance value between the first polar plate and the second polar plate.
Preferably, the second distance detector is an infrared distance measuring sensor, and the second distance acquiring module 470 includes:
a second distance determining submodule, configured to determine, by using the infrared ranging sensors, the second distance when the number of the infrared ranging sensors is one;
and the second distance determining submodule is used for determining the second distance according to the distance parameter acquired by each infrared ranging sensor under the condition that the number of the infrared ranging sensors is multiple.
Preferably, the sound compensation coefficient includes: gain compensation coefficients and recursive filter compensation coefficients, the audio signal compensation module 490 includes:
and an audio signal compensation sub-module 491, configured to compensate the loudness of the audio signal by using the gain compensation coefficient, and compensate the frequency response of the audio signal by using the recursive filter compensation coefficient.
The sound compensation device provided by the embodiment of the invention has the beneficial effects of the sound compensation device provided by the third embodiment, and can also preset the gain compensation coefficient and the IIR compensation coefficient corresponding to different distance values, so that the loudness and the frequency response of the audio signal of the acoustic device can be compensated in the subsequent process, the loudness and the sound quality of machines with different gaps are consistent, and the problems that some machines have large sound, some machines have small sound and the sound quality is different are solved.
EXAMPLE five
Referring to fig. 5, a hardware structure diagram of a mobile terminal for implementing various embodiments of the present invention is shown.
The mobile terminal 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 5 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
A processor 510, configured to obtain, through the first distance detection element, a first distance between a bottom end of the telescopic module and a bottom surface of the inner cavity when the telescopic module is located in the inner cavity; acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece; determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance; compensating the audio signal of the acoustic device according to the sound compensation coefficient; the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
In the embodiment of the invention, under the condition that the telescopic module is positioned in the inner cavity, a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity is obtained through the first distance detection piece, a second distance between a first side wall of the telescopic module and a second side wall of the inner cavity is obtained through the second distance detection piece, a sound compensation coefficient of the acoustic device is determined according to the first distance and the second distance, and an audio signal of the acoustic device is compensated according to the sound compensation coefficient. According to the embodiment of the invention, the distance detection piece is used for acquiring the gap between the telescopic module and the whole machine, and the audio signal of the acoustic device is compensated in a self-adaptive manner, so that the sound output of the receiver has better consistency.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access through the network module 502, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 5061 and/or a backlight when the mobile terminal 500 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 508 is an interface through which an external device is connected to the mobile terminal 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 500 or may be used to transmit data between the mobile terminal 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the mobile terminal. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The mobile terminal 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the mobile terminal 500 includes some functional modules that are not shown, and thus, are not described in detail herein.
Preferably, an embodiment of the present invention further provides a mobile terminal, which includes a processor 510, a memory 509, and a computer program stored in the memory 509 and capable of running on the processor 510, where the computer program, when executed by the processor 510, implements each process of the above-mentioned sound compensation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the sound compensation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A sound compensation method is applied to electronic equipment provided with a telescopic module, the electronic equipment comprises a shell, the shell is provided with an inner cavity and a through hole communicated with the inner cavity, the telescopic module can retract into the inner cavity or at least partially extend out of the shell through the through hole, the telescopic module is provided with an acoustic device, the shell is further provided with a sound outlet hole, under the condition that the telescopic module is located in the inner cavity, the sound outlet hole is at least partially opposite to the acoustic device, and at least one of the telescopic module and the shell is provided with a first distance detection piece and a second distance detection piece, and the method is characterized by comprising the following steps:
under the condition that the telescopic module is positioned in the inner cavity, acquiring a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity through the first distance detection piece;
acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece;
determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance;
compensating the audio signal of the acoustic device according to the sound compensation coefficient;
the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
2. The method of claim 1, further comprising, before said obtaining a first distance between a bottom end of the telescoping module and a bottom surface of the internal cavity via the first distance detector:
obtaining a plurality of training samples; each training sample comprises a first initial distance and a second initial distance;
inputting the plurality of training samples to an initial neural network model;
determining a test compensation coefficient corresponding to each training sample according to the training samples and the initial neural network model;
calculating a loss value of the initial neural network model based on the test compensation coefficients and the real compensation coefficients of the training samples;
under the condition that the loss value is within a preset range, taking the initial neural network model as a compensation coefficient neural network model;
determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance includes:
inputting the first distance and the second distance to the compensation coefficient neural network model;
and acquiring the sound compensation coefficient of the acoustic device output by the compensation coefficient neural network model.
3. The method of claim 1, wherein a first pole plate is disposed at the bottom end of the telescopic module, a second pole plate opposite to the first pole plate is disposed on the bottom surface of the inner cavity, and the obtaining of the first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity by the first distance detecting member comprises:
determining the first distance according to a capacitance value between the first polar plate and the second polar plate.
4. The method of claim 1, wherein the second distance detector is an infrared distance measuring sensor, and the obtaining of the second distance between the first sidewall of the telescoping module and the second sidewall of the inner cavity via the second distance detector comprises:
determining the second distance through the infrared ranging sensors under the condition that the number of the infrared ranging sensors is one;
and under the condition that the number of the infrared ranging sensors is multiple, determining the second distance according to the distance parameter acquired by each infrared ranging sensor.
5. The method of claim 1, wherein the sound compensation coefficients comprise: a gain compensation coefficient and a recursive filter compensation coefficient, wherein the compensating the audio signal of the acoustic device according to the sound compensation coefficient comprises:
and compensating the loudness of the audio signal by adopting the gain compensation coefficient, and compensating the frequency response of the audio signal by adopting the recursive filter compensation coefficient.
6. The utility model provides a sound compensation device, is applied to the electronic equipment who is equipped with flexible module, electronic equipment includes the casing, the casing be equipped with the inner chamber and with the through-hole that the inner chamber is linked together, flexible module accessible the through-hole retract to in the inner chamber or at least part stretch out to outside the casing, flexible module is equipped with acoustic device, a sound hole has still been seted up to the casing under flexible module is located under the condition of inner chamber, a sound hole with acoustic device is at least partly relative, flexible module with at least one in the casing is provided with first distance detection piece and second distance detection piece, its characterized in that, the device includes:
the first distance acquisition module is used for acquiring a first distance between the bottom end of the telescopic module and the bottom surface of the inner cavity through the first distance detection piece under the condition that the telescopic module is positioned in the inner cavity;
the second distance acquisition module is used for acquiring a second distance between the first side wall of the telescopic module and the second side wall of the inner cavity through the second distance detection piece;
the compensation coefficient determining module is used for determining a sound compensation coefficient of the acoustic device according to the first distance and the second distance;
the audio signal compensation module is used for compensating the audio signal of the acoustic device according to the sound compensation coefficient;
the acoustic device is arranged on the first side wall, and the sound outlet hole is located in the second side wall.
7. The apparatus of claim 6, further comprising:
the training sample acquisition module is used for acquiring a plurality of training samples; each training sample comprises a first initial distance and a second initial distance;
a training sample input module for inputting the training samples to an initial neural network model;
the test coefficient determining module is used for determining a test compensation coefficient corresponding to each training sample according to the training samples and the initial neural network model;
a loss value calculation module for calculating a loss value of the initial neural network model based on the test compensation coefficient and the real compensation coefficient of the training sample;
the compensation model determining module is used for taking the initial neural network model as a compensation coefficient neural network model under the condition that the loss value is within a preset range;
the compensation coefficient determination module includes:
a distance input submodule for inputting the first distance and the second distance to the compensation coefficient neural network model;
and the compensation coefficient acquisition submodule is used for acquiring the sound compensation coefficient of the acoustic device output by the compensation coefficient neural network model.
8. The device of claim 6, wherein a first polar plate is disposed at a bottom end of the telescopic module, a second polar plate opposite to the first polar plate is disposed on a bottom surface of the inner cavity, and the first distance obtaining module comprises:
and the first distance acquisition submodule is used for determining the first distance according to the capacitance value between the first polar plate and the second polar plate.
9. The apparatus of claim 6, wherein the second distance detector is an infrared distance measuring sensor, and the second distance obtaining module comprises:
a second distance determining submodule, configured to determine, by using the infrared ranging sensors, the second distance when the number of the infrared ranging sensors is one;
and the second distance determining submodule is used for determining the second distance according to the distance parameter acquired by each infrared ranging sensor under the condition that the number of the infrared ranging sensors is multiple.
10. The apparatus of claim 6, wherein the sound compensation coefficients comprise: gain compensation coefficients and recursive filter compensation coefficients, the audio signal compensation module comprising:
and the audio signal compensation submodule is used for compensating the loudness of the audio signal by adopting the gain compensation coefficient and compensating the frequency response of the audio signal by adopting the recursive filter compensation coefficient.
CN201911144886.6A 2019-11-20 2019-11-20 Sound compensation method and device Active CN110995909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911144886.6A CN110995909B (en) 2019-11-20 2019-11-20 Sound compensation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911144886.6A CN110995909B (en) 2019-11-20 2019-11-20 Sound compensation method and device

Publications (2)

Publication Number Publication Date
CN110995909A CN110995909A (en) 2020-04-10
CN110995909B true CN110995909B (en) 2021-03-30

Family

ID=70085368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911144886.6A Active CN110995909B (en) 2019-11-20 2019-11-20 Sound compensation method and device

Country Status (1)

Country Link
CN (1) CN110995909B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111916102A (en) * 2020-07-31 2020-11-10 维沃移动通信有限公司 Recording method and recording device of electronic equipment
CN112291397B (en) * 2020-10-30 2023-05-23 维沃移动通信有限公司 Electronic device, control method and control device thereof, and readable storage medium
CN113259515B (en) * 2021-06-15 2024-01-19 维沃移动通信有限公司 Electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060268A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Voice output method for mobile terminal and mobile terminal
CN106657621A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Sound signal adaptive adjustment device and sound signal adaptive adjustment method
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN108616791A (en) * 2018-04-27 2018-10-02 青岛海信移动通信技术股份有限公司 A kind of audio signal playing method and device
CN109872730A (en) * 2019-03-14 2019-06-11 广州飞傲电子科技有限公司 Distortion compensating method, method for establishing model and the audio output apparatus of audio data
CN110460704A (en) * 2019-08-30 2019-11-15 维沃移动通信有限公司 A kind of electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9219964B2 (en) * 2009-04-01 2015-12-22 Starkey Laboratories, Inc. Hearing assistance system with own voice detection

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106060268A (en) * 2016-06-30 2016-10-26 维沃移动通信有限公司 Voice output method for mobile terminal and mobile terminal
CN106657621A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Sound signal adaptive adjustment device and sound signal adaptive adjustment method
CN108616791A (en) * 2018-04-27 2018-10-02 青岛海信移动通信技术股份有限公司 A kind of audio signal playing method and device
CN108600915A (en) * 2018-08-09 2018-09-28 歌尔科技有限公司 A kind of method, apparatus of audio output, harmonic distortion filtering equipment and terminal
CN109872730A (en) * 2019-03-14 2019-06-11 广州飞傲电子科技有限公司 Distortion compensating method, method for establishing model and the audio output apparatus of audio data
CN110460704A (en) * 2019-08-30 2019-11-15 维沃移动通信有限公司 A kind of electronic equipment

Also Published As

Publication number Publication date
CN110995909A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN111385714B (en) Method for determining voice coil temperature of loudspeaker, electronic device and storage medium
CN110995909B (en) Sound compensation method and device
CN109065060B (en) Voice awakening method and terminal
CN110012143B (en) Telephone receiver control method and terminal
CN108196815B (en) Method for adjusting call sound and mobile terminal
CN107396275B (en) A kind of amplitude detecting device, method and mobile terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN111405416B (en) Stereo recording method, electronic device and storage medium
WO2021104450A1 (en) Electronic device and volume adjustment method therefor
CN111083297A (en) Echo cancellation method and electronic equipment
CN111182118B (en) Volume adjusting method and electronic equipment
CN110456923B (en) Gesture sensing data processing method and electronic equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN111142618A (en) Method for detecting folding angle and electronic equipment
CN110740270B (en) Camera adjusting method and device, electronic equipment and storage medium
CN110677770B (en) Sound production control method, electronic device, and medium
CN109348366B (en) Method for adjusting volume by using electrical parameters and mobile terminal
CN110442261B (en) Electronic equipment and touch operation detection method thereof
CN108924319B (en) Proximity detection method and mobile terminal
CN109450508B (en) Antenna determination method and device and mobile terminal
CN108900942B (en) Play control method and electronic equipment
CN108430025B (en) Detection method and mobile terminal
CN108600566B (en) Interference processing method and mobile terminal
CN110764650A (en) Key trigger detection 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