The present application relates to the field of
atmosphere lamp control, and particularly relates to a control method and device of
atmosphere lamp. The present application carries out activity analysis on audio data of
multiple frequency bands, and dynamically selects an
advantage target
frequency band according to the activity, which discards the mode of fixedly selecting
frequency band in the traditional scheme. Since
rhythm energy of different styles of music is distributed in different frequency bands, the dynamic selection mechanism can follow the change of music type, lock the
frequency band where the current music
rhythm is concentrated, and adapt to
rhythm distribution characteristics of various music. Relying on the target frequency band to collect audio frames and carry out effective beat point detection can ensure the effectiveness of rhythm
signal collection and avoid rhythm missing detection caused by improper frequency
band selection. On this basis, the
atmosphere lamp displays
light effects according to the beat analysis result, which can realize stable synchronization of light and music rhythm, and effectively solve the problems of poor style adaptability, rhythm capture failure of part of the music, and poor light rhythm performance in the prior art.