Light control method, device and equipment and storage medium
The invention discloses a light control method and device and a storage medium. The light control method comprises the following steps: acquiring first audio data in music playing equipment; extracting second audio data from the first audio data, wherein the second audio data comprises audio data sm...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a light control method and device and a storage medium. The light control method comprises the following steps: acquiring first audio data in music playing equipment; extracting second audio data from the first audio data, wherein the second audio data comprises audio data smaller than or equal to the first preset frequency in the first audio data; forming a waveform of a second preset frequency according to the first audio data and the second audio data; according to the amplitude of the waveform, the lamp of the music playing device is controlled to be turned on, and the effect that the lamp of the music playing device flashes along with music can be achieved.
本公开一种灯光的控制方法、装置、及存储介质。所述灯光的控制方法包括获取音乐播放设备中的第一音频数据;从第一音频数据中提取第二音频数据,第二音频数据包括第一音频数据中小于或等于第一预设频率的音频数据;根据第一音频数据和第二音频数据,形成第二预设频率的波形;根据波形的幅度,控制音乐播放设备的灯的点亮,能够实现音乐播放设备的灯跟随音乐闪动的效果。 |
---|