CN104811538A - Audio-based breathing lamp control method and device - Google Patents

Audio-based breathing lamp control method and device Download PDF

Info

Publication number
CN104811538A
CN104811538A CN201510134501.3A CN201510134501A CN104811538A CN 104811538 A CN104811538 A CN 104811538A CN 201510134501 A CN201510134501 A CN 201510134501A CN 104811538 A CN104811538 A CN 104811538A
Authority
CN
China
Prior art keywords
breath light
music
frequency
flicker
wave amplitude
Prior art date
Application number
CN201510134501.3A
Other languages
Chinese (zh)
Inventor
车晓东
Original Assignee
努比亚技术有限公司
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 努比亚技术有限公司 filed Critical 努比亚技术有限公司
Priority to CN201510134501.3A priority Critical patent/CN104811538A/en
Publication of CN104811538A publication Critical patent/CN104811538A/en

Links

Classifications

    • 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
    • Y02B20/40Control techniques providing energy savings
    • Y02B20/46Control techniques providing energy savings based on detection of the illumination level

Abstract

The invention discloses an audio-based breathing lamp control method and device. The method comprises that music is played, and a breathing lamp is controlled to flicker synchronously according to the tone and volume of the music in the music playing process. New vitality is added to the traditional breathing lamp, traditional functions of the breathing lamp are broken through, music with more fashion factors is added, the breathing lamp flickers with the melody while the music is played, pursuits of fashion of young people can be satisfied, user experience is improved, the brand popularity is improved, and the device can lead the trends.

Description

Based on breath light control method and the device of audio frequency

Technical field

The present invention relates to intelligent terminal technical field, particularly relate to a kind of breath light control method based on audio frequency and device.

Background technology

Breath light, as the term suggests be exactly that light completes and gradually changed to dark by bright under microcomputerized control, perceptual image is that breath light is widely used in the every field such as digital product, computer, sound equipment, automobile, starts good visual decorative effect in breathing.

The effect of breath light is generally integrated in the software of equipment, and the relevant parameter of breath light effect is all pre-configured, and when playing the effect of breath light, user therefrom selects the breath light effect needed to play.But the effect of this its breath light of mode is all fixing, user can only select according to the breath light effect existed, can not revise and edit the result of broadcast of breath light voluntarily, make the effect of breath light very dull, not reach the object of the attractive in appearance and vision decoration of fashion.Simultaneously, current various audio playing apparatus (as mobile phone, MP3) are when playing music, can according to except the arranging and convert of playout software except the displaying contents of display screen, what device body there is no other match with music extremely dazzles effect, ignores personalization and the fashion-orientation demand of young user.

Summary of the invention

Main purpose of the present invention is to propose a kind of breath light control method based on audio frequency and device, controls breath light flicker to realize extremely dazzling effect, meet personalization and the fashion-orientation demand of user while audio frequency is play by music.

For achieving the above object, the invention provides a kind of breath light control method based on audio frequency, comprise step:

Play music; In music process, according to tone and the volume of music, control breath light and glimmer.

Wherein, the method for carrying out glimmering according to the tone control breath light of music comprises further:

The fundamental frequency of the music of the current broadcasting of real-time detection;

According to the relational expression of fundamental frequency and the flicker frequency preset, calculate the flicker frequency corresponding to fundamental frequency that current detection arrives, control breath light glimmers by this flicker frequency.

Wherein, the method for carrying out glimmering according to the volume control breath light of music comprises further:

The sonic wave amplitude size of the music of the current broadcasting of real-time detection;

According to the relational expression of the sonic wave amplitude preset with flicker brightness, the flicker brightness value that the sonic wave amplitude that calculating current detection arrives is corresponding, controls breath light and glimmers by this flicker brightness.

Wherein, also comprise:

Pre-set at least a set of colour switching scheme;

In music process, control breath light according to the current selected colour switching scheme adopted and carry out respective color conversion.

Wherein, auto-correlation fundamental detection algorithm is adopted to detect the fundamental frequency of the music of current broadcasting in real time.

Wherein, carry out, in the method for synchronous flashing, also comprising signal smoothing treatment step at the volume control breath light according to music:

Preset the most high threshold of sonic wave amplitude and sonic wave amplitude minimum threshold, and to set its flicker brightness corresponding be respectively maximum and minimum value;

For the music signal exceeding the most high threshold of sonic wave amplitude, before calculating flicker brightness value corresponding to its sonic wave amplitude, its signal is decayed; For the music signal lower than sonic wave amplitude minimum threshold, before calculating flicker brightness value corresponding to its sonic wave amplitude, its signal is amplified.

In addition, for achieving the above object, the present invention also proposes a kind of audio playing apparatus based on breath light, includes audio playing unit and several breath lights, also comprises:

