CN114222412A - Intelligent bulb control method, terminal and system based on music rhythm - Google Patents

Intelligent bulb control method, terminal and system based on music rhythm Download PDF

Info

Publication number
CN114222412A
CN114222412A CN202111328294.7A CN202111328294A CN114222412A CN 114222412 A CN114222412 A CN 114222412A CN 202111328294 A CN202111328294 A CN 202111328294A CN 114222412 A CN114222412 A CN 114222412A
Authority
CN
China
Prior art keywords
intelligent
sound
bulb
instruction
brightness
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.)
Pending
Application number
CN202111328294.7A
Other languages
Chinese (zh)
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 CN202111328294.7A priority Critical patent/CN114222412A/en
Publication of CN114222412A publication Critical patent/CN114222412A/en
Pending legal-status Critical Current

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
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • H05B47/12Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
    • 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/155Coordinated control of two or more light sources
    • 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 application relates to an intelligent bulb control method, a terminal and a system based on music rhythm, wherein the method comprises the following steps: the method comprises the steps of obtaining information of added intelligent bulbs, editing short addresses of the intelligent bulbs, associating the intelligent bulbs with the sound columns according to the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range, obtaining audio signals, obtaining a spectrogram through fast Fourier transform, wherein the spectrogram comprises audio frequency values, determining the sound column to which the audio frequency values belong, and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound column. The method and the device solve the problems that the device does not have the entertainment enjoyment function, cannot meet higher requirements and expectations of people, and is poor in user experience in the related art.

Description

