CN107889323B - Control method and device for light display - Google Patents

Control method and device for light display Download PDF

Info

Publication number
CN107889323B
CN107889323B CN201710892476.4A CN201710892476A CN107889323B CN 107889323 B CN107889323 B CN 107889323B CN 201710892476 A CN201710892476 A CN 201710892476A CN 107889323 B CN107889323 B CN 107889323B
Authority
CN
China
Prior art keywords
light
value
frequency spectrum
music
tone
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
CN201710892476.4A
Other languages
Chinese (zh)
Other versions
CN107889323A (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.)
Hangzhou Bolian Intelligent Technology Co ltd
Original Assignee
Hangzhou Bolian Intelligent Technology 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 Hangzhou Bolian Intelligent Technology Co ltd filed Critical Hangzhou Bolian Intelligent Technology Co ltd
Priority to CN202010212837.8A priority Critical patent/CN111836437B/en
Priority to CN202010212839.7A priority patent/CN111526644B/en
Priority to CN201710892476.4A priority patent/CN107889323B/en
Publication of CN107889323A publication Critical patent/CN107889323A/en
Application granted granted Critical
Publication of CN107889323B publication Critical patent/CN107889323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/165Controlling the light source following a pre-assigned programmed sequence; Logic control [LC]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention discloses a control method of lamplight display, which comprises the following steps: a data acquisition step: acquiring PCM waveform data of music and extracting corresponding data from the PCM waveform data to generate music data segments; a spectrum generation step: performing fast Fourier transform on each music data segment to generate a spectral feature map; a first light adjusting step: and obtaining the light display characteristics according to the frequency spectrum characteristics in the frequency spectrum characteristic diagram so as to correspondingly adjust the light. The invention also discloses an electronic device, a computer readable storage medium and a control device for light display. The control method for the light display can show the music frequency spectrum characteristics more completely through the light change, so that the change information such as frequency loudness and the like which can be perceived by human ears is directly shown through the light, and the music visualization is realized.

Description