Breath light control unit, for the tone of music play according to audio playing unit and volume, controls breath light and carries out synchronous flashing.

Wherein, breath light control unit comprises:

Fundamental detection unit, for detecting the fundamental frequency of the music of current broadcasting in real time;

Frequency control unit, for the relational expression according to the fundamental frequency preset and flicker frequency, calculates the flicker frequency corresponding to fundamental frequency that current detection arrives, and controls breath light and glimmers by this flicker frequency.

Wherein, breath light control unit comprises:

Sonic wave amplitude detecting unit, for detecting the sonic wave amplitude size of the music of current broadcasting in real time;

Brightness control unit, for the relational expression according to the sonic wave amplitude preset and flicker brightness, the flicker brightness value that the sonic wave amplitude that calculating current detection arrives is corresponding, controls breath light and glimmers by this flicker brightness.

Wherein, breath light control unit also comprises:

Color control unit, for pre-setting at least a set of colour switching scheme, in music process, controlling breath light according to the current selected colour switching scheme adopted and carrying out respective color conversion.

Traditional breath light is filled with full new vitality by the present invention, all definition to breath light traditional function before breaching, add the factor music of fashion more, while music, breath light glimmers along with music rhythm, young people are catered to for the pursuit of fashion and serious hope, improve Consumer's Experience, improve brand recognition, trend ahead of fashions.

Accompanying drawing explanation

Fig. 1 is the hardware configuration schematic diagram of the mobile terminal realizing each embodiment of the present invention;

Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;

The structural representation of the breath light control device that Fig. 3 provides for the embodiment of the present invention one;

The structural representation of the breath light control device that Fig. 4 provides for the embodiment of the present invention two;

The flow chart of the breath light control method that Fig. 5 provides for the embodiment of the present invention four;

The flow chart of the breath light control method that Fig. 6 provides for the embodiment of the present invention five;

The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.

Embodiment

Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.

The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.

Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can comprise the such as mobile terminal of mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc. and the fixed terminal of such as digital TV, desktop computer etc.Below, suppose that terminal is mobile terminal.But it will be appreciated by those skilled in the art that except the element except being used in particular for mobile object, structure according to the embodiment of the present invention also can be applied to the terminal of fixed type.

Fig. 1 is the hardware configuration signal of the mobile terminal realizing each embodiment of the present invention.

Mobile terminal 100 can comprise wireless communication unit 110, A/V (audio/video) input unit 120, user input unit 130, sensing cell 140, output unit 150, memory 160, interface unit 170, controller 180 and power subsystem 190 etc.Fig. 1 shows the mobile terminal with various assembly, it should be understood that, does not require to implement all assemblies illustrated.Can alternatively implement more or less assembly.Will be discussed in more detail below the element of mobile terminal.

Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and wireless communication system or network.Such as, wireless communication unit can comprise at least one in broadcast reception module 111, mobile communication module 112, wireless Internet module 113, short range communication module 114 and positional information module 115.

Broadcast reception module 111 via broadcast channel from external broadcasting management server receiving broadcast signal and/or broadcast related information.Broadcast channel can comprise satellite channel and/or terrestrial channel.Broadcast management server can be generate and send the server of broadcast singal and/or broadcast related information or the broadcast singal generated before receiving and/or broadcast related information and send it to the server of terminal.Broadcast singal can comprise TV broadcast singal, radio signals, data broadcasting signal etc.And broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information also can provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the form of the electronic service guidebooks (ESG) of the electronic program guides of DMB (DMB) (EPG), digital video broadcast-handheld (DVB-H) etc.Broadcast reception module 111 can by using the broadcast of various types of broadcast system Received signal strength.Especially, broadcast reception module 111 can by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), digital video broadcasting-hand-held (DVB-H), the digit broadcasting system receiving digital broadcast of the Radio Data System, received terrestrial digital broadcasting integrated service (ISDB-T) etc. of forward link media (MediaFLO).Broadcast reception module 111 can be constructed to be applicable to providing the various broadcast system of broadcast singal and above-mentioned digit broadcasting system.The broadcast singal received via broadcast reception module 111 and/or broadcast related information can be stored in memory 160 (or storage medium of other type).

Radio signal is sent at least one in base station (such as, access point, Node B etc.), exterior terminal and server and/or receives radio signals from it by mobile communication module 112.Various types of data that such radio signal can comprise voice call signal, video calling signal or send according to text and/or Multimedia Message and/or receive.

Wireless Internet module 113 supports the Wi-Fi (Wireless Internet Access) of mobile terminal.This module can be inner or be externally couple to terminal.Wi-Fi (Wireless Internet Access) technology involved by this module can comprise WLAN (WLAN) (Wi-Fi), Wibro (WiMAX), Wimax (worldwide interoperability for microwave access), HSDPA (high-speed downlink packet access) etc.

