CN115035920A - Music lighting synchronization device, system, method, terminal and readable storage medium - Google Patents

Music lighting synchronization device, system, method, terminal and readable storage medium Download PDF

Info

Publication number
CN115035920A
CN115035920A CN202110241149.9A CN202110241149A CN115035920A CN 115035920 A CN115035920 A CN 115035920A CN 202110241149 A CN202110241149 A CN 202110241149A CN 115035920 A CN115035920 A CN 115035920A
Authority
CN
China
Prior art keywords
music
lighting
control instruction
music playing
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110241149.9A
Other languages
Chinese (zh)
Inventor
张润福
马凡
黄旭岚
林友钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leedarson Lighting Co Ltd
Original Assignee
Leedarson Lighting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leedarson Lighting Co Ltd filed Critical Leedarson Lighting Co Ltd
Priority to CN202110241149.9A priority Critical patent/CN115035920A/en
Publication of CN115035920A publication Critical patent/CN115035920A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B31/00Arrangements for the associated working of recording or reproducing apparatus with related apparatus
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The application belongs to the technical field of music lighting, and mainly provides a music lighting synchronization device, a system, a method, a terminal and a readable storage medium, wherein the music lighting synchronization device comprises: the audio acquisition module is used for acquiring an audio signal to be played; the audio analysis module is used for decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction; the music lighting control module is used for sending the lighting control instruction to lighting equipment and sending the music playing control instruction to music playing equipment so as to control the lighting equipment to play a light effect according to the lighting control instruction and control the music playing equipment to play audio to be played according to the music playing control instruction; the delay between the light effect of the lighting device and the music played by the music playing device may be reduced.

Description