Intelligent bulb control method, terminal and system based on music rhythm
Technical Field
The application relates to the technical field of intelligent bulbs, in particular to an intelligent bulb control method, terminal and system based on music rhythm.
Background
In recent years, with the rapid development and the gradual update of related technologies of smart homes, products related to intelligent lighting are continuously updated, and great convenience is brought to people.
Disclosure of Invention
The embodiment of the application provides an intelligent bulb control method, terminal and system based on music rhythm, and aims to solve the problems that the intelligent bulb control method, terminal and system based on music rhythm at least have the function of entertainment enjoyment, cannot meet higher requirements and expectations of people, and is poor in user experience.
In a first aspect, an embodiment of the present application provides an intelligent bulb control method based on music rhythm, which is applied to an intelligent terminal, and the method includes:
acquiring information of the added intelligent bulb, and editing a short address for the intelligent bulb;
associating the intelligent bulbs with the sound columns according to the preset number of the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
acquiring an audio signal, and obtaining a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value;
and determining the sound column to which the audio frequency value belongs, and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound column.
In some of these embodiments, said associating said smart light bulb with a fret comprises:
numbering the preset number of sound columns to obtain sound column numbers;
the short address of the intelligent bulb is subjected to modulus operation on the preset number of the sound columns to obtain a remainder;
and associating the sound column with the sound column number equal to the remainder with the intelligent bulb.
In some embodiments, the brightness instruction is calculated by:
setting a plurality of sampling points for each frame of the spectrogram;
acquiring the amplitude corresponding to the frequency value of each sampling point, calculating the average value of the amplitude, and setting the average value as the original amplitude of the sound post;
multiplying the original amplitude by an amplitude weighting magic factor to calculate the brightness value of the sound column;
and converting the brightness value into a brightness percentage according to the brightness reference value corresponding to each fret to generate a brightness instruction.
In some embodiments, the original amplitude is multiplied by a magnitude-weighted magic factor, and the luminance value of the fret is calculated according to the following formula:
Zi=Yi×αi
wherein i represents the fret, α i represents the amplitude weighted magic factor corresponding to the i frets, Yi represents the original amplitude of the ith fret, and Zi represents the brightness value of the ith fret.
In some embodiments, the number of the smart bulbs is multiple, and the method further comprises:
and when the brightness percentage corresponding to each sound column is 0, issuing a color instruction, wherein the color instruction is used for controlling each intelligent bulb to display different preset colors.
In some embodiments, the predetermined different colors include any combination of red, green, blue, yellow, cyan, and magenta.
In some embodiments, after each smart light bulb is displayed as a preset different color, the method further comprises:
and if the change of the color of the intelligent bulb is not detected within the preset time, issuing a color switching instruction.
In a second aspect, an embodiment of the present application provides a music rhythm-based intelligent light bulb control method, which is applied to a system including a sound box, an intelligent terminal, and an intelligent light bulb, and the method includes:
the intelligent terminal acquires the information of the added intelligent bulb and edits a short address for the intelligent bulb; associating the intelligent bulbs with the sound columns according to the preset number of the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
after the sound box sends out an audio signal, the intelligent terminal obtains the audio signal and obtains a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value; the intelligent terminal determines a sound post to which the audio frequency value belongs and sends a brightness instruction and a color instruction to an intelligent bulb associated with the sound post;
and the intelligent bulb controls light according to the brightness instruction and the color instruction.
In a third aspect, an embodiment of the present application provides an intelligent light bulb control terminal based on music rhythm, including:
the editing module is used for acquiring the information of the added intelligent bulb and editing a short address for the intelligent bulb;
the association module is used for associating the intelligent bulbs with the sound columns according to the preset number of the short addresses and the sound columns, wherein each sound column corresponds to a preset audio frequency range;
the conversion module is used for acquiring an audio signal and obtaining a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value;
and the sending module is used for determining the sound post to which the audio frequency value belongs and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound post.
In a fourth aspect, an embodiment of the present application provides an intelligent bulb control system based on music rhythm, including an intelligent terminal, a sound box, and an intelligent bulb;
the intelligent terminal is used for acquiring information of the added intelligent bulbs and editing short addresses of the intelligent bulbs, and is also used for associating the intelligent bulbs with the sound columns according to the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
the sound box is used for sending out an audio signal;
the intelligent terminal is further configured to obtain the audio signal and obtain a spectrogram through fast fourier transform, where the spectrogram includes an audio frequency value;
the intelligent terminal is also used for determining the sound post to which the audio frequency value belongs and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound post;
and the intelligent bulb is used for controlling light according to the brightness instruction and the color instruction.
Compare in correlation technique, because the received luminance instruction of each intelligent bulb of this application and colour instruction are different, consequently, the luminance and the colour that each intelligent bulb shows are also different, so, user's experience is felt to have improved, in addition, the technical scheme of this application has increased entertainment function, be about to music sound, light and color change fuse together, the harmonious fluctuation of music sound and light has been realized, make the user immerse in a happy and good atmosphere, convenience of customers entertains, it has not the amusement function to have solved simultaneously in the correlation technique, can't satisfy people's higher requirement and expectation, the problem that user experience is felt badly.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic diagram of an application environment of an intelligent light bulb control method based on music rhythm according to an embodiment of the present application;
fig. 2 is a first flowchart schematic of a music rhythm based intelligent light bulb control method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of editing a short address for a smart light bulb according to an embodiment of the present application;
FIG. 4 is a schematic flow chart of the steps of associating the smart light bulb with the fret according to embodiments of the present application;
FIG. 5 is a flowchart illustrating steps of a method for calculating a brightness command according to an embodiment of the present disclosure;
fig. 6 is a functional block diagram of a music rhythm based intelligent light bulb control terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. Reference herein to "a plurality" means greater than or equal to two. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The application provides a music-rhythm-based intelligent bulb control method, which can be applied to an application environment shown in fig. 1, where fig. 1 is a schematic view of an application environment of the music-rhythm-based intelligent bulb control method according to an embodiment of the application, as shown in fig. 1. Wherein, the intelligent terminal 101 communicates with the intelligent bulb 102 through bluetooth. Firstly, the intelligent terminal 101 obtains information of the added intelligent bulbs 102, edits short addresses for the intelligent bulbs 102, then, the intelligent terminal 101 associates the intelligent bulbs 102 with the sound columns according to the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range, then, the music playing device 103 sends out an audio signal or the intelligent terminal 101 itself sends out an audio signal (for example, the audio signal comes from music playing of a mobile phone or audio input through a microphone), then, the intelligent terminal 101 obtains the audio signal and obtains a spectrogram through fast fourier transform, wherein the spectrogram contains an audio frequency value, and finally, the intelligent terminal 101 determines the sound column to which the audio frequency value belongs and sends a brightness instruction and a color instruction to the intelligent bulb 102 associated with the sound column. The intelligent terminal 101 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers. The smart light bulb 102 may be, but is not limited to, a smart incandescent light bulb, a smart fluorescent light bulb, a smart energy saving light bulb, and a smart light bulb 102 integrated with color, temperature, brightness, and directional control.
Fig. 2 is a first flowchart of a music-rhythm-based intelligent light bulb control method according to an embodiment of the present application, and as shown in fig. 2, in an embodiment of the present invention, the music-rhythm-based intelligent light bulb 102 control method provided by the present invention is applied to an intelligent terminal 101, and the method includes the following steps:
step S201, acquiring the information of the added intelligent bulb 102, and editing a short address for the intelligent bulb 102; the number of the intelligent bulbs 102 is multiple, and short addresses can be sequentially edited for the intelligent bulbs 102 according to the sequence added to the intelligent terminal 101, for example, N intelligent bulbs 102 exist, for an intelligent bulb 1, the short address is edited to be 1, for an intelligent bulb 2, the short address is edited to be 2, and for an intelligent bulb N, the short address is edited to be N by … …; fig. 3 is a schematic diagram of editing a short address for a smart light bulb according to an embodiment of the present application, and in particular, fig. 3 can be referred to, and in addition, since the live effect of music rhythm is also related to the specific location of the smart light bulb 102, although in some other embodiments, the replanning of the short address can be adjusted in combination with the actual layout of the smart light bulb 102 to achieve the desired musical and light rhythm effect. It should be noted that the intelligent light bulb in this embodiment is a color intelligent light bulb.
Step S202, associating the intelligent bulbs 102 with the sound columns according to the preset number of the short addresses and the sound columns; wherein, each sound column corresponds to a preset audio frequency range;
since the audible range of human ears is 20-20000Hz, in order to associate the intelligent light bulb 102 with the sound column, n regions are set from low to high in the combination with the low and high audio frequency range in music, and are called as n sound columns; it should be noted that the preset number of sound pillars is specifically set according to user requirements, for example, in this embodiment, when the number of sound pillars is 8, the 8 sound pillars are respectively named as sound pillar 0, sound pillar 1, sound pillar 2, sound pillar 3, and … … sound pillar 7, then the preset audio frequency range corresponding to the sound pillar 0 is 20-2500Hz, the preset audio frequency range corresponding to the sound pillar 1 is 2501-, when the preset number of the sound columns is set to be other, each sound column corresponding to a preset audio frequency range can be correspondingly adjusted according to requirements.
Step S203, acquiring an audio signal, and obtaining a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value; the audio signal may be obtained through a music player provided on the intelligent terminal 101, and may be obtained through an independent music playing device 103 connected to the intelligent terminal 101, which is not specifically limited herein; in addition, since the human face in the art knows that the audio signal is obtained in step S203, and a specific working principle of a spectrogram is obtained through fast fourier transform, details are not repeated here.
And step S204, determining the sound column to which the audio frequency value belongs, and sending a brightness instruction and a color instruction to the intelligent bulb 102 associated with the sound column. Therefore, along with the popularization of intelligent illumination in intelligent home, especially in a common small-sized family party, a good experience feeling can be brought to a user.
It should be noted that, because the sound columns to which different audio frequency values belong are different, the intelligent terminal 101 sends different brightness instructions and different color instructions to the intelligent bulbs 102 associated with different sound columns, that is, when the brightness instructions and the color instructions received by each intelligent bulb 102 are different, the brightness and the color displayed by each intelligent bulb 102 are also different, so that the music sound, the light and the color change are integrated, the harmonious fluctuation of the music sound and the light is realized, the user is immersed in a happy and good atmosphere, the entertainment of the user is facilitated, and meanwhile, the problems that the related art has no entertainment enjoyment function, cannot meet higher requirements and expectations of people, and the user experience is poor are solved.
Through the steps S201 to S204, the present embodiment may edit a short address for the smart bulb 102 that obtains information of the smart bulb 102, associate the smart bulb 102 with a sound column according to the preset number of short addresses and sound columns, obtain a spectrogram through fast fourier transform after obtaining an audio signal, determine a sound column to which an audio frequency value belongs, send a brightness instruction and a color instruction to the smart bulb 102 associated with the sound column, and display corresponding brightness and color when the brightness instruction and the color instruction are received by each smart bulb 102, so that harmonic fluctuation of music sound and light is realized, a user is immersed in a happy and good atmosphere, and convenience is provided for the user to enjoy entertainment.
Fig. 4 is a flow chart illustrating the steps of associating the smart bulb with the fret, as described in fig. 4, in some embodiments, associating the smart bulb 102 with the fret includes the steps of:
step S401, numbering a preset number of sound columns to obtain sound column numbers; as such, subsequent association of the fret with the smart light bulb 102 is facilitated; for example, if there are 3 frets, the 3 frets are respectively numbered as fret 0, fret 1 and fret 2;
step S402, the short address of the intelligent bulb 102 is subjected to modulus operation on the preset number of the sound columns to obtain a remainder;
in step S403, the frets with the fret number equal to the remainder are associated with the smart bulb 102.
The following table shows specific cases that in one embodiment of the present application, 3 frets (3 frets are numbered as fret 0, fret 1, and fret 2, respectively) and 8 smart bulbs 102 are associated with frets having fret numbers equal to the remainder and the smart bulbs 102;
Figure BDA0003347947770000071
the intelligent bulbs 102 are named as bulbs 1 and bulbs 2 … …, bulbs 8 are respectively named as bulbs 1, bulbs 2, bulb 8 is named as bulb 8, the short address of bulb 1 is 1, the short address of bulb 2 is 2, the short address of bulb 8 is 8, the short address (1) of bulb 1 is modulo the preset number (3) of the sound columns, the obtained remainder is 1, the remainder of bulb 1 is 1, association of bulb 1 and sound columns 1 is achieved, similarly, the short address (2) of bulb 2 is modulo the preset number (3) of the sound columns, the obtained remainder is 2, the remainder of bulb 2 is 2, association of bulb 2 and sound columns 2 is achieved, … … is analogized in sequence, the short address (8) of bulb 8 is modulo the preset number (3) of the sound columns, the obtained remainder is 2, the remainder of bulb 8 is 2, and association of bulb 8 and sound columns 2 is achieved. Certainly, in some other examples, according to the number of the set bulbs, and the difference between the short addresses corresponding to the bulbs and the preset number of the sound columns, the mapping relationship between the intelligent bulb 102 and the sound columns is also changed accordingly, which is specifically set according to the user requirement, and is not specifically limited here.
Fig. 5 is a flow chart illustrating steps of a method for calculating a brightness instruction according to an embodiment of the present application, and as shown in fig. 5, in some embodiments, the method for calculating the brightness instruction includes the following steps:
step S501, setting a plurality of sampling points for each frame spectrogram; in order to achieve different rhythm effects, in some other embodiments, according to a user requirement, a plurality of sampling points may be set for every two frames or every three frames, which is not specifically limited herein;
step S502, obtaining the amplitude corresponding to the frequency value of each sampling point, calculating the average value of the amplitude, and setting the average value as the original amplitude of the sound post;
step S503, multiplying the original amplitude by the amplitude weighting magic factor to calculate the brightness value of the sound column; the amplitude weighting magic factor is a preset value, is specifically set according to user requirements, and is not specifically limited here;
step S504, converting the brightness value into brightness percentage according to the brightness reference value corresponding to each sound column, and generating a brightness instruction. Therefore, the rhythms (sounds) are associated with the brightness in different ways, and the harmony rhythms of music and lamplight can be realized conveniently and subsequently. The brightness reference value is set according to the user requirement, and is not specifically limited herein;
further, in one embodiment, the original amplitude is multiplied by the amplitude-weighted magic factor to calculate the luminance value of the fret by the following formula:
Zi=Yi×αi
wherein i represents the fret, α i represents the amplitude weighted magic factor corresponding to the i frets, Yi represents the original amplitude of the ith fret, and Zi represents the brightness value of the ith fret.
It is easily understood that Zi calculated in the case where Yi and α i are different, respectively, is also different.
In another embodiment, there are a plurality of smart bulbs 102, and the method further comprises:
when the brightness percentage corresponding to each sound column is 0, a color instruction is issued, and the color instruction is used for controlling each intelligent bulb 102 to display different preset colors. Therefore, even if no audio signal exists, namely when the intelligent terminal 101 acquires the audio signal, the intelligent bulbs 102 can still display different colors, so that people can have a colorful visual effect, and the experience of users is improved. The preset different colors can be set according to the requirements of users, and are not particularly limited;
in order to give the user a better visual effect and facilitate the user's entertainment, in an alternative embodiment, the different colors that are preset include, but are not limited to, any of various combinations of red, green, blue, yellow, cyan, and magenta. In this embodiment, a group of color sequences, which are red (255, 0, 0), green (0, 255, 0), blue (0, 0, 255), yellow (255, 255, 0), cyan (0, 255, 255), magenta (255, 0, 255), etc., are predefined, but in other embodiments, the predefined colors may be other colors, and are not specifically limited herein;
in order to bring better entertainment to the user, in some embodiments, after each of the smart bulbs 102 is displayed in a predetermined different color, the method further comprises:
if the color of the intelligent bulb 102 is not detected to change within the preset time, a color switching instruction is issued. Therefore, different colors can be conveniently displayed when the intelligent bulbs 102 receive the color switching instruction, and the color of each intelligent bulb 102 is prevented from being kept unchanged, so that bad experience is brought to users; the preset time is set according to the user requirement, and is not specifically limited herein.
It should be noted that the steps illustrated in the above-described flow diagrams or in the flow diagrams of the figures may be performed in a computer system, such as a set of computer-executable instructions, and that, although a logical order is illustrated in the flow diagrams, in some cases, the steps illustrated or described may be performed in an order different than here.
The embodiment also provides a music rhythm-based intelligent bulb control method, which is applied to a system comprising a sound box (not shown in the figure), an intelligent terminal 101 and an intelligent bulb 102, and the method comprises the following steps:
the intelligent terminal 101 acquires the information of the added intelligent bulb 102 and edits a short address for the intelligent bulb 102; associating the intelligent bulbs 102 with the sound columns according to the preset number of the short addresses and the sound columns, wherein each sound column corresponds to a preset audio frequency range;
after the sound box sends out an audio signal, the intelligent terminal 101 acquires the audio signal and obtains a spectrogram through fast fourier transform, wherein the spectrogram comprises an audio frequency value; the intelligent terminal 101 determines a sound post to which the audio frequency value belongs, and sends a brightness instruction and a color instruction to the intelligent bulb 102 associated with the sound post;
the smart light bulb 102 controls the light according to the brightness command and the color command.
Because the sound columns to which different audio frequency values belong are different, the intelligent terminal 101 sends different brightness instructions and different color instructions to the intelligent bulbs 102 associated with different sound columns, that is, when the brightness instructions and the color instructions received by each intelligent bulb 102 are different, the brightness and the color displayed by each intelligent bulb 102 are also different, so that the change of music sound, light and color is integrated, the harmony fluctuation of the music sound and the light is realized, a user is immersed in a happy and good atmosphere, the entertainment of the user is facilitated, and the problems that the entertainment enjoyment function is not provided in the related technology, the higher requirements and expectations of people cannot be met, and the user experience is poor are solved.
Fig. 6 is a functional block diagram of an intelligent light bulb control intelligent terminal 101 based on music rhythm according to an embodiment of the present application, and as shown in fig. 6, this embodiment further provides an intelligent light bulb 102 control intelligent terminal 101 based on music rhythm, where the intelligent terminal 101 includes:
the editing module 61 is used for acquiring the information of the added intelligent bulb 102 and editing a short address for the intelligent bulb 102;
the association module 62 is configured to associate the intelligent bulb 102 with the columns according to the preset number of the short addresses and the columns, where each column corresponds to a preset audio frequency range;
the conversion module 63 is configured to obtain an audio signal, and obtain a spectrogram through fast fourier transform, where the spectrogram includes an audio frequency value;
and the sending module 64 is configured to determine a sound column to which the audio frequency value belongs, and send a brightness instruction and a color instruction to the intelligent bulb 102 associated with the sound column. This intelligent terminal 101 integrates music sound, light and color change, has realized the harmony fluctuation of music sound and light, makes the user immerse in a happy and good atmosphere, and convenience of customers entertains, has solved simultaneously and has had the amusement to enjoy the function in the correlation technique, can't satisfy people's higher requirement and expect, and user experience feels poor problem.
The embodiment also provides an intelligent light bulb control system based on music rhythm, which is used for implementing the above embodiments and preferred embodiments, and the description of the system is omitted. As used hereinafter, the terms "module," "unit," "subunit," and the like may implement a combination of software and/or hardware for a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
The system comprises an intelligent terminal 101, a sound box and an intelligent bulb 102; in particular, the amount of the solvent to be used,
the intelligent terminal 101 is used for acquiring information of the added intelligent bulbs 102 and editing short addresses for the intelligent bulbs 102, and the intelligent terminal 101 is further used for associating the intelligent bulbs 102 with the sound columns according to the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
the loudspeaker box is used for emitting an audio signal; of course, in some other embodiments, the sound box may also be replaced by another music player, the music playing device 103, or the like, which is not specifically limited herein; wherein, can realize communicating through bluetooth between intelligent stereo set and the intelligent terminal 101.
The intelligent terminal 101 is further configured to obtain an audio signal and obtain a spectrogram through fast fourier transform, where the spectrogram includes an audio frequency value;
the intelligent terminal 101 is further configured to determine a fret to which the audio frequency value belongs, and send a brightness instruction and a color instruction to the intelligent bulb 102 associated with the fret;
and the intelligent bulb 102 is used for controlling light according to the brightness instruction and the color instruction. The system integrates music sound, light and color change into a whole, achieves harmony fluctuation of the music sound and the light, enables a user to be immersed in joyful and good atmosphere, facilitates entertainment of the user, and solves the problems that in the related technology, the system does not have the entertainment enjoyment function, cannot meet higher requirements and expectations of people, and is poor in user experience.
It should be understood by those skilled in the art that various features of the above-described embodiments can be combined in any combination, and for the sake of brevity, all possible combinations of features in the above-described embodiments are not described in detail, but rather, all combinations of features which are not inconsistent with each other should be construed as being within the scope of the present disclosure.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. An intelligent bulb control method based on music rhythm is applied to an intelligent terminal, and the method comprises the following steps:
acquiring information of the added intelligent bulb, and editing a short address for the intelligent bulb;
associating the intelligent bulbs with the sound columns according to the preset number of the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
acquiring an audio signal, and obtaining a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value;
and determining the sound column to which the audio frequency value belongs, and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound column.
2. The method of claim 1, wherein associating the smart light bulb with a fret comprises:
numbering the preset number of sound columns to obtain sound column numbers;
the short address of the intelligent bulb is subjected to modulus operation on the preset number of the sound columns to obtain a remainder;
and associating the sound column with the sound column number equal to the remainder with the intelligent bulb.
3. The method of claim 1, wherein the brightness instruction is calculated by:
setting a plurality of sampling points for each frame of the spectrogram;
acquiring the amplitude corresponding to the frequency value of each sampling point, calculating the average value of the amplitude, and setting the average value as the original amplitude of the sound post;
multiplying the original amplitude by an amplitude weighting magic factor to calculate the brightness value of the sound column;
and converting the brightness value into a brightness percentage according to the brightness reference value corresponding to each fret to generate a brightness instruction.
4. A method according to claim 3, wherein said original amplitude is multiplied by an amplitude weighted magic factor to calculate the luminance value of said fret by the following formula:
Zi=Yi×αi
wherein i represents the fret, α i represents the amplitude weighted magic factor corresponding to the i frets, Yi represents the original amplitude of the ith fret, and Zi represents the brightness value of the ith fret.
5. The method of claim 3, wherein the smart light bulb is plural, the method further comprising:
and when the brightness percentage corresponding to each sound column is 0, issuing a color instruction, wherein the color instruction is used for controlling each intelligent bulb to display different preset colors.
6. The method of claim 5, wherein the predetermined different colors include any combination of red, green, blue, yellow, cyan, and magenta.
7. The method of claim 5, wherein after each smart light bulb is displayed as a preset different color, the method further comprises:
and if the change of the color of the intelligent bulb is not detected within the preset time, issuing a color switching instruction.
8. A music rhythm-based intelligent bulb control method is applied to a system comprising a sound box, an intelligent terminal and an intelligent bulb, and comprises the following steps:
the intelligent terminal acquires the information of the added intelligent bulb and edits a short address for the intelligent bulb; associating the intelligent bulbs with the sound columns according to the preset number of the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
after the sound box sends out an audio signal, the intelligent terminal obtains the audio signal and obtains a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value; the intelligent terminal determines a sound post to which the audio frequency value belongs and sends a brightness instruction and a color instruction to an intelligent bulb associated with the sound post;
and the intelligent bulb controls light according to the brightness instruction and the color instruction.
9. The utility model provides an intelligence bulb control terminal based on music rhythm which characterized in that includes:
the editing module is used for acquiring the information of the added intelligent bulb and editing a short address for the intelligent bulb;
the association module is used for associating the intelligent bulbs with the sound columns according to the preset number of the short addresses and the sound columns, wherein each sound column corresponds to a preset audio frequency range;
the conversion module is used for acquiring an audio signal and obtaining a spectrogram through fast Fourier transform, wherein the spectrogram comprises an audio frequency value;
and the sending module is used for determining the sound post to which the audio frequency value belongs and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound post.
10. An intelligent bulb control system based on music rhythm is characterized by comprising an intelligent terminal, a sound box and an intelligent bulb;
the intelligent terminal is used for acquiring information of the added intelligent bulbs and editing short addresses of the intelligent bulbs, and is also used for associating the intelligent bulbs with the sound columns according to the short addresses and the preset number of the sound columns, wherein each sound column corresponds to a preset audio frequency range;
the sound box is used for sending out an audio signal;
the intelligent terminal is further configured to obtain the audio signal and obtain a spectrogram through fast fourier transform, where the spectrogram includes an audio frequency value;
the intelligent terminal is also used for determining the sound post to which the audio frequency value belongs and sending a brightness instruction and a color instruction to the intelligent bulb associated with the sound post;
and the intelligent bulb is used for controlling light according to the brightness instruction and the color instruction.
CN202111328294.7A 2021-11-10 2021-11-10 Intelligent bulb control method, terminal and system based on music rhythm Pending CN114222412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111328294.7A CN114222412A (en) 2021-11-10 2021-11-10 Intelligent bulb control method, terminal and system based on music rhythm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111328294.7A CN114222412A (en) 2021-11-10 2021-11-10 Intelligent bulb control method, terminal and system based on music rhythm

