Real-time master-slave sound control system of stage lamp
By adopting a real-time master-slave sound control system in the stage lighting system and using DMX data transmission lines and audio acquisition modules for spectrum analysis, real-time response to lighting effects is achieved, which solves the problem in existing technology of being unable to adjust lighting according to real-time changes in external sounds. Enriched lighting expressions.
Patent Information
- Application Number
- CN202310178896.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing sound control systems of multiple stage lighting fixtures cannot be dynamically adjusted according to real-time changes in external environmental sounds. Sound is only used as a medium to trigger control instructions and cannot truly realize real-time response to the lighting.
A real-time master-slave sound control system for stage lighting is used to connect at least two lighting fixtures through DMX data transmission lines. One of the lighting fixtures serves as the host and the other as the slave. The host contains an audio acquisition module and a processor to periodically collect environmental sounds. And perform spectrum analysis to control the light source lighting mode in real time. The slave machine adjusts the target state of its preset frequency band according to the received audio source data to synchronize the lighting effect.
It realizes the real-time master-slave voice control effect of stage lighting, and can dynamically adjust the lighting effect according to changes in environmental sounds, enriching the expression of sound and lighting, without the need for pre-recorded sound and scene matching.
Smart Images

Figure CN118574281A
Abstract
Description
Technical Field
[0001] The invention relates to the field of stage lamps, and in particular to a voice-controlled master-slave method for stage lamps. Background Art
[0002] Stage lighting is increasingly used in the field of stage and entertainment. Due to program requirements, it is generally necessary to arrange multiple lamps for joint performance. The control of this type of joint performance of multiple lamps mainly uses a professional console to control all lamps. The control method is generally that the console sends lamp head control instructions to each lamp.
[0003] With the development of society, the combination of sound and light has begun to appear more and more, that is, the sound control of lamps. The existing joint sound control of multiple lamps, that is, the light emission of each lamp can change rhythmically with the sound playback, is mainly a control box with an audio acquisition module used in combination with multiple lamps, the control box is the host, and the multiple lamps are slaves. The control box is used to receive media source files (such as mp3 files), and at the same time, it has built-in arranged light scenes corresponding to the media source files. When the media source files are received, the control box sends the corresponding light scene instructions to all lamps to achieve the master-slave sound control effect of multiple lamps. However, this method of implementing the sound control of multiple lamps requires setting the light control scene that is highly corresponding to the media source file in advance. Therefore, in this master-slave sound control method, the sound is actually only a medium for triggering the control box to send the light control instruction, and does not directly affect the multiple slave lamps, and it is also impossible to truly change the master-slave sound control in real time according to the changes in the sound of the external environment. Summary of the invention
[0004] The object of the present invention is to provide a real-time master-slave voice control system for stage lighting fixtures, so as to achieve the real-time master-slave voice control effect of stage lighting fixtures.
[0005] To achieve the above object, the present invention adopts the following technical solutions: A real-time master-slave sound control system for stage lamps, comprising at least two stage lamps provided with light sources, wherein the at least two stage lamps are connected in parallel via a DMX data transmission line; of the at least two stage lamps, only one is a host lamp, and the rest are slave lamps; the host lamp comprises an audio acquisition module, a processor connected to the audio acquisition module and the light source; the slave lamp comprises a slave processor, and a light source connected to the slave processor; the audio acquisition module periodically acquires ambient sound to obtain a sound source signal; The processor performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle of the full frequency band and sends it to the slave lamp, then saves the valid value of the current cycle corresponding to at least one host preset frequency band, and confirms the target state of each host preset frequency band according to the valid value of the current cycle of each host preset frequency band; the target state of each host preset frequency band includes a host lamp non-triggering state and a host lamp triggering state, each of the host preset frequency bands is associated with at least one light source of the host lamp, and the processor controls the light source associated with each host preset frequency band in real time according to the target state of each host preset frequency band to emit light according to the corresponding host lamp light-emitting mode, the host lamp light-emitting mode corresponding to the host lamp triggering state is the change of the light-emitting effect of the light source of the host lamp, and the change process of the host lamp in the triggered state is different from the change process of the host lamp in the non-triggering state; The slave processor of each slave lamp first confirms the relationship between the valid sound source data combination and at least one slave preset frequency band of its own according to the received valid sound source data combination, and then confirms the target state of at least one slave preset frequency band of the slave lamp to which it belongs; the target state of the slave preset frequency band includes a slave lamp non-trigger state and a slave lamp trigger state, each slave preset frequency band is associated with at least one light source of the slave lamp to which it belongs, and each slave processor controls the light source associated with each slave preset frequency band in real time according to the target state of its own slave preset frequency band to emit light according to the corresponding slave lamp light-emitting mode, the slave lamp light-emitting mode corresponding to the slave lamp trigger state is a change in the light-emitting effect of the light source of the slave lamp, and the change process of the slave lamp in the triggered state is different from the change process of the slave lamp in the non-trigger state.
[0006] Optionally, performing spectrum analysis and data processing on the sound source signal, confirming the valid sound source data combination of the current period in the full frequency band and sending it to the slave lamp, includes: Get the audio parameters stored in the current cycle and the most recent preset number of cycles, confirm the effective value and real-time reference value of each frequency band in the full frequency band, and summarize and send them to the slave lamps.
[0007] Optionally, the step of confirming the target state of each host preset frequency band according to the effective value of the current period of each host preset frequency band includes: When the effective value of the host preset frequency band in the current cycle is greater than its corresponding real-time reference value, confirming that the target state of the host preset frequency band is the host lamp triggering state; When the effective value of the host preset frequency band in the current cycle is less than the real-time reference value, it is confirmed that the target state of the host preset frequency band is the non-triggering state of the host lamp.
[0008] Optionally, the host preset frequency band is at least one host frequency band specified by a user; Accordingly, the processor performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle of the full frequency band and sends it to the slave lamp, and then saves the valid value of the current cycle corresponding to at least one host preset frequency band, and confirms the target state of each host preset frequency band according to the valid value of the current cycle, including: The processor performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle of the full frequency band and sends it to the slave lamp, and saves the valid value of the current cycle corresponding to at least one host frequency band specified by the user, and confirms the target state of each user-specified host frequency band according to the valid value of the current cycle.
[0009] Optionally, the slave processor of each slave lamp first confirms the relationship between the valid sound source data combination and at least one slave preset frequency band of itself according to the received valid sound source data combination, and then confirms the target state of at least one slave preset frequency band of the slave lamp to which it belongs; including: When the valid sound source data combination does not include the valid value and real-time reference value of the frequency band corresponding to the preset frequency band of the slave, confirming that the target state of the preset frequency band of the slave is the non-trigger state of the slave lamp; When the effective sound source data combination includes the effective value and the real-time reference value of the frequency band corresponding to the preset frequency band of the slave, but the effective value is less than the real-time reference value, it is confirmed that the target state of the preset frequency band of the slave is the non-trigger state of the slave lamp; When the effective sound source data combination includes the effective value and the real-time reference value of the frequency band corresponding to the slave preset frequency band, and when the effective value is greater than the real-time reference value, it is confirmed that the target state of the slave preset frequency band is the slave lamp trigger state.
[0010] Optionally, the slave preset frequency band is at least one slave frequency band specified by a user; Correspondingly, the slave processor of each slave lamp confirms the target state of at least one slave preset frequency band of the slave lamp to which it belongs according to the valid sound source data combination, including: The slave processor of each slave lamp confirms the target state of at least one slave frequency band specified by the user of the slave lamp to which it belongs according to the valid sound source data combination.
[0011] Furthermore, the preset frequency band of the host is different from the preset frequency band of the slave.
[0012] Furthermore, the preset frequency band of the host is the same as the preset frequency band of the slave.
[0013] Furthermore, the lighting mode of the host lamp is different from the lighting mode of the slave lamp.
[0014] Furthermore, the lighting mode of the host lamp is the same as the lighting mode of the slave lamp.
[0015] Optionally, the slave preset frequency band also includes a blank frequency band, and in the blank frequency band, the host lamp also sends a DMX lighting control instruction to the slave lamp.
[0016] Optionally, the slave lamp further includes an audio acquisition module, and the slave lamp including the audio acquisition module exchanges slave-master status with the host lamp through user designation. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The present invention is further described in detail below based on the accompanying drawings and embodiments.
[0018] Figure 1 It is a schematic diagram of the process of the present invention.
[0019] Figure 2 This is the first embodiment of the present invention.
[0020] Figure 3 Preset other frequency bands for master and slave lamps.
[0021] Figure 4 Another frequency band preset method for host and slave lamps.
[0022] Figure 5 Another frequency band preset method for the host lamp and the slave lamp.
[0023] Figure 6 This is the second embodiment of the present invention.
[0024] Figure 7 This is the third embodiment of the present invention.
[0025] The numbers in the figure are: 1-host lamp; 11-audio acquisition module; 100-DMX data transmission line; 12-processor 1; 2-slave lamp; 22-slave processor; 3-lamp N. DETAILED DESCRIPTION
[0026] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention are further described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0027] Example 1: Two lamps are used for exemplary description: As attached Figure 1-2 As shown, a real-time master-slave voice control system for stage lamps includes two stage lamps with light sources, at least two stage lamps are connected in parallel through a DMX data transmission line; among the at least two stage lamps, lamp one is a host lamp 1, and lamp two is a slave lamp 2.
[0028] The host lamp 1 includes an audio acquisition module 11 and a processor 12 connected to the audio acquisition module 11 and a light source; the slave lamp 2 includes a slave processor 22 and a light source connected to the slave processor 22; the audio acquisition module 11 periodically collects ambient sounds to obtain a sound source signal.
[0029] Processor 12 performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle in the full frequency band and sends it to the slave lamp 2. For example, take 25ms as a cycle, read the ADC value of the audio acquisition module at a frequency of 40KHZ in each cycle, and collect 1024 data as the sound source signal in one cycle. For the sound source signal acquired in each cycle, after acquisition, the sound source signal is converted into an audio signal of different frequency bands of 0-20KHz through the FFT fast Fourier transform algorithm. For example, the 1024 data mentioned above, after a 1024-point FFT operation, obtains a spectrum of 0~20KHz, and obtains the effective value and reference value of each frequency band within 0~20KHz; processor 12 sends the effective value and reference value of each frequency band within 0~20KHz to the slave lamp 2 synchronously.
[0030] The processor 12 stores the effective value of the current cycle corresponding to at least one host preset frequency band, and confirms the target state of each host preset frequency band according to the effective value of the current cycle of each host preset frequency band. The preset frequency range of the host is 20Hz~120Hz. Within this frequency range, there are two frequency bands: 20Hz~60Hz and 60Hz~120Hz. The effective value corresponding to the frequency band 20Hz~60Hz is 7, and the reference value is 6; the effective value corresponding to the frequency band 60Hz~120Hz is 5, and the reference value is 7.
[0031] When the effective value set by the processor 12 is less than the reference value, it is in the non-trigger state, and when the effective value is greater than or equal to the reference value, it is in the trigger state. Within the preset frequency band range of 20Hz~120Hz of the host lamp, the frequency band 20Hz~60Hz will be in the trigger state, and the frequency band 60Hz~120Hz will be in the non-trigger state.
[0032] Each host preset frequency band is associated with at least one light source of the host lamp 1. At this time, the processor 12 will control the light source associated with the frequency band of 20Hz~60Hz to emit light according to the corresponding host lamp lighting mode in real time.
[0033] At the same time, the slave processor 22 of the slave lamp 2 receives the effective value and reference value of each frequency band within 0~20KHz sent by the host lamp, and the preset frequency band of the slave lamp is 20Hz~60Hz. At this time, the slave processor 22 first confirms whether the effective sound source data combination contains the effective value of the frequency band 20Hz~60Hz. As can be seen from the above, the effective value corresponding to the frequency band 20Hz~60Hz is 7, and the reference value is 6. Therefore, the slave processor 22 further sets the target state of the frequency band 20Hz~60Hz. When the slave processor 22 sets the effective value to be less than the reference value, it is in the non-trigger state, and when the effective value is greater than or equal to the reference value, it is in the trigger state. Then, within the preset frequency band range of 20Hz~60Hz of the slave lamp, the frequency band 20Hz~60Hz will be in the trigger state.
[0034] The slave preset frequency band 20Hz~60Hz is associated with at least one light source of the slave lamp 2. At this time, the slave processor 22 will control the light source associated with the preset frequency band 20Hz~60Hz to emit light according to the corresponding slave lamp lighting mode in real time.
[0035] As those skilled in the art can understand, the lighting mode is a customizable lighting effect, that is, a change in the lighting effect of a light source.
[0036] In summary, the host lamp 1 presets two frequency bands of 20Hz~60Hz and 60Hz~120Hz, and the slave lamp 2 presets a frequency band of 20Hz~60Hz, that is, the preset frequency band range of the host lamp 1 includes the preset frequency band of the slave lamp. However, in the current cycle, the trigger frequency bands of the host lamp 1 and the slave lamp 2 are the same. In the actual control process, preferably, the light-emitting mode of the host lamp 1 is the same as the light-emitting mode of the slave lamp 2, that is, the light-emitting effects of the two are the same. It should be supplemented that the preset frequency band and the light-emitting mode can be freely set by the user, so even with the same trigger frequency band, the user can set it to different lighting effects.
[0037] The preset frequency band of the host lamp 1 or the slave lamp 2 can be specified by the user, so the preset frequency band of the host lamp 1 and the preset frequency band of the slave lamp can also be in the following form, but the determination process of the trigger state and the non-trigger state is the same as above.
[0038] (1) As attached Figure 3As shown, the preset frequency range of slave lamp 2 is not included in the preset frequency range of the host lamp. The preset frequency range of host lamp 1 is 20Hz~120Hz, including two frequency ranges of 20Hz~60Hz and 60Hz~120Hz; slave lamp 2 includes a preset frequency range of 120Hz~160Hz.
[0039] (2) As attached Figure 4 As shown, the preset frequency range of slave lamp 2 is not included in the preset frequency range of the host lamp. The preset frequency range of host lamp 1 is 20Hz~120Hz, including 20Hz~60Hz and 60Hz~120Hz; the preset frequency range of slave lamp 2 is 120Hz~240Hz, including 120Hz~180Hz and 180-240Hz.
[0040] (3) As attached Figure 5 As shown, the preset frequency range of the slave lamp 2 is exactly the same as the preset frequency range of the host lamp 1, both of which are 20Hz~240Hz. When the lighting modes of the two are also set to be exactly the same, the effects of the slave lamp 2 and the host lamp are theoretically completely synchronized in real time. As people in the industry can understand, when the lighting effects of the host lamp 1 and the slave lamp 2 are completely synchronized, the error caused by the sound source signal processing may cause a slight delay in the slave lamp 2. Therefore, optionally, under this special condition, a blank frequency band can be added to the preset frequency band. Under the blank frequency band, the host lamp 1 also sends DMX lighting control instructions to the slave lamp 2, and the master-slave control mode becomes the traditional silent master-slave control. That is, when the user wants to specify that the preset frequency bands of the host lamp and the slave lamp are exactly the same, and the lighting modes are exactly the same, the user can switch to the blank frequency band to avoid real-time incomplete synchronization between the host lamp and the slave lamp.
[0041] Embodiment 2 As attached Figure 6 As shown, when the number of slave lamps is greater than 2. Compared with the first embodiment, only the number of slave lamps is increased, but the process of each slave lamp from the slave processor combining the received valid sound source data to confirming the target state of at least one slave preset frequency band is exactly the same as the slave lamp 2 mentioned above.
[0042] Embodiment 3 As attached Figure 7As shown, when the slave lamp 2 also includes the audio acquisition module 11, the slave lamp has the function of periodically collecting ambient sound to obtain the sound source signal, performing spectrum analysis and data processing on the sound source signal, so the user can specify the original slave lamp 2 to become the master lamp, and the original master lamp 1 to become the slave lamp. As can be understood by technicians in this industry, the designation of the master and slave positions is a very common setting in the field of stage lamps, which can be completed through the display panel setting of the stage lamp, so it will not be described in detail.
[0043] Compared with the traditional master-slave control method, the master-slave voice control system of the present invention has the following significant improvements: By periodically collecting ambient sounds through the audio acquisition module 11 to obtain audio source signals, and performing spectrum analysis and data processing on the audio source signals, a real-time response can be generated to random ambient sounds, that is, different real-time lighting effects can be generated according to the real-time changes in ambient sounds, without the need to pre-record the sounds or pre-record the scenes that match the sounds. At the same time, through the target state of the preset frequency band, the light source associated with each host preset frequency band is controlled in real time to emit light according to the corresponding host lamp lighting mode, so that the lighting effects of the host lamp and the slave lamp have more permutations and combinations, and the sound of different frequency bands is more abundant in the expression of lighting effects.
Claims
1. A real-time master-slave voice control system for stage lamps, comprising at least two stage lamps provided with light sources, wherein the at least two stage lamps are connected in parallel via a DMX data transmission line; of the at least two stage lamps, only one is a master lamp, and the rest are slave lamps; characterized in that: The host lamp includes an audio acquisition module, a processor connected to the audio acquisition module and a light source; the slave lamp includes a slave processor, a light source connected to the slave processor; the audio acquisition module periodically collects ambient sound to obtain a sound source signal; The processor performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle of the full frequency band and sends it to the slave lamp, then saves the valid value of the current cycle corresponding to at least one host preset frequency band, and confirms the target state of each host preset frequency band according to the valid value of the current cycle of each host preset frequency band; the target state of each host preset frequency band includes a host lamp non-triggering state and a host lamp triggering state, each of the host preset frequency bands is associated with at least one light source of the host lamp, and the processor controls the light source associated with each host preset frequency band in real time according to the target state of each host preset frequency band to emit light according to the corresponding host lamp light-emitting mode, the host lamp light-emitting mode corresponding to the host lamp triggering state is the change of the light-emitting effect of the light source of the host lamp, and the change process of the host lamp in the triggered state is different from the change process of the host lamp in the non-triggering state; The slave processor of each slave lamp first confirms the relationship between the valid sound source data combination and at least one slave preset frequency band of its own according to the received valid sound source data combination, and then confirms the target state of at least one slave preset frequency band of the slave lamp to which it belongs; the target state of the slave preset frequency band includes a slave lamp non-trigger state and a slave lamp trigger state, each slave preset frequency band is associated with at least one light source of the slave lamp to which it belongs, and the processor of each slave lamp controls the light source associated with each slave preset frequency band in real time according to the target state of its own slave preset frequency band to emit light according to the corresponding slave lamp light-emitting mode, the slave lamp light-emitting mode corresponding to the slave lamp trigger state is a change in the light-emitting effect of the light source of the slave lamp, and the change process of the slave lamp in the triggered state is different from the change process of the slave lamp in the non-trigger state.
2. A real-time master-slave voice control system for stage lighting according to claim 1, characterized in that: The performing spectrum analysis and data processing on the sound source signal, confirming the valid sound source data combination of the current cycle of the full frequency band and sending it to the slave lamp, comprises: Get the audio parameters stored in the current cycle and the most recent preset number of cycles, confirm the effective value and real-time reference value of each frequency band in the full frequency band, and summarize and send them to the slave lamps.
3. A real-time master-slave voice control system for stage lighting according to claim 1 or 2, characterized in that: The step of confirming the target state of each host preset frequency band according to the effective value of the current period of each host preset frequency band includes: When the effective value of the host preset frequency band in the current cycle is greater than its corresponding real-time reference value, confirming that the target state of the host preset frequency band is the host lamp triggering state; When the effective value of the host preset frequency band in the current cycle is less than the real-time reference value, it is confirmed that the target state of the host preset frequency band is the non-triggering state of the host lamp.
4. A real-time master-slave voice control system for stage lighting according to claim 1, characterized in that: The host preset frequency band is at least one host frequency band specified by the user; Accordingly, the processor performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle of the full frequency band and sends it to the slave lamp, and saves the valid value of the current cycle corresponding to at least one host preset frequency band, and confirms the target state of each host preset frequency band according to the valid value of the current cycle, including: The processor performs spectrum analysis and data processing on the sound source signal, confirms the valid sound source data combination of the current cycle of the full frequency band and sends it to the slave lamp, and saves the valid value of the current cycle corresponding to at least one host frequency band specified by the user, and confirms the target state of each user-specified host frequency band according to the valid value of the current cycle.
5. A real-time master-slave voice control system for stage lighting according to claim 1 or 2, characterized in that: The slave processor of each slave lamp first confirms the relationship between the valid sound source data combination and at least one slave preset frequency band of the slave lamp, and then confirms the target state of at least one slave preset frequency band of the slave lamp to which it belongs, according to the received valid sound source data combination; including: When the valid sound source data combination does not include the valid value and real-time reference value of the frequency band corresponding to the preset frequency band of the slave, confirming that the target state of the preset frequency band of the slave is the non-trigger state of the slave lamp; When the effective sound source data combination includes the effective value and the real-time reference value of the frequency band corresponding to the preset frequency band of the slave, but the effective value is less than the real-time reference value, it is confirmed that the target state of the preset frequency band of the slave is the non-trigger state of the slave lamp; When the effective sound source data combination includes the effective value and the real-time reference value of the frequency band corresponding to the slave preset frequency band, and when the effective value is greater than the real-time reference value, it is confirmed that the target state of the slave preset frequency band is the slave lamp trigger state.
6. A real-time master-slave voice control system for stage lighting according to claim 1, characterized in that: The slave preset frequency band is at least one slave frequency band specified by a user; Correspondingly, the slave processor confirms the target state of at least one slave preset frequency band of the slave lamp to which it belongs according to the valid sound source data combination, including: The slave processor confirms the target state of at least one slave frequency band specified by the user of the slave lamp to which it belongs according to the valid sound source data combination.
7. A real-time master-slave voice control system for stage lighting according to claim 4 or 6, characterized in that: The master preset frequency band is different from the slave preset frequency band.
8. A real-time master-slave voice control system for stage lighting according to claim 4 or 6, characterized in that: The master preset frequency band is the same as the slave preset frequency band.
9. A real-time master-slave voice control system for stage lighting according to claim 1, characterized in that: The lighting mode of the host lamp is different from the lighting mode of the slave lamp.
10. A real-time master-slave voice control system for stage lighting according to claim 1, characterized in that: The lighting mode of the host lamp is the same as the lighting mode of the slave lamp.
11. A real-time master-slave voice control system for stage lighting according to claim 6, characterized in that: The slave preset frequency band also includes a blank frequency band. In the blank frequency band, the host lamp also sends a DMX light control instruction to the slave lamp.
12. A real-time master-slave voice control system for stage lighting according to claim 1, characterized in that: The slave lamp further includes an audio acquisition module, and the slave lamp including the audio acquisition module exchanges the slave-master status with the host lamp through user designation.