Music lighting synchronization device, system, method, terminal and readable storage medium
Technical Field
The present application belongs to the technical field of music lighting, and in particular, to a music lighting synchronization apparatus, system, method, terminal, and readable storage medium.
Background
The synchronous rhythm of the light and the music can bring the extremely acousto-optic experience to the consumers, and is an important function point of illumination and entertainment.
However, there is a delay problem between the lighting effect of the current lighting device and the music played by the music playing device, which greatly affects the user experience.
Disclosure of Invention
An object of the present application is to provide a music lighting synchronization apparatus, a music lighting synchronization system, a music lighting synchronization method, a terminal, and a readable storage medium, which can reduce a delay between a light effect of a lighting device and music played by a music playing device.
A first aspect of an embodiment of the present application provides a music lighting synchronization apparatus, including:
the audio acquisition module is used for acquiring an audio signal to be played;
the audio analysis module is used for decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction;
and the music lighting control module is used for sending the lighting control instruction to lighting equipment and sending the music playing control instruction to music playing equipment so as to control the lighting equipment to play a light effect according to the lighting control instruction and control the music playing equipment to play audio to be played according to the music playing control instruction.
Optionally, the audio obtaining module includes: a first Bluetooth connection unit;
the first Bluetooth connection unit is used for establishing Bluetooth connection with a first terminal and acquiring an audio signal to be played, which is sent by the first terminal.
Optionally, the music lighting control module includes:
the computing unit is used for computing a first communication time length for sending the illumination control instruction to the illumination equipment and computing a second communication time length for sending the music playing control instruction to the music playing equipment;
the determining unit is used for determining communication time delay between the lighting equipment and the music playing equipment according to the first communication time length and the second communication time length, and determining the sending sequence and the sending time interval of the lighting control instruction and the music playing control instruction according to the communication time delay;
and the sending unit is used for sending the illumination control instruction to the illumination equipment according to the sending sequence and the sending time interval and sending the music playing control instruction to the music playing equipment.
Optionally, the music lighting control module includes: a second Bluetooth connection unit;
the second Bluetooth connection unit is used for establishing Bluetooth connection with the music playing equipment and sending the music playing control instruction to the music playing equipment.
Optionally, the music lighting control module further includes: a WiFi module;
the WiFi module is used for being connected with a wireless router and sending the illumination control instruction to the wireless router, so that the wireless router sends the illumination control instruction to the illumination equipment.
A second aspect of the embodiments of the present application provides a music lighting synchronization system, including: the system comprises a first terminal, a music lighting synchronization device, a lighting device and a music playing device;
the music lighting synchronization device is connected with the first terminal and used for acquiring an audio signal to be played sent by the first terminal and decoding and analyzing the audio signal to be played to obtain a lighting control instruction and a music playing control instruction;
the music lighting synchronization device is further connected with the lighting equipment and the music playing equipment respectively and used for sending the lighting control instruction to the lighting equipment and sending the music playing control instruction to the music playing equipment so as to control the lighting equipment to play a light effect according to the lighting control instruction and control the music playing equipment to play audio to be played according to the music playing control instruction.
A third aspect of the embodiments of the present application provides a music lighting synchronization method, where the music lighting synchronization method includes:
acquiring an audio signal to be played;
decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction;
and sending the illumination control instruction to illumination equipment, and sending the music playing control instruction to music playing equipment so as to control the illumination equipment to play a light effect according to the illumination control instruction, and control the music playing equipment to play audio to be played according to the music playing control instruction.
Optionally, the acquiring the audio signal to be played includes: and acquiring an audio signal to be played sent by the first terminal.
Optionally, the sending the lighting control instruction to a lighting device and the sending the music playing control instruction to a music playing device includes:
calculating a first communication time length for sending the illumination control instruction to the illumination equipment, and calculating a second communication time length for sending the music playing control instruction to the music playing equipment;
determining the communication time delay between the lighting equipment and the music playing equipment according to the first communication time length and the second communication time length, and determining the sending sequence and the sending time interval of the lighting control instruction and the music playing control instruction according to the communication time delay;
and sending the illumination control instruction to an illumination device according to the sending sequence and the sending time interval, and sending the music playing control instruction to a music playing device.
A fourth aspect of the embodiments of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the music lighting synchronization method according to the third aspect.
A fifth aspect of embodiments of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the music lighting synchronization method according to the third aspect.
In the embodiment of the application, before music playing, the audio signal to be played is acquired, delay between the lighting effect of the lighting device and the music played by the music playing device caused by the sound collection process is reduced, and the sound collection microphone is not influenced by environmental noise and is not required to be close to a sound source.
In addition, this application is still right treat that the broadcast audio signal carries out the analysis of decoding, after obtaining illumination control instruction and music broadcast control instruction, just will illumination control instruction sends for lighting apparatus, and will music broadcast control instruction sends for music broadcast equipment, in order to control lighting apparatus basis illumination control instruction broadcast light effect, and control music broadcast equipment basis music broadcast control instruction broadcast treats the broadcast audio frequency, promptly, after carrying out the analysis to sound signal, just control music broadcast equipment broadcast music to and control lighting apparatus broadcast light effect, reduced the delay between lighting apparatus's the light effect that sound analysis process caused and the music that music broadcast equipment broadcast.
Drawings
Fig. 1 is a schematic structural diagram of a music lighting synchronization apparatus according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a music lighting control module of a music lighting synchronization apparatus according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a first structure of a music lighting synchronization system according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a second structure of a music lighting synchronization system according to an embodiment of the present application.
Fig. 5 is a schematic implementation flowchart of a music lighting synchronization method according to an embodiment of the present application.
Fig. 6 is a flowchart illustrating a specific implementation of step 503 of the music lighting synchronization method according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a terminal provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The synchronous rhythm of the light and the music can bring the extremely acousto-optic experience to the consumers, and is an important function point of illumination and entertainment.
At present, the method is mainly realized by the following two ways: the other is that the microphone through intelligent terminals such as smart phones gathers audio signal, and the frequency and the range of the audio frequency of rethread intelligent terminal's intelligent illumination APP analysis collection change according to the frequency and the light change of range control lighting apparatus of the audio frequency that the analysis goes out again, realize music and lighting system's atmosphere integration. The other is that the microphone device of the lighting device is used for collecting the frequency and amplitude of the sound of the surrounding environment, automatically adjusting the light change of the lighting device and controlling the light change of other products in the system, so as to realize the atmosphere fusion of the music and the lighting system.
However, in both of these approaches, there is a problem of delay between the light effect of the lighting device and the music played by the music playing device due to the audio signal acquisition and analysis process. Also, in the acquisition of the audio signal, it is also susceptible to environmental noise, and it is necessary to bring the sound acquisition microphone close to the sound source.
The application provides a music lighting synchronization device, a system, a method, a terminal and a readable storage medium, which can effectively reduce the delay between the lighting effect of the lighting equipment and the music played by the music playing equipment.
Specifically, a first embodiment of the present application provides a music lighting synchronization device, which can be flexibly configured on a music playing device such as a smart speaker, and an intelligent terminal such as an intelligent lighting device, a smart phone, and a computer, and can also be integrated as a functional module on a device such as a USB.
As shown in fig. 1, the music lighting synchronization apparatus 10 may include: an audio acquisition module 11, an audio parsing module 12 and a music lighting control module 13.
The audio acquiring module 11 is configured to acquire an audio signal to be played. And the audio analysis module 12 is configured to decode and analyze the audio signal to be played to obtain an illumination control instruction and a music playing control instruction. And the music lighting control module 13 is configured to send the lighting control instruction to the lighting device, and send the music playing control instruction to the music playing device, so as to control the lighting device to play a light effect according to the lighting control instruction, and control the music playing device to play an audio to be played according to the music playing control instruction.
In this embodiment of the application, the audio obtaining module 11 obtains the audio signal to be played before the music is played, that is, it is not necessary to pick up sound through a sound microphone and perform digital signal conversion on the music analog signal, but directly obtains the digital signal corresponding to the audio to be played, so as to reduce the delay between the light effect of the lighting device and the music played by the music playing device caused by the sound collecting process.
In addition, because the application also decodes and analyzes the audio signal to be played through the music lighting control module to obtain the lighting control instruction and the music playing control instruction, the lighting control instruction is sent to the lighting device, the music playing control instruction is sent to the music playing device to control the lighting device to play the light effect according to the lighting control instruction, and the music playing device is controlled to play the audio to be played according to the music playing control instruction, namely, after the sound signal is analyzed, the music playing device is controlled to play the music, and the lighting device is controlled to play the light effect, therefore, the delay between the light effect of the lighting device and the music played by the music playing device caused by the sound analysis process can be reduced.
In this embodiment of the application, the decoding and analyzing the audio signal to be played may include: extracting the frequency, amplitude, phase and other music characteristics of the audio signal to be played, mapping the frequency, amplitude, phase and other music characteristics of the audio signal to be played into the light characteristics of the lighting equipment, such as brightness, color temperature, color and the like, through a preset temperament algorithm, and generating a lighting control instruction carrying the light characteristics.
Optionally, in some embodiments of the present application, in order to further reduce the delay between the light effect of the lighting device and the music played by the music playing device, as shown in fig. 2, the music lighting control module 13 may include: a calculation unit 31, a determination unit 32 and a transmission unit 33.
The computing unit 31 is configured to compute a first communication duration for sending the lighting control instruction to the lighting device, and compute a second communication duration for sending the music playing control instruction to the music playing device; a determining unit 32, configured to determine a communication delay between the lighting apparatus and the music playing apparatus according to the first communication duration and the second communication duration, and determine a sending sequence and a sending time interval of the lighting control instruction and the music playing control instruction according to the communication delay; a transmission unit 33 for transmitting the illumination control instruction to the illumination apparatus and the music playing control instruction to the music playing apparatus according to the transmission sequence and the transmission time interval.
Specifically, when calculating the first communication time length for transmitting the lighting control command to the lighting apparatus, the calculating unit 31 may first transmit test data of a data amount equal to the lighting control command to the lighting apparatus to determine the time required for transmitting the lighting control command to the lighting apparatus, that is, the first communication time length.
Likewise, the calculating unit 31 may also send test data of a data amount equal to the music play control instruction to the music playing device in the process of calculating the second communication time period for sending the music play control instruction to the music playing device to determine the time required for sending the music play control instruction to the music playing device, that is, the second communication time period.
In this embodiment, the first communication time duration and the second communication time duration are calculated by the calculating unit, and then the determining unit determines the communication time delay between the lighting device and the music playing device according to the first communication time duration and the second communication time duration, and determines the sending sequence and the sending time interval of the illumination control command and the music playing control command according to the communication time delay, thereby causing the lighting control instructions to be transmitted to the lighting devices according to the transmission sequence and the transmission time interval, when the music playing control instruction is sent to the music playing device, the lighting device and the music playing control instruction can simultaneously receive the corresponding control instructions, so that time delay caused by signal transmission is eliminated, and synchronization of the lighting effect played by the lighting device according to the lighting control instruction and the rhythm of the audio to be played by the music playing device according to the music playing control instruction is favorably realized.
Optionally, in some embodiments of the application, after the determining unit calculates the communication delay, the lighting effect playing time may be increased in the lighting control instruction, and the music playing control time is increased in the music playing control instruction, so that the lighting device may play the corresponding lighting effect only when the lighting effect playing time in the lighting control instruction is reached, and the music playing device may play the corresponding audio to be played only when the music playing control time is reached, so that the lighting effect played by the lighting device according to the lighting control instruction is synchronized with the rhythm of the audio to be played by the music playing device according to the music playing control instruction.
Optionally, in some embodiments of the present application, the audio obtaining module 11 may include: a first Bluetooth connection unit; the first bluetooth connection unit may be configured to establish a bluetooth connection with the first terminal and acquire an audio signal to be played sent by the first terminal.
Wherein, above-mentioned first terminal can be sound source equipment such as above-mentioned smart mobile phone, panel computer.
For example, the music lighting synchronization device is configured on a music playing device or a lighting device, and receives an audio signal to be played sent by a sound source device such as a smart phone or a tablet computer, and then decodes and analyzes the audio signal to be played to obtain a lighting control instruction and a music playing control instruction, so as to control the lighting device to play a light effect according to the lighting control instruction and control the music playing device to play an audio to be played according to the music playing control instruction.
It should be noted that, when the music playing device and the first terminal do not belong to the same terminal, the music playing control instruction may carry an audio to be played, and when the music playing device and the first terminal belong to the same terminal, the music playing control instruction may not carry the audio to be played, and the music playing device performs music playing when receiving the music playing control instruction sent by the music lighting synchronization device.
Optionally, in some embodiments of the present application, the music lighting control module 13 may further include: a second Bluetooth connection unit; the second Bluetooth connection unit is used for establishing Bluetooth connection with the music playing equipment and sending the music playing control instruction to the music playing equipment.
In the foregoing embodiment of the present application, the music playing device may be an intelligent terminal capable of playing music, such as a bluetooth sound box, a mobile phone, and a tablet computer.
In this embodiment of the application, when the music playing device and the first terminal do not belong to the same terminal, the music lighting synchronization device may establish a bluetooth connection with the first terminal first, and further establish a bluetooth connection with the music playing device, that is, support a master mode of bluetooth and a slave mode of bluetooth simultaneously.
For example, as shown in fig. 3, for a first structural diagram of a music lighting synchronization system provided in the embodiment of the present application, a user uses a first terminal 30 such as a mobile phone or a tablet computer to establish a bluetooth connection with a music lighting synchronization device 10, sends an audio to be played to the music lighting synchronization device 10, and controls the music lighting synchronizer 10 to further establish a bluetooth connection with a music playing device 20 such as a bluetooth speaker, so that after the music lighting synchronization device 10 decodes and analyzes the audio signal to be played to obtain the lighting control command and the music playing control command, lighting control instructions may be sent to the lighting device 40, and music playback control instructions may be sent to the music playback device 20, to control the lighting device 40 to play light effects according to the lighting control instructions, and controlling the music playing device 20 to play the audio to be played according to the music playing control instruction.
Optionally, in some embodiments of the present application, the music lighting control module may further include: a WiFi module; the WiFi module is used for being connected with the wireless router and sending the illumination control instruction to the wireless router, and the wireless router sends the illumination control instruction to the illumination equipment.
Specifically, as shown in fig. 4, for the second schematic structural diagram of the music lighting synchronization system provided in the embodiment of the present application, the wireless router 50 may be connected to the intelligent lighting gateway 60 through WiFi or ethernet, and the intelligent lighting gateway may be connected to lighting apparatuses having a lighting function, such as an intelligent lamp, based on a wireless communication protocol, such as WiFi, zigbee, ble mesh, Thread, and the like, so that the music lighting synchronization apparatus may send a lighting control instruction to the lighting apparatuses through the wireless router.
In the embodiment of the application, the audio signal to be played is acquired before the music is played, so that the delay between the lighting effect of the lighting equipment and the music played by the music playing equipment, which is caused by the sound collection process, is reduced, and the influence of environmental noise can not be caused, and the sound collection microphone does not need to be close to a sound source. In addition, the lighting control instruction is sent to the lighting device after the audio signal to be played is decoded and analyzed to obtain the lighting control instruction and the music playing control instruction, the music playing control instruction is sent to the music playing device to control the lighting device to play the light effect according to the lighting control instruction, the music playing device is controlled to play the audio to be played according to the music playing control instruction, namely, after the sound signal is analyzed, the music playing device is controlled to play the music, the lighting device is controlled to play the light effect, and the delay between the light effect of the lighting device and the music played by the music playing device caused by the sound analysis process is reduced.
Furthermore, in the embodiment of the present application, the music lighting synchronization apparatus may also be flexibly configured on a music playing device such as a smart speaker, and an intelligent terminal such as an intelligent lighting device, a smart phone, and a computer, and may also be integrated as a functional module on a device such as a USB.
As shown in fig. 3, a schematic structural diagram of a music lighting synchronization system according to a second embodiment of the present application includes: a first terminal 30, a music lighting synchronization device 10, a lighting apparatus 40, and a music playing apparatus 20.
The music lighting synchronization device 10 is connected with the first terminal 30, and is configured to acquire an audio signal to be played sent by the first terminal 30, and decode and analyze the audio signal to be played to obtain a lighting control instruction and a music playing control instruction; the music lighting synchronizer 10 is further connected to the lighting device 40 and the music playing device 20 respectively, and is configured to send a lighting control instruction to the lighting device 40 and a music playing control instruction to the music playing device 20, so as to control the lighting device 40 to play a light effect according to the lighting control instruction and control the music playing device 20 to play audio to be played according to the music playing control instruction; the music lighting synchronization device 10 provided in the embodiment of the present application realizes control over the music playing device and the lighting device in the local area network, and effectively reduces delay between the light effect of the lighting device and the music played by the music playing device, so that the light effect played by the lighting device is synchronized with the temperament of the audio to be played by the music playing device.
Optionally, in the music lighting synchronization system provided in the embodiment of the present application, the music lighting control module 10 may further include: a WiFi module; the WiFi module is used for being connected with the wireless router and sending the illumination control instruction to the wireless router, so that the wireless router sends the illumination control instruction to the illumination equipment.
Specifically, as shown in fig. 4, for the second schematic structural diagram of the music lighting synchronization system provided in the embodiment of the present application, the wireless router 50 may be connected to the intelligent lighting gateway 60 through WiFi or ethernet, and the intelligent lighting gateway may be connected to lighting apparatuses having a lighting function, such as an intelligent lamp, based on a wireless communication protocol, such as WiFi, zigbee, ble mesh, Thread, and the like, so that the music lighting synchronization apparatus may send a lighting control instruction to the lighting apparatuses through the wireless router.
As shown in fig. 5, a schematic diagram of an implementation flow of a music lighting synchronization method provided in a third embodiment of the present application is applied to the music lighting synchronization apparatus in the foregoing embodiments. The music lighting synchronization method may include: steps 501 to 503 are detailed as follows:
step 501, obtaining an audio signal to be played.
In this application embodiment, the above-mentioned obtaining of the audio signal to be played means that, before music playing, the audio signal to be played is obtained, that is, the audio signal to be played does not need to be picked up by a sound microphone, and digital signal conversion is performed on a music analog signal, but a digital signal corresponding to the audio signal to be played is directly obtained, so that delay between a light effect of the lighting device and music played by the music playing device, which is caused by a sound collection process, can be reduced.
Optionally, in some embodiments of the present application, acquiring the audio signal to be played may include: and acquiring an audio signal to be played sent by the first terminal.
For example, a bluetooth connection is established with the first terminal, and an audio signal to be played sent by the first terminal is acquired.
Wherein, above-mentioned first terminal can be sound source equipment such as above-mentioned smart mobile phone, panel computer.
For example, the music lighting synchronization device is configured on a music playing device or a lighting device, and receives an audio signal to be played sent by a sound source device such as a smart phone or a tablet computer, and then decodes and analyzes the audio signal to be played to obtain a lighting control instruction and a music playing control instruction, so as to control the lighting device to play a light effect according to the lighting control instruction and control the music playing device to play an audio to be played according to the music playing control instruction.
It should be noted that, when the music playing device and the first terminal do not belong to the same terminal, the music playing control instruction may carry an audio to be played, and when the music playing device and the first terminal belong to the same terminal, the music playing control instruction may not carry the audio to be played.
Step 502, decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction.
In this embodiment of the application, the decoding and analyzing the audio signal to be played may include: extracting the frequency, amplitude, phase and other music characteristics of the audio signal to be played, mapping the frequency, amplitude, phase and other music characteristics of the audio signal to be played into the light characteristics of the lighting equipment, such as brightness, color temperature, color and the like, through a preset temperament algorithm, and generating a lighting control instruction carrying the light characteristics.
Step 503, sending the illumination control instruction to the illumination device, and sending the music playing control instruction to the music playing device, so as to control the illumination device to play the light effect according to the illumination control instruction, and control the music playing device to play the audio to be played according to the music playing control instruction.
This application is still through treating the audio signal that plays and carrying out decoding analysis, after obtaining illumination control instruction and music broadcast control instruction, just send illumination control instruction for lighting apparatus, and send music broadcast control instruction for music broadcast equipment, in order to control lighting apparatus according to illumination control instruction broadcast light effect, and control music broadcast equipment according to music broadcast control instruction broadcast treat broadcast audio frequency, namely, after carrying out the analysis to the sound signal, just control music broadcast equipment broadcast music, and control lighting apparatus broadcast light effect, the delay between lighting apparatus's light effect that has reduced the sound analysis process and the music broadcast of music broadcast equipment caused has been reduced.
Optionally, in some embodiments of the present application, as shown in fig. 6, the step 503 of sending the lighting control instruction to the lighting device and the step of sending the music playing control instruction to the music playing device may include the following steps 601 to 603.
Step 601, calculating a first communication time length for sending the lighting control instruction to the lighting device, and calculating a second communication time length for sending the music playing control instruction to the music playing device.
Specifically, when the first communication duration for sending the lighting control instruction to the lighting apparatus is calculated, test data having a data volume equal to that of the lighting control instruction may be sent to the lighting apparatus first, so as to determine the time required for sending the lighting control instruction to the lighting apparatus, that is, the first communication duration.
Similarly, in the process of calculating the second communication time length for sending the music playing control instruction to the music playing device, the test data with the data volume equal to that of the music playing control instruction may be sent to the music playing device first to determine the time required for sending the music playing control instruction to the music playing device, that is, the second communication time length.
Step 602, determining a communication time delay between the lighting device and the music playing device according to the first communication time length and the second communication time length, and determining a sending sequence and a sending time interval of the lighting control command and the music playing control command according to the communication time delay.
In this embodiment, the communication delay is a time difference between the first communication duration and the second communication duration. The transmission time interval is equal to the time difference.
Step 603, sending the lighting control instruction to the lighting device according to the sending sequence and the sending time interval, and sending the music playing control instruction to the music playing device.
In this embodiment, by calculating the first communication time length and the second communication time length, and then determining the communication time delay between the lighting device and the music playing device according to the first communication time length and the second communication time length, and determines the sending sequence and the sending time interval of the lighting control command and the music playing control command according to the communication time delay, thereby causing the lighting control instructions to be transmitted to the lighting devices according to the transmission sequence and the transmission time interval, when the music playing control instruction is sent to the music playing device, the lighting device and the music playing control instruction can simultaneously receive the corresponding control instructions, so that time delay caused by signal transmission is eliminated, and synchronization of the lighting effect played by the lighting device according to the lighting control instruction and the rhythm of the audio to be played by the music playing device according to the music playing control instruction is favorably realized.
Optionally, in some embodiments of the application, after the communication delay is obtained through calculation, light effect playing time may be further increased in the lighting control instruction, and music playing control time is increased in the music playing control instruction, so that the lighting device may play the corresponding light effect only when the light effect playing time in the lighting control instruction is reached, and the music playing device may play the corresponding audio to be played only when the music playing control time is reached, so that the light effect played by the lighting device according to the lighting control instruction is synchronized with the rhythm of the audio to be played by the music playing device according to the music playing control instruction.
Optionally, in some embodiments of the present application, the music playing device may be an intelligent terminal capable of playing music, such as a bluetooth sound box, a mobile phone, and a tablet computer.
It should be noted that, for convenience and brevity of description, the specific working process of the music lighting synchronization method described above may refer to the descriptions of the music lighting synchronization apparatus and the music lighting synchronization system in fig. 1 to fig. 4, and will not be described again here. Furthermore, it should be noted that the above embodiments may be combined with each other to obtain a plurality of different embodiments, and all of the embodiments belong to the scope of the present application.
A fourth embodiment of the present application provides a terminal. The terminal may be configured with the music lighting synchronization apparatus of the above-described respective embodiments; alternatively, the terminal may be a terminal for implementing each of the music lighting synchronization methods. And, this terminal can be intelligent household electrical appliances such as bluetooth speaker, light.
As shown in fig. 7, the terminal may include: a processor 70, a memory 71, and a computer program 72 stored in the memory 71 and executable on the processor 70. The steps in the various embodiments of the music lighting synchronization method described above, e.g., steps 501 through 503 shown in fig. 5, are implemented when the processor 70 executes the computer program 72.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor, any conventional processor, etc.
The storage 71 may be an internal storage unit of the terminal 7, such as a hard disk or a memory. The memory 71 may also be an external storage device for the terminal 7, such as a plug-in hard disk provided on the terminal 7, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 71 may also include both an internal storage unit of the terminal 7 and an external storage device. The memory 71 is used for storing the above-mentioned computer programs and other programs and data required by the terminal.
The computer program may be divided into one or more modules/units, which are stored in the memory 71 and executed by the processor 70 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal for music lighting synchronization. For example, the computer program may be divided into: the audio acquisition module, the audio analysis module and the music illumination control module have the following specific functions:
the audio acquisition module is used for acquiring an audio signal to be played;
the audio analysis module is used for decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction;
and the music lighting control module is used for sending the lighting control instruction to the lighting equipment and sending the music playing control instruction to the music playing equipment so as to control the lighting equipment to play the light effect according to the lighting control instruction and control the music playing equipment to play the audio to be played according to the music playing control instruction.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules, so as to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed terminal and method may be implemented in other manners. For example, the terminal embodiments described above are merely illustrative. For example, a division of modules or units into only one logical division may be implemented in an alternate manner, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer readable storage medium and used to instruct related hardware, and when the computer program is executed by a processor, the steps of the method embodiments described above can be realized. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer-readable medium may contain suitable additions or subtractions depending on the requirements of legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer-readable media may not include electrical carrier signals or telecommunication signals in accordance with legislation and patent practice.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A musical illumination synchronization apparatus, comprising:
the audio acquisition module is used for acquiring an audio signal to be played;
the audio analysis module is used for decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction;
and the music lighting control module is used for sending the lighting control instruction to lighting equipment and sending the music playing control instruction to music playing equipment so as to control the lighting equipment to play a light effect according to the lighting control instruction and control the music playing equipment to play audio to be played according to the music playing control instruction.
2. The musical lighting synchronization apparatus of claim 1 wherein the audio acquisition module comprises: a first Bluetooth connection unit;
the first Bluetooth connection unit is used for establishing Bluetooth connection with a first terminal and acquiring an audio signal to be played, which is sent by the first terminal.
3. The music lighting synchronization apparatus of claim 1, wherein the music lighting control module comprises:
the computing unit is used for computing a first communication time length for sending the illumination control instruction to the illumination equipment and computing a second communication time length for sending the music playing control instruction to the music playing equipment;
the determining unit is used for determining communication time delay between the lighting equipment and the music playing equipment according to the first communication time length and the second communication time length, and determining the sending sequence and the sending time interval of the lighting control instruction and the music playing control instruction according to the communication time delay;
and the sending unit is used for sending the illumination control instruction to the illumination equipment according to the sending sequence and the sending time interval and sending the music playing control instruction to the music playing equipment.
4. The music lighting synchronization apparatus of any one of claims 1-3, wherein the music lighting control module comprises: a second Bluetooth connection unit;
the second Bluetooth connection unit is used for establishing Bluetooth connection with the music playing equipment and sending the music playing control instruction to the music playing equipment.
5. The music lighting synchronization apparatus of claim 4, wherein the music lighting control module further comprises: a WiFi module;
the WiFi module is used for being connected with a wireless router and sending the illumination control instruction to the wireless router, so that the wireless router sends the illumination control instruction to the illumination equipment.
6. A music lighting synchronization system, the music lighting synchronization system comprising: the system comprises a first terminal, a music lighting synchronization device, a lighting device and a music playing device;
the music lighting synchronization device is connected with the first terminal and used for acquiring an audio signal to be played sent by the first terminal and decoding and analyzing the audio signal to be played to obtain a lighting control instruction and a music playing control instruction;
the music illumination synchronization device is also respectively connected with the illumination equipment and the music playing equipment and used for sending the illumination control instruction to the illumination equipment and sending the music playing control instruction to the music playing equipment so as to control the illumination equipment to play the light effect according to the illumination control instruction and control the music playing equipment to play the audio to be played according to the music playing control instruction.
7. A music lighting synchronization method, comprising:
acquiring an audio signal to be played;
decoding and analyzing the audio signal to be played to obtain an illumination control instruction and a music playing control instruction;
and sending the illumination control instruction to illumination equipment, and sending the music playing control instruction to music playing equipment so as to control the illumination equipment to play a light effect according to the illumination control instruction, and control the music playing equipment to play audio to be played according to the music playing control instruction.
8. The music lighting synchronization method of claim 7, wherein the sending the lighting control instruction to a lighting device and the music playing control instruction to a music playing device comprises:
calculating a first communication time length for sending the illumination control instruction to the illumination equipment, and calculating a second communication time length for sending the music playing control instruction to the music playing equipment;
determining the communication time delay between the lighting equipment and the music playing equipment according to the first communication time length and the second communication time length, and determining the sending sequence and the sending time interval of the lighting control instruction and the music playing control instruction according to the communication time delay;
and sending the illumination control instruction to an illumination device according to the sending sequence and the sending time interval, and sending the music playing control instruction to a music playing device.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 7 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 7 to 8.
CN202110241149.9A 2021-03-04 2021-03-04 Music lighting synchronization device, system, method, terminal and readable storage medium Pending CN115035920A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110241149.9A CN115035920A (en) 2021-03-04 2021-03-04 Music lighting synchronization device, system, method, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110241149.9A CN115035920A (en) 2021-03-04 2021-03-04 Music lighting synchronization device, system, method, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
CN115035920A true CN115035920A (en) 2022-09-09

