CN110049597A - A kind of lamp effect switching method, lamp effect switching circuit and electronic product - Google Patents
A kind of lamp effect switching method, lamp effect switching circuit and electronic product Download PDFInfo
- Publication number
- CN110049597A CN110049597A CN201910367034.7A CN201910367034A CN110049597A CN 110049597 A CN110049597 A CN 110049597A CN 201910367034 A CN201910367034 A CN 201910367034A CN 110049597 A CN110049597 A CN 110049597A
- Authority
- CN
- China
- Prior art keywords
- environmental audio
- lamp
- audio
- frequency
- music
- 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
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B45/00—Circuit arrangements for operating light-emitting diodes [LED]
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/30—Semiconductor lamps, e.g. solid state lamps [SSL] light emitting diodes [LED] or organic LED [OLED]
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the invention discloses a kind of lamp effect switching method, lamp effect switching circuit and electronic products, and wherein lamp effect switching method includes: acquisition environmental audio, judge whether the environmental audio is music VF;If so, carrying out lamp effect switching according to the environmental audio.Lamp effect switching method, lamp effect switching circuit and electronic product provided in an embodiment of the present invention, lamp effect switching is carried out when the environmental audio of acquisition is music VF, is enriched lamp effect switching method, is improved user-interaction experience.
Description
Technical field
The present embodiments relate to field of household appliances more particularly to a kind of lamp effect switching methods, lamp effect switching circuit and electronics
Product.
Background technique
It nowadays, is the audiovisual experience for meeting user, part lamps and lanterns can carry out lamp effect switching according to audio.The prior art
In, the lamps and lanterns that can carry out lamp effect switching are often integrated in sound-box device, and common lamp effect switching method is that sound box processor connects
Audio data of the controlling terminal by wired or wireless transmission is received, and lamp effect switching is carried out according to audio data.The prior art
Shortcoming includes at least, and lamp effect switching can not be carried out according to user speech, and interactive experience is poor.
Summary of the invention
In view of this, a kind of lamp effect switching method, lamp effect switching circuit and electronic product provided in an embodiment of the present invention, rich
Rich lamp imitates switching method, improves user-interaction experience.
In a first aspect, the embodiment of the invention provides a kind of lamps to imitate switching method, comprising:
Environmental audio is acquired, judges whether the environmental audio is music VF;
If so, carrying out lamp effect switching according to the environmental audio.
It is optionally, described to judge whether the environmental audio is music VF, comprising:
The temporal signatures for obtaining the environmental audio judge whether the environmental audio is music according to the temporal signatures
Audio;And/or
The environmental audio is converted into frequency-region signal, and obtains the frequency domain character of the frequency-region signal, according to the frequency
Characteristic of field judges whether the environmental audio is music VF.
Further, the temporal signatures for obtaining the environmental audio, judge the environment according to the temporal signatures
Whether audio is music VF, comprising:
Obtain the continuity Characteristics of the environmental audio within a preset period of time;
If the continuity Characteristics be it is continuous, judge the environmental audio for music VF.
Further, described that the environmental audio is converted into frequency-region signal, and the frequency domain for obtaining the frequency-region signal is special
Sign, judges whether the environmental audio is music VF according to the frequency domain character, comprising:
The environmental audio is converted into frequency-region signal according to Fourier transformation, and obtains the feature frequency of the frequency-region signal
Rate;
The characteristic frequency is matched with default scale frequency meter, judges that the environmental audio is if successful match
Music VF.
Optionally, described that lamp effect switching is carried out according to the environmental audio, comprising: according to the amplitude of the environmental audio
And/or frequency carries out lamp effect switching.
Optionally, after the acquisition environmental audio, further includes:
The environmental audio is pre-processed;Correspondingly, judge whether pretreated environmental audio is music VF,
If so, carrying out lamp effect switching according to pretreated environmental audio.
Optionally, lamp imitates switching method, further includes: if the environmental audio is not music VF, sets lamp effect to
Headlamp effect.
Second aspect, the embodiment of the invention provides a kind of lamp imitate switching circuit, comprising: master board, interface module and
Splice lamp plate;
The master board is electrically connected by the interface module with the splicing lamp plate, right for acquiring environmental audio
The environmental audio is pre-processed, and judges whether pretreated environmental audio is music VF, if then according to pretreatment
Environmental audio afterwards generates control signal, carries out lamp effect switching to control the splicing lamp plate.
Optionally, the master board includes audio collection module, preprocessing module and control module;The splicing lamp plate
Including drive module and multiple lamp beads;
The audio collection module is electrically connected with the preprocessing module, for acquiring environmental audio, and by the environment
Audio is sent to preprocessing module;
The preprocessing module is electrically connected with the control module, for being pre-processed to the environmental audio, and will
The pretreated environmental audio is sent to control module;
The control module is electrically connected by the interface module with the drive module, pretreated for judging
Whether environmental audio is music VF, if then generating control signal according to pretreated environmental audio, and by the control
Signal is sent to drive module;
The drive module is electrically connected with the multiple lamp bead, for driving the multiple lamp according to the control signal
Pearl carries out lamp effect switching.
The third aspect is provided with what any embodiment of the present invention provided the embodiment of the invention provides a kind of electronic product
Lamp imitates switching circuit.
A kind of lamp provided in this embodiment imitates the technical solution of switching method, lamp effect switching circuit and electronic product, acquisition
Environmental audio not only may include user speech but also may include terminal outer playback frequency, when the environmental audio of acquisition be music VF when
Lamp effect switching is carried out, lamp effect switching method is enriched, improves user-interaction experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing does one and simply introduces, it should be apparent that, drawings in the following description are some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is a kind of flow chart for lamp effect switching method that the embodiment of the present invention one provides;
Fig. 2 is a kind of structural schematic diagram of lamp effect switching circuit provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of lamp effect switching circuit sound intermediate frequency acquisition module provided by Embodiment 2 of the present invention and preprocessing module
Circuit diagram;
Fig. 4 is the structural schematic diagram for splicing lamp plate in a kind of lamp effect switching circuit provided by Embodiment 2 of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, hereinafter with reference to attached in the embodiment of the present invention
Figure, clearly and completely describes technical solution of the present invention by embodiment, it is clear that described embodiment is the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.Following each embodiments
In, optional feature and example are provided simultaneously in each embodiment, each feature recorded in embodiment can be combined, and be formed
The embodiment of each number should not be considered merely as a technical solution by multiple optinal plans.
Embodiment one
Fig. 1 is a kind of flow chart for lamp effect switching method that the embodiment of the present invention one provides, and the present embodiment can be applied to lamp
The case where tool carries out lamp effect switching with environmental audio, such as household electrical appliances lamps and lanterns carry out the switching of lamp effect or KTV rendering lamp carries out lamp effect and cuts
The scene changed, this method can imitate switching circuit by lamp and realize, the software and/or hardware in switching circuit can be specifically imitated by lamp
To implement.
Referring to Fig. 1, lamp effect switching method includes the following steps:
S110, acquisition environmental audio, judge whether environmental audio is music VF;
Wherein, the lamps and lanterns for carrying out lamp effect switching can be illuminator, or the instruction being set on electronic product
Lamp, wherein electronic product for example can be speaker, refrigerator, air-conditioning, washing machine and television set etc..Wherein, lamp effect switching is carried out
Lamps and lanterns acquisition instructions can acquire environmental audio based on the received, and acquisition instructions can be touched by pressing the physical button of lamps and lanterns
Hair, can also by press with lamps and lanterns pairing other terminals physical button or virtual key trigger, can also with lamps and lanterns
The triggering when voice and default voice of other terminals acquisition of pairing match, can also adopt with other terminals that lamps and lanterns match
The triggering when gesture of collection and default gesture match, is not specifically limited herein.
Optionally, judge whether environmental audio is music VF, comprising:
The temporal signatures for obtaining environmental audio, judge whether environmental audio is music VF according to temporal signatures;And/or
Environmental audio is converted into frequency-region signal, and obtains the frequency domain character of frequency-region signal, judges that environmental audio is according to frequency domain character
No is music VF.
Wherein, environmental audio is the audio data acquired in chronological order, therefore the environmental audio acquired is time domain letter
Number.Wherein, the temporal signatures of environmental audio, it can be understood as the feature of the environmental audio data of acquisition, such as can be along when
Between axis direction environmental audio feature, be also possible to the environmental audio feature along audio amplitude direction.Wherein, according to along time shaft
The environmental audio feature in direction judges whether environmental audio is music VF, can be and judges that the environmental audio of time-axis direction is
It is no continuous, if continuous it may be considered that environmental audio is music VF.Wherein, special according to the environmental audio along audio amplitude direction
Sign judges whether environmental audio is music VF, can be and judges whether the environmental audio in audio amplitude direction is greater than default width
Value, if more than default amplitude it may be considered that environmental audio is music VF.
Wherein it is possible to convert frequency-region signal for environmental audio using time-frequency conversion method, and obtain the frequency of frequency-region signal
Characteristic of field.Wherein, frequency domain character for example can be the frequency that frequency-region signal includes.Wherein, judge that environmental audio is according to frequency
No is music VF, is matched with specific frequency it may be considered that environmental audio is sound if can be the frequency that frequency-region signal includes
Musical sound frequency.
Further, the temporal signatures for obtaining environmental audio judge whether environmental audio is note according to temporal signatures
Frequently, comprising: obtain the continuity Characteristics of environmental audio within a preset period of time;If continuity Characteristics be it is continuous, judge environment
Audio is music VF.
Wherein, environmental audio can be music VF, can also be other audios, for example, footsteps, door slam or say
Words sound etc.;Wherein, since the melody for including in music VF is more continuous, and the sound such as speak or close the door are more discontinuous,
Therefore music VF can be judged whether it is by the continuity of environmental audio.Wherein, environmental audio, which can be, in real time acquires,
The audio section that at least one preset time period can be intercepted after environmental audio is collected, if continuous sound in each audio section of interception
Frequency range proportion is greater than preset ratio, then may determine that environmental audio is music VF.Wherein, preset time period for example can be with
It is 4s or 10s, the quantity for intercepting the audio section of preset time period for example can be 5 sections, 7 sections or 8 sections, and preset ratio for example can be with
60% or 90%, and preset time period, interception audio section quantity and preset ratio all can according to actual needs into
Row is adjusted.
Further, environmental audio is converted into frequency-region signal, and obtains the frequency domain character of frequency-region signal, according to frequency domain spy
Sign judges whether environmental audio is music VF, comprising: environmental audio is converted to frequency-region signal according to Fourier transformation, and is obtained
Take the characteristic frequency of frequency-region signal;Characteristic frequency is matched with default scale frequency meter, environment is judged if successful match
Audio is music VF.
It wherein, include more to advise in the frequency-region signal of music VF due to being made of in music VF each scale
The scale frequency of rule, and speak or door slam in scale frequency it is more irregular, therefore the corresponding frequency domain of environmental audio can be passed through
The frequecy characteristic of signal judges whether environmental audio is music VF.It wherein, can be by ambient sound according to Fourier transform formula
Frequency is converted to frequency-region signal, and can choose and be distributed more frequency in frequency-region signal as characteristic frequency.It further, can will be special
Sign frequency is matched with default scale frequency meter, if being matched to from default scale frequency meter identical with characteristic frequency each pre-
If scale frequency, and matched each default scale frequency meets scheduled rule change, such as meets common and rotation scale and become
Change regular " 15634125 ", " 4536251 " or " 1563451 " etc., it may be considered that environmental audio is music VF.In addition, if
It is not matched to default scale frequency identical with characteristic frequency or matched default scale frequency from default scale frequency meter
Scheduled rule change is not met, it may be considered that environmental audio is not music VF.
S120, switch if so, carrying out lamp effect according to environmental audio.
Wherein, when judging environmental audio for music VF, lamp effect switching can be carried out according to environmental audio.Wherein, it acquires
Environmental audio not only may include user speech but also may include terminal outer playback frequency, thus extend lamp effect switching audio come
Source.In addition, only environmental audio be music VF when just carry out lamp effect switch, when ambient sound is not music VF without
Lamp effect switching enriches lamp effect switching method, improves user-interaction experience so as to build better audiovisual atmosphere.
Optionally, lamp effect switching is carried out according to environmental audio, comprising: carry out according to the amplitude of environmental audio and/or frequency
Lamp effect switching.
Wherein, the lamps and lanterns for carrying out lamp effect switching may include multiple lamp beads, and each lamp bead be lit after can be in identical face
Color can also be in different colours.Wherein, according to the amplitude of environmental audio carry out lamp effect switching, can be environmental audio amplitude with
The lamp bead quantity lighted is positively correlated, i.e. the amplitude of environmental audio is bigger, and the lamp bead being lit is more, and the amplitude of environmental audio is got over
Small, the lamp bead being lit is fewer;It can also be that the lamplight brightness of environmental audio amplitude and lamp bead is positively correlated, i.e. environmental audio
Amplitude is bigger, and the brightness of lamp bead is bigger, and the amplitude of environmental audio is smaller, and the brightness of lamp bead is smaller.Wherein, according to environmental audio
Frequency carries out lamp effect switching, can be the lamp bead for lighting different colours according to the different frequency of environmental audio, illustratively, works as ring
When the frequency of border audio is higher, red lamp bead can be lighted, when the frequency of environmental audio is lower, blue lamp bead can be lighted,
And different colours lamp bead can be lighted with the variation of the frequency of environmental audio.
Optionally, after acquiring environmental audio, further includes: pre-processed to environmental audio;Correspondingly, the pre- place of judgement
Whether the environmental audio after reason is music VF, if so, carrying out lamp effect switching according to pretreated environmental audio.
Wherein, the pretreatment carried out to environmental audio may include the processing such as filtering and amplification.Wherein, to environmental audio
It is filtered, can be wiping out background audio in environmental audio, wherein background audio can be preset audio, be also possible to root
The background audio determined according to the environmental audio of acquisition.By being filtered to environmental audio, can keep away to a certain extent
Exempt from the interference in the identification process of environmental audio by background audio.Wherein, to environmental audio or filtered environmental audio into
Row amplification, can be and amplified the environmental audio of acquisition by operational amplification circuit, to improve the identification of environmental audio
Efficiency.
Optionally, lamp imitates switching method further include: if environmental audio is not music VF, sets headlamp for lamp effect
Effect.
Wherein, the lamps and lanterns for carrying out lamp effect switching can also imitate without lamp and switch when environmental audio is not music VF,
And fixed setting is that headlamp is imitated.Lamp effect switching can be carried out in environmental audio music VF to make lamps and lanterns not only, with battalion
Better audiovisual atmosphere is made, can also be illuminated when environmental audio is not music VF, to enrich lamp effect switching side
Method improves user-interaction experience.
Lamp provided in this embodiment imitates switching method, and the environmental audio of acquisition not only may include user speech but also may include terminal
Outer playback frequency, when the environmental audio of acquisition be music VF when carry out lamp effect switching, enrich lamp effect switching method, improve
User-interaction experience.
Embodiment two
Fig. 2 is a kind of structural schematic diagram of lamp effect switching circuit provided by Embodiment 2 of the present invention, is implemented using the present invention
The effect switching circuit of lamp provided by example can realize above-mentioned lamp effect switching method.The present embodiment is having the same with above-described embodiment
Inventive concept, same as the previously described embodiments or corresponding term explain that this embodiment is not repeated.
Referring to fig. 2, lamp effect switching circuit includes: master board 210, interface module 220 and splicing lamp plate 230;
Master board 210 is electrically connected, for acquiring environmental audio, to ring with splicing lamp plate 230 by interface module 220
Border audio is pre-processed, and judges whether pretreated environmental audio is music VF, if then according to pretreated ring
Border audio generates control signal, carries out lamp effect switching with control splicing lamp plate 230.
Wherein, interface module can be divided into the first sub-interface and the second sub-interface, and the first sub-interface may be disposed at master control
In making sheet, the second sub-interface be may be disposed on splicing lamp plate, and when the first sub-interface of master board and the second of splicing lamp plate
When sub-interface matches, splicing lamp plate can be successfully connected in master board, i.e. splicing lamp plate and master board passes through interface module
It is electrically connected.Wherein, at least one first sub-interface can be preset in master board, so that at least one splices lamp plate
Spliced with master board, so that at least one splicing lamp plate can control to carry out lamp effect switching.Wherein, user can be according to reality
The splicing lamp plate of different number is connected in master board by demand by interface module, and the lamp plate shape for splicing lamp plate can be with
For arbitrary shape, such as can be straight line, curve, polygon or ellipse etc., so as to make by master board and splicing lamp group at
Splicing lamp it is different, and then enrich light transition effect.
Wherein, master board can be powered by lamps and lanterns power supply, and can be supplied by interface module splicing lamp plate
Electricity.Wherein, master board can carry out environmental audio acquisition after receiving acquisition instructions, and acquisition instructions can pass through pressing
The physical button of lamps and lanterns triggers, and can also be touched by pressing with the physical button of other terminals of lamps and lanterns pairing or virtual key
Hair, can also matched with lamps and lanterns other terminals acquisition voice and default voice match when triggering, can also with lamp
The triggering when gesture and default gesture of other terminals acquisition of tool pairing match, is not specifically limited herein.
Optionally, master board includes audio collection module, preprocessing module and control module;Splicing lamp plate includes driving
Module and multiple lamp beads;Audio collection module is electrically connected with preprocessing module, for acquiring environmental audio, and by environmental audio
It is sent to preprocessing module;Preprocessing module is electrically connected with control module, for being pre-processed to environmental audio, and will be pre-
Treated, and environmental audio is sent to control module;Control module is electrically connected, for judging with drive module by interface module
Whether pretreated environmental audio is music VF, if control signal is then generated according to pretreated environmental audio, and
Send control signals to drive module;Drive module is electrically connected with multiple lamp beads, for driving multiple lamps according to control signal
Pearl carries out lamp effect switching.
Wherein, audio collection module may include microphone array, can acquire multiple orientation by microphone array
Environmental audio, the environmental audio based on multiple orientation can be more accurate and clearly carries out audio collection, to reduce acquisition not
Not the case where not knowing environmental audio to environmental audio or acquisition.Wherein, microphone array can be with according to the directive property of microphone
It is divided into omnidirectional microphone, omnidirectional microphone, bi-directional microphones and cardioid microphone etc.;Wherein the arrangement of microphone can be linear
Arrangement, or non-linear arrangement, and the corresponding audio algorithm of different spread patterns is different.Wherein, microphone is linearly arranged
When column, equidistant arrangement can be.
Wherein, preprocessing module may include filter circuit and operational amplifier;Wherein, filter circuit can be to ambient sound
Frequency is filtered, with background audio in filtering environmental audio.It, can be to a certain degree by being filtered to environmental audio
On avoid interference in the identification process of environmental audio by background audio.Wherein, operational amplifier can to environmental audio or
Filtered environmental audio amplifies, to improve the recognition efficiency of environmental audio.
Fig. 3 is a kind of lamp effect switching circuit sound intermediate frequency acquisition module provided by Embodiment 2 of the present invention and preprocessing module
Circuit diagram.As shown in figure 3, MIC1 can be a microphone in microphone array, U1 can be operational amplifier, and operation
The model of amplifier can be OPA2365AIDR.Wherein, MIC1 is translated audio into after acquiring environmental audio as electric signal, is led to
Cross the input pin-IN A that electric signal is input to operational amplifier U1 by OUT pin;It not only can be with by being electrically connected with each capacitor
Pressure stabilizing is carried out to electric signal, electric signal can also be filtered;By adjusting the resistance value of R5 and R1, adjustable electricity
The enlargement ratio of signal;Control module can be entered from Vout A pin by amplified electric signal.Wherein, since each operation is put
The pin difference of big device, the number of signals that can amplify is different, and operational amplifier as shown in Figure 3, input pin-IN B may be used also
It is connect with the OUT pin of another microphone, to realize the enhanced processing of the environmental audio of another microphone acquisition.
Wherein, control module may include microcontroller (Microcontroller Unit, MCU), and drive module can be with
Including driving circuit.Wherein, driving circuit can generate driving signal according to the control signal of control module, to drive multiple lamp beads
Carry out lamp effect switching.Wherein, driving signal can be pulse width modulating signal (Pulse Width Modulation, PWM),
The brightness value etc. lighted by the changeable multiple lamp beads of control of pwm signal, such as when the duty ratio of pwm signal is 20%, it is multiple
The brightness value that lamp bead is lighted is the 20% of maximum brightness value, keeps light efficiency more soft.
Wherein, control module and drive module in splicing lamp plate can be attached by interface module in master board.It connects
Mouth mold block for example can be I2C interface, defeated by the output terminal of clock of I2C bus link control module and the clock of drive module
Enter the data output end at end and control module and the data input pin of drive module, is then worked by driving mechanisms control more
The working condition of a lamp bead.
Wherein, multiple lamp beads may include the lamp bead for illumination, and the lamp bead for carrying out lamp effect switching, and be used for
The lamp bead of illumination for example can be white light lamp bead, and the lamp bead for carrying out lamp effect switching for example can be RGB lamp bead.Wherein, it uses
It can be arranged alternately in the lamp bead of illumination with the lamp bead for carrying out lamp effect switching, can also separate and arrange;Wherein, arrangement shape
It can be straight line, curve, polygon or ellipse etc..Wherein, when environmental audio is not music VF, driving circuit can be driven
Lamp bead for illumination is lighted, and when environmental audio is music VF, driving circuit can drive the lamp for carrying out lamp effect switching
Pearl is lighted.Wherein, driving the lamp bead for carrying out lamp effect switching to light may include driving for carrying out the multiple of lamp effect switching
The brightness value that lamp bead is lighted lights sequence and lights duration etc..
Fig. 4 is the structural schematic diagram for splicing lamp plate in a kind of lamp effect switching circuit provided by Embodiment 2 of the present invention.Such as Fig. 4
Shown, (a) figure is the front view for splicing lamp plate, and (b) figure is the rear view for splicing lamp plate.As shown in (a) figure, splice lamp plate
For linear lamp plate, splicing the round lamp bead in lamp plate can be the lamp bead for illumination, and rectangular lamp bead can cut to imitate for lamp
The lamp bead changed, and can be alternately arranged for the lamp bead of illumination with the lamp bead for lamp effect switching;In addition, the lamp bead for illumination
It can be white LED lamp, may include RGB tri coloured lantern pearl in the lamp bead for lamp effect switching, a variety of different colors are presented.Such as
(b) shown in figure, the splicing small rectangle in the lamp plate back side can indicate interface module, and the circle on small rectangle can indicate interface pin,
And interface pin can be divided into the stitch for power supply and be same as the stitch of communication.By interface module, control module can be incited somebody to action
Control signal is sent to the drive module on splicing lamp plate, and drive module can drive multiple lamp beads to carry out lamp effect according to control signal
Switching.
Lamp provided in this embodiment imitates switching circuit, and master board acquires environmental audio, pre-processes to environmental audio,
Judge whether pretreated environmental audio is music VF, if then generating control letter according to pretreated environmental audio
Number, splicing lamp plate is sent to by interface module, lamp effect switching is carried out with control splicing lamp plate, enriches lamp effect switching method,
Improve user-interaction experience.The present embodiment and above-described embodiment inventive concept having the same, it is same as the previously described embodiments or
Corresponding term explains that this embodiment is not repeated.
Embodiment three
The embodiment of the invention provides a kind of electronic products, are provided with the lamp effect switching electricity that any embodiment of the present invention provides
Road.Wherein, electronic product can be on the electronic products such as illuminator, speaker, refrigerator, air-conditioning, washing machine and television set.The electricity
Sub- product can acquire environmental audio, and wherein environmental audio not only may include user speech but also may include the outer playback frequency of terminal, when adopting
Lamp effect switching is carried out when the environmental audio integrated is music VF, is enriched lamp effect switching method, is improved user-interaction experience, mention
High electronic product technology sense.
Electronic product provided in this embodiment and above-described embodiment belong to same inventive concept, not detailed in the present embodiment
The technical detail of description can be found in above-described embodiment, and the present embodiment and above-described embodiment beneficial effect having the same.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The present invention is not limited to specific embodiments here, be able to carry out for a person skilled in the art it is various it is apparent variation, again
Adjustment and substitution are without departing from protection scope of the present invention.Therefore, although by above embodiments to the present invention carried out compared with
For detailed description, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, can be with
Including more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of lamp imitates switching method characterized by comprising
Environmental audio is acquired, judges whether the environmental audio is music VF;
If so, carrying out lamp effect switching according to the environmental audio.
2. lamp according to claim 1 imitates switching method, which is characterized in that described to judge whether the environmental audio is sound
Musical sound frequency, comprising:
The temporal signatures for obtaining the environmental audio judge whether the environmental audio is note according to the temporal signatures
Frequently;And/or
The environmental audio is converted into frequency-region signal, and obtains the frequency domain character of the frequency-region signal, it is special according to the frequency domain
Sign judges whether the environmental audio is music VF.
3. lamp according to claim 2 imitates switching method, which is characterized in that the time domain for obtaining the environmental audio is special
Sign, judges whether the environmental audio is music VF according to the temporal signatures, comprising:
Obtain the continuity Characteristics of the environmental audio within a preset period of time;
If the continuity Characteristics be it is continuous, judge the environmental audio for music VF.
4. lamp according to claim 2 imitates switching method, which is characterized in that described that the environmental audio is converted to frequency domain
Signal, and the frequency domain character of the frequency-region signal is obtained, judge whether the environmental audio is music according to the frequency domain character
Audio, comprising:
The environmental audio is converted into frequency-region signal according to Fourier transformation, and obtains the characteristic frequency of the frequency-region signal;
The characteristic frequency is matched with default scale frequency meter, judges the environmental audio for music if successful match
Audio.
5. lamp according to claim 1 imitates switching method, which is characterized in that described to carry out lamp effect according to the environmental audio
Switching, comprising: lamp effect switching is carried out according to the amplitude of the environmental audio and/or frequency.
6. lamp according to claim 1 imitates switching method, which is characterized in that after the acquisition environmental audio, also wrap
It includes:
The environmental audio is pre-processed;Correspondingly, judge whether pretreated environmental audio is music VF, if
It is that lamp effect switching is then carried out according to pretreated environmental audio.
7. lamp according to claim 1 imitates switching method, which is characterized in that further include: if the environmental audio is not sound
Musical sound frequency then sets headlamp effect for lamp effect.
8. a kind of lamp imitates switching circuit characterized by comprising master board, interface module and splicing lamp plate;
The master board is electrically connected, for acquiring environmental audio, to described with the splicing lamp plate by the interface module
Environmental audio is pre-processed, and judges whether pretreated environmental audio is music VF, if then according to pretreated
Environmental audio generates control signal, carries out lamp effect switching to control the splicing lamp plate.
9. lamp according to claim 8 imitates switching circuit, which is characterized in that the master board includes audio collection mould
Block, preprocessing module and control module;The splicing lamp plate includes drive module and multiple lamp beads;
The audio collection module is electrically connected with the preprocessing module, for acquiring environmental audio, and by the environmental audio
It is sent to preprocessing module;
The preprocessing module is electrically connected with the control module, for being pre-processed to the environmental audio, and will be described
Pretreated environmental audio is sent to control module;
The control module is electrically connected, for judging pretreated environment with the drive module by the interface module
Whether audio is music VF, if then generating control signal according to pretreated environmental audio, and by the control signal
It is sent to drive module;
The drive module is electrically connected with the multiple lamp bead, for according to the control signal the multiple lamp bead of driving into
Portable lighter effect switching.
10. a kind of electronic product, which is characterized in that the setting lamp any just like claim 8-9 imitates switching circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910367034.7A CN110049597A (en) | 2019-05-05 | 2019-05-05 | A kind of lamp effect switching method, lamp effect switching circuit and electronic product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910367034.7A CN110049597A (en) | 2019-05-05 | 2019-05-05 | A kind of lamp effect switching method, lamp effect switching circuit and electronic product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110049597A true CN110049597A (en) | 2019-07-23 |
Family
ID=67280680
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910367034.7A Pending CN110049597A (en) | 2019-05-05 | 2019-05-05 | A kind of lamp effect switching method, lamp effect switching circuit and electronic product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110049597A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111093302A (en) * | 2019-11-26 | 2020-05-01 | 深圳市奋达科技股份有限公司 | Sound box light control method and sound box |
CN111182683A (en) * | 2019-11-26 | 2020-05-19 | 深圳市酷客智能科技有限公司 | Intelligent lamp belt and control method thereof |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607823A (en) * | 2013-11-27 | 2014-02-26 | 南通芯迎设计服务有限公司 | LED light emitting device |
CN105472846A (en) * | 2015-12-16 | 2016-04-06 | 北京良业照明技术有限公司 | Lamplight controller and lamplight control method |
US20160120008A1 (en) * | 2014-10-24 | 2016-04-28 | Collin Sutherland | Musical display device |
CN106332392A (en) * | 2015-06-30 | 2017-01-11 | 芋头科技(杭州)有限公司 | Light display effect control system |
US20180049298A1 (en) * | 2016-08-12 | 2018-02-15 | 9255-7248 Québec Inc. | Method and system for synchronizing lighting to music |
-
2019
- 2019-05-05 CN CN201910367034.7A patent/CN110049597A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607823A (en) * | 2013-11-27 | 2014-02-26 | 南通芯迎设计服务有限公司 | LED light emitting device |
US20160120008A1 (en) * | 2014-10-24 | 2016-04-28 | Collin Sutherland | Musical display device |
CN106332392A (en) * | 2015-06-30 | 2017-01-11 | 芋头科技(杭州)有限公司 | Light display effect control system |
CN105472846A (en) * | 2015-12-16 | 2016-04-06 | 北京良业照明技术有限公司 | Lamplight controller and lamplight control method |
US20180049298A1 (en) * | 2016-08-12 | 2018-02-15 | 9255-7248 Québec Inc. | Method and system for synchronizing lighting to music |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111093302A (en) * | 2019-11-26 | 2020-05-01 | 深圳市奋达科技股份有限公司 | Sound box light control method and sound box |
CN111182683A (en) * | 2019-11-26 | 2020-05-19 | 深圳市酷客智能科技有限公司 | Intelligent lamp belt and control method thereof |
CN111093302B (en) * | 2019-11-26 | 2023-05-12 | 深圳市奋达科技股份有限公司 | Sound box light control method and sound box |
CN111182683B (en) * | 2019-11-26 | 2023-09-19 | 湖南电小酷科技有限公司 | Intelligent lamp strip and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103607823B (en) | A kind of LED light emission device | |
CN204100177U (en) | A kind of sound controlled LED light | |
CN101252801A (en) | Method and apparatus for controlling light | |
CN110049597A (en) | A kind of lamp effect switching method, lamp effect switching circuit and electronic product | |
CN107135578A (en) | Intelligent music chord atmosphere lamp system based on TonaLighting regulation technologies | |
US8697977B1 (en) | Dynamic lighting for musical instrument | |
CN203641942U (en) | LED lighting device and stereo Bluetooth loudspeaker box system | |
CN201547562U (en) | Three-primary-color LED light source | |
CN206260102U (en) | Led decorative lamp control system | |
CN105810226B (en) | A kind of method and system of control musical effect | |
CN2911406Y (en) | Color changing lamp dancing producer controlled by music and digit program | |
CN200962662Y (en) | Head-worn earphone | |
CN105509018A (en) | Intelligent Bluetooth stereo lamp | |
US7235930B1 (en) | Decorative tree with coordinated visual and sound effects | |
CN205560497U (en) | Multi -functional intelligent LED shot -light | |
CN207298883U (en) | A kind of intelligent interaction LED outdoor lights process and equipments | |
CN105828501A (en) | Method and device for realizing light source state regulation through sound signals | |
CN204993806U (en) | Stereo set follow up system | |
CN106303833A (en) | A kind of speaker system with ornament lamp group and method | |
CN203121439U (en) | Knapsack with light emitting controlled through voice | |
CN207486616U (en) | Ceiling lamp and system | |
KR102345027B1 (en) | Lighting device and frame with said lighting device attached thereto | |
WO2020160708A1 (en) | A method and system for producing a sound-responsive lighting effect | |
CN111596589A (en) | Multimedia music fountain control system | |
CN212345970U (en) | Sofa with acousto-optic 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190723 |
|
RJ01 | Rejection of invention patent application after publication |