Control method and device for light display
Technical Field
The invention relates to the technical field of light control, in particular to a control method and device for light display.
Background
At present, a plurality of bulbs for supporting and adjusting color and brightness are available on the market, and people can change the light effect according to scene needs. Many stage performances, concerts, KTVs and indoor light shows all require that the lighting effect and the music match.
Most of current stage lighting still adopt artifical programming's mode in advance, realize the cooperation of music and light effect, need consume a large amount of manpowers, and inefficiency. The ordinary indoor light show has a cyclic repeating effect generally, and cannot well match with the melody and rhythm of music playing.
For the variable color bulb, the display parameters usually only have hue, saturation and brightness, the music usually has only intensity corresponding to the brightness of the light, and the music has melody, tone and other abstract features which are difficult to establish a proper and general model and correspond to the parameters of the light.
The application numbers are: 201610627665.4 discloses a music color lamp controller design based on rhythm following, which discloses that the short-time energy extreme value is used to judge and achieve the music rhythm detection effect, to obtain the time point information of the music rhythm, and at the time point of the music rhythm, to perform the spectrum analysis and processing to the short-time signal at the time point, to obtain the real-time sound wave energy and spectrum characteristic parameters, to respectively establish the mapping relation model of pitch and color domain, tone and saturation, tone intensity and brightness, to change the color of the color lamp into the color obtained by the frequency domain information conversion of the audio waveform at the point, to realize the synchronization of the color lamp color change and the music rhythm change.
However, the existing solutions have the following drawbacks:
the color of the colored lamps is controlled at the rhythm point of the music, other characteristics in the music cannot be reflected, and the change of the light is less at the non-rhythm point and the position where the rhythm is not obvious. The method of mapping the relationship between the pitch and the color domain and between the tone and the saturation is not suitable for all situations, most music has chords and harmony, and popular music and rock music have more track information, which track is suitable for the real pitch and is not easy to distinguish, so that the method is also insufficient in the color control of the light.
Disclosure of Invention
In order to overcome the disadvantages of the prior art, an object of the present invention is to provide a method for controlling a light display, which can solve the technical problem of responding to a corresponding light according to music.
Another object of the present invention is to provide an electronic device that can solve the technical problem of responding to the corresponding light according to music.
It is another object of the present invention to provide a computer-readable storage medium that can solve the technical problem of responding to corresponding lights according to music.
It is a fourth object of the present invention to provide a control device for light display, which can solve the technical problem of responding to the corresponding light according to music.
One of the purposes of the invention is realized by adopting the following technical scheme:
a control method of light display comprises the following steps:
a data acquisition step: acquiring PCM waveform data of music and extracting corresponding data from the PCM waveform data to generate music data segments;
a spectrum generation step: performing fast Fourier transform on each music data segment to generate a spectral feature map;
a first light adjusting step: and obtaining the light display characteristics according to the frequency spectrum characteristics in the frequency spectrum characteristic diagram so as to correspondingly adjust the light.
Further, the spectral features include spectral rate of change, spectral complexity, and musical tone intensity; the light display characteristics include hue value, light saturation and light brightness.
And further, the lamplight display characteristic is a tone value, and the first lamplight adjusting step is that the tone value is obtained according to the mapping relation between the tone value and the spectrum characteristic value, namely h is h0+ △ h, and △ h is g k, so as to correspondingly adjust the lamplight, wherein h0 is the tone value at the previous moment, △ h is the tone change value, g is the tone change coefficient, and k is the spectrum characteristic value.
Further, the light display characteristic is light saturation, and the first light adjustment step specifically includes: according to the mapping relation between the light saturation and the frequency spectrum characteristic value: and S0[ (1-b) × k + b ], obtaining the light saturation to correspondingly adjust the light, wherein S0 is the maximum value of the light saturation, b is a preset parameter, S is the light saturation, and k is a frequency spectrum characteristic value.
Further, the light display characteristic is a light brightness value, and the first light adjustment step specifically includes: obtaining a light brightness value according to a brightness value formula B ═ k × m/n, wherein B is the light brightness value, k is a frequency spectrum characteristic value, n is a frequency spectrum proportionality coefficient, and m is a maximum brightness value; and obtaining a spectrum scale coefficient n according to the n-f/m, and updating n in the brightness value formula, wherein f is the maximum spectrum characteristic value.
Further, the spectral feature is a spectral change rate, and the spectral change rate calculating step specifically includes the following substeps:
calculating a frequency amplitude difference value: calculating and summing the absolute value of the amplitude difference value of each frequency point in the frequency spectrum characteristic diagram at the current moment and the previous moment, and recording the result as s 1;
a comparison step: and comparing the amplitude of each frequency point in the spectrum characteristic diagram at the current moment and the amplitude of each frequency point in the spectrum characteristic diagram at the previous moment, summing the larger values of the amplitudes, recording the result as s2, and obtaining the spectrum change rate k as s1/s 2.
Further, when the spectral feature is a spectral complexity, the spectral complexity calculation formula specifically includes the following sub-steps:
and (3) calculating the ratio: calculating the proportion p of the maximum amplitude corresponding to the frequency points in the frequency spectrum characteristic diagram in the total amplitude;
and a complexity calculation step: the spectral complexity is obtained according to the formula k-1-p.
Further, the spectral feature is a music sound intensity, the light display feature is a light brightness value, and the first light adjustment step specifically includes the following substeps:
sound intensity obtaining step: obtaining the current music sound intensity, and obtaining a light brightness value according to a brightness value formula B ═ x × m/n, wherein B is the light brightness value, x is the current music sound intensity, n is a proportionality coefficient, and m is the maximum brightness value;
a judging step: judging whether the light brightness value is larger than the maximum brightness value, if so, correspondingly adjusting the light according to the light brightness value and executing the coefficient calculation step, and if not, correspondingly adjusting the light according to the light brightness value;
coefficient calculation step: and taking the current music sound intensity as the maximum music sound intensity, adjusting the light brightness value to be the maximum brightness value, obtaining a proportional coefficient n according to the condition that n is f/m, and updating n in a brightness value formula, wherein f is the maximum music sound intensity.
Further, when the number of the lamps is multiple, the frequency spectrum of each moment is segmented averagely according to the number of the lamps, the frequency spectrum change of each small section of each moment is calculated, and a corresponding control signal is obtained according to the frequency spectrum change so as to control the corresponding lamp to adjust the light.
The second purpose of the invention is realized by adopting the following technical scheme:
an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the program:
a data acquisition step: acquiring PCM waveform data of music and extracting corresponding data from the PCM waveform data to generate music data segments;
a spectrum generation step: performing fast Fourier transform on each music data segment to generate a spectral feature map;
a first light adjusting step: and obtaining the light display characteristics according to the frequency spectrum characteristics in the frequency spectrum characteristic diagram so as to correspondingly adjust the light.
The third purpose of the invention is realized by adopting the following technical scheme:
a computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any of the above.
The fourth purpose of the invention is realized by adopting the following technical scheme:
a control device for light display comprises the following modules:
a data acquisition module: PCM waveform data for acquiring music and extracting corresponding data from the PCM waveform data to generate music data pieces;
a spectrum generation module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for performing fast Fourier transform on each music data segment to generate a spectrum characteristic map;
first light adjustment module: and the lamp light display characteristic is obtained according to the spectrum characteristic in the spectrum characteristic diagram so as to correspondingly adjust the lamp light.
Compared with the prior art, the invention has the beneficial effects that:
the control method for the light display can show the music frequency spectrum characteristics more completely through the light change, so that the change information such as frequency loudness and the like which can be perceived by human ears is directly shown through the light, and the music visualization is realized.
Drawings
FIG. 1 is a flow chart of a control method of a light display according to the present invention;
FIG. 2 is a block diagram of a control device for a light display according to the present invention;
FIG. 3 is a graph of a spectrum of lower complexity;
FIG. 4 is a graph of a higher complexity spectrum;
fig. 5 is a flow chart of brightness adjustment according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
The first embodiment is as follows:
as shown in fig. 1, the present embodiment provides a control method for light display, including the following steps:
s1: acquiring PCM waveform data of music, and extracting corresponding data from the PCM waveform data to generate music data segments, wherein the lengths of the music data segments are the same; obtaining PCM waveform data of music by decoding the music file or reading code stream data of audio input equipment;
s2: performing fast Fourier transform on each music data segment to generate a spectral feature map; then, data is sequentially extracted from the PCM waveform data, and the audio data is sequentially divided into data segments of the same size. Performing fast Fourier transform on each data segment to generate frequency spectrum information;
s3: and obtaining the light display characteristics according to the frequency spectrum characteristics in the frequency spectrum characteristic diagram so as to correspondingly adjust the light. The spectral features mainly include spectral parameters of three aspects of spectral change rate, spectral complexity and tone intensity. The corresponding light display characteristics mainly comprise parameters of three aspects of hue value, light saturation and light brightness, and the three characteristics of the light display characteristics correspond to the three characteristics in the frequency spectrum one by one; or the corresponding relationship is not necessarily, the hue value may correspond to the spectrum complexity or the music intensity, or the light saturation may correspond to the spectrum change rate and the music intensity, and the like, and then the corresponding adjustment and calculation may be performed according to the actual situation; the present invention is not limited to the embodiments, but the embodiments are merely the most preferred embodiments;
when the spectrum characteristics are spectrum change rates, the lamplight display characteristics are tone values, wherein the spectrum change rates refer to the change rates of the spectrograms at the front and back adjacent moments, and the more similar the spectrograms at the front and back adjacent moments are, the lower the spectrum change rate is, otherwise, the higher the spectrum change rate is; specifically, the following method may be used for specific implementation, but is not limited to this method, and step S3 specifically includes the following sub-steps:
s31 a: calculating and summing the absolute value of the amplitude difference value of each frequency point in the frequency spectrum characteristic diagram at the current moment and the previous moment, and recording the result as s 1;
s32 a: comparing the amplitude of each frequency point in the spectrum characteristic diagram of the current time and the amplitude of each frequency point in the spectrum characteristic diagram of the previous time, summing the larger values of the amplitudes, recording the result as s2, and obtaining the spectrum change rate k as s1/s 2;
s33a, obtaining a tone value according to the mapping relation between the tone value and the frequency spectrum change rate, namely h0+ △ h, △ h g k, and correspondingly adjusting the lamplight, wherein h0 is the tone value at the previous moment, △ h is the tone change value, and g is the tone change coefficient;
when the spectrum feature is the spectrum complexity, the light display feature is the light saturation, wherein the spectrum complexity refers to the richness formed by the total amplitude in the spectrogram at a certain moment, and the higher the proportion of each frequency point amplitude in the spectrum total amplitude is, the lower the spectrum complexity is, otherwise, the higher the spectrum complexity is. As shown in fig. 3, which is a spectral diagram with lower complexity, fig. 4 is a spectral diagram with higher complexity; step S3 specifically includes the following substeps:
s31 b: calculating the proportion p of the maximum amplitude corresponding to the frequency points in the frequency spectrum characteristic diagram in the total amplitude;
s32 b: obtaining the spectrum complexity according to a formula q-1-p;
s33 b: according to the mapping relation between the light saturation and the frequency spectrum complexity: and S0[ (1-b) q + b ], obtaining the light saturation to correspondingly adjust the light, wherein S0 is the maximum value of the light saturation, b is a preset parameter, S is the light saturation, and q is the spectrum complexity. Wherein q in the mapping relation not only can be the spectrum complexity, but also can be the spectrum change rate and the tone intensity;
the luminance calculation process is shown in fig. 5, and when the spectral feature is music intensity, the light display feature is a light luminance value, where the intensity may refer to both the physical intensity of music and the loudness of music, or to a corresponding value related to the physical intensity or loudness. Step S3 specifically includes the following substeps:
s31 c: obtaining the current music sound intensity, and obtaining a light brightness value according to a brightness value formula B ═ x B/n, wherein B is the light brightness value, x is the current music sound intensity, and n is a proportionality coefficient;
s32 c: judging whether the light brightness value is larger than the maximum brightness value, if so, executing the step S33c, and if not, correspondingly adjusting the light according to the light brightness value;
s33 c: and taking the current music sound intensity as the maximum music sound intensity, adjusting the light brightness value to be the maximum brightness value, obtaining a proportional coefficient n according to the result that n is f/b, and updating n in a brightness value formula, wherein f is the maximum music sound intensity, and b is the maximum brightness value.
The proportional coefficient value formula is n ═ f/b, wherein b is the maximum value of the brightness of the lamplight, f is the previous maximum sound intensity, n is the proportional coefficient, and the initial value of the proportional coefficient is 1. The brightness value formula is B ═ x m/n, wherein m is the maximum brightness value, n is the proportionality coefficient, B is the brightness value, and x is the current sound intensity. If the calculated brightness is larger than the maximum brightness value, the current light brightness is made to be the maximum brightness value, the maximum sound intensity is made to be equal to the current sound intensity value, and the proportionality coefficient is recalculated. The maximum brightness is limited by the proportionality coefficient, so that the brightness of the lamplight is not more than the maximum brightness value, and the lamplight can have a good brightness change effect all the time.
In the music playing process, control information is generated at intervals, and the light control information corresponding to the interval is immediately sent to the equipment, so that the equipment is ensured to acquire the control information before the next control information generation. If the control information transmission fails at the time, retransmission is not performed, but the next control information generation and transmission is waited.
In the method of the embodiment, one lamp light corresponds to one lamp, except for the case that one lamp exists, a plurality of lamps exist, when the number of the lamps is multiple, the frequency spectrum at each moment is segmented averagely according to the number of the lamps, then the change rate, the complexity and the local sound intensity information of each small segment of frequency spectrum at each moment are calculated and are in one-to-one correspondence with each lamp, and finally, the hue, the saturation and the brightness information corresponding to each lamp are obtained.
The PCM waveform data of the music of the present embodiment is obtained; generating a frequency spectrum from the waveform data; analyzing the change rate and complexity of the frequency spectrum, calculating the sound intensity of the music, and obtaining control information such as the hue, saturation and brightness of the light through relational mapping; and when the music is played, the light control information corresponding to the real-time mode is sent to the equipment. The embodiment can more completely show the music frequency spectrum through the light change and show the characteristics of music, so that the most direct frequency and loudness change information which can be sensed by human ears is shown in a three-dimensional manner, the auditory stimulation is converted into visual stimulation, and the music visualization is realized.
Example two
The second embodiment discloses an electronic device, which comprises a processor, a memory and a program, wherein the processor and the memory can adopt one or more programs, the program is stored in the memory and is configured to be executed by the processor, and when the processor executes the program, the control method of the first embodiment for displaying the light is realized. The electronic device may be a series of electronic devices such as a mobile phone, a computer, a tablet computer, and the like.
EXAMPLE III
The third embodiment discloses a readable computer storage medium, wherein the storage medium is used for storing a program, and when the program is executed by a processor, the control method of the light display of the first embodiment is realized.
Example four:
as shown in fig. 2, the present embodiment provides a control device for light display, which includes the following modules:
a data acquisition module: the music data processing device is used for acquiring PCM waveform data of music and extracting corresponding data from the PCM waveform data to generate music data sections, wherein the lengths of the music data sections are the same;
a spectrum generation module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for performing fast Fourier transform on each music data segment to generate a spectrum characteristic map;
first light adjustment module: and the lamp light display characteristic is obtained according to the spectrum characteristic in the spectrum characteristic diagram so as to correspondingly adjust the lamp light.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (10)

