The invention relates to the technical field of
white noise sound equipment, and discloses a sensor-based
white noise sound equipment sleep detection and volume gradual reduction control method. The method comprises the following steps: acquiring a user sound
signal by using a single
microphone in the
white noise sound equipment; detecting sound attenuation characteristics according to the user sound
signal; according to the sound attenuation features,
time sequence mode recognition is carried out, and the falling-asleep probability is calculated; according to the falling asleep probability, combining
auditory masking characteristics to calculate spectrum modulation parameters; and a DSP
chip in the white
noise sound equipment is utilized to execute FFT conversion on a sound equipment playing
signal,
amplitude modulation and IFFT conversion are carried out according to the
frequency spectrum modulation parameter, and a target
audio signal is output. According to the invention, the white
noise spectrum characteristic and phase consistency are kept, zero-
distortion volume gradual reduction control is realized, personalized sleep detection and
volume control are further realized, and the user experience of the white
noise sound equipment is improved.