Family

ID=83118174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110241149.9A Pending CN115035920A (en) 2021-03-04 2021-03-04 Music lighting synchronization device, system, method, terminal and readable storage medium

Country Status (1)

Country Link
CN (1) CN115035920A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070040774A (en) * 2007-03-28 2007-04-17 권대웅 Schedule control server system for audio fountain by sound delay timing controller and tts engine
CN103809554A (en) * 2012-11-05 2014-05-21 索尼公司 Audio illumination apparatus and storage medium
CN106304539A (en) * 2016-08-03 2017-01-04 杭州电子科技大学 A kind of music lantern controller design method followed based on rhythm
WO2017206935A1 (en) * 2016-06-03 2017-12-07 公安部第三研究所 System and method for audio and video synchronization test
CN107580399A (en) * 2017-09-22 2018-01-12 上海韵焰智能科技有限公司 Lamp light control method and device
CN108925022A (en) * 2018-09-14 2018-11-30 再兴电子(深圳)有限公司 Cooperate the sound-light controlled system of music

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070040774A (en) * 2007-03-28 2007-04-17 권대웅 Schedule control server system for audio fountain by sound delay timing controller and tts engine
CN103809554A (en) * 2012-11-05 2014-05-21 索尼公司 Audio illumination apparatus and storage medium
WO2017206935A1 (en) * 2016-06-03 2017-12-07 公安部第三研究所 System and method for audio and video synchronization test
CN106304539A (en) * 2016-08-03 2017-01-04 杭州电子科技大学 A kind of music lantern controller design method followed based on rhythm
CN107580399A (en) * 2017-09-22 2018-01-12 上海韵焰智能科技有限公司 Lamp light control method and device
CN108925022A (en) * 2018-09-14 2018-11-30 再兴电子(深圳)有限公司 Cooperate the sound-light controlled system of music

Similar Documents

Publication Publication Date Title
CN103501558A (en) LED lighting device, wireless speaker system and wireless audio playing method
CN103338204A (en) Audio synchronization output method and system
CN103841498A (en) Terminal and stereophonic playing system and method
CN106878915B (en) Control method, device and the playback equipment and mobile terminal of playback equipment
CN104934050A (en) Audio networking playing method and system based on wireless network
CN106341546B (en) A kind of playback method of audio, device and mobile terminal
CN105072176B (en) A kind of wireless connection method and device of play system
CN105120528B (en) A kind of equipment room carries out the method, apparatus and system of configurability setting
CN110503984A (en) Playback method, equipment and the system of wireless audio playback equipment
CN108737648B (en) Music volume self-adaptive adjusting method, device, storage medium and terminal
CN105703984B (en) A kind of connection method and mobile terminal
CN108566706A (en) flash lamp control method, device, terminal device and storage medium
CN205829977U (en) A kind of wireless speech dialogue being applicable to tradition sound equipment and control device
CN105703987B (en) A kind of audio-video frequency playing system control method and device
CN113827953B (en) Game control system
CN112331195A (en) Voice interaction method, device and system
CN104184426A (en) Volume adjusting method and apparatus
CN204836428U (en) Live sound console of digit
CN105703806A (en) Bluetooth module control method and apparatus of playing equipment, and audio-video playing system
CN115035920A (en) Music lighting synchronization device, system, method, terminal and readable storage medium
CN108925014B (en) Light source brightness control method, system and equipment
CN110912812A (en) Intelligent gateway and intelligent gateway system
CN105872732B (en) The cut-in method of audiogenic device, device and playback equipment in audio-video frequency playing system
CN203733282U (en) WIFI (Wireless Fidelity)-based outdoor music play device for realizing audio access
CN105682188A (en) WiFi network access method and device and WiFi access device

Legal Events

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