1. A control method for light display is characterized by comprising the following steps:
a data acquisition step: acquiring PCM waveform data of music and extracting corresponding data from the PCM waveform data to generate music data segments;
a spectrum generation step: performing fast Fourier transform on each music data segment to generate a spectral feature map;
a first light adjusting step: obtaining a light display characteristic according to the frequency spectrum characteristic in the frequency spectrum characteristic diagram so as to correspondingly adjust the light; the spectral characteristics comprise a spectral change rate, spectral complexity and musical tone intensity; the lamplight display characteristics comprise a hue value, lamplight saturation and lamplight brightness;
when the lamplight display characteristic is a tone value, the first lamplight adjusting step is to obtain the tone value according to the mapping relation between the tone value and the frequency spectrum characteristic value, namely h0+ △ h and △ h g k, so as to correspondingly adjust the lamplight, wherein h0 is the tone value at the previous moment, △ h is the tone change value, g is the tone change coefficient, and k is the frequency spectrum characteristic value.
2. A light display control method according to claim 1, wherein the light display characteristic is light saturation, and the first light adjustment step specifically includes: according to the mapping relation between the light saturation and the frequency spectrum characteristic value: and S0[ (1-b) × k + b ], obtaining the light saturation to correspondingly adjust the light, wherein S0 is the maximum value of the light saturation, b is a preset parameter, S is the light saturation, and k is a frequency spectrum characteristic value.
3. The light display control method according to claim 1, wherein the light display characteristic is a light brightness value, and the first light adjustment step specifically includes: obtaining a light brightness value according to a brightness value formula B ═ k × m/n, wherein B is the light brightness value, k is a frequency spectrum characteristic value, n is a frequency spectrum proportionality coefficient, and m is a maximum brightness value; and obtaining a spectrum scale coefficient n according to the n-f/m, and updating n in the brightness value formula, wherein f is the maximum spectrum characteristic value.
4. A control method for light display according to claim 2 or 3, wherein the spectral feature is a spectral change rate, and the spectral change rate calculating step specifically comprises the following substeps:
calculating a frequency amplitude difference value: calculating and summing the absolute value of the amplitude difference value of each frequency point in the frequency spectrum characteristic diagram at the current moment and the previous moment, and recording the result as s 1;
a comparison step: and comparing the amplitude of each frequency point in the spectrum characteristic diagram of the current time and the previous time, summing the larger values of the amplitudes, recording the result as s2, and obtaining the spectrum change rate k1 which is s1/s 2.
5. A light display control method according to claim 2 or 3, wherein when the spectral feature is a spectral complexity, the spectral complexity calculation formula specifically includes the following sub-steps:
and (3) calculating the ratio: calculating the proportion p of the maximum amplitude corresponding to the frequency points in the frequency spectrum characteristic diagram in the total amplitude;
and a complexity calculation step: the spectral complexity is obtained according to the formula q 1-p.
6. A light display control method according to claim 1, wherein the spectral feature is a music intensity, the light display feature is a light brightness value, and the first light adjustment step specifically includes the following substeps:
sound intensity obtaining step: obtaining the current music sound intensity, and obtaining a light brightness value according to a brightness value formula B ═ x × m/n, wherein B is the light brightness value, x is the current music sound intensity, n is a proportionality coefficient, and m is the maximum brightness value;
a judging step: judging whether the light brightness value is larger than the maximum brightness value, if so, correspondingly adjusting the light according to the light brightness value and executing the coefficient calculation step, and if not, correspondingly adjusting the light according to the light brightness value;
coefficient calculation step: and taking the current music sound intensity as the maximum music sound intensity, adjusting the light brightness value to be the maximum brightness value, obtaining a proportional coefficient n according to the condition that n is f/m, and updating n in a brightness value formula, wherein f is the maximum music sound intensity.
7. A light display control method according to claim 1, wherein when the number of the lamps is plural, the spectrum at each time is segmented according to the number of the lamps, the spectrum variation of each segment at each time is calculated, and a corresponding control signal is obtained according to the spectrum variation to control the corresponding lamp to perform light adjustment.
8. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of:
a data acquisition step: acquiring PCM waveform data of music and extracting corresponding data from the PCM waveform data to generate music data segments;
a spectrum generation step: performing fast Fourier transform on each music data segment to generate a spectral feature map;
the first light adjusting step is that light display characteristics are obtained according to frequency spectrum characteristics in a frequency spectrum characteristic diagram so as to correspondingly adjust light, the frequency spectrum characteristics comprise frequency spectrum change rate, frequency spectrum complexity and tone intensity, the light display characteristics comprise tone value, light saturation and light brightness, when the light display characteristics are the tone value, the first light adjusting step is that the tone value is obtained according to the mapping relation between the tone value and the frequency spectrum characteristic value, namely h0+ △ h, △ h g k, so as to correspondingly adjust the light, wherein h0 is the tone value at the previous moment, △ h is the tone change value, g is the tone change coefficient, and k is the frequency spectrum characteristic value.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program, when executed by a processor, implements the method of any one of claims 1-7.
10. A control device for light display is characterized by comprising the following modules:
a data acquisition module: PCM waveform data for acquiring music and extracting corresponding data from the PCM waveform data to generate music data pieces;
a spectrum generation module: the system comprises a data processing module, a data processing module and a data processing module, wherein the data processing module is used for performing fast Fourier transform on each music data segment to generate a spectrum characteristic map;
the first light adjusting module is used for obtaining light display characteristics according to the frequency spectrum characteristics in the frequency spectrum characteristic diagram so as to correspondingly adjust light, wherein the frequency spectrum characteristics comprise frequency spectrum change rate, frequency spectrum complexity and tone intensity, the light display characteristics comprise tone value, light saturation and light brightness, when the light display characteristics are the tone value, the first light adjusting step is that the tone value is obtained according to the mapping relation between the tone value and the frequency spectrum characteristic value, namely h0+ △ h, △ h g k, and the first light adjusting step is used for correspondingly adjusting the light, wherein h0 is the tone value at the previous moment, △ h is the tone change value, g is the tone change coefficient, and k is the frequency spectrum characteristic value.
CN201710892476.4A 2017-09-27 2017-09-27 Control method and device for light display Active CN107889323B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010212837.8A CN111836437B (en) 2017-09-27 2017-09-27 Control method and device for light display
CN202010212839.7A CN111526644B (en) 2017-09-27 2017-09-27 Control method and device for light display
CN201710892476.4A CN107889323B (en) 2017-09-27 2017-09-27 Control method and device for light display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710892476.4A CN107889323B (en) 2017-09-27 2017-09-27 Control method and device for light display

Related Child Applications (2)

Application Number Title Priority Date Filing Date
CN202010212839.7A Division CN111526644B (en) 2017-09-27 2017-09-27 Control method and device for light display
CN202010212837.8A Division CN111836437B (en) 2017-09-27 2017-09-27 Control method and device for light display

Publications (2)

Publication Number Publication Date
CN107889323A CN107889323A (en) 2018-04-06
CN107889323B true CN107889323B (en) 2020-05-12

Family

ID=61780949

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202010212837.8A Active CN111836437B (en) 2017-09-27 2017-09-27 Control method and device for light display
CN201710892476.4A Active CN107889323B (en) 2017-09-27 2017-09-27 Control method and device for light display
CN202010212839.7A Active CN111526644B (en) 2017-09-27 2017-09-27 Control method and device for light display

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202010212837.8A Active CN111836437B (en) 2017-09-27 2017-09-27 Control method and device for light display

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202010212839.7A Active CN111526644B (en) 2017-09-27 2017-09-27 Control method and device for light display

Country Status (1)

Country Link
CN (3) CN111836437B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230007752A1 (en) * 2021-07-01 2023-01-05 Sonos, Inc. Sound and Light Experiences

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109640465A (en) * 2018-11-07 2019-04-16 萤火虫(深圳)灯光科技有限公司 Lamp light control method, device, equipment and the storage medium of automatic identification music
CN109287053B (en) * 2018-11-13 2019-07-30 龙马智芯(珠海横琴)科技有限公司 Light flash control method, based reminding method, system for prompting and lighting apparatus
CN109743819A (en) * 2018-12-07 2019-05-10 北京梧桐车联科技有限责任公司 Control method and device, storage medium and the vehicle-mounted atmosphere lamp of vehicle-mounted atmosphere lamp
CN112099443A (en) * 2020-01-14 2020-12-18 河南紫联物联网技术有限公司 Smart home sound and light rhythm system, method, control unit and lamp
CN111246644A (en) * 2020-01-14 2020-06-05 梅雪竹 Dazzling performance and stage system for atmosphere mode performance without lamplight operators
CN111988891A (en) * 2020-08-17 2020-11-24 一飞(海南)科技有限公司 Unmanned aerial vehicle formation music synchronous light control method and control system and unmanned aerial vehicle
CN112286349A (en) * 2020-10-23 2021-01-29 广东科徕尼智能科技有限公司 Sound-based visual interaction control method, intelligent terminal and storage device
CN112667192A (en) * 2020-12-22 2021-04-16 北京小米移动软件有限公司 Shell display state control method and device, electronic equipment and storage medium
CN112911767B (en) * 2021-01-29 2023-01-17 深圳市凯润智能照明有限公司 Audio-based light control system and method
CN113727501B (en) * 2021-07-20 2023-11-24 佛山电器照明股份有限公司 Sound-based light dynamic control method, device, system and storage medium
CN113613369B (en) * 2021-08-11 2023-09-08 深圳市智岩科技有限公司 Light effect control method, device, equipment and storage medium
CN113771738B (en) * 2021-08-11 2023-09-08 深圳市智岩科技有限公司 Vehicle-mounted light control method, device, system, equipment and storage medium
CN113853047A (en) * 2021-09-29 2021-12-28 深圳市火乐科技发展有限公司 Light control method and device, storage medium and electronic equipment
CN114222412A (en) * 2021-11-10 2022-03-22 杭州博联智能科技股份有限公司 Intelligent bulb control method, terminal and system based on music rhythm
CN114245545A (en) * 2021-11-15 2022-03-25 杭州博联智能科技股份有限公司 Gradual effect control method and device of intelligent bulb
CN114245528B (en) * 2021-12-16 2023-11-21 浙江吉利控股集团有限公司 Vehicle lamplight show control method, device, equipment, medium and program product
CN114375083B (en) * 2021-12-17 2024-04-05 广西世纪创新显示电子有限公司 Light rhythm method, device, terminal equipment and storage medium
CN114449474A (en) * 2022-01-29 2022-05-06 重庆长安汽车股份有限公司 Bluetooth protocol-based music light show implementation method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635912A (en) * 2016-01-29 2016-06-01 深圳市因为科技有限公司 Luminous device and acousto-optic combination device
CN106211502A (en) * 2016-07-01 2016-12-07 福建星网视易信息系统有限公司 A kind of method and system of audio frequency control light

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4940588B2 (en) * 2005-07-27 2012-05-30 ソニー株式会社 Beat extraction apparatus and method, music synchronization image display apparatus and method, tempo value detection apparatus and method, rhythm tracking apparatus and method, music synchronization display apparatus and method
CN101651806A (en) * 2009-09-04 2010-02-17 青岛海信电器股份有限公司 Screen brightness adjustment method and television
TWI553270B (en) * 2013-10-30 2016-10-11 緯創資通股份有限公司 Method and apparatus for producing situational acousto-optic effect
CN106332392A (en) * 2015-06-30 2017-01-11 芋头科技(杭州)有限公司 Light display effect control system
CN105187626A (en) * 2015-07-14 2015-12-23 小米科技有限责任公司 Adjustment method of backlight brightness and device
CN106376148B (en) * 2015-07-22 2019-04-02 炬才微电子(深圳)有限公司 Control method, system and the audio lamps and lanterns of audio lamps and lanterns
CN106304539B (en) * 2016-08-03 2018-10-26 杭州电子科技大学 A kind of music lantern controller design method followed based on rhythm
CN106713640B (en) * 2016-12-27 2019-06-28 努比亚技术有限公司 A kind of brightness adjusting method and equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635912A (en) * 2016-01-29 2016-06-01 深圳市因为科技有限公司 Luminous device and acousto-optic combination device
CN106211502A (en) * 2016-07-01 2016-12-07 福建星网视易信息系统有限公司 A kind of method and system of audio frequency control light

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230007752A1 (en) * 2021-07-01 2023-01-05 Sonos, Inc. Sound and Light Experiences

Also Published As

Publication number Publication date
CN111836437A (en) 2020-10-27
CN111526644B (en) 2022-05-03
CN107889323A (en) 2018-04-06
CN111836437B (en) 2022-12-02
CN111526644A (en) 2020-08-11

Similar Documents

Publication Publication Date Title
CN107889323B (en) Control method and device for light display
CN106304539A (en) A kind of music lantern controller design method followed based on rhythm
TWI600992B (en) A music and light rhythm system and method
CN113613369B (en) Light effect control method, device, equipment and storage medium
CN102123546A (en) Full-color acousto-optic conversion control method and system
CN106332392A (en) Light display effect control system
KR101657975B1 (en) music-generation method based on real-time image
CN105704864A (en) Atmosphere illuminating system and method based on music contents
WO2021103133A1 (en) Acousto-optic control method and control system, and acousto-optic device
CN108200703A (en) Control method, device and the electronic equipment of a kind of light with audio interaction
CN103997810A (en) Multi-mode room ceiling lamp
CN111867179A (en) Audio lamp controller, audio lamp and display
CN106132040A (en) Sing lamp light control method and the device of environment
CN113727501B (en) Sound-based light dynamic control method, device, system and storage medium
US11508393B2 (en) Controller for real-time visual display of music
CN113853047A (en) Light control method and device, storage medium and electronic equipment
CN105611693B (en) The control method and device of sound equipment and desk lamp with dimmer switch
CN114449713A (en) Intelligent audio recognition light control system
CN105810226A (en) Method and system for controlling expression effects of music
CN101060735B (en) LED lunisolar simulation system and method
WO2023144269A1 (en) Determining global and local light effect parameter values
CN212992647U (en) Audio lamp controller, audio lamp and display
CN112232118A (en) Mixed light adjusting method and system for self-adaptive tone rate conversion
JP5667279B1 (en) Illumination device and frame to which this illumination device is attached
JP4426368B2 (en) Audio signal tuning dimmer

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
CB02 Change of applicant information

Address after: 310051 Room 101, 1st Floor, Block C, No. 57, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou Bolian Intelligent Technology Co., Ltd.

Address before: 310051 Room 106, Building No. 1, 611 Jianghong Road, Changhe Street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou Gubei Electronic Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant