Method and system for controlling sound effect lamp array and electronic equipment
By calculating the virtual sound light array and obtaining the fusion communication interface, the problem of unified management and collaborative response of sound lights in advanced audio systems is solved, achieving more flexible lighting effects and design freedom.
Patent Information
- Application Number
- CN202411805383.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-03-18
AI Technical Summary
Advanced audio system integration with advanced audio light system has problems with unified management, difficulty in calculating the correlation between lighting effects and audio effects, multiple sound light arrays cannot respond in a collaborative manner, communication interface compatibility and reuse, and lighting effects are constrained by quantity and shape.
By calculating the fusion virtual sound light array of multiple virtual sound lights, and obtaining the fusion communication interface according to the correspondence between the virtual sound light and the physical sound light, the virtual sound light array is configured to the communication interface, and the sound light data is distributed to the physical sound light array.
It realizes unified management of sound effects lights, improves the flexibility and design freedom of sound effects lights, solves the compatibility problems of heterogeneous systems, interfaces, and modules, effectively cooperates to respond to sound effects, and achieves more flexible lighting effects.
Smart Images

Figure CN119653557A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of sound effect light control, and in particular to a method and system for controlling a sound effect light array, and electronic equipment. Background Art
[0002] The advanced audio system of the advanced audio system controls the multi-channel audio system and the sound effect light system of the audio system. The advanced audio system combines sound effects with lighting effects, aiming to provide users with an immersive audio-visual experience through precise control and coordination. However, there are many difficulties in integrating the advanced audio system with the advanced sound effect light system: 1) The sound effect light system is difficult to manage uniformly due to heterogeneous systems, interfaces, and sound effect light modules; 2) The associated calculation of lighting effects and sound effects has artistic elements, and collaborative quantification and optimization are difficult; 3) Multiple sound effect light arrays cannot effectively collaborate to respond to sound effects; 4) There are multiple communication interfaces in the sound effect light array, and interface compatibility and interface reuse are difficult; 5) The number and shape constraints of the sound effect light system limit the presentation of lighting effects. Summary of the invention
[0003] The present invention provides a method and system for controlling a sound effect lamp array, and an electronic device, which can effectively manage the sound effect lamps and achieve more flexible lighting effects.
[0004] In one aspect of the present invention, a method for controlling a sound effect light array is provided. The method includes: calculating a fused virtual sound effect light array of multiple virtual sound effect lights; acquiring a fused communication interface of a physical sound effect light array corresponding to the fused virtual sound effect light array according to a correspondence between virtual sound effect lights and physical sound effect lights; configuring the fused virtual sound effect light array to the fused communication interface; and distributing the sound effect light data of the fused virtual sound effect light array to the physical sound effect light array through the fused communication interface.
[0005] In another aspect of the present invention, a system for controlling a sound effect light array is provided. The system includes: a virtual sound effect light array processing engine configured to calculate a fused virtual sound effect light array of multiple virtual sound effect lights; a virtual sound effect light array driving engine configured to obtain a fused communication interface of a physical sound effect light array corresponding to the fused virtual sound effect light array according to a correspondence between virtual sound effect lights and physical sound effect lights; configure the fused virtual sound effect light array to the fused communication interface; and distribute the sound effect light data of the fused virtual sound effect light array to the physical sound effect light array through the fused communication interface.
[0006] In another aspect of the present invention, an electronic device is provided, which includes a memory configured to store an executable program and one or more processors configured to execute the program to perform the above-mentioned method for controlling the sound effect light array.
[0007] According to the present invention, a fused virtual sound effect light array of multiple virtual sound effect lights is calculated, and the fused communication interface of the physical sound effect light array corresponding to the fused virtual sound effect light array is obtained according to the corresponding relationship between the virtual sound effect lights and the physical sound effect lights, and the fused virtual sound effect light array is configured to the fused communication interface, and the sound effect light data of the fused virtual sound effect light array is distributed to the physical sound effect light array through the fused communication interface. In this way, multiple sound effect light layers are fused into one layer by calculating the fused virtual sound effect light array, thereby improving the flexibility and design freedom of the sound effect lights. The sound effect light data is distributed through the fused communication interface, which solves the compatibility problems of heterogeneous systems, interfaces, and sound effect light modules, realizes the unified management of sound effect lights, and effectively collaborates to respond to sound effects, thereby effectively managing sound effect lights and realizing more flexible lighting effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 is a flowchart of the steps of a method for controlling a sound effect light array according to an embodiment of the present invention; Figure 2 is a control flow chart of a method for controlling a sound effect light array according to an embodiment of the present invention; Figure 3 A flow chart of calculation of a fused virtual sound effect light array of a method for controlling a sound effect light array according to an embodiment of the present invention; Figure 4 A flowchart of sound effect light data transformation of a method for controlling a sound effect light array according to an embodiment of the present invention; Figure 5 A control schematic diagram of a method for controlling a sound effect light array according to an embodiment of the present invention; Figure 6 A schematic diagram of coloring and mapping virtual lighting effects and physical lighting effects according to a method for controlling a sound effect lighting array according to an embodiment of the present invention; Figure 7 is a schematic diagram of the structure of a system for controlling a sound effect light array according to an embodiment of the present invention; Figure 8 FIG. 4 is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0009] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in combination with the implementation modes and the accompanying drawings.
[0010] In the existing technology, there are many difficulties in integrating advanced audio systems with advanced sound effect lighting systems: 1) Sound effect lighting systems are difficult to manage in a unified manner due to heterogeneous systems, interfaces, and sound effect lighting modules; 2) The associated calculation of lighting effects and sound effects involves artistic elements, making collaborative quantification and optimization difficult; 3) Multiple sound effect lighting arrays cannot effectively collaborate to respond to sound effects; 4) Sound effect lighting arrays have multiple communication interfaces, making interface compatibility and interface reuse difficult; 5) The number and shape constraints of sound effect lighting systems limit the presentation of lighting effects.
[0011] In order to solve at least the above technical problems, the present disclosure provides a method for controlling a sound effect light array. According to the present disclosure, a fused virtual sound effect light array of multiple virtual sound effect lights is calculated, and a fused communication interface of a physical sound effect light array corresponding to the fused virtual sound effect light array is obtained according to the correspondence between the virtual sound effect lights and the physical sound effect lights, and the fused virtual sound effect light array is configured to the fused communication interface, and the sound effect light data of the fused virtual sound effect light array is distributed to the physical sound effect light array through the fused communication interface. In this way, multiple sound effect light layers are fused into one layer by calculating the fused virtual sound effect light array, which improves the flexibility and design freedom of the sound effect light. The sound effect light data is distributed through the fused communication interface, which solves the compatibility problems of heterogeneous systems, interfaces, and sound effect light modules, realizes the unified management of sound effect lights, and effectively collaborates to respond to sound effects, thereby effectively managing sound effect lights and realizing more flexible lighting effects.
[0012] According to the embodiments of the present disclosure, a double-layer structure of processing and driving of the sound effect light array is adopted. The processing engine calculates multiple virtual sound effect light objects to obtain a virtual sound effect light array. This process involves calculations at an abstract level (the combination and layering of light effects, and the mapping and conversion relationship of physical light effects), which improves the flexibility and design freedom of the sound effect light. The driving engine manages multiple virtual sound effect light arrays, multiple physical sound effect light arrays, and the correspondence between sound effect light layer objects and physical sound effect light arrays. The driving engine solves the compatibility issues of heterogeneous systems, interfaces, and sound effect light modules.
[0013] Hereinafter, the technical solution according to the present disclosure will be described with reference to specific embodiments and in conjunction with the accompanying drawings.
[0014] Figure 1 1 is a flow chart showing a method 100 for controlling a sound effect light array according to an embodiment of the present disclosure. Figure 1 The method 100 includes the following steps 102 to 108.
[0015] In step 102, a fused virtual sound effect light array of multiple virtual sound effect lights is calculated.
[0016] In some embodiments, starting from the root node of the lighting effect scene graph, all sound effect objects are recursively traversed. During the traversal process, the properties and transformation information of each sound effect object are obtained. During the traversal process, various transformations are applied to calculate and update the position and color of the sound effect object in the virtual sound effect light array through matrix operations, and the transformations include translation, scaling, and rotation. In addition, during the traversal process, the sound effect objects of each layer are drawn in order from back to front to achieve a layered superposition effect. In this way, by traversing the sound effect objects and applying various transformations, a layered superposition effect is achieved, which improves the flexibility of the lighting effect.
[0017] In some embodiments, special effect transformation parameters are obtained, and special effect transformations of multiple virtual sound effect lights are controlled based on the special effect transformation parameters to obtain multiple virtual sound effect lights with updated sound effect light data. In addition, the multiple virtual sound effect lights with updated sound effect light data are fused to obtain a fused virtual sound effect light array. In this way, the sound effect light special effects are applied to the virtual sound effect lights in real time, thereby improving the flexibility and design freedom of the sound effect lights.
[0018] In some embodiments, the virtual sound effect light includes a sound effect light block object, a sound effect light layer object and a sound effect light object. The sound effect light object is the smallest granularity unit, and a plurality of logically associated sound effect light objects constitute the sound effect light block object, and a plurality of logically associated sound effect light block objects constitute the sound effect light layer object. In some embodiments, the sound effect light block object stores and controls the combined shape of a plurality of sound effect light objects, and the combined shape is a light effect combined shape constructed by combining basic light effect shapes. In some embodiments, the sound effect light layer object stores and controls the combined shape of a plurality of sound effect light block objects or sound effect light objects. In some embodiments, the sound effect light block object and the sound effect light layer object can be understood as a combined shape. In some embodiments, the fused virtual sound effect light array is stored in the sound effect light layer object.
[0019] In some embodiments, the sound effect light data of the sound effect light block object in the multiple virtual sound effect lights is transformed according to the special effect transformation parameters, and the sound effect light data of the sound effect light layer object in the multiple virtual sound effect lights is transformed according to the special effect transformation parameters. In addition, if the stop light effect transformation information is received, the transformation is stopped. In some embodiments, the sound effect light data includes a position, a brightness value, and a color value. In this way, the sound effect light data is transformed layer by layer so that the sound effect light array can better cooperate and respond to the sound effect.
[0020] In some embodiments, the special effect transformation parameters include special effect parameters, time intervals, and transformation functions. In some embodiments, within the time interval, the transformation function is used to calculate dynamic special effect parameters according to the special effect parameters, and the dynamic special effect parameters are used to update the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights. In this way, within the time interval, the transformation function is used to calculate dynamic special effect parameters according to the special effect parameters, and the dynamic special effect parameters are used to update the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights, thereby achieving the coordinated quantification of lighting effects and sound effects.
[0021] In some embodiments, in the time interval, a linear easing function is used to calculate dynamic special effect parameters according to the special effect parameters. In this way, the linear easing function changes at a fixed speed, which is suitable for scenes requiring uniform speed changes and is simple to implement.
[0022] In some embodiments, a nonlinear easing function is used to calculate dynamic special effect parameters according to the special effect parameters within the time interval. In some embodiments, the formula of the nonlinear easing function is expressed as: special effect parameter-Now=easing function (special effect parameter-last), where Now represents the special effect parameter at the current moment, and last represents the special effect parameter at the previous moment. In this way, the nonlinear easing function makes the lighting effect more natural and dynamic.
[0023] In step 104, a fusion communication interface of the physical sound effect light array corresponding to the fused virtual sound effect light array is obtained according to the correspondence between the virtual sound effect light and the physical sound effect light.
[0024] In some embodiments, based on the mapping relationship between the virtual sound effect light array and the physical sound effect light array, a standard communication interface for the physical sound effect light array is obtained to achieve the underlying communication coupling between the fused virtual sound effect light array and the physical sound effect light array.
[0025] In some embodiments, the communication type is obtained, and the fusion communication interface of the physical sound effect light array corresponding to the fusion virtual sound effect light array is obtained according to the correspondence between the virtual sound effect light and the physical sound effect light array and the communication type. In this way, the fusion communication interface is a software-defined standard communication interface, which is implemented for multiple communication types. Therefore, by detecting and obtaining the communication type, the corresponding standard communication interface can be obtained, which realizes the coupling of the virtual lighting effect framework and the underlying communication, so that the virtual lighting effect framework can support more communication interfaces.
[0026] In step 106, the fused virtual sound effect light array is configured to the fused communication interface. In some embodiments, the fused communication interface supports audio communication interfaces such as SPI / I2C / PWM.
[0027] In step 108, the sound effect light data of the fused virtual sound effect light array is distributed to the physical sound effect light array through the fused communication interface. In this way, the compatibility problem of heterogeneous systems, interfaces, and sound effect light modules when controlling the sound effect light array is solved, and unified management is achieved.
[0028] In some embodiments, the method 100 may also include: obtaining other supported physical sound effect light arrays; calculating a fused virtual sound effect light array of the multiple virtual sound effect lights corresponding to the other physical sound effect light arrays; obtaining a fused communication interface of the other physical sound effect light array corresponding to the fused virtual sound effect light array according to the correspondence between the virtual sound effect light and the other physical sound effect light arrays; configuring the fused virtual sound effect light array to the fused communication interface; and using the fused communication interface to distribute the sound effect light data of the fused virtual sound effect light array to the other physical sound effect light arrays through the underlying communication interface, so that the other physical sound effect light arrays apply the sound effect light data. In this way, driving the linkage of sound effect lights of multiple devices, such as the linkage of light effects of multiple stereo speakers in a home, the linkage of light effects of stereo speakers in a car's smart cockpit, or the linkage of atmosphere lights, can effectively increase the overall sense.
[0029] In some embodiments, the method 100 may also include: obtaining the fused virtual sound effect light array, including: using a sound effect light block object to manage multiple virtual sound effect light objects to manage the combined shape of multiple virtual sound effect lights; using a sound effect light layer object to manage multiple sound effect light block objects or multiple virtual sound effect light objects to manage the composite shape of multiple virtual sound effect lights; and fusing the sound effect light layer object to obtain the fused virtual sound effect light array.
[0030] Hereinafter, the application scenarios of the method and device for controlling the sound effect light array according to the embodiments of the present invention will be described by examples. The above-mentioned method for controlling the sound effect light array of the present invention can be applied to products such as SoundBar atmosphere lights, stereo atmosphere lights or car smart cockpit audio atmosphere lights, wherein the active chip CPU and IO control port implement the lighting effect control of the atmosphere lights.
[0031] Figures 2 to 4 FIG. 4 is a flow chart showing a method for controlling a sound effect light array according to an embodiment of the present invention. Figure 2 The method includes the following steps 201 to 205.
[0032] In step 201, a fused virtual sound effect light array of multiple virtual sound effect lights is calculated.
[0033] In some embodiments, reference Figure 3 , specifically including the following steps (1) to (3).
[0034] (1) Obtaining special effect transformation parameters. In some embodiments, the special effect transformation parameters include special effect parameters, time intervals, and transformation functions.
[0035] (2) Controlling the special effect transformation of multiple virtual sound effect lights based on the special effect transformation parameters to obtain multiple virtual sound effect lights with updated sound effect light data. In some embodiments, the virtual sound effect light includes a sound effect light block object, a sound effect light layer object, and a sound effect light object. Figure 4 , specifically including the following steps (2-1) to (2-2).
[0036] (2-1) transforming the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights according to the special effect transformation parameters, and transforming the sound effect light data of the sound effect light layer objects in the multiple virtual sound effect lights according to the special effect transformation parameters.
[0037] In some embodiments, transforming the sound effect light data of the sound effect light block objects in multiple virtual sound effect lights according to the special effect transformation parameters includes: within a time interval, using a transformation function to calculate dynamic special effect parameters according to the special effect parameters, and using the dynamic special effect parameters to update the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights.
[0038] In some embodiments, within the time interval, calculating the dynamic special effect parameters according to the special effect parameters using the transformation function includes: within the time interval, calculating the dynamic special effect parameters according to the special effect parameters using a nonlinear easing function or a linear easing function.
[0039] (2-2) If the stop lighting effect change message is received, the change is stopped.
[0040] (3) The multiple virtual sound effect lights with updated sound effect light data are merged to obtain a merged virtual sound effect light array.
[0041] In some embodiments, the sound effect light layer object is used to construct a light effect scene graph according to a hierarchical structure. The light effect scene graph can adopt a tree structure, each node represents a sound effect object, and the relationship between nodes represents a parent-child relationship or a sibling relationship. Specifically, the following steps (1) to (4) are included.
[0042] (1) Starting from the root node of the lighting effect scene graph, recursively traverse all sound effect objects.
[0043] (2) For the traversed sound effect object, obtain the properties and transformation information of the sound effect object.
[0044] (3) For the traversed sound effect object, various transformations (such as translation, scaling, and rotation) are applied to calculate and update the position and color of the sound effect object in the fused virtual sound effect light array. The transformation can be achieved through matrix operations.
[0045] (4) During the traversal process, it is necessary to draw the sound effect objects at each level in order from back to front to achieve the effect of layered superposition.
[0046] In some embodiments, step 201 can also be replaced by: using a sound effect light block object to manage multiple virtual sound effect light objects to manage the combined shape of multiple virtual sound effect lights; using a sound effect light layer object to manage multiple sound effect light block objects or multiple virtual sound effect light objects to manage the composite shape of multiple virtual sound effect lights; and fusing the sound effect light layer objects to obtain a fused virtual sound effect light array.
[0047] In step 202, the communication type is obtained.
[0048] In step 203, the fusion communication interface of the physical sound effect light array corresponding to the fused virtual sound effect light array is obtained according to the correspondence between the virtual sound effect light and the physical sound effect light array and the communication type.
[0049] In step 204, the fused virtual sound effect light array is configured to the fused communication interface.
[0050] In step 205, the sound effect light data of the fused virtual sound effect light array is distributed to the physical sound effect light array through the fused communication interface.
[0051] In some embodiments, steps 202 to 204 can also be replaced by: based on the mapping relationship between the virtual sound effect light array and the physical sound effect light array, obtaining a standard communication interface for the physical sound effect light array to achieve the underlying communication coupling between the fusion virtual sound effect light array and the physical sound effect light array.
[0052] Figure 5 1 is a control schematic diagram showing a method for controlling a sound effect light array according to an embodiment of the present invention. Figure 5 As shown, multiple logically associated sound effect light objects constitute a sound effect light block object, multiple logically associated sound effect light block objects constitute a sound effect light layer object, and multiple logically associated sound effect light layer objects constitute a virtual sound effect light. The virtual sound effect light array processing engine processes and transforms the virtual sound effect light, and the virtual sound effect light array driving engine obtains the fused virtual sound effect light array of the virtual sound effect light array processing engine, obtains the fused communication interface of the physical sound effect light array, and distributes the sound effect light data to the physical sound effect light array, and the physical sound effect light array makes an equivalent response according to the sound effect light data.
[0053] Figure 5 There are also application scenarios where multiple devices' sound effects and lights are linked, which may specifically include the following steps (1) to (5).
[0054] (1) Distinguish the sound channels and extract the sound features of interest. The sound features of interest can be converted into physical lighting effects, such as traditional drum beats, AI drum beats, male and female voices, etc.
[0055] (2) Differentiate physical audio equipment and construct multiple groups of sound effect light block objects. One physical audio equipment corresponds to one group of sound effect light block objects.
[0056] (3) Distinguish the sound channels and distribute the sound features of interest to the corresponding set of sound effect light block objects.
[0057] (4) Distinguish the sound channels and perform coloring and mapping calculations for a group of sound effect light block objects.
[0058] (5) Differentiate audio channels and drive the lighting effects of multiple physical audio devices.
[0059] Figure 6 2 is a schematic diagram showing the coloring and mapping of virtual lighting effects and physical lighting effects according to a method for controlling a sound effect lighting array according to an embodiment of the present invention. Figure 6 As shown, Figure 6 In the virtual light strip abstraction, the physical light strip is abstracted into a three-layer sound effect light block object. The sound effect light block object contains the sound effect light layer object, and the virtual light strip is abstracted into the sound effect light layer object. The layered (three-layer) operation can simplify the complex lighting effect requirements to the operation of the one-dimensional virtual light object. The three-layer sound effect light block object can perform independent light strip coloring and light strip on and off control. After the above abstract calculation is completed, the three-layer sound effect light block object is fused and mapped to the physical sound effect light array to achieve the lighting effect.
[0060] According to yet another aspect of the present invention, a system for controlling a sound effect light array is provided. Figure 7 FIG. 1 is a schematic diagram of a system for controlling a sound effect light array according to an embodiment of the present invention. Figure 7 As shown, the system for controlling the sound effect light array includes a virtual sound effect light array processing engine 302 and a virtual sound effect light array driving engine 304 .
[0061] The virtual sound effect light array processing engine 302 is configured to calculate a fused virtual sound effect light array of multiple virtual sound effect lights.
[0062] The virtual sound effect light array driving engine 304 is configured to obtain the fusion communication interface of the physical sound effect light array corresponding to the fused virtual sound effect light array according to the correspondence between the virtual sound effect light and the physical sound effect light. The virtual sound effect light array driving engine 304 is configured to configure the fused virtual sound effect light array to the fusion communication interface. In addition, the virtual sound effect light array driving engine 304 is configured to distribute the virtual sound effect light data of the fused virtual sound effect light array to the physical sound effect light array through the fusion communication interface.
[0063] It should be understood that the virtual sound effect light array processing engine and the virtual sound effect light array driving engine can be further configured to execute the corresponding steps or actions in the method 100 described above, which will not be repeated here.
[0064] According to yet another aspect of the present invention, Figure 8 4 is a schematic diagram showing an electronic device 400 according to an embodiment of the present invention. Figure 8 The electronic device 400 includes a memory 402 and one or more processors 404. An executable program is stored in the memory 402 and can be run on the processor 404. When the processor 404 executes the executable program, the method for controlling the sound effect light array as described above is implemented.
[0065] In some embodiments, the electronic device may include a SoundBar ambient light, a stereo ambient light, or a car smart cockpit audio ambient light, etc. The main control chip CPU and the IO control interface implement the lighting effect control of the ambient light.
[0066] As an independent solution, this solution does not rely on software modules of other operating systems and can theoretically be integrated into any operating system.
[0067] In summary, the method and system for controlling the sound effect light array provided by the present invention, and the electronic device calculate the fused virtual sound effect light array of multiple virtual sound effect lights, obtain the fused communication interface of the physical sound effect light array corresponding to the fused virtual sound effect light array according to the corresponding relationship between the virtual sound effect light and the physical sound effect light, configure the fused virtual sound effect light array to the fused communication interface, and distribute the sound effect light data of the fused virtual sound effect light array to the physical sound effect light array through the fused communication interface, so as to fuse multiple sound effect light layers into one layer by calculating the fused virtual sound effect light array, thereby improving the flexibility and design freedom of the sound effect light, distributing the sound effect light data through the fused communication interface, solving the compatibility problem of heterogeneous systems, interfaces, and sound effect light modules, realizing the unified management of the sound effect lights, effectively cooperating and responding to the sound effects, thereby effectively managing the sound effect lights, and realizing more flexible lighting effects. Moreover, within the time interval, the dynamic special effect parameters are calculated according to the special effect parameters using the transformation function, and the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights are updated using the dynamic special effect parameters, thereby realizing the coordinated quantification of the lighting effect and the sound effect. In addition, within the time interval, the dynamic special effect parameters are calculated according to the special effect parameters using the transformation function, and the dynamic special effect parameters are used to update the sound effect light data of the sound effect light block objects in various virtual sound effect lights, thereby realizing the coordinated quantification of lighting effects and sound effects.
[0068] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for controlling a sound effect light array, characterized in that: include: Calculate a fused virtual sound effect light array of multiple virtual sound effect lights; Acquire a fusion communication interface of a physical sound effect light array corresponding to the fused virtual sound effect light array according to a correspondence between the virtual sound effect light and the physical sound effect light; Configuring the fused virtual sound effect light array to the fused communication interface; as well as The sound effect light data of the fused virtual sound effect light array is distributed to the physical sound effect light array through the fused communication interface.
2. The method according to claim 1, characterized in that: Also includes: Acquiring the fused virtual sound effect light array includes: Use the sound effect light block object to manage multiple virtual sound effect light objects to manage the combined shapes of multiple virtual sound effect lights; Using a sound effect light layer object to manage multiple sound effect light block objects or multiple virtual sound effect light objects to manage compound shapes of multiple virtual sound effect lights; and The sound effect light layer objects are merged to obtain the merged virtual sound effect light array.
3. The method according to claim 1, characterized in that The fusion communication interface for obtaining the physical sound effect light array corresponding to the fused virtual sound effect light array according to the correspondence between the virtual sound effect light and the physical sound effect light includes: According to the mapping relationship between the virtual sound effect light array and the physical sound effect light array, a standard communication interface for the physical sound effect light array is obtained to realize the underlying communication coupling between the fused virtual sound effect light array and the physical sound effect light array.
4. The method according to claim 1, characterized in that: The fusion virtual sound effect light array for calculating multiple virtual sound effect lights includes: Starting from the root node of the lighting effect scene graph, recursively traverse all sound effect objects; During the traversal process, obtain the properties and transformation information of each sound effect object; During the traversal process, various transformations are applied to calculate and update the position and color of the sound effect object in the virtual sound effect light array through matrix operations, wherein the transformations include translation, scaling, and rotation; and During the traversal process, the sound effect objects of each layer are drawn in order from back to front to achieve the effect of layered superposition.
5. The method according to claim 1, characterized in that The fusion virtual sound effect light array for calculating multiple virtual sound effect lights includes: Get special effect transformation parameters; Controlling the special effect transformation of multiple virtual sound effect lights based on the special effect transformation parameters to obtain multiple virtual sound effect lights with updated sound effect light data; and The multiple virtual sound effect lights that update the sound effect light data are merged to obtain a merged virtual sound effect light array.
6. The method according to claim 5, characterized in that The virtual sound effect lamp includes a sound effect lamp block object and a sound effect lamp layer object, wherein the special effect transformation of multiple virtual sound effect lamps is controlled based on the special effect transformation parameters, and the multiple virtual sound effect lamps with updated sound effect lamp data include: transforming the sound effect light data of the sound effect light block object in the plurality of virtual sound effect lights according to the special effect transformation parameters, and transforming the sound effect light data of the sound effect light layer object in the plurality of virtual sound effect lights according to the special effect transformation parameters; and If the information for stopping the lighting effect change is received, the change is stopped.
7. The method according to claim 6, characterized in that The special effect transformation parameters include special effect parameters, time intervals and transformation functions; Transforming the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights according to the special effect transformation parameters includes: In the time interval, the transformation function is used to calculate dynamic special effect parameters according to the special effect parameters, and the dynamic special effect parameters are used to update the sound effect light data of the sound effect light block objects in the multiple virtual sound effect lights.
8. The method according to claim 7, characterized in that In the time interval, calculating the dynamic special effect parameter according to the special effect parameter by using the transformation function includes: In the time interval, a linear easing function is used to calculate dynamic special effect parameters according to the special effect parameters.
9. The method according to claim 7, characterized in that: In the time interval, calculating the dynamic special effect parameter according to the special effect parameter by using the transformation function includes: In the time interval, a nonlinear easing function is used to calculate dynamic special effect parameters according to the special effect parameters.
10. The method according to claim 1, characterized in that The fusion communication interface for obtaining the physical sound effect light array corresponding to the fused virtual sound effect light array according to the correspondence between the virtual sound effect light and the physical sound effect light includes: Obtain the type of communication; and According to the correspondence between the virtual sound effect light and the physical sound effect light array and the communication type, the fusion communication interface of the physical sound effect light array corresponding to the fused virtual sound effect light array is obtained.
11. The method according to claim 1, characterized in that Also includes: Get other supported physical sound effect light arrays; Calculating a fused virtual sound effect light array of the plurality of virtual sound effect lights corresponding to the other physical sound effect light arrays; Acquire the fusion communication interface of the other physical sound effect light array corresponding to the fused virtual sound effect light array according to the correspondence between the virtual sound effect light and the other physical sound effect light array; Configuring the fused virtual sound effect light array to the fused communication interface; as well as The fused communication interface is used to distribute the sound effect light data of the fused virtual sound effect light array to the other physical sound effect light arrays through the underlying communication interface, so that the other physical sound effect light arrays apply the sound effect light data.
12. A system for controlling a sound effect light array, characterized in that: include: A virtual sound effect light array processing engine configured to calculate a fused virtual sound effect light array of a plurality of virtual sound effect lights; as well as The virtual sound effect light array driver engine is configured as: Acquire a fusion communication interface of a physical sound effect light array corresponding to the fused virtual sound effect light array according to a correspondence between the virtual sound effect light and the physical sound effect light; Configuring the fused virtual sound effect light array to the fused communication interface; as well as The sound effect light data of the fused virtual sound effect light array is distributed to the physical sound effect light array through the fused communication interface.
13. An electronic device, characterized in that: include: a memory configured to store an executable program; as well as One or more processors configured to execute the program to perform the method according to any one of claims 1 to 11.