Short range communication module 114 is the modules for supporting junction service.Some examples of short-range communication technology comprise bluetooth tM, radio-frequency (RF) identification (RFID), Infrared Data Association (IrDA), ultra broadband (UWB), purple honeybee tMetc..

Positional information module 115 is the modules of positional information for checking or obtain mobile terminal.The typical case of positional information module is GPS (global positioning system).According to current technology, GPS module 115 calculates from the range information of three or more satellite and correct time information and for the Information application triangulation calculated, thus calculates three-dimensional current location information according to longitude, latitude and pin-point accuracy.Current, the method for calculating location and temporal information uses three satellites and by the error of the position that uses an other satellite correction calculation to go out and temporal information.In addition, GPS module 115 can carry out computational speed information by Continuous plus current location information in real time.

A/V input unit 120 is for audio reception or vision signal.A/V input unit 120 can comprise camera 121 and microphone 1220, and the view data of camera 121 to the static images obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memory 160 (or other storage medium) or via wireless communication unit 110 and send, and can provide two or more cameras 1210 according to the structure of mobile terminal.Such acoustic processing can via microphones sound (voice data) in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by microphone 122.Audio frequency (voice) data after process can be converted to the formatted output that can be sent to mobile communication base station via mobile communication module 112 when telephone calling model.Microphone 122 can be implemented various types of noise and eliminate (or suppress) algorithm and receiving and sending to eliminate (or suppression) noise or interference that produce in the process of audio signal.

User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and keyboard, the young sheet of pot, touch pad (such as, detecting the touch-sensitive assembly of the change of the resistance, pressure, electric capacity etc. that cause owing to being touched), roller, rocking bar etc. can be comprised.Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch-screen can be formed.

Sensing cell 140 detects the current state of mobile terminal 100, (such as, mobile terminal 100 open or close state), the position of mobile terminal 100, user for mobile terminal 100 contact (namely, touch input) presence or absence, the orientation of mobile terminal 100, the acceleration or deceleration of mobile terminal 100 move and direction etc., and generate order or the signal of the operation for controlling mobile terminal 100.Such as, when mobile terminal 100 is embodied as sliding-type mobile phone, sensing cell 140 can sense this sliding-type phone and open or close.In addition, whether whether sensing cell 140 can detect power subsystem 190 provides electric power or interface unit 170 to couple with external device (ED).Sensing cell 140 can comprise proximity transducer 1410 and will be described this in conjunction with touch-screen below.

Interface unit 170 is used as at least one external device (ED) and is connected the interface that can pass through with mobile terminal 100.Such as, external device (ED) can comprise wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, for connecting the port, audio frequency I/O (I/O) port, video i/o port, ear port etc. of the device with identification module.Identification module can be that storage uses the various information of mobile terminal 100 for authentication of users and can comprise subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc.In addition, the device (hereinafter referred to " recognition device ") with identification module can take the form of smart card, and therefore, recognition device can be connected with mobile terminal 100 via port or other jockey.Interface unit 170 may be used for receive from external device (ED) input (such as, data message, electric power etc.) and the input received be transferred to the one or more element in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).

