Self-adaptive lamp effect adjusting device
By using Bluetooth-connected host module, slave module and external light strip combination solution in audio products, the problems such as the impact of the appearance simplicity, safety hazards and maintenance difficulties caused by line connection in the prior art are solved, and higher flexibility, aesthetics and stability are achieved.
Patent Information
- Application Number
- CN202510140507.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-06-03
AI Technical Summary
In existing audio products, the light bars and the audio are connected through lines, which affects the simplicity of the appearance, has leakage and fire hazards, is susceptible to electromagnetic interference, is difficult to repair, and limits the installation location and use scenarios.
The combination scheme of the host module, the slave module and the external light strip is adopted to obtain music data and transmit lighting effect information through Bluetooth connection. The external light strip emits light according to the received lighting effect information, and the host and the slave module can be separated on the physical connection.
It improves layout flexibility and aesthetics, avoids line constraints and potential safety hazards, enhances anti-interference ability and stability, simplifies the maintenance process, and improves the applicability and portability of the product.
Smart Images

Figure CN120091487A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of lighting equipment, and particularly relates to a device for adaptively adjusting lighting effects. Background Art
[0002] In today's highly competitive audio market, major manufacturers have racked their brains in design in order to make their audio products stand out among numerous competitors. To endow products with unique visual charm, ambient lighting effects have become an essential and important element in audio design.
[0003] Today's audio products on the market demonstrate a high degree of integration of creativity and technology in lighting effect design. They cleverly associate various elaborately designed lighting effects closely with music energy. When dynamic fast-paced music plays, the marquee lights on the audio seem to be infused with vitality and flash and flow at a dizzying speed, as if dancing passionately with the drumbeats of the music; while when slow-paced and melodious music flows out, the marquee lights slow down accordingly and flash and change rhythmically in a gentle and soothing manner, creating a peaceful and comfortable atmosphere.
[0004] From the perspective of the hardware connection method, the light strip is closely connected to the entire audio through carefully arranged wires. These wires not only ensure that the light strip can stably obtain power supply, but also guarantee its precise data interaction with the audio processing system inside the audio. Although the wires connecting the light strip and the audio achieve the functions, there are many disadvantages. The wires will damage the simplicity of the audio appearance and affect the layout of internal components; after long-term use, the insulating layer is prone to breakage, and the connection parts may have poor contact, posing potential risks of electric shock and fire; it is vulnerable to electromagnetic interference, resulting in resistance loss and reducing the product stability; during maintenance, it is necessary to disassemble the audio, and it is difficult and costly to find and replace the faulty wires; it also limits the installation positions and usage scenarios of the audio and the light strip, and is also prone to entanglement and damage when moving the device. Summary of the Invention
[0005] The purpose of the present invention is to provide a device for adaptively adjusting lighting effects, including:
[0006] A host module, a slave module, and an external light strip;
[0007] The host module includes a Bluetooth solution chip and a first peripheral circuit;
[0008] The Bluetooth solution chip is used to obtain music data from an audio source, convert the music data into an energy value, and send the energy value to the slave module through a Bluetooth connection. The peripheral circuit is used to supply power to the Bluetooth host module;
[0009] The slave module includes a Bluetooth receiving chip and a second peripheral circuit;
[0010] The Bluetooth receiving chip is used to receive the energy value based on a Bluetooth connection, determine lighting effect information based on the energy value, and send the lighting effect information to the external light strip so that the external light strip emits light according to the lighting effect information;
[0011] The host module and the slave module are physically separable;
[0012] The external light strip is used to emit light according to the lighting effect information.
[0013] Based on the device for adaptively adjusting lighting effects provided in the first aspect of the embodiments of the present application, optionally:
[0014] The host module is further used for:
[0015] Receiving mode data, and sending the mode data to the slave module through the Bluetooth connection to adjust the lighting effect information, and the lighting effect information is different under different mode data for the same music data.
[0016] Based on the device for adaptively adjusting lighting effects provided in the first aspect of the embodiments of the present application, optionally:
[0017] The mode data includes any one of a soothing mode, a rock mode, or a normal mode.
[0018] Based on the device for adaptively adjusting lighting effects provided in the first aspect of the embodiments of the present application, optionally:
[0019] The conversion of the music data into an energy value includes:
[0020] Determining the volume value corresponding to the music data at different time points;
[0021] Assigning a corresponding energy value to the volume value based on the interval to which the volume value belongs, and the energy value is a positive integer from 0 to 14.
[0022] Based on the device for adaptively adjusting lighting effects provided in the first aspect of the embodiments of the present application, optionally:
[0023] The conversion of the music data into an energy value includes:
[0024] Obtaining the frequency and amplitude data corresponding to the music data at different time points;
[0025] Performing a weighted calculation based on the frequency and amplitude values to obtain a weighted result;
[0026] Normalizing the weighted result to obtain a corresponding energy value, and the energy value is a positive integer from 0 to 14.
[0027] For the device for adaptively adjusting light effects provided in the first aspect of the embodiments of the present application, optionally:
[0028] The Bluetooth solution chip is used to obtain music data from an audio source, including:
[0029] The Bluetooth solution chip is used to receive first audio data and second audio data;
[0030] Determine that one of the first audio data and the second audio data is the music data.
[0031] For the device for adaptively adjusting light effects provided in the first aspect of the embodiments of the present application, optionally:
[0032] The determination that one of the first audio data and the second audio data is the music data includes:
[0033] Determine that the audio data from a specific application is the music data.
[0034] For the device for adaptively adjusting light effects provided in the first aspect of the embodiments of the present application, optionally:
[0035] The host module further has an LED lamp;
[0036] The Bluetooth solution chip is further used to: determine light effect information based on the energy value, and control the LED lamp to emit light based on the light effect information.
[0037] For the device for adaptively adjusting light effects provided in the first aspect of the embodiments of the present application, optionally:
[0038] There are multiple slave modules.
[0039] For the device for adaptively adjusting light effects provided in the first aspect of the embodiments of the present application, optionally:
[0040] The slave module and the external light strip are integrated in the form of a light bar.
[0041] As can be seen from the above technical solutions, the embodiments of the present application have the following advantages: The embodiments of the present application provide a device for adaptively adjusting the light effect, including: a host module, a slave module, and an external light strip; the host module includes a Bluetooth solution chip and a first peripheral circuit; the Bluetooth solution chip is used to obtain music data from an audio source, convert the music data into an energy value, and send the energy value to the slave module through a Bluetooth connection, and the peripheral circuit is used to supply power to the Bluetooth host module; the slave module includes a Bluetooth receiving chip and a second peripheral circuit; the Bluetooth receiving chip is used to receive the energy value based on the Bluetooth connection, determine the light effect information based on the energy value, and send the light effect information to the external light strip so that the external light strip emits light according to the light effect information; the host module and the slave module are physically separable; the external light strip is used to emit light according to the light effect information. Compared with the traditional wired connection scheme, this device scheme for adaptively adjusting the light effect has significant advantages. Its greatest advantage lies in that the physically separable host and slave modules are paired with Bluetooth connection, which greatly improves the layout flexibility and aesthetics, gets rid of the wire bondage, avoids potential leakage and fire hazards, enhances the anti-interference ability and stability, and also makes maintenance and replacement more convenient, greatly improving the product applicability and portability, and meeting diverse usage requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings. It can be understood that the drawings provided in this part are only used to better understand the solution and do not constitute a limitation to the present application.
[0043] Figure 1 FIG. is a schematic structural diagram of an embodiment of the device for adaptively adjusting the light effect provided by the present application.
[0044] Figure 2 FIG. is a schematic flow diagram of data processing of the host module of the device for adaptively adjusting the light effect provided by the present application.
[0045] Figure 3 FIG. is a schematic flow diagram of data processing of the slave module of the device for adaptively adjusting the light effect provided by the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] The embodiments of the present application provide a device for adaptively adjusting the light effect, using physically separable host and slave modules paired with Bluetooth connection, which greatly improves the layout flexibility.
[0047] To enable those skilled in the art to better understand the solution of this application, the technical solutions in the embodiments of this application will be described clearly and completely below. Obviously, the described embodiments are only a part of the embodiments of this application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the scope of protection of this application. At the same time, for the sake of clear and concise description, the description of well-known functions and structures is omitted below.
[0048] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described here can be implemented in an order other than that shown or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or are inherent to these processes, methods, products or devices.
[0049] In today's highly competitive audio market, major manufacturers have racked their brains in design in order to make their audio products stand out among numerous competitors. To endow products with unique visual charm, ambient lighting effects have become an essential and important element in audio design.
[0050] Today's audio products on the market demonstrate a very high degree of integration of creativity and technology in lighting effect design. They cleverly associate various carefully designed lighting effects with musical energy. When dynamic fast-paced music plays, the marquee lights on the audio seem to be injected with vitality and flash and flow at a dizzying speed, as if leaping passionately with the beats of the music; while when slow-paced and melodious music flows out, the marquee lights slow down and flash and change rhythmically in a gentle and soothing manner, creating a peaceful and comfortable atmosphere.
[0051] From the perspective of the hardware connection method, the light strip is closely connected to the entire audio through carefully arranged wires. These wires not only ensure that the light strip can stably obtain power supply, but also guarantee precise data interaction between the light strip and the audio processing system inside the audio. Although the wires connecting the light strip and the audio achieve their functions, there are many disadvantages. The wires will damage the simplicity of the audio's appearance and affect the layout of internal components; after long-term use, the insulation layer is prone to breakage, and the connection parts may have poor contact, posing potential risks of electric shock and fire; it is vulnerable to electromagnetic interference, resulting in resistance loss and reducing the product stability; during maintenance, the audio needs to be disassembled, and it is difficult and costly to find and replace faulty wires; it also limits the installation positions and usage scenarios of the audio and the light strip, and is also prone to entanglement and damage when moving the device.
[0052] To solve the above problems, please refer to Figure 1 One embodiment of the device for adaptively adjusting the light effect provided by this application includes: a host module 101, a slave module 102, and an external light strip 103.
[0053] A host module, a slave module, and an external light strip;
[0054] The host module 101 includes a Bluetooth solution chip and a first peripheral circuit;
[0055] The Bluetooth solution chip is used to obtain music data from an audio source, convert the music data into an energy value, and send the energy value to the slave module through a Bluetooth connection. The peripheral circuit is used to supply power to the Bluetooth host module;
[0056] The host module 101 is mainly composed of two major parts, namely a Bluetooth solution chip and a first peripheral circuit.
[0057] Bluetooth solution chip: This is the core component of the host module, which integrates Bluetooth communication functions and audio data processing functions. Inside the chip, there are a series of microprocessors, Bluetooth transceivers, and related digital signal processing units, responsible for completing complex Bluetooth communication protocol processing and data operation work.
[0058] First peripheral circuit: This circuit is mainly responsible for providing a stable power supply for the Bluetooth solution chip to ensure the normal operation of the chip. The peripheral circuit includes parts such as power filtering, voltage regulation, and power conversion to adapt to different power input conditions and convert them into the working voltage required by the Bluetooth solution chip, such as converting the input higher voltage into 3.3V or 5V required by the chip. In addition, it may also include some protection circuits to prevent abnormal situations such as overvoltage and overcurrent from damaging the chip.
[0059] The data processing flow of the host module can be referred to Figure 2, First, the Bluetooth solution chip of the host module establishes a connection with the audio source device through the Bluetooth communication function. The audio source device can be a mobile phone, computer, music player, or other devices that support Bluetooth audio output. Once the connection is established, the Bluetooth solution chip starts receiving music data from the audio source. This music data is transmitted in the form of a digital audio stream and contains various audio information such as frequency, amplitude, and rhythm.
[0060] Then, the digital signal processing unit in the chip analyzes and processes the received music data, converting it into quantifiable energy values. For example, it samples and calculates the amplitude of the audio signal, and based on the average or peak amplitude within a certain time window, calculates the value representing the energy of this segment of music.
[0061] Finally, the chip sends the calculated energy value to the slave module through the Bluetooth connection. During the sending process, the Bluetooth solution chip encapsulates the energy value into a data packet using the Bluetooth protocol to ensure the integrity and accuracy of the data, and sends it to the slave module through the Bluetooth wireless transmission channel. After receiving these data, the slave module adjusts the lighting effect of the external light strip according to the energy value to achieve adaptive lighting effect adjustment.
[0062] The slave module 102 includes a Bluetooth receiving chip and a second peripheral circuit;
[0063] The Bluetooth receiving chip is used to receive the energy value based on the Bluetooth connection, determine the lighting effect information based on the energy value, and send the lighting effect information to the external light strip so that the external light strip emits light according to the lighting effect information;
[0064] The slave module is an important part of this adaptive lighting effect adjustment device, which mainly includes two parts: a Bluetooth receiving chip and a second peripheral circuit.
[0065] Bluetooth receiving chip:
[0066] This chip is the core component of the slave module and is specifically used to receive Bluetooth signals from the host module. It integrates a Bluetooth receiving antenna and a signal demodulation circuit inside, and can work within a certain Bluetooth communication frequency band range to ensure stable reception of the information sent by the host module through Bluetooth. The chip is also equipped with a data buffer and processing unit for temporarily storing and preliminarily processing the received data for subsequent effective extraction and analysis of the information.
[0067] To ensure the accuracy and stability of reception, the Bluetooth receiving chip is built with an error checking mechanism such as cyclic redundancy check (CRC). When receiving data, it verifies the integrity of the data to avoid generating error messages due to interference during transmission. At the same time, it supports multiple Bluetooth protocols and can match the Bluetooth protocol adopted by the Bluetooth solution chip in the host module to ensure smooth communication connection between the two.
[0068] Second peripheral circuit:
[0069] The second peripheral circuit provides necessary auxiliary support for the slave module. On the one hand, it provides stable power for the Bluetooth receiving chip, including a power management circuit that can convert and regulate the input power to meet the working voltage and current requirements of the Bluetooth receiving chip. At the same time, it also filters the power to remove the noise and interference signals in the power supply, ensuring the purity of the power supply and the stable operation of the Bluetooth receiving chip. This circuit may also include some protection circuits, such as overvoltage protection, overcurrent protection, and electrostatic protection circuits, to prevent damage to the chip caused by abnormal voltage, current, or electrostatic discharge in the external environment and extend the service life of the slave module.
[0070] The data processing process of the slave module can refer to Figure 3 , and the Bluetooth receiving chip of the slave module listens to the signals sent by the host module in real time through Bluetooth connection. When the Bluetooth solution chip in the host module converts the music data obtained from the audio source into energy values and sends them in the form of Bluetooth data packets, the Bluetooth receiving chip will quickly capture these data packets.
[0071] During the reception process, the Bluetooth receiving chip will parse the data packets according to the predetermined Bluetooth protocol and extract the energy value information contained therein. It will check the header, tail, and check information of the data packets to ensure that the received data packets are complete and correct. If an error is found in the data packets during the reception process, it will require the host module to resend the data according to the error checking mechanism to ensure the accuracy of the data.
[0072] Based on the received energy values, the Bluetooth receiving chip of the slave module will use the built-in algorithm to determine the corresponding light effect information. This algorithm may map the energy values to different light effect manifestations according to parameters such as the magnitude, change frequency, and duration of the energy values. For example, when the energy value is high, it may correspond to a light effect with high brightness, fast flashing, or bright colors; while when the energy value is low, it corresponds to a light effect with low brightness, slow flashing, or soft colors.
[0073] This algorithm can be customized and adjusted according to different user requirements and design goals to achieve a variety of personalized lighting effect solutions. Through dynamic analysis of energy values, the Bluetooth receiving chip can achieve real-time adjustment of lighting effects, enabling the performance of the external light strip to closely match the rhythm and intensity of the currently playing music.
[0074] After determining the lighting effect information, the Bluetooth receiving chip will generate corresponding control instructions. These control instructions contain specific control information for the external light strip, such as brightness level, color information, blinking frequency, blinking mode, etc. Then, the chip sends these control instructions to the external light strip through a physical interface.
[0075] Different physical interfaces can be used to connect the slave module and the external light strip, such as the Serial Peripheral Interface (SPI), Inter-Integrated Circuit (I2C), or simple digital signal pins. The Bluetooth receiving chip will encode and send the lighting effect information according to the specific interface protocol to ensure that the external light strip can correctly identify and execute the corresponding instructions.
[0076] The host module and the slave module can be physically separated;
[0077] In this application, the host module and the slave module can be physically separated, and this feature brings great flexibility to the use and installation of the device.
[0078] This separation design allows users to place the host module and the slave module at different positions according to different usage scenarios and requirements. For example, the host module can be placed near the audio source device to better receive music data; while the slave module and the external light strip can be placed at the positions where lighting effects need to be created. There is no need for a physical connection between them, avoiding the cumbersome wiring and restrictions on the usage environment. The separation of the physical connection also facilitates the assembly and adjustment of the device. Users can flexibly adjust the positions and directions of the slave module and the external light strip according to personal preferences and the actual space layout, enabling the lighting effects to be more perfectly integrated into the surrounding environment.
[0079] The external light strip 103 is used to emit light according to the lighting effect information.
[0080] The external light strip is the final execution component for realizing the lighting effect. It shows the corresponding lighting effects according to the lighting effect information sent by the slave module.
[0081] The external light strip contains multiple light-emitting units, and these light-emitting units can be light-emitting diodes (LEDs) or other types of light-emitting elements. They are arranged in a certain way to form different light strip shapes, such as linear, circular, or other customized shapes, to meet different usage scenarios and decoration requirements.
[0082] After receiving the light effect information sent by the slave module, each light-emitting unit in the external light strip will work according to the control instructions in the information. If the light effect information indicates a need to change the brightness, the light-emitting unit will correspondingly adjust the current or voltage to change its own light-emitting brightness; for color information, the color control circuit in the light-emitting unit will distribute the current to different color channels to emit different colors of light; for instructions on the blinking frequency and blinking mode, the control circuit in the external light strip will control the on-off time interval and sequence of the light-emitting units to achieve the corresponding blinking effect. The external light strip can have different specifications and performances according to different design requirements. For example, it can be designed with different lengths, brightness levels, and color ranges. At the same time, it can also achieve complex dynamic light effects, such as gradual change, breathing light effect, running horse light effect, etc., according to the control ability of the slave module.
[0083] As can be seen from the above technical solutions, the embodiments of this application have the following advantages: The embodiments of this application provide a device for adaptively adjusting the light effect, which consists of a host module, a slave module, and an external light strip. The Bluetooth solution chip of the host module acquires audio source music data, converts it into an energy value, and sends it to the slave module via Bluetooth; the Bluetooth receiving chip of the slave module receives the energy value, determines the light effect information, and sends it to the external light strip to make it emit light, and the host and the slave can be physically separated. Compared with the traditional wired connection solution, this device has obvious advantages. The Bluetooth connection with separable modules greatly improves the layout flexibility and aesthetics, gets rid of the wire bondage, avoids potential leakage and fire hazards, and enhances the anti-interference ability and stability. At the same time, maintenance and replacement are more convenient, greatly improving the product applicability and portability, and can meet diverse usage requirements.
[0084] Based on the above Figure 1 corresponding embodiments, optionally:
[0085] The host module is further configured to:
[0086] Receive mode data, and send the mode data to the slave module via the Bluetooth connection to adjust the light effect information, where the light effect information is different under different mode data for the same music data.
[0087] The mode data includes any one of a soothing mode, a rock mode, or a normal mode.
[0088] In addition to the functions described previously, the host module also has the function of receiving mode data.
[0089] The host module can receive mode data from external devices, which can be user terminals connected to the host module via Bluetooth or other communication methods, such as mobile phone applications, remote controls, or other smart devices. These external devices are capable of generating and sending different mode data, including any one of a soothing mode, a rock mode, or a normal mode.
[0090] Once the host module receives the mode data, it will send the mode data to the slave module via a Bluetooth connection. During the sending process, the Bluetooth solution chip of the host module will encapsulate the mode data into a suitable Bluetooth data packet, which contains the identification information, data length, and specific content of the mode data.
[0091] These data packets will be encoded according to the Bluetooth protocol to ensure the security and stability of the data during transmission. The Bluetooth solution chip will use Bluetooth's broadcast, point-to-point connection, or other Bluetooth communication methods to send the data packets to the slave module. At the same time, to ensure the orderliness of the data, a sequence number will be added to the data packets so that the slave module can receive and process them correctly, avoiding data loss or confusion.
[0092] For the same music data, when different mode data is received, the slave module will adjust the lighting effect information according to these mode data, thereby achieving different lighting effect presentations.
[0093] In the soothing mode, the mode data sent by the host module to the slave module will guide the slave module to adjust the lighting effect information to a matching effect. After the Bluetooth receiving chip in the slave module receives the soothing mode data, it will use the corresponding algorithm to adjust the lighting effect to a soft and slowly changing lighting effect. For example, it may reduce the overall brightness of the external light strip, make the lighting color tend to warm tones, such as orange, yellow, etc., and present it with a lower blinking frequency or a slow color transition to create a relaxed and peaceful atmosphere.
[0094] For the rock mode, when the slave module receives this mode data, it will convert the lighting effect information into a more dynamic effect according to the pre-set algorithm. Specifically, it will increase the brightness of the external light strip, use brighter and stronger colors, such as red, blue, or their combinations, and at the same time increase the blinking frequency to make the lighting effect more jumping and rhythmic to match the strong rhythm and high energy of the rock music.
[0095] In the normal mode, the slave module will adopt the default lighting effect adjustment algorithm according to the received mode data, and perform a relatively conventional lighting effect conversion according to the energy value of the music data, so that the lighting effect information is neither too strong nor too soft, in order to achieve a balanced visual effect and adapt to the playback of various types of music in the normal state.
[0096] When the slave module adjusts the lighting effect information according to the mode data, the internal processing logic will comprehensively consider multiple factors. First, for each mode, the slave module stores a corresponding lighting effect mapping table or algorithm function. These tables or functions associate the mode data with specific lighting effect parameters (such as brightness range, color range, blinking frequency range, etc.). When receiving the mode data, the slave module will look up the corresponding lighting effect parameter range in the mapping table or function according to the mode, and at the same time perform further precise calculations in combination with the energy value converted from the music data. For example, in the rock mode, if the music energy value is high, the slave module will convert it into more intense colors and higher blinking frequencies according to the mapping table, and at the same time adjust the brightness to be close to its upper limit; while in the soothing mode, for the same high-energy music data, it may only moderately increase the brightness and use soft color transitions to avoid overly strong visual impacts.
[0097] The introduction of the soothing mode, rock mode or normal mode enables users to flexibly adjust the lighting effect performance according to their preferences, different music types and usage scenarios. When the user is listening to soft classical music, they can select the soothing mode to let the lights create a quiet and comfortable atmosphere for them; while when playing intense rock music, switch to the rock mode, and the lights will become more dynamic, echoing the rhythm and atmosphere of the music, enhancing the user's comprehensive auditory and visual experience.
[0098] Through the function of the host module to receive and send mode data, and the mechanism of the slave module to adjust the lighting effect information according to the mode data, the adaptive lighting effect adjustment device of the present application can provide users with a more diverse and personalized usage experience, further enhancing the adaptability and flexibility of the product in different music types and usage scenarios, meeting the different needs of users for lighting effects, and making the product more innovative and practical in the market.
[0099] Based on the above Figure 1 Corresponding embodiments, optionally:
[0100] The conversion of the music data into an energy value includes:
[0101] Determine the volume values corresponding to the music data at different time points;
[0102] Assign a corresponding energy value based on the interval to which the volume value belongs, and the energy value is a positive integer from 0 to 14.
[0103] First, after the Bluetooth solution chip in the host module receives the music data from the audio source, it will analyze and process it. The music data is a data stream containing multiple audio parameters, and the volume is an important parameter.
[0104] To determine the volume values at different time points, the chip samples the music data. By setting a certain time interval, within each time interval, the audio signal is measured and analyzed. This time interval can be adjusted according to specific implementation requirements and system performance. For example, it can be every millisecond, every ten milliseconds, or every hundred milliseconds, etc.
[0105] Within each time interval, the chip uses digital signal processing technology to calculate the amplitude of the audio signal. For digital audio data, usually the absolute value or square value of the sample values of the audio signal is used to measure the volume. Specifically, the chip reads the amplitudes of the audio samples, and these amplitudes represent the intensity of the sound at that time point. By statistically analyzing the amplitudes of the audio samples over a period of time, such as calculating the average value, peak value, or root mean square value, etc., the volume value at that time point is obtained.
[0106] The energy value is limited to positive integers from 0 to 14. This setting helps to simplify the complex volume information into a limited range of energy levels for subsequent processing and transmission.
[0107] For different volume ranges, they are divided into corresponding intervals according to predefined rules. For example, when the volume value is in a lower range, it may be mapped to energy values between 0 and 3; a medium volume range may correspond to energy values between 4 and 9; and a higher volume range may correspond to energy values between 10 and 14. This division method can be flexibly adjusted according to actual user experience and product design goals.
[0108] The specific interval division may be based on experimental and test data to ensure that when different types of music are played, their volume changes can be reasonably reflected in the corresponding energy values. For example, for soft classical music, its volume is usually at a lower level, and the corresponding energy value will also be lower; while for high-volume rock or electronic music, its volume is larger and will be mapped to a higher energy value.
[0109] Based on the above Figure 1 corresponding embodiments, optionally:
[0110] Converting the music data into energy values includes:
[0111] Obtaining the frequency and amplitude data corresponding to the music data at different time points;
[0112] Performing a weighted calculation based on the frequency and amplitude values to obtain a weighted result;
[0113] Normalizing the weighted result to obtain the corresponding energy value, where the energy value is a positive integer from 0 to 14.
[0114] To obtain the frequency and amplitude data at different time points, the chip will adopt appropriate sampling techniques. Within a certain time window, the audio signal is densely sampled to ensure that the dynamic changes of music in the time dimension can be accurately captured. The sampling frequency is usually determined according to the Nyquist sampling theorem to ensure that the audio signal can be accurately restored. For example, for common audio signals, the sampling frequency can be set to 44.1 kHz or 48 kHz, etc.
[0115] For each sampling point, the chip extracts the frequency and amplitude information of that point through digital signal processing algorithms. Frequency represents the pitch of the sound, while amplitude represents the loudness of the sound. The frequency can be calculated by analyzing the periodicity of the audio signal. For example, by using methods such as Fourier transform, the audio signal in the time domain is converted into a frequency domain signal, and then its main frequency components are determined. The amplitude can be measured by calculating the amplitude value of the sampling point, generally using the absolute value of the sample value or the root mean square (RMS), etc., to accurately reflect the intensity of the sound.
[0116] Once the frequency and amplitude data at different time points are obtained, weighted calculations will be performed on these data. This weighted calculation aims to comprehensively consider the influence of frequency and amplitude on the music energy, because different combinations of frequency and amplitude can produce different music effects, and all should be reflected in the final energy value.
[0117] The system will set corresponding weight coefficients for frequency and amplitude respectively. The setting of the weight coefficients can be adjusted according to the music characteristics and user experience. For some application scenarios, if more attention is paid to the rhythm of the music (related to amplitude), the weight of amplitude can be set larger; while for other scenarios, if more emphasis is placed on the pitch of the music (related to frequency), the weight of frequency can be set larger. The setting of these weights can be optimized through experiments and user tests during the product development stage to achieve the best lighting effect adjustment. Frequency extraction can use the Fourier transform, and the most commonly used is the discrete Fourier transform (DFT) or its fast algorithm, the fast Fourier transform (FFT). By comprehensively considering frequency and amplitude for weighted calculation and normalization processing, this method can more comprehensively and accurately reflect the energy information of music, avoiding information loss that may be caused by relying on only a single factor (such as only considering amplitude or only considering frequency).
[0118] Based on the above Figure 1 corresponding embodiments, optionally,
[0119] The Bluetooth solution chip is used to obtain music data from an audio source, including:
[0120] The Bluetooth solution chip is used to receive first audio data and second audio data;
[0121] Determine that one of the first audio data and the second audio data is the music data.
[0122] The Bluetooth solution chip has the ability to receive two different audio data simultaneously, namely the first audio data and the second audio data. These two audio data may come from different data sources or be received through different Bluetooth channels.
[0123] These audio data can be digital audio streams from various devices. For example, they may come from different music playing applications, different Bluetooth audio devices, or different audio file formats. The Bluetooth receiving module and data buffer area inside the Bluetooth solution chip can store and temporarily store these two channels of audio data to ensure that the data will not be lost or confused.
[0124] The first audio data and the second audio data may be different in format and content. They may have different sampling rates, encoding methods, or channel information, etc. The Bluetooth solution chip needs to be able to be compatible with and process these different audio data formats to ensure that the subsequent data processing steps can proceed normally.
[0125] Determine that one of them is the music data:
[0126] After receiving the first audio data and the second audio data, the Bluetooth solution chip needs to perform a judgment operation to determine which one is the real music data. This judgment process is crucial for the subsequent energy value conversion and light effect adjustment because only the correct music data can accurately reflect the characteristics of the currently playing music.
[0127] This judgment may be based on various factors, such as the format characteristics of the data, the identification of the transmission protocol, the length of the data, or the frequency range, etc. For example, some audio data may contain specific file header information or metadata. By analyzing this information, the Bluetooth solution chip can initially determine whether it is music data.
[0128] Saying that determine that one of the first audio data and the second audio data is the music data includes:
[0129] Determine that the audio data from a specific application is the music data.
[0130] As a further refinement of the judgment process, this application adopts a judgment method based on the source of the application. That is, by tracing the source of the audio data, determine whether it comes from a specific application. If it comes from the specific application, then determine it as music data.
[0131] The Bluetooth solution chip will parse the metadata or additional information of the audio data, and this information may contain information about the source of the audio data. For example, it may contain the unique identifier or source tag of the application. In some cases, the operating system or Bluetooth protocol will add such information to the audio data during transmission to distinguish the audio outputs of different applications.
[0132] When it is detected that the source of the audio data is a preset specific application, the Bluetooth solution chip will identify it as music data. For example, assume that we set a mainstream music player software (such as "xx Music") as the specific application. When the source information carried by the received audio data indicates that it comes from "xx Music", the audio data will be recognized as music data. The specific applications can be pre-stored in the device in the form of a list.
[0133] The advantage of this method is that different applications can be distinguished according to the user's usage habits and needs. For the music player application that the user often uses, by setting it as the specific application, it is ensured that the device can accurately select the audio data output by this application as music data for subsequent processing, avoiding interference from other non-music audio data (such as system prompt sounds, notification sounds, etc.) on the light effect adjustment. At the same time, this judgment method also has a certain degree of flexibility. The user can customize the specific application according to their preferences and needs. The user can set their favorite music player application as the specific application through the configuration interface associated with this device to ensure that the light effect device only responds to the music it plays, improving the personalization level of the user experience.
[0134] Based on the above Figure 1 Corresponding to the embodiment, optionally, the host module further has an LED lamp;
[0135] The Bluetooth solution chip is further used for: determining light effect information based on the energy value, and controlling the LED lamp to emit light based on the light effect information.
[0136] Integrating the LED lamp in the host module and directly controlling it by the Bluetooth solution chip enriches the light effect manifestation form of the entire device. The user can not only obtain the light effect matching the music through the external light strip, but also see that the LED lamp of the host module itself also presents corresponding dynamic effects according to the music energy value, increasing the visual effect level and interest of the product.
[0137] Based on the above Figure 1For the corresponding embodiment, optionally, there are multiple slave modules. The multiple slave modules can be flexibly arranged according to different requirements and usage scenarios. They can be placed in different positions to achieve a wider spatial coverage and diverse light effect displays. For example, in a large audio system, multiple slave modules can be distributed in different corners of the room or surround the audio equipment to form an all-round lighting environment.
[0138] The slave modules can establish communication with the master module through different connection methods. Based on Bluetooth connection, they can adopt a master-slave network topology, where the master module serves as the master device and multiple slave modules serve as slave devices, connecting in sequence. The master module sends the energy value converted from music data to each slave module, and each slave module receives and processes the information.
[0139] To ensure stable communication of multiple slave modules, the Bluetooth solution chip of the master module may adopt communication technologies such as Time Division Multiple Access (TDMA) or Frequency Division Multiple Access (FDMA) to allocate different time slots or frequency resources to each slave module, avoid signal interference, and ensure accurate information transmission.
[0140] Based on the above Figure 1 For the corresponding embodiment, optionally, the slave module and the external light strip are integrated into a light bar form.
[0141] The light bar integrated with the slave module and the external light strip has a unique physical structure. Its shape can be long or rod-shaped, which is convenient for installation and carrying. The shell of the light bar can be made of different materials, such as plastic, aluminum alloy, etc., to meet different strength and aesthetic requirements.
[0142] The external light strip is built inside the light bar, and its arrangement can be optimized according to the shape and design of the light bar. For example, it can be arranged in a straight line or in a ring inside the light bar to ensure uniform light distribution. At the same time, the slave module is cleverly designed at one end or inside the light bar, making the overall structure of the light bar compact and avoiding messy and exposed wires. The light bar can be equipped with different installation accessories, such as clips, suction cups, brackets, etc., to facilitate users to fix it in different positions, such as walls, desktops, audio equipment, etc., to achieve flexible arrangement.
[0143] As an integrated unit, the slave module and the external light strip in the light bar can work together. After receiving the energy value from the master module, the slave module can quickly convert it into the light effect information of the external light strip on the light bar to achieve an integrated lighting display.
[0144] Due to its integrated design, the signal transmission path of the lamp bar is shorter, reducing signal interference and delay, and improving the response speed and stability of the lighting effect. At the same time, for users, this integrated form is more concise and beautiful, avoiding the cumbersome installation and connection process and reducing the usage threshold.
[0145] In usage scenarios, multiple lamp bars can be used in combination. For example, in stage performances, multiple lamp bars can be used as decorative props. Through different arrangements and combinations, the lighting effects can be changed simultaneously according to the rhythm and energy value of the music, creating a shocking stage lighting effect; in a home environment, users can place the lamp bars around devices such as TVs and computers to form dynamic ambient light and enhance the viewing or gaming experience.
[0146] In several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the equivalent transformation of circuits and the division of units are only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical, or other forms.
[0147] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0148] In addition, the functional units in each embodiment of the present application can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0149] The above are only the preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements, or improvements made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A device for adaptively adjusting lighting effects, characterized in that: include: Host module, slave module and external light strip; The host module includes a Bluetooth solution chip and a first peripheral circuit; The Bluetooth solution chip is used to obtain music data from an audio source, convert the music data into energy values, and send the energy values to the slave module via a Bluetooth connection, and the peripheral circuit is used to power the Bluetooth host module; The slave module includes a Bluetooth receiving chip and a second peripheral circuit; The Bluetooth receiving chip is used to receive the energy value based on the Bluetooth connection, determine the lighting effect information based on the energy value, and send the lighting effect information to the external light strip, so that the external light strip emits light according to the lighting effect information; The host module and the slave module are separable in terms of physical connection; The external light strip is used to emit light according to the lighting effect information.
2. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: The host module is also used for: Receive mode data, and send the mode data to the slave module via the Bluetooth connection to adjust the lighting effect information. The lighting effect information is different for the same music data under different mode data.
3. The device for adaptively adjusting lighting effects according to claim 2, characterized in that: The mode data includes any one of a soothing mode, a rock mode or a normal mode.
4. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: The converting the music data into energy value comprises: Determine the volume values corresponding to the music data at different time points; A corresponding energy value is assigned based on the interval to which the volume value belongs, and the energy value is a positive integer from 0 to 14.
5. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: The converting the music data into energy value comprises: Obtain frequency and amplitude data corresponding to music data at different time points; Perform weighted calculation based on the frequency and amplitude values to obtain a weighted result; The weighted result is normalized to obtain a corresponding energy value, where the energy value is a positive integer from 0 to 14.
6. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: The Bluetooth solution chip is used to obtain music data from an audio source, including: The Bluetooth solution chip is used to receive first audio data and second audio data; It is determined that one of the first audio data and the second audio data is the music data.
7. The device for adaptively adjusting lighting effects according to claim 6, characterized in that: The determining that one of the first audio data and the second audio data is the music data comprises: The audio data originating from a specific application is determined to be the music data.
8. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: The host module also has an LED light; The Bluetooth solution chip is also used to: determine lighting effect information based on the energy value, and control the LED lamp to emit light based on the lighting effect information.
9. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: There are multiple slave modules.
10. The device for adaptively adjusting lighting effects according to claim 1, characterized in that: The slave module and the external light strip are integrated into a light stick form.