Abstract:
The present invention relates to a method and device for dereverberation of single-channel speech. The method includes the following steps of framing an input single channel speech signal, and processing the frame signals as follows according to a time sequence: performing short-time Fourier transform on a current frame to obtain a power spectrum and a phase spectrum of the current frame; selecting several frames previous to the current frame and having a distance from the current frame within a set duration range, and performing linear superposition on the power spectra of these frames to estimate the power spectrum of a late reflection sound of the current frame; removing the estimated power spectrum of the late reflection sound of the current frame from the power spectrum of the current frame by a spectral subtraction method to obtain the power spectra of a direct sound and an early reflection sound of the current frame; and performing inverse short-time Fourier transform on the power spectra of the direct sound and the early reflection sound of the current frame and the phase spectrum of the current frame together to obtain a signal of the current frame after dereverberation. The dereverberation method and device can solve the problem that the estimation of a transfer function of a reverberation environment or the estimation of reverberation time is difficult in the dereverberation of single-channel speech.
Abstract:
Disclosed in the invention is a method and system for sampling rate mismatch correction of transmitting and receiving terminals, which can obtain a high-precision sampling rate mismatch in real time, carry out sampling rate correction on transmitting and receiving terminal signals, and send the transmitting terminal signal and the receiving terminal signal that have the same sampling rate after corrected to an echo cancellation system to carry out echo cancellation. The present invention can improve the quality of echo cancellation, simplify the computation and reduce the cost. The method for sampling rate mismatch correction of transmitting and receiving terminals provided in the embodiments of the invention comprises: calculating a transfer function of a receiving terminal signal relative to a transmitting terminal signal at each sampling timing according to the transmitting and receiving terminal signals; obtaining a transmission time delay of the transmitting and receiving terminals at each sampling timing using the transfer function; obtaining a sampling rate mismatch of the transmitting and receiving terminals at each sampling timing by means of parameter fitting using the transmission time delay and the linear relationship between the transmission time delay and the sampling rate mismatch; and adjusting the sampling rate of the transmitting terminal signal or the receiving terminal signal at each sampling timing according to the sampling rate mismatch.
Abstract:
The present invention relates to a method and device for dereverberation of single-channel speech. The method includes the following steps of framing an input single channel speech signal, and processing the frame signals as follows according to a time sequence: performing short-time Fourier transform on a current frame to obtain a power spectrum and a phase spectrum of the current frame; selecting several frames previous to the current frame and having a distance from the current frame within a set duration range, and performing linear superposition on the power spectra of these frames to estimate the power spectrum of a late reflection sound of the current frame; removing the estimated power spectrum of the late reflection sound of the current frame from the power spectrum of the current frame by a spectral subtraction method to obtain the power spectra of a direct sound and an early reflection sound of the current frame; and performing inverse short-time Fourier transform on the power spectra of the direct sound and the early reflection sound of the current frame and the phase spectrum of the current frame together to obtain a signal of the current frame after dereverberation. The dereverberation method and device can solve the problem that the estimation of a transfer function of a reverberation environment or the estimation of reverberation time is difficult in the dereverberation of single-channel speech.
Abstract:
An earphone control method, an earphone control system and an earphone. The earphone control method includes: selecting a motion state judgement parameter of a wearer for controlling an earphone and setting an alert condition according to the selected motion state judgement parameter; real-timely monitoring and acquiring behavior data of the earphone wearer; calculating the motion state judgement parameter by using the acquired behavior data to obtain a motion state judgement parameter value; and judging whether or not the motion state judgement parameter value satisfies the alert condition; if the motion state judgement parameter value satisfies the alert condition, determining to enter an earphone alert state and controlling to perform corresponding alert operation on the earphone.
Abstract:
A noise-reduction control method includes performing frequency-domain weighting and temporal-domain weighting to a noise signal collected at current time to obtain a weighted energy. Judging whether active noise-reduction control is needed based on the weighted energy; calculating an energy value of a first sub-band and an energy value of a second sub-band of the noise signal collected by the feedforward microphone at the current time, wherein the first sub-band and the second sub-band are determined based on a feedforward noise-reduction curve and a feedback noise-reduction curve of the earphone, respectively. Determining a feedforward noise-reduction amount and a feedback noise-reduction amount based on the energy value of the first sub-band and the energy value of the second sub-band, respectively. Controlling the earphone to perform feedforward noise reduction based on the feedforward noise-reduction amount, and controlling the earphone to perform feedback noise reduction based on the feedback noise-reduction amount.
Abstract:
A photoelectric type pulse signal measuring method includes, obtaining a main-path light signal transmitted by a photoelectric transmitter and reflected back from a surface of skin having an artery underneath, obtaining at least one auxiliary-path light signal receiving an ambient light signal, and based on the at least one auxiliary-path light signal, adaptively filtering an ambient light interference from the main-path light signal and obtaining an adaptive filtration result; or obtaining at least one auxiliary-path light signal transmitted by the same photoelectric transmitter and reflected back from a surface of skin without any artery underneath, and based on the auxiliary-path light signal, adaptively filtering a motion interference from the main-path light signal; then extracting a pulse signal from the adaptive filtration result. The present invention can simply and effectively eliminate the ambient light interference or motion interference upon photoelectric pulse signal measurement. Photoelectric type pulse signal measuring devices are also disclosed.
Abstract:
The present invention discloses a method and an apparatus for measuring a posture angle of an object. The method comprises the following steps: arranging a sensor in a measured object, the sensor being used for measuring characteristic quantities of magnetic field in three dimensional directions; actuating the sensor at the beginning of the measurement, and acquiring, by using the sensor, a current measured value of the characteristic quantity of magnetic field of the measured object in a carrier coordinate system; acquiring reference values of the characteristic quantities of magnetic field of the measured object in a geographic coordinate system; and calculating a current posture angle of the measured object according to numerical values of the characteristic quantities of magnetic field indicated by the reference value and the measured value in each direction respectively.
Abstract:
A wearing state detection method for a wearable device and a device. The detection method comprises: providing in the wearable device a sensor in an area capable of contacting the skin of a user, wherein the sensor outputs different measurement values when the user wears or takes off the wearable device; acquiring a base value indicating whether the wearable device is being worn; after wearing detection has been started up, collecting measurement values from the sensor at a preset sampling frequency; judging whether the wearable device is currently in a wearing state according to the measurement values and the base value; and controlling the wearable device to turn off a corresponding function that is running when the wearable device is in a non-wearing state. The method and the device can reduce the power consumption and simplify user operation.
Abstract:
The present invention discloses a method and an apparatus for earphone sound effect compensation and an earphone. The method of the present invention comprises: obtaining monitored signal data in a current wearing state of an earphone user according to a signal collected by a monitoring microphone and an audio signal played by a loudspeaker of the earphone; computing error data of the monitored signal data in the current wearing state relative to standard signal data in a standard wearing state of the earphone; and performing sound effect compensation to the earphone according to the error data. The technical solution of the present invention adopts an adaptive digital signal processing manner, which can dynamically compensate for sound effects in different earphone wearing manners and enable an earphone user to appreciate an audible effect in a standard earphone wearing state.
Abstract:
The present invention discloses a heart rate detection method used in an earphone and an earphone capable of detecting heart rate. The method comprises: providing a cavity inside the earphone, and installing a microphone in the cavity; providing an acceleration sensor in the earphone; performing self-adaptive filtering process on signals collected by the acceleration sensor, and obtaining estimated signals of the signals generated by body movement of a wearer in the signals collected by the microphone; subtracting the estimated signals from the signals collected by the microphone to obtain signals related to heart rate; and detecting heart rate according to the signals related to heart rate. The technical scheme of the invention adopts an enclosed cavity to place the microphone to reduce interference of external noises and reinforce signal information collected by the microphone. By performing self-adaptive filtering on signals collected by the acceleration sensor to obtain estimated signals, subtracting the estimated signals from the signals collected by the microphone, and then detecting the heart rate, the influence of the body movement of the wearer on heart rate detection can be eliminated.