CN108925014A - A kind of light source brightness control method, system and equipment - Google Patents

A kind of light source brightness control method, system and equipment Download PDF

Info

Publication number
CN108925014A
CN108925014A CN201810482643.2A CN201810482643A CN108925014A CN 108925014 A CN108925014 A CN 108925014A CN 201810482643 A CN201810482643 A CN 201810482643A CN 108925014 A CN108925014 A CN 108925014A
Authority
CN
China
Prior art keywords
audio
peak
light source
magnitude
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.)
Granted
Application number
CN201810482643.2A
Other languages
Chinese (zh)
Other versions
CN108925014B (en
Inventor
陈洋铂
张俊旗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations 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 Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN201810482643.2A priority Critical patent/CN108925014B/en
Publication of CN108925014A publication Critical patent/CN108925014A/en
Application granted granted Critical
Publication of CN108925014B publication Critical patent/CN108925014B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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 present invention relates to technical field of electronic communication, a kind of light source brightness control method, light-source brightness control system and electronic equipment are disclosed.The light source brightness control method includes:Audio signal is received, determines the corresponding audio magnitude of audio signal;According to audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time;According to current audio peak-peak and audio minimum peak, the corresponding luminance parameter of audio magnitude is determined;Wherein, the brightness matching luminance parameter of light source.By the above-mentioned means, the present invention can make the audio signal of the different rhythm of variation adaptation of light-source brightness.

Description

A kind of light source brightness control method, system and equipment
Technical field
The present invention relates to technical field of electronic communication, more particularly to a kind of light source brightness control method, light-source brightness control System processed and electronic equipment.
Background technique
The present inventor has found during long-term research invention, with the rise of Internet of Things and intelligent appliance, Smart home is rapidly progressed and popularizes, and more and more intelligent appliance products occur and are accepted by people, and accesses house Front yard local area network is simultaneously interconnected with external cloud service.Currently, the considerations of for stability and operation timeliness, intelligent appliance is produced One of the major way of product operation is exactly to be controlled using local area network.Intelligent bulbs are even more most common and important in intelligent appliance product One of part.Intelligent bulbs on the market are there are many kinds of control model now, and music pattern be then intelligent bulbs most One of the mode of intelligent effect.The live sound data that light bulb needs to get by mobile phone terminal carry out a series of algorithm and turn Change, finalization is at corresponding luminance transmission to equipment.It (is especially broadcast in music since the characteristic of voice data itself is more unique Put down), be difficult to be quantized into specific brightness value, and light bulb to meet according to the rhythm of regular movements be converted to it is of corresponding size bright Degree, therefore above-mentioned transform mode becomes a great problem.
Summary of the invention
In view of this, the invention mainly solves the technical problem of providing a kind of light source brightness control methods, light effects Control system and device with store function can make the variation of light-source brightness be adapted to the audio signal of different rhythm.
In order to solve the above technical problems, one technical scheme adopted by the invention is that:A kind of light-source brightness controlling party is provided Method, the light source brightness control method include:Audio signal is received, determines the corresponding audio magnitude of audio signal;According to amount of audio Value adjusts audio peak-peak and audio minimum peak in real time;According to current audio peak-peak and audio smallest peaks Value, determines the corresponding luminance parameter of audio magnitude;Wherein, the brightness matching luminance parameter of light source.
Wherein, according to audio magnitude, real-time the step of adjusting audio peak-peak and audio minimum peak, is specifically included: Auditory critical low value is read, and the starting assignment of audio peak-peak and audio minimum peak is equal to auditory critical low value, Wherein, auditory critical low value defines the audio magnitude under mute state;Judge whether audio magnitude is less than audio minimum peak, if It is then to take the average value of audio magnitude and current audio minimum peak and by its assignment in audio minimum peak;If it is not, then sentencing Whether staccato frequency magnitude is greater than audio peak-peak, if so, taking the average value of audio magnitude Yu current audio peak-peak And by its assignment in audio peak-peak;If it is not, then take the average value of audio magnitude and current audio minimum peak and by its Assignment takes the average value of audio magnitude and current audio peak-peak and by its assignment in audio in audio minimum peak Peak-peak.
Wherein, according to audio magnitude, real-time the step of adjusting audio peak-peak and audio minimum peak, is further wrapped It includes:Judge whether audio magnitude is less than auditory critical low value, if so, by auditory critical low value assignment in audio magnitude.
Wherein, according to audio magnitude, real-time the step of adjusting audio peak-peak and audio minimum peak, is further wrapped It includes:Judge whether audio peak-peak is greater than audio minimum peak, if it is not, then adaptability increases audio peak-peak until it is big In audio minimum peak.
Wherein, according to current audio peak-peak and audio minimum peak, the corresponding brightness ginseng of audio magnitude is determined Several steps specifically include:The first difference of audio magnitude and present video minimum peak is calculated, and calculates present video most The ratio of second difference of big peak value and audio minimum peak, the first difference and the second difference is conversion proportion;Wherein, brightness is joined Number includes conversion proportion;The brightness matching luminance parameter of light source specifically includes:The brightness maxima for reading light source takes brightness maximum The product of value and conversion proportion is brightness value;Wherein, the brightness corresponding brightness value of light source.
Wherein, according to current audio peak-peak and audio minimum peak, the corresponding brightness ginseng of audio magnitude is determined Include after several steps:Judge whether conversion proportion is lower than preset ratio low value, if so, by preset ratio low value assignment in Conversion proportion;Or judge whether conversion proportion is greater than 1, if so, conversion proportion is assigned a value of 1.
Wherein, the brightness maxima for reading light source, take the product of brightness maxima and conversion proportion be brightness value the step of Include later:Using the first preset duration as the period, cyclical transmission brightness value to light source;And light source institute's output light is with a variety of Color, and using the second preset duration as the period, the color of periodical gradual change light source institute output light.
Wherein, audio magnitude includes one of volume intensity value or tone intensity value.
In order to solve the above technical problems, another technical solution that the present invention uses is:A kind of electronic equipment, the electricity are provided Sub- equipment includes processor and audio collecting device, and processor is connect with audio collecting device, handled device can be realized as Lower movement:It controls audio collecting device and receives audio signal, determine the corresponding audio magnitude of audio signal;According to audio magnitude, Adjustment audio peak-peak and audio minimum peak in real time;According to current audio peak-peak and audio minimum peak, The corresponding luminance parameter of audio magnitude is determined, to calculate the corresponding brightness value of luminance parameter and be transmitted to light source.
In order to solve the above technical problems, another technical solution that the present invention uses is:A kind of light-source brightness control is provided System, the light-source brightness control system include the electronic equipment and light source illustrated such as above-described embodiment, and light source receives electronics Equipment is transmitted to the brightness value of light source, the brightness corresponding brightness value of light source.
The beneficial effects of the invention are as follows:Light source brightness control method provided by the present invention, by receiving audio signal, really The corresponding audio magnitude of audio signal.Later according to audio magnitude, audio peak-peak and audio smallest peaks are adjusted in real time Value, so that the variation of light-source brightness can be adapted to the audio signal of different rhythm, for different range spans and volume span Audio, light-source brightness can be directed to the different tone or volume of the audio and make significant change.And according to current audio Peak-peak and audio minimum peak, determine the corresponding luminance parameter of audio magnitude, the brightness matching of the light source luminance parameter, So that light source present intensity corresponds to the audio magnitude of the audio signal, i.e. light source present intensity corresponds to currently received audio signal Tone or volume achieve the effect that follow audio rhythm regular movements so that light-source brightness follows the rhythm real-time change of audio.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of light source brightness control method of the present invention;
Fig. 2 is the flow diagram of another embodiment of light source brightness control method of the present invention;
Fig. 3 is the structural schematic diagram of one embodiment of light-source brightness control system of the present invention;
Fig. 4 is the flow diagram of corresponding one embodiment of light source brightness control method of system shown in Figure 3;
Fig. 5 is the structural schematic diagram of one embodiment of electronic equipment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.
Referring to Fig. 1, Fig. 1 is the flow diagram of one embodiment of light source brightness control method of the present invention.
S101:Audio signal is received, determines the corresponding audio magnitude of audio signal;
In the present embodiment, the brightness to make light source follows the rhythm regular movements of audio, needs to receive real-time audio signal, Audio signal based on the received parses the corresponding audio magnitude of current audio signals, so that the brightness of light source is according to sound Frequency magnitude adjusts in real time, and the brightness for reaching light source follows audio magnitude real-time change, i.e. the brightness of light source follows the rhythm of audio Regular movements.
S102:According to audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time;
It in the present embodiment, is steady state value, the changing rule of audio magnitude since audio magnitude is non-after determining audio magnitude It is related with the audio belonging to it, according to the changing rule of audio magnitude, audio peak-peak and audio smallest peaks are adjusted in real time Value, that is, obtain real-time audio amplitude of variation, to obtain audio amplitude of variation ratio shared by real-time audio magnitude, wherein The maximum brightness of audio peak-peak corresponding light source, the minimum brightness of audio minimum peak corresponding light source, when audio magnitude reaches Audio peak-peak, then the light of light source output maximum brightness, when audio magnitude reaches audio minimum peak, then light source output is most The light of small brightness, if audio magnitude, between audio peak-peak and audio minimum peak, the light of light source output is bright The ratio that degree accounts for light source maximum brightness corresponds to audio amplitude of variation ratio shared by audio magnitude, to make light source is proportional must export The light of corresponding brightness.
S103:According to current audio peak-peak and audio minimum peak, the corresponding brightness ginseng of audio magnitude is determined Number;Wherein, the brightness matching luminance parameter of light source;
In the present embodiment, the brightness to enable light source output light follows the rhythm of the affiliated audio of audio signal to restrain It is dynamic, it is desirable that the light of brightness corresponding to the real-time output audio signal of light source.To realize the above-mentioned technical purpose, it is necessary to according to current Audio peak-peak and audio minimum peak, calculate to determine the corresponding luminance parameter of audio magnitude.The current institute of light source is defeated The brightness matching of light luminance parameter out can make the light of brightness corresponding to the real-time output audio signal of light source, to reach The brightness of light source output light can follow the effect of the rhythm regular movements of the affiliated audio of audio signal.
Above as can be seen that light source brightness control method provided by the present invention determines audio by receiving audio signal The corresponding audio magnitude of signal.Later according to audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time, so that The variation of light-source brightness can be adapted to the audio signal of different rhythm, for the audio of different range spans and volume span, Light-source brightness can make significant change for the audio different tone or volume.And according to current audio peak-peak And audio minimum peak, determine the corresponding luminance parameter of audio magnitude, the brightness matching of light source luminance parameter, so that light source Present intensity corresponds to the audio magnitude of the audio signal, i.e., light source present intensity correspond to currently received audio signal tone or Volume achievees the effect that follow audio rhythm regular movements so that light-source brightness follows the rhythm real-time change of audio.
Referring to Fig. 2, Fig. 2 is the flow diagram of another embodiment of light source brightness control method of the present invention.
It is defeated that the realization for the light source brightness control method that the present embodiment is illustrated can be mobile terminal control intelligent light source institute Out light effects with mobile terminal playing audio rhythm regular movements, also or the audio that is played according to external environment of intelligent light source Rhythm adjusts intelligent light source institute output light effect with audio rhythm regular movements etc., it is to be understood that the present embodiment was illustrated The implementation of light source brightness control method is including but not limited to described above, needs to realize light source output light effects with audio Rhythm regular movements belongs within the scope of application for the light source brightness control method that the present embodiment is illustrated.It is explained in detail below It states.
S201:Auditory critical low value is obtained, and the starting assignment of audio peak-peak and audio minimum peak is equal to Auditory critical low value;
In the present embodiment, audio peak-peak is received the peak-peak of the affiliated tonal range of audio magnitude by measurement, Audio minimum peak is received the minimum peak of the affiliated tonal range of audio magnitude by measurement, and auditory critical low value is that definition is mute Audio magnitude under state, when audio magnitude is lower than auditory critical low value, then it is assumed that audio magnitude source is in mute state, i.e., Audio magnitude source does not play any audio.To initialize light source brightness control method provided by the present embodiment, audio is most The starting assignment of big peak value and audio minimum peak is equal to auditory critical low value.
Optionally, auditory critical low value can be preset, to describe the mute state in audio magnitude source, auditory critical The value of low value can be adaptively adjusted according to the complexity of audio magnitude source local environment, when audio magnitude source institute When the interference of place's environment is more serious (such as noise is excessive), being adapted to property improves auditory critical low value, to avoid light source institute Output light brightness is interfered by the noise of audio magnitude source local environment.
S202:Audio signal is received, determines the corresponding audio magnitude of audio signal;
In the present embodiment, the brightness to make light source follows the rhythm regular movements of audio, needs to receive real-time audio signal, Audio signal based on the received parses the corresponding audio magnitude of current audio signals, so that the brightness of light source is according to sound Frequency magnitude adjusts in real time, and the brightness for reaching light source follows audio magnitude real-time change, i.e. the brightness of light source follows the rhythm of audio Regular movements.
S203:Judge whether audio magnitude is less than auditory critical low value;
In the present embodiment, if audio magnitude is less than auditory critical low value, S204 is thened follow the steps, if audio magnitude is not small In auditory critical low value, S205 is thened follow the steps.
S204:By auditory critical low value assignment in audio magnitude;
In the present embodiment, after receiving audio magnitude, need to judge whether audio magnitude is less than auditory critical low value, with The validity of received audio magnitude is judged, if audio magnitude is not less than auditory critical low value, illustrates the amount of audio Value is virtual value, can carry out next step process step, if audio magnitude is less than auditory critical low value, audio magnitude is non-is for this Virtual value, the light source brightness control method as provided by the present embodiment be based on audio magnitude more than auditory critical low value into Row calculates, the minimum value for the audio magnitude that auditory critical low value is recognized by algorithm, therefore by auditory critical low value assignment in this Audio magnitude carries out subsequent calculation process.Step S205 is executed later.
S205:Judge whether audio magnitude is less than audio minimum peak;
In the present embodiment, if audio magnitude is less than audio minimum peak, S206 is thened follow the steps, if audio magnitude is not small In audio minimum peak, S207 is thened follow the steps.
S206:Take the average value of audio magnitude and current audio minimum peak and by its assignment in audio minimum peak;
In the present embodiment, by judging whether audio magnitude is less than audio minimum peak, to realize to audio smallest peaks The real-time adjustment of value may occur when audio magnitude is less than audio minimum peak by the exported audio in audio magnitude source Variation, can be types of audio change (such as playing different songs etc.) or tonal range change (such as Musical introduction relatively mitigates, but chorus section is loud and sonorous, and rhythm is rapid etc.), cause current audio minimum peak to be no longer adapted to and is connect The real-time audio magnitude of receipts, needs to be adjusted, therefore takes the average value of audio magnitude and current audio minimum peak and incite somebody to action Its assignment realizes the real-time adjustment to audio minimum peak in audio minimum peak.Go to step S210 later.
S207:Judge whether audio magnitude is greater than audio peak-peak;
In the present embodiment, if audio magnitude is greater than audio peak-peak, S208 is thened follow the steps, if audio magnitude is little In audio peak-peak, S209 is thened follow the steps.
S208:Take the average value of audio magnitude and current audio peak-peak and by its assignment in audio peak-peak;
In the present embodiment, by judging whether audio magnitude is greater than audio peak-peak, to realize to audio maximum peak The real-time adjustment of value may occur when audio magnitude is greater than audio peak-peak by the exported audio in audio magnitude source Variation, can be types of audio change (such as playing different songs etc.) or tonal range change (such as Musical introduction relatively mitigates, but chorus section is loud and sonorous, and rhythm is rapid etc.), cause current audio peak-peak to be no longer adapted to and is connect The real-time audio magnitude of receipts, needs to be adjusted, therefore takes the average value of audio magnitude and current audio peak-peak and incite somebody to action Its assignment realizes the real-time adjustment to audio peak-peak in audio peak-peak.Go to step S210 later.
S209:Take the average value of audio magnitude and current audio minimum peak and by its assignment in audio minimum peak, And take the average value of audio magnitude and current audio peak-peak and by its assignment in audio peak-peak;
In the present embodiment, received audio magnitude current audio peak-peak and audio minimum peak it Between when, then illustrate that current audio peak-peak and audio minimum peak can be adapted to the audio magnitude of current real-time reception, But the audio that audio magnitude source is exported can not be excluded and have occurred and that change, it is maximum not receive current audio also only The audio magnitude that peak value and audio minimum peak cannot be adapted to, therefore take the flat of audio magnitude and current audio minimum peak Mean value and by its assignment in audio minimum peak, and take audio magnitude and current audio peak-peak average value and by its Assignment is in audio peak-peak, by the above-mentioned means, audio peak-peak and audio minimum peak are according to the received audio of institute Magnitude adjusts in real time, and no matter how the audio that the source of audio magnitude is exported changes (such as style of song change, frequency range change etc.), Audio peak-peak and audio minimum peak can according to received audio magnitude variation, make adjustment in time, with suitable Audio with different range spans or volume span.
S210:The first difference of audio magnitude and audio minimum peak is obtained, and obtains audio peak-peak and audio most Second difference of small leak obtains the ratio of the first difference and the second difference, to obtain conversion proportion;
In the present embodiment, the first difference of audio magnitude and audio minimum peak is obtained, and obtains audio maximum peak Second difference of value and audio minimum peak, obtains the ratio of the first difference Yu the second difference, later to obtain conversion proportion, base Denominator cannot be 0 in mathematical principle, fraction, i.e., the second difference of audio peak-peak and audio minimum peak cannot be 0, because This needs to judge whether audio peak-peak is greater than audio minimum peak, if audio peak-peak is not more than audio minimum peak, For the reasonability for guaranteeing calculated result, adaptability increases audio peak-peak until it is greater than audio minimum peak, increase amplitude It can be 1,2,3 etc., i.e., when execution judges whether audio peak-peak is greater than the movement of audio minimum peak every time, if result is No, then the numerical value of present video peak-peak adds above-mentioned increasing significantly numerical value, judgement movement is continued to execute later, until sound Frequency peak-peak is greater than audio minimum peak, to guarantee the reasonability of acquired conversion proportion.
S211:Judge whether conversion proportion is lower than preset ratio low value;
In the present embodiment, if conversion proportion is lower than preset ratio low value, S212 is thened follow the steps, if conversion proportion is not low In preset ratio low value, S213 is thened follow the steps.
S212:By preset ratio low value assignment in conversion proportion;
In the present embodiment, by judging whether conversion proportion is lower than preset ratio low value, with the conversion to being calculated Ratio reasonability is further confirmed that preset ratio low value is the reasonability preset to describe conversion proportion, right The minimum brightness of light source institute output light is answered, if conversion proportion is not less than preset ratio low value, which is reasonable value, Next step can be carried out, if conversion proportion is lower than preset ratio low value, illustrates that the conversion proportion is unreasonable, therefore will preset Ratio low value assignment is in conversion proportion, to carry out next step.Go to step S215 later.
Optionally, preset ratio low value can be 4%, 5%, 6% etc., light source output light corresponding to preset ratio low value The minimum brightness that line brightness can identify for human eye to guarantee that light source institute output light can be observed, therefore is preset Preset ratio low value, it is too low to avoid conversion proportion, cause the brightness of light source institute output light corresponding conversion ratio can not be by people Eye observes, leads to be mistakenly considered light source that there are failures to cause it can not normal output light.
S213:Judge whether conversion proportion is greater than 1;
In the present embodiment, if conversion proportion is greater than 1, S214 is thened follow the steps, if conversion proportion is not more than 1, is executed Step S215.
S214:Conversion proportion is assigned a value of 1;
In the present embodiment, the value range of conversion proportion can be 0 to 1, the peak value of conversion proportion corresponding light source brightness Section.When i.e. conversion proportion is 0, it is meant that light-source brightness is 0 (light source does not shine);Conversion proportion be 1 when, it is meant that light source with Maximum brightness shines.And when conversion proportion is greater than 1, it is meant that current conversion proportion does not meet mathematical principle, the i.e. hair of light source Brightness is greater than its maximum brightness, and there are un-reasonable phenomenons.For the situation, need for conversion proportion to be assigned a value of 1, light source with Maximum brightness shines.Step S215 is executed later.
S215:The light of light source output brightness matching conversion proportion;
In the present embodiment, luminance parameter includes the obtained conversion proportion of above-mentioned steps.Light source institute output light it is bright Maximum value is spent depending on the type of light source and specification, has both been had determined that in light source factory.It therefore can be according to being used Type and specification of light source etc. directly read the brightness maxima that light source is capable of output light, take brightness maxima and turn The product for changing ratio is brightness value to get to the corresponding brightness value size of conversion proportion, brightness value is transmitted to light source, light source is defeated The brightness of light corresponds to the brightness value out, and brightness value is used to describe the size of light-source brightness.
Optionally, using one first preset duration as the period, cyclical transmission luminance information to light source realizes that light source is exported The brightness of light follows audio rhythm regular movements, and the first preset duration can be 1 millisecond, 2 milliseconds, 3 milliseconds etc., to guarantee light source institute The real-time of the brightness adjustment of output light, therefore the first preset duration can be as short as possible, more can guarantee that light source is exported The real-time of the brightness adjustment of light, to realize that the brightness of light source institute output light follows audio rhythm regular movements.
Optionally, light source institute output light can have multiple color, and the multiple color that light source has is with one Two preset durations are the period, are in periodically gradual change, realize the streamer effect of light source institute output light, the color tool of adjacent periods Standby certain color connection, that is, the color colour system of adjacent periods are approached and are mutually matched, and are exported with optimizing light source The streamer effect of light.Second preset duration can be 1 second, 2 seconds, 3 seconds etc., and the color of light source institute output light can wrap 2 kinds, 3 kinds, 4 kinds etc. are included, the color category of light source institute output light and the second preset duration are including but not limited to described above, It can be realized and execute gradual change movement by the period of the second preset duration between each color of light source institute output light, can be this reality The color category and the second preset duration of the light source institute output light that example is illustrated are applied, it is not limited here.
It is understood that the change procedure for the light source institute output light brightness that the present embodiment is illustrated and the variation of color Process is independent from each other two change procedures, and is independent of each other, and the output light brightness of light source institute changes and combines with audio The periodical gradual change of color, so that the presentation of light source institute output light overall appearance effect be made to follow audio rhythm regular movements.Certainly, originally The color for the light source institute output light that embodiment is illustrated again may be by above-mentioned illustrated light source brightness control method into Row control is embodied the variation of audio rhythm with the plumpness variation of color or color change etc., realizes light source institute output light Color follow audio rhythm regular movements.
It should be noted that the audio magnitude that the present embodiment is illustrated can be in volume intensity value or tone intensity value One kind, when audio magnitude is volume intensity value, the brightness of light source institute output light follows the volume of audio to adjust in real time, works as sound When frequency magnitude is tone intensity value, the brightness of light source institute output light follows the tone of audio to adjust in real time, and in this implementation In example, the audio data amplitude of variation of the different frequency range of different audios and audio is quantified as audio minimum peak and sound Frequency peak-peak is with the amplitude of variation of audio gauge data, and audio minimum peak and audio peak-peak can be adjusted in real time It is whole, finally in the brightness of light source institute output light with the changing rule of proportional form reflection audio magnitude, no matter audio Range span and volume span it is much or how small, the brightness of light source institute output light adapting to property change, to embody sound The variation of frequency magnitude, and then realize that light source institute output light effect follows the effect of audio rhythm regular movements.
In conclusion light source brightness control method provided by the present invention determines audio signal by receiving audio signal Corresponding audio magnitude.Later according to audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time, so that light source The variation of brightness can be adapted to the audio signal of different rhythm, for the audio of different range spans and volume span, light source Brightness can make significant change for the audio different tone or volume.And according to current audio peak-peak and Audio minimum peak determines the corresponding luminance parameter of audio magnitude, the brightness matching of light source luminance parameter, so that light source is current Brightness corresponds to the audio magnitude of the audio signal, i.e. the light source present intensity tone or sound that correspond to currently received audio signal Amount, so that light-source brightness follows the rhythm real-time change of audio, achievees the effect that follow audio rhythm regular movements.And light source has Streamer function, institute's output light have multiple color, cooperate light-source brightness to follow in periodic gradual change by multiple color Audio rhythm regular movements, further to improve the regular movements effect of light source.
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of one embodiment of light-source brightness control system of the present invention.
In the present embodiment, light-source brightness control system 300 includes electronic equipment 301 and light source 302, electronic equipment 301 establish connection with light source 302, and electronic equipment 301 can be realized following movement:Audio signal is received, determines audio signal Corresponding audio magnitude;According to audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time;According to current sound Frequency peak-peak and audio minimum peak determine the corresponding luminance parameter of audio magnitude, corresponding to calculate luminance parameter Brightness value is simultaneously transmitted to light source 302, the brightness matching luminance parameter of light source 302.Wherein, between audio magnitude and luminance parameter It calculates conversion process to be elaborated in the above-described embodiments, details are not described herein again.
Optionally, it can establish communication connection 303 between electronic equipment 301 and light source 302, it is logical specifically to can be WI-FI The communications connection such as letter connection or Bluetooth communication connection, so that electronic equipment 301 and light source 302 are in same local In net, radio signal transmission between the two is realized.
Optionally, electronic equipment 301 includes audio collecting device 304, and audio collecting device 304 can acquire electronic equipment 301 audio data informations exported, can be the included microphone etc. of electronic equipment 301 can acquire audio data information Device, it is not limited here.
Electronic equipment 301 can be the mobile terminals such as smart phone, tablet computer and laptop or a number The terminal devices such as word assistant.It is understood that the electronic equipment 301 that the present embodiment is illustrated includes but is not limited to institute above It states, communication connection 303 can be established with light source 302, and realize that the brightness of light source 302 follows the acquired audio of electronic equipment 301 The electronic device of regular movements can be by the electronic equipment 301 that the present embodiment illustrates, it is not limited here.
Referring to Fig. 4, Fig. 4 is the flow diagram of corresponding one embodiment of light source brightness control method of system shown in Figure 3.
S401:Electronic equipment and light source, which are established, to be communicated to connect;
In the present embodiment, mode establishes communication connection 303 to electronic equipment 301 by wireless communication with light source 302, so that Electronic equipment 301 and light source 302 are in same local area network, and radio signal exchange transmission between the two, tool may be implemented Body can log in same cloud account for electronic equipment 301 and light source 302, to guarantee that electronic equipment 301 can be by pacifying thereon Application program of dress etc. controls light source 302.
S402:Light source is switched to music pattern;
In the present embodiment, its state is switched to music pattern by light source 302, that is, enter etc. electronic equipment 301 to be received The state of transmitted luminance information, the brightness itself of 302 output lights of light source is without regulation, but according to electronic equipment 301 luminance informations transmitted carry out corresponding regulation.
S403:Electronic equipment opens audio collecting device and acquires audio magnitude;
In the present embodiment, electronic equipment 301 exports audio data information, and opens audio collecting device 304 and acquire electricity The audio data information that sub- equipment 301 is exported.
S404:Audio magnitude is converted into brightness value;
In the present embodiment, its collected audio magnitude of institute is converted to brightness value by calculating by electronic equipment 301, In, audio magnitude then represents the audio data information that electronic equipment 301 is exported, and 302 output lights of brightness value corresponding light source The brightness of line, above-mentioned calculating conversion process elaborate in the above-described embodiments, and details are not described herein again.
S405:Brightness value is transmitted to light source;
In the present embodiment, electronic equipment 301 will pass through electronic equipment 301 and light source by calculating the brightness value obtained 302 communication connections 303 established are transmitted to light source 302, to realize that the brightness of 302 output lights of light source follows institute received Brightness value is adjusted.
S406:The light of light source output brightness corresponding brightness value;
In the present embodiment, light source 302 receives brightness value by its communication connection 303 between electronic equipment 301 Afterwards, light source 302 carries out corresponding adjustment to the brightness of its output light, so that light source 302 exports the light that brightness corresponds to the brightness value Line, and then realize the audio regular movements that the brightness of 302 output lights of light source follows electronic equipment 301 to be exported.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of one embodiment of electronic equipment of the present invention.
In the present embodiment, electronic equipment 500 include processor 501 and audio collecting device 502, processor 501 with Audio collecting device 502 connects, and handled device 501 can be realized following movement:It controls audio collecting device 502 and receives audio letter Number, determine the corresponding audio magnitude of audio signal;According to audio magnitude, audio peak-peak and audio smallest peaks are adjusted in real time Value;According to current audio peak-peak and audio minimum peak, the corresponding luminance parameter of audio magnitude is determined, to calculate The corresponding brightness value of luminance parameter is simultaneously transmitted to light source.
Electronic equipment 500 can be the mobile terminals such as smart phone, tablet computer and laptop or a number The terminal devices such as word assistant.It is understood that the electronic equipment 500 that the present embodiment is illustrated includes but is not limited to institute above It states, can establish and communicate to connect with light source, and realize that the brightness of light source follows the electronics of the acquired audio regular movements of electronic equipment 500 Device can be by the electronic equipment 500 that the present embodiment illustrates, it is not limited here.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can To realize by another way.For example, device embodiments described above be it is schematical, for example, the module or The division of unit is a kind of logical function partition, and there may be another division manner in actual implementation, such as multiple units or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of present embodiment 's.
In addition, each functional unit in each embodiment of the present invention can integrate in one processing unit, it can also To be that each unit physically exists alone, can also be integrated in one unit with two or more units.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words Embody, which is stored in the device with store function, including some instructions use so that One computer equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute The all or part of the steps of each embodiment the method for the present invention.
Mode the above is only the implementation of the present invention is not intended to limit the scope of the invention, all to utilize this Equivalent structure or equivalent flow shift made by description of the invention and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field is included within the scope of the present invention.

Claims (10)

1. a kind of light source brightness control method, which is characterized in that the light source brightness control method includes:
Audio signal is received, determines the corresponding audio magnitude of the audio signal;
According to the audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time;
According to current audio peak-peak and audio minimum peak, the corresponding luminance parameter of the audio magnitude is determined;Its In, luminance parameter described in the brightness matching of the light source.
2. light source brightness control method according to claim 1, which is characterized in that it is described according to the audio magnitude, it is real When adjustment audio peak-peak and the step of audio minimum peak specifically include:
Auditory critical low value is read, and the starting assignment of audio peak-peak and audio minimum peak is equal to the audio and faces Boundary's low value, wherein the auditory critical low value defines the audio magnitude under mute state;
Judge whether the audio magnitude is less than audio minimum peak, if so, taking the audio magnitude and current audio most The average value of small leak and by its assignment in audio minimum peak;If it is not, then
Judge whether the audio magnitude is greater than audio peak-peak, if so, taking the audio magnitude and current audio most The average value of big peak value and by its assignment in audio peak-peak;If it is not, then
It takes the average value of the audio magnitude and current audio minimum peak and by its assignment in audio minimum peak, and takes The average value of the audio magnitude and current audio peak-peak and by its assignment in audio peak-peak.
3. light source brightness control method according to claim 2, which is characterized in that it is described according to the audio magnitude, it is real When adjustment audio peak-peak and the step of audio minimum peak further comprise:
Judge whether audio magnitude is less than the auditory critical low value, if so, by the auditory critical low value assignment in audio Magnitude.
4. light source brightness control method according to claim 3, which is characterized in that it is described according to the audio magnitude, it is real When adjustment audio peak-peak and the step of audio minimum peak further comprise:
Judge whether audio peak-peak is greater than audio minimum peak, if it is not, then adaptability increases audio peak-peak up to it Greater than audio minimum peak.
5. light source brightness control method according to claim 1, which is characterized in that the current audio maximum peak of the basis Value and audio minimum peak, the step of determining the audio magnitude corresponding luminance parameter, specifically include:
The first difference of the audio magnitude Yu present video minimum peak is calculated, and calculates present video peak-peak and sound The ratio of second difference of frequency minimum peak, first difference and second difference is conversion proportion;Wherein, the brightness Parameter includes the conversion proportion;
Luminance parameter described in the brightness matching of the light source specifically includes:The brightness maxima for reading the light source takes described bright The product for spending maximum value and the conversion proportion is brightness value;Wherein, the brightness of the light source corresponds to the brightness value.
6. light source brightness control method according to claim 5, which is characterized in that the current audio maximum peak of the basis Value and audio minimum peak include after the step of determining the audio magnitude corresponding luminance parameter:
Judge whether conversion proportion is lower than preset ratio low value, if so, by the preset ratio low value assignment in conversion proportion; Or
Judge whether conversion proportion is greater than 1, if so, conversion proportion is assigned a value of 1.
7. light source brightness control method according to claim 5, which is characterized in that the brightness for reading the light source is most Include after the step of being worth greatly, the product of the brightness maxima and the conversion proportion is taken to be brightness value:With first it is default when A length of period, brightness value described in cyclical transmission to the light source;And
Light source institute's output light has multiple color, and using the second preset duration as the period, light described in periodical gradual change The color of source institute output light.
8. light source brightness control method according to claim 1, which is characterized in that the audio magnitude includes volume intensity One of value or tone intensity value.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes processor and audio collecting device, the processing Device is connect with the audio collecting device, and handled device can be realized following movement:
It controls the audio collecting device and receives audio signal, determine the corresponding audio magnitude of the audio signal;
According to the audio magnitude, audio peak-peak and audio minimum peak are adjusted in real time;
According to current audio peak-peak and audio minimum peak, the corresponding luminance parameter of the audio magnitude is determined, with It calculates the corresponding brightness value of the luminance parameter and is transmitted to light source.
10. a kind of light-source brightness control system, which is characterized in that the light-source brightness control system includes such as claim 9 institute The electronic equipment and light source stated, the light source receive the brightness value of the electronic equipment to the light source, the light source Brightness correspond to the brightness value.
CN201810482643.2A 2018-05-18 2018-05-18 Light source brightness control method, system and equipment Active CN108925014B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810482643.2A CN108925014B (en) 2018-05-18 2018-05-18 Light source brightness control method, system and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810482643.2A CN108925014B (en) 2018-05-18 2018-05-18 Light source brightness control method, system and equipment

Publications (2)

Publication Number Publication Date
CN108925014A true CN108925014A (en) 2018-11-30
CN108925014B CN108925014B (en) 2020-05-08

Family

ID=64404311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810482643.2A Active CN108925014B (en) 2018-05-18 2018-05-18 Light source brightness control method, system and equipment

Country Status (1)

Country Link
CN (1) CN108925014B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261767A (en) * 2020-10-23 2021-01-22 深圳市智岩科技有限公司 Method, device and system for controlling lamp effect and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024001447A (en) * 2022-06-22 2024-01-10 カシオ計算機株式会社 Indicator, electronic musical instrument, light emission control method, and program

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110211712A1 (en) * 2010-02-26 2011-09-01 Takashi Yamada Volume control system, controller, and amplifying apparatus
US8050419B2 (en) * 2008-03-31 2011-11-01 General Motors Llc Adaptive initial volume settings for a vehicle audio system
CN103475975A (en) * 2012-06-06 2013-12-25 天津三星电子有限公司 Audio processing device
CN103793010A (en) * 2014-02-28 2014-05-14 苏州三星电子电脑有限公司 Multi-media playing device dynamically varying outer shell color along with rhythm and control method of multi-media playing device
CN103929140A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Method and device for pre-processing voice frequency
CN104219849A (en) * 2014-09-16 2014-12-17 深圳市华海技术有限公司 Method and device for controlling light-emitting equipment on basis of audio signal
CN104811538A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Audio-based breathing lamp control method and device
CN105224279A (en) * 2015-09-21 2016-01-06 福州瑞芯微电子股份有限公司 A kind of audio output control method, control system and electronic equipment
US20160007430A1 (en) * 2014-07-03 2016-01-07 Michael Kidakarn Remotely controlled holiday lighting and sound system
WO2016174510A1 (en) * 2015-04-30 2016-11-03 Yandex Europe Ag Method of controlling a display of an electronic device and device implementing same
CN107122156A (en) * 2017-03-09 2017-09-01 深圳市金立通信设备有限公司 A kind of method for controlling volume and terminal
CN107889324A (en) * 2017-10-27 2018-04-06 广东小天才科技有限公司 A kind of light adjusting method, device, audio-frequence player device and storage medium
CN108282922A (en) * 2018-02-13 2018-07-13 上海艾为电子技术股份有限公司 A kind of audio sound phototiming lamp effect dynamic Enhancement Method and device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8050419B2 (en) * 2008-03-31 2011-11-01 General Motors Llc Adaptive initial volume settings for a vehicle audio system
US20110211712A1 (en) * 2010-02-26 2011-09-01 Takashi Yamada Volume control system, controller, and amplifying apparatus
CN103475975A (en) * 2012-06-06 2013-12-25 天津三星电子有限公司 Audio processing device
CN103793010A (en) * 2014-02-28 2014-05-14 苏州三星电子电脑有限公司 Multi-media playing device dynamically varying outer shell color along with rhythm and control method of multi-media playing device
CN103929140A (en) * 2014-04-30 2014-07-16 深圳市中兴移动通信有限公司 Method and device for pre-processing voice frequency
US20160007430A1 (en) * 2014-07-03 2016-01-07 Michael Kidakarn Remotely controlled holiday lighting and sound system
CN104219849A (en) * 2014-09-16 2014-12-17 深圳市华海技术有限公司 Method and device for controlling light-emitting equipment on basis of audio signal
CN104811538A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Audio-based breathing lamp control method and device
WO2016174510A1 (en) * 2015-04-30 2016-11-03 Yandex Europe Ag Method of controlling a display of an electronic device and device implementing same
CN105224279A (en) * 2015-09-21 2016-01-06 福州瑞芯微电子股份有限公司 A kind of audio output control method, control system and electronic equipment
CN107122156A (en) * 2017-03-09 2017-09-01 深圳市金立通信设备有限公司 A kind of method for controlling volume and terminal
CN107889324A (en) * 2017-10-27 2018-04-06 广东小天才科技有限公司 A kind of light adjusting method, device, audio-frequence player device and storage medium
CN108282922A (en) * 2018-02-13 2018-07-13 上海艾为电子技术股份有限公司 A kind of audio sound phototiming lamp effect dynamic Enhancement Method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112261767A (en) * 2020-10-23 2021-01-22 深圳市智岩科技有限公司 Method, device and system for controlling lamp effect and storage medium

Also Published As

Publication number Publication date
CN108925014B (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110211580B (en) Multi-intelligent-device response method, device, system and storage medium
CN105551517B (en) It is a kind of to be wirelessly transferred recording pen and recording system with application scenarios identification control
CN206097455U (en) Speech recognition controlgear
CN108922528B (en) Method and apparatus for processing speech
CN103247294A (en) Signal processing apparatus, signal processing method, signal processing system, and communication terminal
CN104123938A (en) Voice control system, electronic device and voice control method
US11096005B2 (en) Sound reproduction
CN106847291A (en) Speech recognition system and method that a kind of local and high in the clouds is combined
CN110248021A (en) A kind of smart machine method for controlling volume and system
CN107071636A (en) To the dereverberation control method and device of the equipment with microphone
CN105281693A (en) Voice playing method and system
CN108925014A (en) A kind of light source brightness control method, system and equipment
CN101436404A (en) Conversational biology-liked apparatus and conversational method thereof
CN110265012A (en) It can interactive intelligence voice home control device and control method based on open source hardware
CN110347366B (en) Volume adjusting method, terminal device, storage medium and electronic device
CN104954949A (en) Smart headphones capable of automatically adjusting output signal according to acquired signal and control method
CN109511041A (en) A kind of method, apparatus and earphone of the booting setting of earphone
CN107526569B (en) A kind of volume adjusting method, device, storage medium and mobile terminal
KR20190052628A (en) Location classification for intelligent personal assistant
CN110428826A (en) Intelligent sofa and its control method based on voice control
CN205829977U (en) A kind of wireless speech dialogue being applicable to tradition sound equipment and control device
CN204733328U (en) Automatically the intelligent earphone of output signal is adjusted according to collection signal
CN106383448B (en) The more equipment linkages of intelligent appliance are performed music the control method of system
CN113777944B (en) Intelligent equipment control preference configuration method and system in intelligent home scene
CN109872719A (en) A kind of stagewise intelligent voice system and its method of speech processing

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
GR01 Patent grant
GR01 Patent grant