Publications (1)

Publication Number Publication Date
CN114222412A true CN114222412A (en) 2022-03-22

Family

ID=80696837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111328294.7A Pending CN114222412A (en) 2021-11-10 2021-11-10 Intelligent bulb control method, terminal and system based on music rhythm

Country Status (1)

Country Link
CN (1) CN114222412A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477914A (en) * 2002-08-22 2004-02-25 张志杰 Music lamp and its implement method
CN101252801A (en) * 2008-03-21 2008-08-27 中兴通讯股份有限公司 Method and apparatus for controlling light
WO2008151475A1 (en) * 2007-06-15 2008-12-18 Yong Zou Audio modulating irised lamp controller
US20180049298A1 (en) * 2016-08-12 2018-02-15 9255-7248 Québec Inc. Method and system for synchronizing lighting to music
CN111246621A (en) * 2020-01-10 2020-06-05 江门市征极光兆科技有限公司 WiFi technology-based neon light strip control system
CN111526644A (en) * 2017-09-27 2020-08-11 杭州博联智能科技股份有限公司 Control method and device for light display
CN113613369A (en) * 2021-08-11 2021-11-05 深圳市智岩科技有限公司 Light effect control method, device, equipment and storage medium
CN113630928A (en) * 2021-08-27 2021-11-09 上海科世达-华阳汽车电器有限公司 Light control method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477914A (en) * 2002-08-22 2004-02-25 张志杰 Music lamp and its implement method
WO2008151475A1 (en) * 2007-06-15 2008-12-18 Yong Zou Audio modulating irised lamp controller
CN101252801A (en) * 2008-03-21 2008-08-27 中兴通讯股份有限公司 Method and apparatus for controlling light
US20180049298A1 (en) * 2016-08-12 2018-02-15 9255-7248 Québec Inc. Method and system for synchronizing lighting to music
CN111526644A (en) * 2017-09-27 2020-08-11 杭州博联智能科技股份有限公司 Control method and device for light display
CN111246621A (en) * 2020-01-10 2020-06-05 江门市征极光兆科技有限公司 WiFi technology-based neon light strip control system
CN113613369A (en) * 2021-08-11 2021-11-05 深圳市智岩科技有限公司 Light effect control method, device, equipment and storage medium
CN113630928A (en) * 2021-08-27 2021-11-09 上海科世达-华阳汽车电器有限公司 Light control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN101252801B (en) Method and apparatus for controlling light
CN105451413B (en) Lamp light control method, apparatus and system
US20150078584A1 (en) Live Sound Mixer User Interface
JP2002010355A (en) Communication apparatus and mobile telephone
CN110381413A (en) Artificial intelligence speaker and its driving method
CN109767690A (en) Display device
TW200946193A (en) Visual feedback in electronic entertainment system
CN109254747A (en) The method and apparatus for controlling mobile terminal screen flashing
CN203167347U (en) Lamp
WO2016183980A1 (en) Image transmission method and device, and terminal apparatus
US11924945B2 (en) Method of using stereo recording to control the flashing of multiple lamps
CN114222412A (en) Intelligent bulb control method, terminal and system based on music rhythm
CN111831250A (en) Audio processing method and device, storage medium and electronic equipment
JP6992798B2 (en) Master playback device, slave playback device, and their light emission method
WO2023061330A1 (en) Audio synthesis method and apparatus, and device and computer-readable storage medium
US11698771B2 (en) Vocal guidance engines for playback devices
CN116506543A (en) Battery cover color changing method and electronic equipment
US11369016B2 (en) Method and system for producing a sound-responsive lighting effect
CN205656419U (en) Projecting apparatus that voiced sound makes a sound
CN201479197U (en) Breathing light mobile phone
CN213880236U (en) Sound effect conversion device
EP4301096A1 (en) Electronic device and method of converting audio to light effect thereof
CN108419176A (en) Singing method and device sing equipment
CN108777138A (en) Audio-frequency information acquisition methods and performance device
CN103266845A (en) Combined door with music playing function

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