In addition, when mobile terminal 100 is connected with external base, interface unit 170 can be used as to allow by it electric power to be provided to the path of mobile terminal 100 from base or can be used as the path that allows to be transferred to mobile terminal by it from the various command signals of base input.The various command signal inputted from base or electric power can be used as and identify whether mobile terminal is arranged on the signal base exactly.Output unit 150 is constructed to provide output signal (such as, audio signal, vision signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can comprise display unit 151, dio Output Modules 152, alarm unit 153 etc.

Display unit 151 may be displayed on the information of process in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show with call or other communicate (such as, text messaging, multimedia file are downloaded etc.) be correlated with user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can the image of display capture and/or the image of reception, UI or GUI that video or image and correlation function are shown etc.

Meanwhile, when display unit 151 and touch pad as a layer superposed on one another to form touch-screen time, display unit 151 can be used as input unit and output device.Display unit 151 can comprise at least one in liquid crystal display (LCD), thin-film transistor LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc.Some in these displays can be constructed to transparence and watch from outside to allow user, and this can be called transparent display, and typical transparent display can be such as TOLED (transparent organic light emitting diode) display etc.According to the specific execution mode wanted, mobile terminal 100 can comprise two or more display units (or other display unit), such as, mobile terminal can comprise outernal display unit (not shown) and inner display unit (not shown).Touch-screen can be used for detecting touch input pressure and touch input position and touch and inputs area.

When dio Output Modules 152 can be under the isotypes such as call signal receiving mode, call mode, logging mode, speech recognition mode, broadcast reception mode at mobile terminal, voice data convert audio signals that is that wireless communication unit 110 is received or that store in memory 160 and exporting as sound.And dio Output Modules 152 can provide the audio frequency relevant to the specific function that mobile terminal 100 performs to export (such as, call signal receives sound, message sink sound etc.).Dio Output Modules 152 can comprise loud speaker, buzzer etc.

Alarm unit 153 can provide and export that event informed to mobile terminal 100.Typical event can comprise calling reception, message sink, key signals input, touch input etc.Except audio or video exports, alarm unit 153 can provide in a different manner and export with the generation of notification event.Such as, alarm unit 153 can provide output with the form of vibration, when receive calling, message or some other enter communication (incoming communication) time, alarm unit 153 can provide sense of touch to export (that is, vibrating) to notify to user.By providing such sense of touch to export, even if when the mobile phone of user is in the pocket of user, user also can identify the generation of various event.Alarm unit 153 also can provide the output of the generation of notification event via display unit 151 or dio Output Modules 152.

Memory 160 software program that can store process and the control operation performed by controller 180 etc., or temporarily can store oneself through exporting the data (such as, telephone directory, message, still image, video etc.) that maybe will export.And, memory 160 can store about when touch be applied to touch-screen time the vibration of various modes that exports and the data of audio signal.

Memory 160 can comprise the storage medium of at least one type, described storage medium comprises flash memory, hard disk, multimedia card, card-type memory (such as, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc.And mobile terminal 100 can be connected the memory function of execute store 160 network storage device with by network cooperates.

Controller 180 controls the overall operation of mobile terminal usually.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.In addition, controller 180 can comprise the multi-media module 1810 for reproducing (or playback) multi-medium data, and multi-media module 1810 can be configured in controller 180, or can be configured to be separated with controller 180.Controller 180 can pattern recognition process, is identified as character or image so that input is drawn in the handwriting input performed on the touchscreen or picture.

Power subsystem 190 receives external power or internal power and provides each element of operation and the suitable electric power needed for assembly under the control of controller 180.

Various execution mode described herein can to use such as computer software, the computer-readable medium of hardware or its any combination implements.For hardware implementation, execution mode described herein can by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed at least one performed in the electronic unit of function described herein and implementing, in some cases, such execution mode can be implemented in controller 180.For implement software, the execution mode of such as process or function can be implemented with allowing the independent software module performing at least one function or operation.Software code can be implemented by the software application (or program) write with any suitable programming language, and software code can be stored in memory 160 and to be performed by controller 180.

So far, oneself is through the mobile terminal according to its functional description.Below, for the sake of brevity, by the slide type mobile terminal that describes in various types of mobile terminals of such as folded form, board-type, oscillating-type, slide type mobile terminal etc. exemplarily.Therefore, the present invention can be applied to the mobile terminal of any type, and is not limited to slide type mobile terminal.

Mobile terminal 100 as shown in Figure 1 can be constructed to utilize and send the such as wired and wireless communication system of data via frame or grouping and satellite-based communication system operates.

Describe wherein according to the communication system that mobile terminal of the present invention can operate referring now to Fig. 2.

Such communication system can use different air interfaces and/or physical layer.Such as, the air interface used by communication system comprises such as frequency division multiple access (FDMA), time division multiple access (TDMA), code division multiple access (CDMA) and universal mobile telecommunications system (UMTS) (especially, Long Term Evolution (LTE)), global system for mobile communications (GSM) etc.As non-limiting example, description below relates to cdma communication system, but such instruction is equally applicable to the system of other type.

With reference to figure 2, cdma wireless communication system can comprise multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is constructed to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also constructed to form interface with the BSC275 that can be couple to base station 270 via back haul link.Back haul link can construct according to any one in some interfaces that oneself knows, described interface comprises such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.Will be appreciated that system as shown in Figure 2 can comprise multiple BSC2750.

Each BS270 can serve one or more subregion (or region), by multidirectional antenna or point to specific direction each subregion of antenna cover radially away from BS270.Or each subregion can by two or more antenna covers for diversity reception.Each BS270 can be constructed to support multiple parallel compensate, and each parallel compensate has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).

Subregion can be called as CDMA Channel with intersecting of parallel compensate.BS270 also can be called as base station transceiver subsystem (BTS) or other equivalent terms.Under these circumstances, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station also can be called as " cellular station ".Or each subregion of particular B S270 can be called as multiple cellular station.

As shown in Figure 2, broadcast singal is sent to the mobile terminal 100 at operate within systems by broadcsting transmitter (BT) 295.Broadcast reception module 111 as shown in Figure 1 is arranged on mobile terminal 100 and sentences the broadcast singal receiving and sent by BT295.In fig. 2, several global positioning system (GPS) satellite 300 is shown.Satellite 300 helps at least one in the multiple mobile terminal 100 in location.

In fig. 2, depict multiple satellite 300, but understand, the satellite of any number can be utilized to obtain useful locating information.GPS module 115 as shown in Figure 1 is constructed to coordinate to obtain the locating information wanted with satellite 300 usually.Substitute GPS tracking technique or outside GPS tracking technique, can use can other technology of position of tracking mobile terminal.In addition, at least one gps satellite 300 optionally or extraly can process satellite dmb transmission.

As a typical operation of wireless communication system, BS270 receives the reverse link signal from various mobile terminal 100.Mobile terminal 100 participates in call usually, information receiving and transmitting communicates with other type.Each reverse link signal that certain base station 270 receives is processed by particular B S270.The data obtained are forwarded to relevant BSC275.BSC provides call Resourse Distribute and comprises the mobile management function of coordination of the soft switching process between BS270.The data received also are routed to MSC280 by BSC275, and it is provided for the extra route service forming interface with PSTN290.Similarly, PSTN290 and MSC280 forms interface, and MSC and BSC275 forms interface, and BSC275 correspondingly control BS270 so that forward link signals is sent to mobile terminal 100.

Based on above-mentioned mobile terminal hardware configuration and communication system, each embodiment of the inventive method is proposed.

Embodiment one

Tone is a subjective amount of reflection sound characteristic, and what its reflected is the subjective feeling of people's ear to sound tune height.Although tone size is also relevant with other factors such as acoustic pressures, it depends primarily on frequency.So general frequency is higher, tone is also higher, otherwise the lower then tone of frequency is lower.Frequency determines tone, so the detection of the detection of tone mainly fundamental frequency, namely to the research of pitch period.Based on this, while realizing audio frequency broadcasting, breath light carries out synchronous flashing, and the present embodiment adopts and utilizes the fundamental frequency of music to control the flicker frequency of breath light, to realize personalised effects.

As shown in Figure 3, first embodiment of the invention proposes a kind of breath light control device based on audio frequency, comprising:

Audio playing unit 310, for playing audio signal.

Fundamental detection unit 320, for detecting the fundamental frequency of the audio signal of current broadcasting, as the reference controlling breath light flicker frequency.This unit can adopt traditional auto-correlation fundamental detection algorithm, and it is a kind of algorithm based on time domain analysis theory, has the advantages such as simple, amount of calculation is little, directly can also ask auto-correlation function to time-domain signal sampled value.

Frequency control unit 330, for the relational expression according to the fundamental frequency preset and flicker frequency, calculates the flicker frequency corresponding to fundamental frequency that current detection arrives, and controls breath light and glimmers by this flicker frequency.

Breath light 340, glimmers for the flicker frequency that calculates according to frequency control unit 330 and default color and brightness.

Embodiment two

In a first embodiment, breath light glimmers according to the frequency of music, beats together with music, makes audio playing apparatus become fashion with active, can win the favor of young people.But the brightness of breath light still have employed traditional control mode, namely change according to the brightness preset.

Except tone, volume is also a subjective amount of reflection sound characteristic, and the size of sonic wave amplitude determines the height of volume, and the volume of different music signal is different.Thus in order to further promote Consumer's Experience, the present embodiment two regulates the brightness of breath light according to volume.

As shown in Figure 4, second embodiment of the invention proposes a kind of breath light control device, comprising:

Audio playing unit 410, for playing audio signal.

Sonic wave amplitude detecting unit 420, for detecting the sonic wave amplitude size of the audio signal of current broadcasting, as the reference controlling breath light flicker brightness.

Brightness control unit 430, for according to the relational expression of the sonic wave amplitude preset with flicker brightness, calculates the flicker brightness value corresponding to sonic wave amplitude that current detection arrives, and controls breath light and glimmers by this flicker brightness.

Breath light 440, glimmers for the flicker brightness calculated according to brightness control unit 430.

Embodiment three

In conjunction with the first embodiment and the second embodiment, breath light and music are merged mutually, while music, breath light is beated together along with music, and the basic function neither affecting breath light uses again breath light to achieve the effect of extremely dazzling, and has led fashion.But these two embodiments all do not control the color of breath light, thus in order to more perfect, in the breath light control device that third embodiment of the invention provides in above embodiment, all set up following functions unit:

Color control unit, for pre-setting colour switching scheme, in music process, controlling breath light according to the current selected colour switching scheme adopted and carrying out respective color conversion.Many sets of plan can be comprised select for user, as: monochromatic, polychrome replaces etc., certainly also can be arranged to realize personalization by User Defined.

Embodiment four

Corresponding with the first embodiment, consult Fig. 5, fourth embodiment of the invention proposes a kind of breath light control method based on audio frequency, comprising:

The relational expression of step 501, signalization fundamental frequency and flicker frequency.

This relational expression, using the basis of the flicker frequency as breath light in follow-up flow process, also can arrange a set of or many sets of plan, and to meet the demand of different user, different user can be selected according to the use habit of self, covers multiple user group substantially.In this enforcement, using fundamental frequency own frequency as the flicker frequency controlling breath light flicker.

Step 502, in audio frequency playing process, detect the fundamental frequency of the audio signal of current broadcasting.

At present, the detection method of fundamental frequency is existing more multiple, and adopt traditional auto-correlation fundamental detection algorithm in the present embodiment, it is a kind of algorithm based on time domain analysis theory, there is the advantages such as simple, amount of calculation is little, directly can also ask auto-correlation function to time-domain signal sampled value.Certainly, adopt other algorithms also can realize, be not limited thereto auto-correlation fundamental detection algorithm.

Step 503, according to the relational expression preset, calculate the flicker frequency that the fundamental frequency of current audio signals is corresponding, control breath light and glimmer by this frequency.

Embodiment five

Corresponding with the second embodiment, as shown in Figure 6, fifth embodiment of the invention proposes a kind of breath light control method based on audio frequency, comprising:

Step 601, pre-set sonic wave amplitude with flicker brightness relational expression, for subsequent luminance control control foundation is provided.

Step 602, in audio frequency playing process, detect in real time the sonic wave amplitude size of the audio signal of current broadcasting.

The relational expression that step 603, basis are preset, calculates the flicker brightness that the sonic wave amplitude of current audio signals is corresponding, controls breath light and glimmers by this flicker brightness.

By said method, when taking volume as signal driving breath light work, breath light accompanied by music amplitude will carry out flashing of different brightness.If but do not process signal volume, when magnitudes of acoustic waves is larger, the brightness of breath light flicker just there will be obvious change; Otherwise when magnitudes of acoustic waves is less, the brightness change of breath light also would not be clearly.

For this situation, audio signal is divided into 3 classes according to the maximum amplitude of audio signal by the present embodiment: large signal volume, middle signal volume and small volume signal, and with the maximum amplitude of middle signal volume for standard, when its amplitude is maximum, the brightness correspondence of breath light is set to the highest.Simultaneously with this amplitude for standard decays to large signal volume, amplify small volume signal, this is also just equivalent to the processing scheme of a signal smoothing, makes breath light brightness beat slightly steady, improves comfort level.

To sum up, breath light and music merge by the present invention mutually, breath light is beated together along with music, flash that brightness represents the amplitude of musical waveform, conversion that flash rate the represents music tone maximum transform component of height frequency (namely in music), such a and uncomplicated definition and design, even dynamic when traditional audio playing apparatus is become, more can win clustering round and vigor of young people, lead mobile phone in the trend in this field, the mobile phone making us more fashion with active.This caters to our current theory more in fact, caters to young people for the pursuit of fashion and serious hope, promotes Consumer's Experience, improve brand recognition, leads current all cell phone manufacturers at this fashion functionally.

It should be noted that, in this article, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the device comprising this key element and also there is other identical element.

The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.

Through the above description of the embodiments, those skilled in the art can be well understood to the mode that above-described embodiment method can add required general hardware platform by software and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, air conditioner, or the network equipment etc.) perform method described in each embodiment of the present invention.

These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (10)

1. based on a breath light control method for audio frequency, it is characterized in that, described method comprises step:
Play music; In music process, according to tone and the volume of described music, control described breath light and glimmer.
2., as claimed in claim 1 based on the breath light control method of audio frequency, it is characterized in that, described method of carrying out glimmering according to the tone control breath light of music comprises further:
The fundamental frequency of the music of the current broadcasting of real-time detection;
According to the relational expression of fundamental frequency and the flicker frequency preset, the flicker frequency corresponding to fundamental frequency that calculating current detection arrives, controls described breath light and glimmers by this flicker frequency.
3. as claimed in claim 1 based on the breath light control method of audio frequency, it is characterized in that, the method that the described control of the volume according to music breath light carries out glimmering comprises further:
The sonic wave amplitude size of the music of the current broadcasting of real-time detection;
According to the relational expression of the sonic wave amplitude preset with flicker brightness, the flicker brightness value that the sonic wave amplitude that calculating current detection arrives is corresponding, controls described breath light and glimmers by this flicker brightness.
4., as claimed in claim 2 or claim 3 based on the breath light control method of audio frequency, it is characterized in that, described method also comprises:
Pre-set at least a set of colour switching scheme;
In music process, control breath light according to the current selected colour switching scheme adopted and carry out respective color conversion.
5. as claimed in claim 2 based on the breath light control method of audio frequency, it is characterized in that, in described method, adopt auto-correlation fundamental detection algorithm to detect the fundamental frequency of the music of current broadcasting in real time.
6. as claimed in claim 3 based on the breath light control method of audio frequency, it is characterized in that, control breath light in the described volume according to music and carry out, in the method for synchronous flashing, also comprising signal smoothing treatment step:
Preset the most high threshold of sonic wave amplitude and sonic wave amplitude minimum threshold, and to set its flicker brightness corresponding be respectively maximum and minimum value;
For the music signal exceeding the most high threshold of sonic wave amplitude, before calculating flicker brightness value corresponding to its sonic wave amplitude, its signal is decayed; For the music signal lower than sonic wave amplitude minimum threshold, before calculating flicker brightness value corresponding to its sonic wave amplitude, its signal is amplified.
7., based on a breath light control device for audio frequency, include audio playing unit and several breath lights, it is characterized in that, described device also comprises:
Breath light control unit, for the tone of music play according to described audio playing unit and volume, controls described breath light and carries out synchronous flashing.
8., as claimed in claim 7 based on the breath light control device of audio frequency, it is characterized in that, described breath light control unit comprises:
Fundamental detection unit, for detecting the fundamental frequency of the music of current broadcasting in real time;
Frequency control unit, for the relational expression according to the fundamental frequency preset and flicker frequency, calculates the flicker frequency corresponding to fundamental frequency that current detection arrives, and controls breath light and glimmers by this flicker frequency.
9., as claimed in claim 7 based on the breath light control device of audio frequency, it is characterized in that, described breath light control unit comprises:
Sonic wave amplitude detecting unit, for detecting the sonic wave amplitude size of the music of current broadcasting in real time;
Brightness control unit, for the relational expression according to the sonic wave amplitude preset and flicker brightness, the flicker brightness value that the sonic wave amplitude that calculating current detection arrives is corresponding, controls breath light and glimmers by this flicker brightness.
10., as claimed in claim 8 or 9 based on the breath light control device of audio frequency, it is characterized in that, described breath light control unit also comprises:
Color control unit, for pre-setting at least a set of colour switching scheme, in music process, controlling breath light according to the current selected colour switching scheme adopted and carrying out respective color conversion.
CN201510134501.3A 2015-03-26 2015-03-26 Audio-based breathing lamp control method and device CN104811538A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510134501.3A CN104811538A (en) 2015-03-26 2015-03-26 Audio-based breathing lamp control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510134501.3A CN104811538A (en) 2015-03-26 2015-03-26 Audio-based breathing lamp control method and device

Publications (1)

Publication Number Publication Date
CN104811538A true CN104811538A (en) 2015-07-29

Family

ID=53696024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510134501.3A CN104811538A (en) 2015-03-26 2015-03-26 Audio-based breathing lamp control method and device

Country Status (1)

Country Link
CN (1) CN104811538A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828488A (en) * 2016-05-31 2016-08-03 深圳市佑嘉互动科技有限公司 Intelligent LED light control method, intelligent LED light control system and LED light equipment
CN106332413A (en) * 2016-08-19 2017-01-11 广东欧珀移动通信有限公司 Control method, device and system of sound box breathing lamp
CN106657453A (en) * 2016-10-18 2017-05-10 惠州Tcl移动通信有限公司 Multi-functional back cover, cell phone and dynamic display method thereof
CN106954129A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 The controllable method of flame jetting height is realized based on the sound system with flame
CN106954133A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 A kind of control method for having sound and the sound system of flame visual effect concurrently
CN106954130A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 Music player sound visual control method
CN106954128A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 A kind of method that duplicate supply pattern sound system shows flame
CN106954131A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 A kind of method that flame adjustable height is controlled based on the sound system with flame
CN106954132A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 The method that flame jetting height is controlled based on the sound system with flame
CN106973344A (en) * 2017-04-14 2017-07-21 广州途威慧信息科技有限公司 A kind of method that sound system controls sound equipment flame height
CN107065506A (en) * 2017-06-13 2017-08-18 王振仁 Pointer intelligent digital clock and clock control method
CN107094275A (en) * 2017-04-17 2017-08-25 广州途威慧信息科技有限公司 A kind of controllable method of sound system flame jetting height
CN107222631A (en) * 2017-06-22 2017-09-29 宇龙计算机通信科技(深圳)有限公司 A kind of information cuing method, device and terminal device
CN107548214A (en) * 2017-08-18 2018-01-05 广东思派康电子科技有限公司 A kind of method and apparatus of laser earphone lamp effect control
CN107734797A (en) * 2017-10-11 2018-02-23 上海展扬通信技术有限公司 The backlight lamp control method and control system of a kind of mobile terminal
CN107948382A (en) * 2018-01-10 2018-04-20 上海展扬通信技术有限公司 Mobile phone and breath light display methods
CN108200277A (en) * 2017-12-28 2018-06-22 北京传嘉科技有限公司 Incoming call reminding method and device
CN108401217A (en) * 2018-02-12 2018-08-14 广东小天才科技有限公司 Signal exports and TWS earphones test method, terminal, equipment and storage medium
CN108925014A (en) * 2018-05-18 2018-11-30 安克创新科技股份有限公司 A kind of light source brightness control method, system and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174454A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司;神基科技股份有限公司 MP3 player flickering with music
CN102436845A (en) * 2011-11-28 2012-05-02 康佳集团股份有限公司 Music player and method for processing twinkling of light emitting diode (LED) lamp of music player along with music

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101174454A (en) * 2006-10-31 2008-05-07 佛山市顺德区顺达电脑厂有限公司;神基科技股份有限公司 MP3 player flickering with music
CN102436845A (en) * 2011-11-28 2012-05-02 康佳集团股份有限公司 Music player and method for processing twinkling of light emitting diode (LED) lamp of music player along with music

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105828488A (en) * 2016-05-31 2016-08-03 深圳市佑嘉互动科技有限公司 Intelligent LED light control method, intelligent LED light control system and LED light equipment
CN106332413A (en) * 2016-08-19 2017-01-11 广东欧珀移动通信有限公司 Control method, device and system of sound box breathing lamp
CN106657453A (en) * 2016-10-18 2017-05-10 惠州Tcl移动通信有限公司 Multi-functional back cover, cell phone and dynamic display method thereof
CN106954129A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 The controllable method of flame jetting height is realized based on the sound system with flame
CN106954133A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 A kind of control method for having sound and the sound system of flame visual effect concurrently
CN106954130A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 Music player sound visual control method
CN106954128A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 A kind of method that duplicate supply pattern sound system shows flame
CN106954131A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 A kind of method that flame adjustable height is controlled based on the sound system with flame
CN106954132A (en) * 2017-04-14 2017-07-14 广州途威慧信息科技有限公司 The method that flame jetting height is controlled based on the sound system with flame
CN106973344A (en) * 2017-04-14 2017-07-21 广州途威慧信息科技有限公司 A kind of method that sound system controls sound equipment flame height
CN107094275A (en) * 2017-04-17 2017-08-25 广州途威慧信息科技有限公司 A kind of controllable method of sound system flame jetting height
CN107065506A (en) * 2017-06-13 2017-08-18 王振仁 Pointer intelligent digital clock and clock control method
CN107222631A (en) * 2017-06-22 2017-09-29 宇龙计算机通信科技(深圳)有限公司 A kind of information cuing method, device and terminal device
CN107548214A (en) * 2017-08-18 2018-01-05 广东思派康电子科技有限公司 A kind of method and apparatus of laser earphone lamp effect control
CN107734797A (en) * 2017-10-11 2018-02-23 上海展扬通信技术有限公司 The backlight lamp control method and control system of a kind of mobile terminal
CN108200277A (en) * 2017-12-28 2018-06-22 北京传嘉科技有限公司 Incoming call reminding method and device
CN107948382A (en) * 2018-01-10 2018-04-20 上海展扬通信技术有限公司 Mobile phone and breath light display methods
CN108401217A (en) * 2018-02-12 2018-08-14 广东小天才科技有限公司 Signal exports and TWS earphones test method, terminal, equipment and storage medium
CN108925014A (en) * 2018-05-18 2018-11-30 安克创新科技股份有限公司 A kind of light source brightness control method, system and equipment

Similar Documents

Publication Publication Date Title
CN104902212B (en) A kind of video communication method and device
CN104915141A (en) Method and device for previewing object information
CN104917890A (en) Mobile terminal and volume adjusting method
CN104915096A (en) Application interface displaying method and device
CN104898926A (en) Screen capture method and device of mobile terminal
CN105094960A (en) Data loading device and method based on two channels
CN104991819A (en) Terminal application switching method and apparatus
CN104917881A (en) Multi-mode mobile terminal and implementation method thereof
CN104951206A (en) Icon hiding method and device
CN105302904A (en) Information pushing method and apparatus
CN104714895B (en) A kind of mobile terminal and its method and apparatus for improving the speed of service
CN104935725A (en) Mobile terminal and method for realizing function adjustment by utilizing virtual frame areas of mobile terminal
CN104898961A (en) Application rapid starting method and apparatus
CN104822091A (en) Video playing progress control method and device and mobile terminal
CN105100491B (en) A kind of apparatus and method for handling photo
CN104850259A (en) Combination operation method, combination operation apparatus, touch screen operating method and electronic device
CN104808944B (en) Touch operation inducing method and device
CN105653729B (en) A kind of device and method of recording file index
CN105183272A (en) Desktop icon arrangement method and apparatus
CN104935747A (en) Processing method and device for application icon, and terminal
CN104765543A (en) Audio playing parameter adjustment method and device
CN104660827A (en) Method and terminal for message reminding
CN104731512A (en) Method, device and terminal for sharing pictures
CN104731340B (en) Cursor position determines method and terminal device
CN104768198A (en) Mobile terminal and intelligent switching method and device for terminal network of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination