Song light adaptation method suitable for digital audio-visual place, medium and equipment
By setting up basic and customized lighting console files in digital audio-visual venues, and dynamically switching lighting effects according to song parameters, the problem of high arrangement costs and personalized needs is solved, and flexible lighting effect presentation and efficient user experience improvement are achieved.
Patent Information
- Application Number
- CN202410942877.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-09-27
AI Technical Summary
In the existing technology, the lighting effect arrangement of digital audio-visual venues is expensive and cannot meet the customized and personalized needs of each independent box, affecting the user's sensory experience.
A song lighting adaptation method is adopted. By setting lighting configuration files, including basic lighting console files and customized lighting console files, the lighting effects are dynamically switched according to the parameters of the currently playing song, and tag information and neural network models are used to optimize the lighting effects. Generate and adjust.
It effectively reduces the workload of lighting effect arrangement, improves the reuse rate of lighting configuration files, meets the needs of different boxes, and improves the user experience.
Smart Images

Figure CN118714712A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of video advertisement playing, and in particular to a song lighting adaptation method, a computer-readable storage medium and an electronic device suitable for digital audio-visual places. Background Art
[0002] At present, singing in digital audio-visual venues has become a part of people's leisure and entertainment life. In digital audio-visual venues, people can order songs according to their preferences. When these ordered songs are played, the lighting equipment in the digital audio-visual venues usually presents different lighting effects with the rhythm of the songs, thus creating a cooler karaoke environment. The creation of different lighting effects for different songs depends on the need to arrange the corresponding configuration files for each song in advance. The configuration files are generally arranged by professional lighting engineers and are used to completely control the specific presentation effects of all lighting equipment within a period of time. These presentation effects include the rotation, acceleration, special effects, color, strobe, and corresponding change acceleration of each lamp. A configuration file generally includes multiple console files. The duration of each console file is set in advance by the lighting engineer. These console files are related to the specific layout of lamps in the digital audio-visual venue. Therefore, the console files corresponding to different boxes in the digital audio-visual venue are usually not shared, which leads to very high programming costs. If each box is configured with exactly the same standardized configuration file, the lighting effects of different boxes will be the same, and adaptive adjustments cannot be made according to the different distribution of lamps. It is impossible to meet the customized and personalized lighting effect requirements of each independent box, affecting the user's sensory experience. Summary of the invention
[0003] To this end, it is necessary to provide a song lighting adaptation method suitable for digital audio-visual venues to solve the technical problems in the prior art that the lighting effect arrangement method is costly and cannot meet the customized and personalized lighting effect requirements of each independent box.
[0004] To achieve the above object, in a first aspect, the present invention provides a song lighting adaptation method applicable to a digital audio-visual venue, wherein the digital audio-visual venue is provided with lighting equipment, and the method comprises the following steps:
[0005] Setting a lighting configuration file, wherein the lighting configuration file includes a first lighting console file and a second lighting console file, wherein the first lighting console file includes a plurality of groups of basic lighting console files, wherein each of the basic lighting console files is provided with a corresponding relationship between a first time slice and a first lighting effect, wherein the first time slice range corresponds to the song playing time, and wherein the second lighting console file includes a plurality of groups of customized lighting console files, wherein each of the customized lighting console files is provided with a corresponding relationship between a second time slice and a second lighting effect, and each of the customized lighting console files is also provided with corresponding tag information;
[0006] Determine, according to the playback parameters of the currently playing song, a basic lighting console file corresponding to the playback parameters, and generate a first control command according to the basic lighting console file to control the lighting device to present a first lighting effect; and
[0007] When the lighting switching trigger condition is met, a customized lighting console file corresponding to the lighting switching trigger condition is obtained, and a second control command is generated according to the customized lighting console file to control the lighting device to present a second lighting effect.
[0008] As an optional embodiment, the light switching trigger condition includes that the playback parameters of the currently playing song change more than a preset change range within a unit time, and the playback parameters include any one or more of the playback rhythm, pitch, timbre of the currently playing song, the screen color of the corresponding video stream, and the audio parameters of the singer singing the currently playing song.
[0009] As an optional embodiment, the light switching trigger condition is that the picture color of the video stream corresponding to the currently playing song changes by more than a first preset change amplitude;
[0010] The lighting switching trigger condition is triggered in the following manner:
[0011] Collecting RGB information of pixels at several preset positions in the video stream corresponding to the currently playing song in real time, if the number of pixels whose RGB information changes by more than a first preset change amplitude compared with the previous unit time range within the current unit time range exceeds a preset number, the light switching triggering condition is triggered;
[0012] The tag information includes a picture color tag, and obtaining a customized lighting console file corresponding to the lighting switching trigger condition includes:
[0013] The screen color information of the video stream corresponding to the currently playing song is determined based on the RGB information of the pixel points at several preset positions after the change, and a customized lighting console file with a screen color label matching the screen color information is obtained, and the obtained customized lighting console file is used as the customized lighting console file corresponding to the current lighting switching trigger condition.
[0014] As an optional embodiment, the tag information includes a playing rhythm tag and / or a tone tag and / or a timbre tag;
[0015] When the lighting switching trigger condition is met, obtaining a customized lighting console file corresponding to the lighting switching trigger condition includes:
[0016] When it is detected that the change in the playback rhythm and / or pitch and / or timbre corresponding to the currently playing song exceeds a second preset change amplitude, a customized lighting console file with a playback rhythm label and / or pitch label and / or timbre label that matches the changed playback rhythm and / or pitch and / or timbre is obtained, and the obtained customized lighting console file is used as the customized lighting console file corresponding to the current lighting switching trigger condition.
[0017] As an optional embodiment, the tag information includes a highlight moment, and the light switching triggering condition includes that the acquired audio parameters of the singer meet the highlight moment condition, and the highlight moment condition is that the error between the acquired audio parameters of the singer singing the currently playing song and the preset audio parameters of the currently playing song is within a preset error range;
[0018] Obtaining a customized lighting console file corresponding to the lighting switching trigger condition includes:
[0019] Select at least one customized lighting console file with a highlight moment label as the customized lighting console file corresponding to the current lighting switching trigger condition.
[0020] As an optional embodiment, the method further includes:
[0021] When the lighting switching end condition is met, the basic lighting console file is re-acquired, and a third control command is generated according to the basic lighting console file to control the lighting device to continue to present the first lighting effect.
[0022] As an optional embodiment, the tag information corresponding to the customized lighting console file is obtained according to the following method:
[0023] Constructing and training a first neural network model, wherein the input of the first neural network model is the names of multiple groups of sample lighting console files and multiple groups of standard label information, and the output of the first neural network model is the corresponding relationship between the names of the sample lighting console files and the standard label information mapping storage;
[0024] A sequence of customized lighting console files is constructed, and the customized lighting console files are input into the trained first neural network model one by one to obtain label information mapped and stored corresponding to the name of each customized lighting console file.
[0025] As an optional embodiment, the method further includes:
[0026] Constructing a corresponding lighting console file group for each song to be played, wherein the lighting console file group includes combination information of at least one of the first lighting console file and at least one of the second lighting console file called in sequence along the playing time; and upon receiving a console file adjustment instruction, adjusting the first lighting console file or the second lighting console file in the lighting console file group;
[0027] When a song is playing, a lighting console file group corresponding to the currently playing song is obtained, and a fourth control command is generated according to the lighting console file group to control the lighting device to present a third lighting effect.
[0028] In a second aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the song lighting adaptation method applicable to digital audio-visual venues as described in the first aspect of the present application.
[0029] In a third aspect, the present application further provides an electronic device, including a processor and a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by the processor, the song lighting adaptation method applicable to a digital audio-visual venue as described in the first aspect of the present application is implemented.
[0030] Different from the prior art, the song lighting adaptation method, computer-readable storage medium and electronic device applicable to digital audio-visual places described in the above technical solution include: setting a lighting configuration file, the lighting configuration file includes a first lighting console file and a second lighting console file, the first lighting console file includes multiple groups of basic lighting console files, and the second lighting console file includes multiple groups of customized lighting console files; according to the playback parameters of the currently playing song, determining the basic lighting console file corresponding to the playback parameters, and generating a first control command according to the basic lighting console file to control the lighting equipment to present a first lighting effect; when the lighting switching trigger condition is met, obtaining the customized lighting console file corresponding to the lighting switching trigger condition, and generating a second control command according to the customized lighting console file to control the lighting equipment to present a second lighting effect.
[0031] Through the above solution, the lighting effects corresponding to the songs played are presented in the form of a combination of lighting console files. The basic lighting configuration files can meet the needs of different box scenes, and can automatically switch to customized lighting console files when the lighting switching trigger conditions are met, so that the lighting equipment can present different lighting effects, effectively reducing the workload of lighting effect arrangement and improving the reuse rate of lighting configuration files. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A flowchart of a song lighting adaptation method applicable to a digital audio-visual venue according to a first exemplary embodiment of the present invention;
[0033] Figure 2 is a flow chart of a song lighting adaptation method applicable to a digital audio-visual venue according to a second exemplary embodiment of the present invention;
[0034] Figure 3 is a flow chart of a song lighting adaptation method applicable to a digital audio-visual venue according to a third exemplary embodiment of the present invention;
[0035] Figure 4 is a flow chart of a song lighting adaptation method applicable to a digital audio-visual venue according to a fourth exemplary embodiment of the present invention;
[0036] Figure 5 It is a schematic diagram of a module of the on-demand device involved in the present invention;
[0037] Reference numerals:
[0038] 10. Electronic equipment;
[0039] 101. Processor;
[0040] 102. Storage medium. DETAILED DESCRIPTION
[0041] In order to explain in detail the possible application scenarios, technical principles, specific schemes that can be implemented, and the purposes and effects that can be achieved, the following is a detailed description of the specific embodiments listed in conjunction with the accompanying drawings. The embodiments described herein are only used to more clearly illustrate the technical solutions of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0042] Reference to "embodiment" herein means that the specific features, structures or characteristics described in conjunction with the embodiment may be included in at least one embodiment of the present application. The term "embodiment" appearing in various places in the specification does not necessarily refer to the same embodiment, nor does it particularly limit its independence or association with other embodiments. In principle, in the present application, as long as there is no technical contradiction or conflict, the various technical features mentioned in the embodiments can be combined in any way to form a corresponding implementable technical solution.
[0043] Unless otherwise defined, the technical terms used in this document have the same meanings as those generally understood by those skilled in the art to which this application belongs; the use of relevant terms in this document is only for describing specific embodiments and is not intended to limit this application.
[0044] In the description of this application, the term "and / or" is an expression used to describe the logical relationship between objects, indicating that three relationships may exist, for example, A and / or B, which means: A exists, B exists, and A and B exist at the same time. In addition, the character " / " in this article generally indicates that the objects before and after are in an "or" logical relationship.
[0045] In the present application, terms such as “first” and “second” are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship of quantity, priority or sequence between these entities or operations.
[0046] Without further limitations, in this application, the words "include", "comprises", "has" or other similar expressions used in sentences are intended to cover non-exclusive inclusion. These expressions do not exclude the presence of additional elements in the process, method or product including the elements, so that the process, method or product including a series of elements may include not only those limited elements, but also other elements not explicitly listed, or also include elements inherent to such process, method or product.
[0047] Similar to the understanding in the Examination Guidelines, in this application, expressions such as "greater than", "less than", "exceed" and the like are understood to exclude the number itself; expressions such as "above", "below", "within" and the like are understood to include the number itself. In addition, in the description of the embodiments of this application, "multiple" means more than two (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups", "multiple times", etc., unless otherwise clearly and specifically limited.
[0048] In a first aspect, the present application provides a song lighting adaptation method applicable to a digital audio-visual venue, wherein the digital audio-visual venue is provided with lighting equipment, such as Figure 1 As shown, the method comprises the following steps:
[0049] First, enter step S101 to set a lighting configuration file, wherein the lighting configuration file includes a first lighting console file and a second lighting console file, wherein the first lighting console file includes multiple groups of basic lighting console files, and the second lighting console file includes multiple groups of customized lighting console files;
[0050] Then, step S102 is entered to determine a basic lighting console file corresponding to the playback parameters of the currently playing song, and generate a first control command according to the basic lighting console file to control the lighting device to present a first lighting effect; and
[0051] Then, the process proceeds to step S103, and when the lighting switching trigger condition is met, a customized lighting console file corresponding to the lighting switching trigger condition is obtained, and a second control command is generated according to the customized lighting console file to control the lighting device to present a second lighting effect.
[0052] In this embodiment, the digital audio-visual place can be a KTV, a karaoke room, a home song-ordering machine, etc. Usually, lighting equipment and on-demand equipment are provided in the digital audio-visual place. The on-demand equipment is used to respond to user operations and play the video images and / or audio information selected by the user so that the user can order the songs they like. The on-demand equipment can be a set-top box. In other embodiments, the digital audio-visual place involved in this application can also be applied to electronic music DJ boxes, script-killing boxes, or cinema halls. In short, as long as it is a box that can support offline playback of video streaming data, it is applicable to the method involved in this application.
[0053] The lighting equipment includes stage lighting equipment, color lighting equipment, dynamic lighting equipment and effect lighting equipment. The stage lighting equipment is lighting equipment used to illuminate the performance stage, including chandeliers, floor lights, special effects lights, etc. The color lighting equipment is lighting equipment that can adjust the color, such as LED PAR lights, LED column lights, etc. The dynamic lighting is equipment that can change the lighting effect and movement, such as moving headlights, scanning lights, laser lights, etc. The effect lighting is equipment used to create special effects, such as glow sticks, glowing gloves, glowing clothes, etc.
[0054] In step S101, each of the basic lighting console files is provided with a corresponding relationship between a first time slice and a first lighting effect, the first time slice range corresponds to the song playing time, each of the customized lighting console files is provided with a corresponding relationship between a second time slice and a second lighting effect, and each of the customized lighting console files is also provided with corresponding tag information. The tag information is used to identify the attribute type of the lighting console file, such as dynamic, soft, etc.
[0055] In step S102, the playback parameters include any one or more of the playback rhythm, pitch, timbre of the currently playing song, the screen color of the corresponding video stream, and the acquired audio parameters of the singer singing the currently playing song. The first control command is a control command that triggers different lighting effects according to the time sequence of song playback, which can be specifically set according to the content set in the basic lighting console file.
[0056] In step S103, the first control command is a control command for triggering different lighting effects according to the time sequence of song playback, which can be specifically set according to the content set in the customized lighting console file.
[0057] For example, if the playing time of a certain song is 3 minutes (180s), and the overall music rhythm of this song is relatively cheerful, a basic lighting console file with a duration of 2-3 minutes can be selected in advance, and the lighting effects corresponding to the lighting equipment when the current song is playing can be controlled according to the selected basic lighting console file. During the song playback process, if it is detected that the lighting switching trigger condition is met, the execution of the first control command generated based on the basic lighting console file is suspended, and it is converted to determine a new customized lighting console file (with a relatively short duration, such as 10-20s) according to the current lighting switching trigger condition (such as the color jump of the playback screen, the singer's singing tone is more sad, or other triggering factors, etc.), and generate different lighting effects based on the new customized lighting console file, thereby realizing instantaneous switching of lighting effects.
[0058] Since the customized lighting console file is selected in real time according to the different lighting switching trigger conditions, it is easy to replace and adjust. Compared with the method of pre-setting a fixed and detailed lighting configuration file corresponding to each song, it can effectively reduce the workload of lighting effect configuration file arrangement.
[0059] In some embodiments, the lighting switching trigger condition includes that the playback parameters of the currently playing song change more than a preset change range within a unit time. In this way, the lighting effect presented based on the selected customized lighting console file can be more consistent with the current scene, thereby improving the user experience.
[0060] Specifically, in some embodiments, the light switching trigger condition is that the picture color of the video stream corresponding to the currently playing song changes by more than a first preset change range;
[0061] The lighting switching trigger condition is triggered in the following manner:
[0062] Collecting RGB information of pixels at several preset positions in the video stream corresponding to the currently playing song in real time, if the number of pixels whose RGB information changes by more than a first preset change amplitude compared with the previous unit time range within the current unit time range exceeds a preset number, the light switching triggering condition is triggered;
[0063] The tag information includes a picture color tag, such as Figure 2 The step of obtaining the customized lighting console file corresponding to the lighting switching trigger condition includes:
[0064] First, step S201 is performed to determine the screen color information of the video stream corresponding to the currently playing song according to the changed RGB information of the pixel points at the preset positions;
[0065] Then, the process proceeds to step S202 to obtain a customized lighting console file having a picture color tag that matches the picture color information, and uses the obtained customized lighting console file as the customized lighting console file corresponding to the current lighting switching trigger condition.
[0066] For example, when playing a song, the MV screen corresponding to the song is usually presented on the display device. The MV screen has its own corresponding main color tone, and it changes with the progress of the song. Through the design of the above solution, when it is detected that the screen color information of the video stream corresponding to the currently playing song changes greatly in a short period of time, for example, from green to red, a customized lighting console file that can present a red lighting effect can be selected to replace the basic lighting console file being executed to control the lighting effect, so that the lighting effect can better meet the needs of the current application scenario and improve the user experience.
[0067] In some embodiments, the tag information includes a play rhythm tag and / or a tone tag and / or a timbre tag; when the light switching trigger condition is met, obtaining a customized light console file corresponding to the light switching trigger condition includes:
[0068] When it is detected that the change in the playback rhythm and / or pitch and / or timbre corresponding to the currently playing song exceeds a second preset change amplitude, a customized lighting console file with a playback rhythm label and / or pitch label and / or timbre label that matches the changed playback rhythm and / or pitch and / or timbre is obtained, and the obtained customized lighting console file is used as the customized lighting console file corresponding to the current lighting switching trigger condition.
[0069] In short, for each customized lighting console file, some labels can be added according to the characteristics of the lighting effects presented after it is pre-executed, such as dynamic, soft, green / red, fast / slow rhythm, etc. In this way, when the lighting switching trigger conditions are met, by judging the properties of the lighting switching trigger conditions, the customized lighting console file that matches the current condition properties can be quickly found from the database, and the lighting effects can be controlled based on the customized lighting console file, which effectively reduces the workload of searching for customized lighting console files.
[0070] In some embodiments, the tag information includes highlight moments, and the light switching trigger condition includes that the acquired audio parameters of the singer satisfy the highlight moment condition, and the highlight moment condition is that the error between the acquired audio parameters of the singer singing the currently playing song and the preset audio parameters of the currently playing song is within a preset error range; obtaining a customized lighting console file corresponding to the light switching trigger condition includes: selecting at least one customized lighting console file with a highlight moment tag as the customized lighting console file corresponding to the current light switching trigger condition.
[0071] In short, when storing customized lighting console files, some customized lighting console files can be labeled "highlight moments". If it is detected that the singer sings very well (that is, the collected voice of the singer is very close to the original voice of the preset singer), the customized lighting console file with the "highlight moment" label will be obtained, and the corresponding lighting effects will be generated by executing the obtained customized lighting console file, thereby meeting the needs of cool scenes and improving the user experience.
[0072] In some embodiments, the method further includes: when the lighting switching end condition is met, re-acquiring the basic lighting console file, and generating a third control command according to the basic lighting console file to control the lighting device to continue to present the first lighting effect.
[0073] In this embodiment, the lighting switching end condition may be the end of the execution time of the customized lighting console file, or the duration from the start of the execution of the customized lighting console file reaches a preset duration, etc. By setting the lighting switching end condition, when the lighting switching end condition is met, the control of the lighting effect of the lighting device will automatically switch back to the third control command generated according to the basic lighting console file for control, thereby effectively reducing the control logic.
[0074] In some embodiments, Figure 3 As shown, the tag information corresponding to the customized lighting console file is obtained according to the following method:
[0075] First, enter step S301 to build a first neural network model and perform training. The input of the first neural network model is the names of multiple groups of sample lighting console files and multiple groups of standard label information. The output of the first neural network model is the corresponding relationship between the names of the sample lighting console files and the standard label information mapping storage;
[0076] Then, the process proceeds to step S302 to construct a sequence of customized lighting console files, and inputs the names of the customized lighting console files one by one into the trained first neural network model to obtain label information mapped and stored corresponding to the names of the customized lighting console files.
[0077] In this way, the label setting of all customized lighting console files can be automatically completed through the trained first neural network model, which can improve the labeling efficiency and avoid the error-prone problems caused by manual labeling. The first neural network can be a fully connected neural network (Feedforward Neural Network), a convolutional neural network (CNN), a recurrent neural network (RNN), a long short-term memory network (LSTM), a recursive neural network (RvNN), an attention model (Attention Model), a generative adversarial network (GAN), etc.
[0078] In some embodiments, Figure 4 As shown, the method also includes:
[0079] First, enter step S401 to construct a lighting console file group corresponding to each song to be played, wherein the lighting console file group includes combination information of at least one of the first lighting console file and at least one of the second lighting console file called in sequence along the playing time; and when a console file adjustment instruction is received, adjust the first lighting console file or the second lighting console file in the lighting console file group;
[0080] Then, the process proceeds to step S402 to obtain the lighting console file group corresponding to the currently playing song while playing the song, and generate a fourth control command according to the lighting console file group to control the lighting device to present a third lighting effect.
[0081] In this embodiment, assuming that the original second lighting console file only records information such as the rotation, acceleration, and projected pattern of the lighting equipment, then on this basis, real-time lighting color, strobe changes, etc. can be superimposed to obtain a new second lighting console file, so that the lighting equipment can present more diverse lighting effects.
[0082] The following takes the playing process of a certain song as an example to further illustrate the lighting adaptation method involved in this application:
[0083] Assume that in the opening stage of a song (0-20 seconds), the playing rhythm of the song is relatively slow, without obvious color (here refers to the displayed image) and rhythm changes. At this time, you can select a basic lighting console file labeled "soft" and control the lighting effects based on the control commands generated by the selected basic lighting console file.
[0084] When the song starts (after 20 seconds of playback), the start time of each line of lyrics can be identified, for example, the start time of the lyrics are 20, 25, and 31 seconds respectively, and the relevant playback parameters are automatically analyzed and identified at the beginning of each line of lyrics (such as the degree of similarity between the current timbre or pitch of the singer collected and the timbre or pitch of the preset singer) and the lyrics currently being sung are marked with a style label (such as dynamic), and then a set of customized lighting console file sequences with the label "dynamic" are searched from the database, and one is randomly selected from the sequence for execution for each line of lyrics, so that during the playback of the song, the lighting effects corresponding to each line of lyrics will show different changes, so that the user can feel that the lighting effects in the digital audio-visual venue can correspond to each line of lyrics of the song being sung during the singing process.
[0085] On the basis of the above settings, the present application will also identify the changes in the main color tone of the video stream display and the rhythm of the audio in real time. When it is found that the change range exceeds the preset change range, the light color and strobe configuration can be automatically added at the corresponding time. Preferably, the light color and strobe configuration can also be edited into a set of console files in advance, and real-time configuration can be performed according to actual needs to determine whether to merge with the current customized console file. Since it is configured in real time, more diversified lighting effects can be presented.
[0086] In a second aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the song lighting adaptation method applicable to digital audio-visual venues as described in the first aspect of the present invention.
[0087] The computer-readable storage medium may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
[0088] The non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD ROM); the magnetic surface memory can be a disk memory or a tape memory.
[0089] The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The computer-readable storage medium described in the embodiments of the present invention is intended to include these and any other suitable types of memory.
[0090] like Figure 5 As shown, in a third aspect, the present invention provides an electronic device 10, comprising a processor 101 and a storage medium 102, wherein the storage medium stores a computer program, and when the computer program is executed by the processor, the song lighting adaptation method applicable to digital audio-visual venues as described in the first aspect of the present invention is implemented.
[0091] In some embodiments, the processor can be implemented by software, hardware, firmware or a combination thereof, and can use circuits, single or multiple application specific integrated circuits (Application Specific Integrated Circuit, ASIC), digital signal processors (Digital Signal Processor, DSP), digital signal processing devices (Digital Signal Processing Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable Gate Array, FPGA), central processing units (Central Processing Unit, CPU), controllers, microcontrollers, microprocessors, at least one of which, so that the processor can execute some or all of the steps or any combination of the steps in the song lighting adaptation method suitable for digital audio-visual venues described in the various embodiments of the present application.
[0092] It should be noted that, although the above embodiments have been described in this article, the patent protection scope of the present invention is not limited thereby. Therefore, based on the innovative concept of the present invention, changes and modifications made to the embodiments described herein, or equivalent structures or equivalent process changes made using the contents of the present invention specification and drawings, directly or indirectly applying the above technical solutions to other related technical fields, are all included in the patent protection scope of the present invention.
Claims
1. A song lighting adaptation method suitable for digital audio-visual venues, characterized in that: The digital audio-visual venue is provided with lighting equipment, and the method comprises the following steps: Setting a lighting configuration file, wherein the lighting configuration file includes a first lighting console file and a second lighting console file, wherein the first lighting console file includes a plurality of groups of basic lighting console files, wherein each of the basic lighting console files is provided with a corresponding relationship between a first time slice and a first lighting effect, wherein the range of the first time slice corresponds to the duration of song playback, and wherein the second lighting console file includes a plurality of groups of customized lighting console files, wherein each of the customized lighting console files is provided with a corresponding relationship between a second time slice and a second lighting effect, and each of the customized lighting console files is also provided with corresponding tag information; Determine, according to the playback parameters of the currently playing song, a basic lighting console file corresponding to the playback parameters, and generate a first control command according to the basic lighting console file to control the lighting device to present a first lighting effect; and When the lighting switching trigger condition is met, a customized lighting console file corresponding to the lighting switching trigger condition is obtained, and a second control command is generated according to the customized lighting console file to control the lighting device to present a second lighting effect.
2. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 1, characterized in that: The light switching trigger condition includes that the playback parameters of the currently playing song change more than a preset change range within a unit time, and the playback parameters include any one or more of the playback rhythm, pitch, timbre of the currently playing song, the screen color of the corresponding video stream, and the audio parameters of the singer singing the currently playing song.
3. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 2, characterized in that: The light switching trigger condition is that the picture color change of the video stream corresponding to the currently playing song exceeds a first preset change range; The lighting switching trigger condition is triggered in the following manner: Collecting RGB information of pixels at several preset positions in the video stream corresponding to the currently playing song in real time, if the number of pixels whose RGB information changes by more than a first preset change amplitude compared with the previous unit time range within the current unit time range exceeds a preset number, the light switching triggering condition is triggered; The tag information includes a picture color tag, and obtaining a customized lighting console file corresponding to the lighting switching trigger condition includes: The screen color information of the video stream corresponding to the currently playing song is determined based on the RGB information of the pixel points at several preset positions after the change, and a customized lighting console file with a screen color label matching the screen color information is obtained, and the obtained customized lighting console file is used as the customized lighting console file corresponding to the current lighting switching trigger condition.
4. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 2, characterized in that: The tag information includes a playing rhythm tag and / or a tone tag and / or a timbre tag; When the lighting switching trigger condition is met, obtaining a customized lighting console file corresponding to the lighting switching trigger condition includes: When it is detected that the change in the playback rhythm and / or pitch and / or timbre corresponding to the currently playing song exceeds a second preset change amplitude, a customized lighting console file with a playback rhythm label and / or pitch label and / or timbre label that matches the changed playback rhythm and / or pitch and / or timbre is obtained, and the obtained customized lighting console file is used as the customized lighting console file corresponding to the current lighting switching trigger condition.
5. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 2, characterized in that: The tag information includes a highlight moment, and the light switching triggering condition includes that the acquired audio parameters of the singer meet the highlight moment condition, and the highlight moment condition is that the error between the acquired audio parameters of the singer singing the currently playing song and the preset audio parameters of the currently playing song is within a preset error range; Obtaining a customized lighting console file corresponding to the lighting switching trigger condition includes: Select at least one customized lighting console file with a highlight moment label as the customized lighting console file corresponding to the current lighting switching trigger condition.
6. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 1, characterized in that: The method further comprises: When the lighting switching end condition is met, the basic lighting console file is re-acquired, and a third control command is generated according to the basic lighting console file to control the lighting device to continue to present the first lighting effect.
7. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 1, characterized in that: The tag information corresponding to the customized lighting console file is obtained in the following way: Constructing and training a first neural network model, wherein the input of the first neural network model is the names of multiple groups of sample lighting console files and multiple groups of standard label information, and the output of the first neural network model is the corresponding relationship between the names of the sample lighting console files and the standard label information mapping storage; A sequence of customized lighting console files is constructed, and the names of the customized lighting console files are input into the trained first neural network model one by one to obtain label information mapped and stored corresponding to the names of the customized lighting console files.
8. The song lighting adaptation method applicable to digital audio-visual venues as claimed in claim 1, characterized in that: The method further comprises: Constructing a corresponding lighting console file group for each song to be played, wherein the lighting console file group includes combination information of at least one of the first lighting console file and at least one of the second lighting console file called in sequence along the playing time; and upon receiving a console file adjustment instruction, adjusting the first lighting console file or the second lighting console file in the lighting console file group; When a song is playing, a lighting console file group corresponding to the currently playing song is obtained, and a fourth control command is generated according to the lighting console file group to control the lighting device to present a third lighting effect.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the song lighting adaptation method applicable to a digital audio-visual venue as described in any one of claims 1 to 8 is implemented.
10. An electronic device, characterized in that: It includes a processor and a storage medium, wherein a computer program is stored on the storage medium, and when the computer program is executed by the processor, the song lighting adaptation method applicable to a digital audio-visual venue as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Method, medium and device for automatically generating MV suitable for digital audio-visual place
CN120564676A
