TWI601132B - A method and system of light interacting with given music - Google Patents

A method and system of light interacting with given music Download PDF

Info

Publication number
TWI601132B
TWI601132B TW105120495A TW105120495A TWI601132B TW I601132 B TWI601132 B TW I601132B TW 105120495 A TW105120495 A TW 105120495A TW 105120495 A TW105120495 A TW 105120495A TW I601132 B TWI601132 B TW I601132B
Authority
TW
Taiwan
Prior art keywords
file
rhythm
music
spectrum
spectral
Prior art date
Application number
TW105120495A
Other languages
Chinese (zh)
Other versions
TW201701276A (en
Inventor
黃兆霖
Original Assignee
芋頭科技(杭州)有限公司
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 芋頭科技(杭州)有限公司 filed Critical 芋頭科技(杭州)有限公司
Publication of TW201701276A publication Critical patent/TW201701276A/en
Application granted granted Critical
Publication of TWI601132B publication Critical patent/TWI601132B/en

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/36Accompaniment arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Electrophonic Musical Instruments (AREA)

Description

一種燈光隨特定音樂互動的方法及系統Method and system for interacting with specific music

本發明涉及燈光設備技術領域,尤其涉及一種燈光隨特定音樂互動的方法及系統。The present invention relates to the field of lighting equipment technology, and in particular, to a method and system for lighting interaction with a specific music.

隨著科技的發展,單純的聽覺上的享受已經很難滿足人們日益增長的需求。時下,越來越多的音樂設備都會從視覺上寄予用戶更多的體驗,爲用戶在聽音樂的過程中增加更多的現場氛圍。但是,大部分的音樂燈光互動設備都是通過系統既定的方式對燈光效果進行控制。比如,通過音樂的節奏,亦或是通過音樂的風格和音律進行燈光顔色和亮度的調節。但是,這種通過預先設置好的方式,很難讓音樂與燈光結合達到最優的效果,同時也會可能出現非常糟糕的體驗,大大降低現場的氣氛。由於龐大的音樂基數,音樂設備不可能爲每一首音樂提供一個完美的光譜,即使爲每個音樂提供了光譜,這個光譜也不一定被用戶所接受。同時,目前的很多燈光設備6並沒有提供相應的開放式接口,用戶即使有想法也沒有途徑去實現自己想要的燈光效果。With the development of technology, purely auditory enjoyment has been difficult to meet the growing needs of people. Nowadays, more and more music devices will visually send users more experience, adding more live atmosphere to the user's listening to music. However, most of the music and lighting interactive devices control the lighting effects in a systematic manner. For example, the color and brightness of the light can be adjusted through the rhythm of the music or through the style and temperament of the music. However, this kind of pre-set way, it is difficult to combine music and lighting to achieve the best results, but also can have a very bad experience, greatly reducing the atmosphere of the scene. Due to the huge music base, it is impossible for a music device to provide a perfect spectrum for each piece of music. Even if a spectrum is provided for each piece of music, this spectrum is not necessarily accepted by the user. At the same time, many current lighting devices 6 do not provide corresponding open interfaces, and users have no way to achieve the desired lighting effects even if they have ideas.

針對上述技術問題,本申請提供了一種燈光隨特定音樂互動的方法,包括步驟: S1:利用音樂燈光編輯裝置和能夠調試的燈光設備,配合音樂調試出燈光效果並獲得相應代碼文件; S2:利用燈光譜寫器並根據所述代碼文件生成光譜文件; S3:調試所述光譜文件,爲所述光譜文件加上索引文件,所述索引文件包括:歌名、和/或歌手、和/或光譜風格、和/或光譜創作人信息; S4:將所述光譜文件以及所述索引文件傳輸到雲存儲中; S5:啓動所述音樂燈光律動裝置,向所述雲存儲發出查詢信息,獲取查詢結果; S6:所述音樂燈光律動裝置接收所述查詢結果,驅動並點亮所述燈光設備中的LED燈珠。In view of the above technical problem, the present application provides a method for interacting with a specific music, including the steps: S1: using a music lighting editing device and a lighting device capable of debugging, and debugging the lighting effect with the music and obtaining a corresponding code file; S2: utilizing Generating a spectral file according to the code file; S3: Debugging the spectral file, adding an index file to the spectral file, the index file including: song title, and/or singer, and/or spectral style And/or spectral creator information; S4: transmitting the spectral file and the index file to the cloud storage; S5: starting the music lighting rhythm device, sending query information to the cloud storage, and obtaining a query result; S6: The music lighting rhythm device receives the query result, and drives and lights the LED lamp bead in the lighting device.

較佳的,所述步驟S5包括步驟: S51:啓動所述音樂燈光律動裝置,向所述雲存儲發出查詢信息; S52:將所述查詢信息轉換成爲查詢索引; S53:通過所述索引文件獲得光譜文件地址; S54:通過所述光譜文件地址讀取所述光譜文件的內容,即獲取查詢結果。Preferably, the step S5 includes the following steps: S51: start the music light rhythm device, and send query information to the cloud storage; S52: convert the query information into a query index; S53: obtain the index file by using the index file The spectral file address; S54: reading the content of the spectral file by the spectral file address, that is, obtaining the query result.

較佳的,所述雲存儲包括光譜的索引存儲和光譜的文件存儲,所述光譜的索引存儲用於存儲所述索引文件,所述光譜的文件存儲用於存儲所述光譜文件。Preferably, the cloud storage includes an index storage of a spectrum and a file storage of a spectrum, the index storage of the spectrum is used to store the index file, and the file storage of the spectrum is used to store the spectrum file.

較佳的,所述光譜的索引存儲使用Redis數據庫。Preferably, the index storage of the spectrum uses a Redis database.

較佳的,在所述步驟S54中,當所述光譜文件地址爲本地地址時,通過Python語言open方法讀取所述光譜文件,當光譜文件地址爲遠程地址時,根據URL地址協議,選擇不同的客戶端來讀取所述光譜文件地址對應的所述光譜文件。Preferably, in the step S54, when the spectral file address is a local address, the spectral file is read by the Python language open method, and when the spectral file address is a remote address, according to the URL address protocol, the selection is different. The client reads the spectral file corresponding to the spectral file address.

較佳的,所述光譜文件和所述索引文件通過HTTP或HTTPS或私有TCP協議傳輸到所述雲存儲中。Preferably, the spectrum file and the index file are transmitted to the cloud storage by using HTTP or HTTPS or a private TCP protocol.

較佳的,所述步驟S1包括步驟: S11:接收編輯指令; S12:根據所述編輯指令在相應的LED燈軸線的相應時刻設置相應的關鍵幀節點; S13:根據所述關鍵幀節點産生一代碼文件,所述代碼文件爲二進制文件。Preferably, the step S1 includes the following steps: S11: receiving an edit instruction; S12: setting a corresponding key frame node at a corresponding moment of the corresponding LED lamp axis according to the edit instruction; S13: generating a key according to the key frame node A code file, the code file being a binary file.

較佳的,所述關鍵幀節點用於表示所述關鍵幀節點所在的所述LED燈軸線的當前時刻的所述LED燈珠的燈光的色相、亮度和對比度。Preferably, the key frame node is used to represent the hue, brightness and contrast of the light of the LED bead at the current moment of the LED lamp axis where the key frame node is located.

較佳的,所述步驟S6包括步驟: S61:獲取環境信息和外界輸入信息,對這些信息處理後獲得律動參數,將所述律動參數輸入至律動算法配置單元; S62:根據所述律動參數配置算法參數,並自動生成所述旋律譜; S63:從音樂播放器53中提取播放流,獲得數字音頻信號信息; S64:根據所述算法參數對所述數字音頻信號信息進行處理,獲得節奏譜; S65:判斷光譜混合單元中是否有來自用戶輸入的所述查詢結果,如果沒有,執行S66,否則執行S67; S66:所述光譜混合單元接收所述律動算法配置單元傳遞來的所述旋律譜,並與所述節奏譜進行混合,獲得律動驅動信號; S67:所述光譜混合單元接收來自用戶輸入的所述查詢結果,並與所述節奏譜進行混合,獲得律動驅動信號; S68:所述燈光驅動單元接收所述律動驅動信號,驅動點亮所述LED燈珠。Preferably, the step S6 includes the following steps: S61: Acquire environmental information and external input information, obtain a rhythm parameter after processing the information, and input the rhythm parameter to the rhythm algorithm configuration unit; S62: configure according to the rhythm parameter An algorithm parameter, and automatically generating the melody spectrum; S63: extracting a play stream from the music player 53 to obtain digital audio signal information; S64: processing the digital audio signal information according to the algorithm parameter to obtain a rhythm spectrum; S65: determining whether there is the query result from the user input in the spectrum mixing unit, if not, executing S66, otherwise executing S67; S66: the spectral mixing unit receives the melody spectrum transmitted by the rhythm algorithm configuration unit, And mixing with the rhythm spectrum to obtain a rhythm driving signal; S67: the spectral mixing unit receives the query result from the user input, and mixes with the rhythm spectrum to obtain a rhythm driving signal; S68: the light The driving unit receives the rhythm driving signal and drives to illuminate the LED lamp bead.

本發明還提供了一種燈光隨特定音樂互動系統,適用於所述的燈光隨特定音樂互動的方法,包括The present invention also provides a method for lighting a specific music interaction system, suitable for the interaction of the light with a specific music, including

音樂燈光編輯裝置,結合音樂調試出燈光效果並獲得相應的所述代碼文件;The music light editing device combines the music to debug the lighting effect and obtain the corresponding code file;

燈光譜寫器,連接所述音樂燈光編輯裝置,根據所述音樂燈光編輯裝置編輯出的所述代碼文件生成光譜文件;a light spectrum writer, connected to the music light editing device, and generating a spectrum file according to the code file edited by the music light editing device;

索引添加裝置,連接所述燈光譜寫器,調試所述光譜文件,爲所述光譜文件加上索引文件;An index adding device, connecting the lamp spectral writer, debugging the spectral file, and adding an index file to the spectral file;

傳輸裝置,連接所述索引添加裝置,將所述光譜文件以及所述索引文件傳輸到所述雲存儲中;Transmitting device, connecting the index adding device, and transmitting the spectrum file and the index file to the cloud storage;

音樂燈光律動裝置,向所述雲存儲發出所述查詢信息,獲取所述查詢結果;a music lighting rhythm device, sending the query information to the cloud storage to obtain the query result;

燈光設備,連接所述音樂燈光編輯裝置和所述音樂燈光律動裝置,所述燈光設備包括所述LED燈珠,所述音樂燈光律動裝置接收所述查詢結果,驅動並點亮所述燈光設備中的所述LED燈珠。a lighting device connecting the music light editing device and the music lighting rhythm device, the lighting device comprising the LED lamp bead, the music lighting rhythm device receiving the query result, driving and lighting the lighting device The LED lamp bead.

較佳的,所述音樂燈光編輯裝置包括:Preferably, the music light editing device comprises:

接收單元,連接所述燈光設備,用於接收編輯指令;a receiving unit, connected to the lighting device, for receiving an editing instruction;

編輯單元,連接接收單元,用於根據所述編輯指令在相應的所述LED燈軸線的相應時刻設置相應的所述關鍵幀節點;An editing unit, configured to connect the receiving unit, configured to set a corresponding key frame node at a corresponding moment of the corresponding LED lamp axis according to the editing instruction;

代碼文件生成單元,連接接收單元和編輯單元,用於將編輯單元包括的所有所述關鍵幀節點生成一代碼文件;以及a code file generating unit, connected to the receiving unit and the editing unit, configured to generate a code file for all the key frame nodes included in the editing unit;

所述音樂燈光律動裝置包括:The music light rhythm device includes:

場景採集單元,用於採集所述環境信息和所述外界輸入信息;a scene collection unit, configured to collect the environment information and the external input information;

律動算法配置單元,與所述場景採集單元相連,接收所述律動參數,並根據所述律動參數配置具體的算法參數,並自動生成旋律譜;The rhythm algorithm configuration unit is connected to the scene collection unit, receives the rhythm parameter, and configures specific algorithm parameters according to the rhythm parameter, and automatically generates a melody spectrum;

音樂播放器,用以播放音頻數據信號;a music player for playing audio data signals;

數字音頻提取單元,與所述音樂播放器相連,用於提取所述音樂播放器的播放流,從而獲得所述數字音頻信號信息;a digital audio extraction unit, connected to the music player, for extracting a play stream of the music player, thereby obtaining the digital audio signal information;

律動算法模組,與所述數字音頻提取單元和所述律動算法配置單元相連,根據所述算法參數對所述數字音頻信號信息進行處理,獲得節奏譜;a rhythm algorithm module, connected to the digital audio extraction unit and the rhythm algorithm configuration unit, and processing the digital audio signal information according to the algorithm parameter to obtain a rhythm spectrum;

光譜混合單元,與所述律動算法配置單元和所述律動算法模組相連,將所述旋律譜或所述查詢結果與所述節奏譜進行混合,獲得所述律動驅動信號;a spectral mixing unit, coupled to the rhythm algorithm configuration unit and the rhythm algorithm module, mixing the melody spectrum or the query result with the rhythm spectrum to obtain the rhythm driving signal;

燈光驅動單元,與所述光譜混合單元以及所述LED燈珠相連,並根據所述律動驅動信號驅動點亮所述LED燈珠。And a light driving unit connected to the spectral mixing unit and the LED lamp bead, and driving the LED bead to be illuminated according to the rhythm driving signal.

綜上所述,由於採用了上述技術方案,本專利申請記載了一種燈光隨特定音樂互動的方法及系統,其有益效果有:一種燈光隨特定音樂互動的方法,使得用戶可以自行的對每一首音樂編寫光譜,將編寫好的光譜文件放入雲存儲中,實現了將所述光譜開放給其他用戶的可能;所述音樂設備通過所述光譜,能夠調出預期的燈光效果;音樂燈光律裝置能夠根據音樂和環境等因素自動控制燈光設備;用戶還可以從雲存儲中調用相應的光譜文件,即用戶通過查詢信息,從雲存儲中獲取相應的查詢結果,並將該結果傳遞值音樂燈光律動裝置,從而控制燈光設備。In summary, due to the adoption of the above technical solution, the patent application describes a method and system for interacting with a specific music, and the beneficial effects thereof are: a method for interacting with a specific music, so that the user can The first music compiles the spectrum, puts the prepared spectral file into the cloud storage, realizes the possibility of opening the spectrum to other users; the music device can call up the expected light effect through the spectrum; the music lighting law The device can automatically control the lighting device according to factors such as music and environment; the user can also call the corresponding spectral file from the cloud storage, that is, the user obtains the corresponding query result from the cloud storage by querying the information, and passes the result to the music light. A rhythm device that controls the lighting equipment.

下面結合附圖對本發明的具體實施方式作進一步的說明:The specific embodiments of the present invention are further described below in conjunction with the accompanying drawings:

實施例一Embodiment 1

一種燈光隨特定音樂互動的方法,包括步驟:A method of interacting with specific music, including steps:

S1:利用音樂燈光編輯裝置1和能夠調試的燈光設備6,配合音樂調試出燈光效果,並産生相應代碼文件;S1: using the music light editing device 1 and the lighting device 6 capable of debugging, debugging the lighting effect with the music, and generating a corresponding code file;

S2:利用燈光譜寫器2根據所述燈光效果生成光譜文件,所述光譜文件能夠被音樂燈光律動裝置5所讀取並識別;S2: generating, by the light spectrum writer 2, a spectral file according to the light effect, the spectral file being readable and recognizable by the musical light rhythm device 5;

S3:調試所述光譜文件,爲所述光譜文件加上索引文件,所述索引文件包括:歌名、歌手、光譜風格以及光譜創作人信息等;S3: Debug the spectral file, and add an index file to the spectral file, where the index file includes: a song title, a singer, a spectral style, and a spectrum creator information;

S4:將所述光譜文件以及所述索引文件通過HTTP/HTTPS或者是私有TCP協議傳輸到雲存儲中;S4: transmitting the spectrum file and the index file to the cloud storage by using HTTP/HTTPS or a private TCP protocol;

S5:啓動所述音樂燈光律動裝置5,用戶通過所述音樂燈光律動裝置5向所述雲存儲發出查詢信息,獲取查詢結果;S5: the music light rhythm device 5 is activated, and the user sends the query information to the cloud storage through the music light rhythm device 5 to obtain the query result;

S6:所述音樂燈光律動裝置5接收所述查詢結果,驅動並點亮所述燈光設備6。S6: The music light rhythm device 5 receives the query result, drives and lights the lighting device 6.

其中,在所述步驟S1中,具體包括步驟:Wherein, in the step S1, the method specifically includes the following steps:

S11:接收用戶發送的編輯指令或者控制指令;S11: receiving an editing instruction or a control instruction sent by the user;

S12:根據所述編輯指令或者控制指令在相應的LED燈軸線的相應時刻設置相應的關鍵幀節點,所述關鍵幀節點表示所述關鍵幀節點所在的所述LED燈軸線的當前時刻的所述LED燈珠燈光的色相、亮度和對比度;S12: setting, according to the editing instruction or the control instruction, a corresponding key frame node at a corresponding moment of a corresponding LED lamp axis, where the key frame node indicates the current moment of the LED lamp axis where the key frame node is located Hue, brightness and contrast of LED bead lights;

S13:根據所述關鍵幀節點産生一代碼文件,所述代碼文件爲二進制文件。S13: Generate a code file according to the key frame node, where the code file is a binary file.

其中,在所述步驟S12中,還包括對所述關鍵幀節點進行删除。所述燈光設備6包括LED燈珠,所述LED燈軸線與所述LED燈珠一一對應,每條LED燈軸線表示一LED燈珠隨預設時間軸的燈光變化過程。所述LED燈軸線的兩端分別預設有初始幀數據和終止幀數據,所述初始幀數據和終止幀數據的色相、亮度和對比度均相同。設置於所述LED燈軸線的所述關鍵幀節點與相鄰的所述關鍵幀節點或初始幀數據或終止幀數據之間根據相應的時間間隔及預設函數曲線生成相應的間補幀數據,所述間補幀數據用於表示所在的所述LED燈軸線的當前時刻的所述LED燈珠的燈光的色相、亮度和對比度。The step S12 further includes deleting the key frame node. The lighting device 6 includes an LED lamp bead. The LED lamp axis has a one-to-one correspondence with the LED lamp bead. Each LED lamp axis represents a light change process of an LED lamp bead along a preset time axis. The two ends of the LED lamp axis are respectively preliminarily provided with initial frame data and end frame data, and the hue, brightness and contrast of the initial frame data and the end frame data are the same. And generating, according to the corresponding time interval and the preset function curve, the corresponding inter-frame data between the key frame node disposed on the LED lamp axis and the adjacent key frame node or the initial frame data or the end frame data, The inter-frame data is used to represent the hue, brightness, and contrast of the light of the LED bead at the current moment of the LED lamp axis.

所述雲存儲包括:光譜的索引存儲和光譜的文件存儲。其中,光譜的索引存儲用於存儲索引文件,是爲了快速找到光譜文件的位置,因此,光譜的索引存儲可以使用當前比較流行的Redis數據庫,所述Redis數據庫爲一種Key-Value,即鍵值存儲數據庫。其中Key爲索引的值,Value爲光譜具體地址的值。光譜地址的存儲格式可參考URL(全球資源定位器)地址。由於光譜文件相對比較大,因此光譜文件可以直接以文本的形式存放在光譜的文件存儲中。爲了能夠提高讀取能力,光譜的文件存儲可以爲SSD,所述SSD爲固態硬碟,相對於機械硬碟SSD具有更好的讀寫速度。The cloud storage includes: index storage of spectra and file storage of spectra. The index storage of the spectrum is used to store the index file, so as to quickly find the location of the spectrum file. Therefore, the index storage of the spectrum can use the currently popular Redis database, which is a Key-Value, that is, key value storage. database. Where Key is the value of the index and Value is the value of the specific address of the spectrum. The storage format of the spectral address can be referred to the URL (Global Resource Locator) address. Since the spectral file is relatively large, the spectral file can be stored directly in the file storage of the spectrum in the form of text. In order to improve the reading ability, the file storage of the spectrum can be an SSD, and the SSD is a solid state hard disk, which has better read and write speed than the mechanical hard disk SSD.

所述步驟S5,具體包括步驟:The step S5 specifically includes the following steps:

S51:啓動所述音樂燈光律動裝置5,用戶通過所述音樂燈光律動裝置5向所述雲存儲發出查詢信息;S51: The music light rhythm device 5 is activated, and the user sends the query information to the cloud storage through the music light rhythm device 5;

S52:將用戶的查詢信息轉換成爲查詢索引;S52: Convert the user's query information into a query index;

S53:通過所述索引文件獲得所述光譜文件地址;S53: Obtain the spectral file address by using the index file.

S54:通過所述光譜文件地址讀取所述光譜文件的內容,即獲取查詢結果。S54: Read the content of the spectral file by using the spectral file address, that is, obtain a query result.

首先,將用戶的查詢信息轉換成爲所訴後查詢索引,結合Redis的Rython客戶端,通過所述索引文件(即Redis中的Key值),獲得所述光譜文件地址(即Redis中的Python值)。然後通過所述光譜文件地址讀取光譜文件的內容。當光譜文件地址爲本地地址時,直接通過Python語言open方法讀取本地文件;當光譜文件地址爲遠程地址時,根據URL地址協議,選擇不同的客戶端來讀取該地址所對應的光譜文件。當對光譜文件的搜索協議採用HTTP協議時,使用HTTP客戶端,如果採用FTP協議時,使用FTP客戶端。這兩種客戶端均可以在Python的軟體套件中找到。First, the user's query information is converted into the queried index, and the Rython client of Redis is used to obtain the spectral file address (ie, the Python value in Redis) through the index file (ie, the Key value in Redis). . The content of the spectral file is then read by the spectral file address. When the spectral file address is a local address, the local file is directly read by the Python language open method; when the spectral file address is a remote address, according to the URL address protocol, a different client is selected to read the spectral file corresponding to the address. When the search protocol for the spectral file uses the HTTP protocol, the HTTP client is used, and if the FTP protocol is used, the FTP client is used. Both clients can be found in the Python software suite.

所述步驟S6,具體包括步驟:The step S6 includes the following steps:

S61:獲取所述環境信息和所述外界輸入信息,對這些信息處理後獲得所述律動參數,將所述律動參數輸入至所述律動算法配置單元52;S61: acquiring the environmental information and the external input information, processing the information to obtain the rhythm parameter, and inputting the rhythm parameter to the rhythm algorithm configuration unit 52;

S62:根據所述律動參數配置所述算法參數,並自動生成所述旋律譜;S62: configuring the algorithm parameter according to the rhythm parameter, and automatically generating the melody spectrum;

S63:提取所述播放流,獲得所述數字音頻信號信息;S63: Extract the play stream to obtain the digital audio signal information.

S64:根據所述算法參數對所述數字音頻信號信息進行處理,獲得所述節奏譜;S64: processing the digital audio signal information according to the algorithm parameter to obtain the rhythm spectrum;

S65:判斷所述光譜混合單元56中是否有來自用戶輸入的所述查詢結果,如果沒有,執行S66,否則執行S67;S65: determining whether there is the query result from the user input in the spectrum mixing unit 56, if not, executing S66, otherwise executing S67;

S66:所述光譜混合單元56接收所述律動算法配置單元52傳遞來的所述旋律譜,並與所述節奏譜進行混合,獲得律動驅動信號;S66: the spectrum mixing unit 56 receives the melody spectrum transmitted by the rhythm algorithm configuration unit 52, and mixes with the rhythm spectrum to obtain a rhythm driving signal;

S67:所述光譜混合單元56接收來自用戶輸入的所述查詢結果,並與所述節奏譜進行混合,獲得律動驅動信號;S67: the spectrum mixing unit 56 receives the query result from the user input, and mixes with the rhythm spectrum to obtain a rhythm driving signal;

S68:所述燈光驅動單元57接收所述律動驅動信號,驅動點亮所述LED燈珠,獲得燈光效果。S68: The light driving unit 57 receives the rhythm driving signal, and drives and lights the LED lamp bead to obtain a lighting effect.

一種燈光隨特定音樂互動的方法,首先利用音樂燈光編輯裝置1和能夠調試的燈光設備6,配合音樂調試出燈光效果,並利用燈光譜寫器2根據所述燈光效果生成光譜文件。對應所述光譜文件産生索引文件,並將所述光譜文件和所述索引文件放入雲存儲。啓動所述音樂燈光律動裝置5,檢查是否有來自用戶的查詢結果,如果有,根據查詢結果獲取律動驅動信息,從而驅動點亮燈珠,獲得燈光效果。A method for interacting with a specific music, firstly using the music lighting editing device 1 and the lighting device 6 capable of debugging, and debugging the lighting effect with the music, and using the light spectrum writer 2 to generate a spectral file according to the lighting effect. An index file is generated corresponding to the spectral file, and the spectral file and the index file are placed in cloud storage. The music lighting rhythm device 5 is activated to check whether there is a query result from the user, and if so, the rhythm driving information is obtained according to the query result, thereby driving the lighting bead to obtain a lighting effect.

本發明提供了一種燈光隨特定音樂互動的方法,使得用戶可以自行的對每一首音樂編寫光譜,將編寫好的光譜文件放入雲存儲中,實現了將所述光譜開放給其他用戶的可能。所述音樂設備通過所述光譜,能夠調出預期的燈光效果。The invention provides a method for interacting with a specific music, so that the user can write a spectrum for each piece of music by himself, and put the prepared spectral file into the cloud storage, thereby realizing the possibility of opening the spectrum to other users. . The music device is capable of recalling the desired lighting effect through the spectrum.

實施例二Embodiment 2

根據實施例一提供的一種燈光隨特定音樂互動的方法,本實施例提供了一種燈光隨特定音樂互動系統。According to a method for interacting with a specific music according to the first embodiment, the embodiment provides a lighting interaction system with a specific music.

所述燈光隨特定音樂互動系統,包括:The lighting is associated with a particular music interaction system, including:

音樂燈光編輯裝置1,配合能夠進行調試的燈光設備6,並結合音樂調試出燈光效果並獲得相應的代碼文件;The music light editing device 1 cooperates with the lighting device 6 capable of debugging, and combines the music to debug the lighting effect and obtain the corresponding code file;

燈光譜寫器2,連接所述音樂燈光編輯裝置1,根據所述音樂燈光編輯裝置1編輯出的所述代碼文件生成光譜文件;a light spectrum writer 2, connected to the music light editing device 1, and generating a spectrum file according to the code file edited by the music light editing device 1;

索引添加裝置3,連接所述燈光譜寫器2,調試所述光譜文件,爲所述光譜文件加上索引文件,所述索引文件包括:歌名、和/或歌手、和/或光譜風格、和/或光譜創作人信息;An index adding device 3, connected to the lamp spectral writer 2, debugs the spectral file, and adds an index file to the spectral file, the index file including: a song title, and/or a singer, and/or a spectral style, and / or spectrum creator information;

傳輸裝置4,連接所述索引添加裝置3,將所述光譜文件以及所述索引文件傳輸到雲存儲中;The transmission device 4 is connected to the index adding device 3, and transmits the spectrum file and the index file to the cloud storage;

音樂燈光律動裝置5,用戶通過所述音樂燈光律動裝置5向所述雲存儲發出查詢信息,獲取查詢結果;a music lighting rhythm device 5, the user sends query information to the cloud storage through the music light rhythm device 5, and obtains a query result;

燈光設備6,連接所述音樂燈光編輯裝置1和所述音樂燈光律動裝置5,包括LED燈珠,所述音樂燈光律動裝置5接收所述查詢結果,驅動並點亮所述燈光設備6中的LED燈珠。a lighting device 6, connecting the music light editing device 1 and the music light rhythm device 5, comprising an LED lamp bead, the music light rhythm device 5 receiving the query result, driving and lighting the light device 6 LED lamp beads.

工作時,用戶通過音樂燈光編輯裝置1和燈光設備6,給相應的音樂調試出燈光效果並獲取相應的代碼文件。然後,燈光譜寫器2將代碼文件生成光譜文件,並通過索引添加裝置3將光譜文件添加索引文件,最後通過傳輸裝置將光譜文件以及索引文件傳輸至雲存儲中。當用戶播放音樂時,啓動音樂燈光律動裝置5,音樂燈光律裝置能夠根據音樂和環境等因素自動控制燈光設備6,但是用戶還可以從雲存儲中調用相應的光譜文件,即用戶通過查詢信息,從雲存儲中獲取相應的查詢結果,並將該結果傳遞值音樂燈光律動裝置,從而控制燈光設備6。During work, the user uses the music lighting editing device 1 and the lighting device 6 to debug the corresponding music and obtain the corresponding code file. Then, the lamp spectrum writer 2 generates a spectrum file from the code file, and adds the spectrum file to the index file through the index adding means 3, and finally transmits the spectrum file and the index file to the cloud storage through the transmission means. When the user plays music, the music light rhythm device 5 is activated, and the music light law device can automatically control the light device 6 according to factors such as music and environment, but the user can also call the corresponding spectrum file from the cloud storage, that is, the user queries the information. The corresponding query result is obtained from the cloud storage, and the result is passed to the value music lighting rhythm device, thereby controlling the lighting device 6.

其中,所述音樂燈光編輯裝置1包括:The music light editing device 1 includes:

接收單元11,用於接收用戶發送的編輯指令;The receiving unit 11 is configured to receive an editing instruction sent by the user;

編輯單元12,連接接收單元11,包括一預設模板,模板包括複數個LED燈軸線,LED燈軸線與LED燈珠一一對應,每條LED燈軸線表示一LED燈珠隨預設時間軸的燈光變化過程,編輯單元12用於根據編輯指令在相應的LED燈軸線的相應時刻設置相應的關鍵幀節點;The editing unit 12 is connected to the receiving unit 11, and includes a preset template. The template includes a plurality of LED lamp axes, and the LED lamp axis is in one-to-one correspondence with the LED lamp bead. Each LED lamp axis represents an LED lamp bead along with a preset time axis. a light change process, the editing unit 12 is configured to set a corresponding key frame node at a corresponding moment of the corresponding LED lamp axis according to the editing instruction;

代碼文件生成單元13,連接接收單元11和編輯單元12,用於根據編輯指令將編輯單元12包括的所有關鍵幀節點生成一代碼文件。The code file generating unit 13 is connected to the receiving unit 11 and the editing unit 12 for generating a code file for all the key frame nodes included in the editing unit 12 in accordance with the editing instruction.

所述音樂燈光律動裝置5包括:The music light rhythm device 5 includes:

場景採集單元51,所述場景採集單元51用於採集環境信息和外界輸入信息。所述場景採集單元51與溫度傳感器、攝像頭相連接,用於接收環境的溫度信息和視頻信息,所述溫度信息和所述視頻信息構成所述環境信息。此外,所述場景採集單元51還與音樂播放器53連接,用於獲取音樂類型信息,以及通過雲端大數據分析獲取用戶的喜好信息,所述場景採集單元51還設置有用戶帳號,用戶通過登錄帳號自行配置文件來配置自己所喜歡的律動方式。所述外界輸入信息包括音樂類型信息、喜好信息以及所述配置文件。根據所述環境信息和所述外界輸入信息,所述場景採集單元51獲取律動參數;The scene collection unit 51 is configured to collect environment information and external input information. The scene collection unit 51 is connected to the temperature sensor and the camera for receiving temperature information and video information of the environment, and the temperature information and the video information constitute the environment information. In addition, the scene collecting unit 51 is further connected to the music player 53 for acquiring the music type information, and acquiring the user's favorite information through the cloud big data analysis. The scene collecting unit 51 is further provided with a user account, and the user logs in. The account configuration file is used to configure the rhythm that you like. The external input information includes music type information, preference information, and the configuration file. The scene collection unit 51 acquires a rhythm parameter according to the environment information and the external input information;

律動算法配置單元52,與所述場景採集單元51相連,接收所述律動參數,根據所述律動參數配置具體的算法參數,並自動生成旋律譜;The rhythm algorithm configuration unit 52 is connected to the scene collection unit 51, receives the rhythm parameter, configures specific algorithm parameters according to the rhythm parameter, and automatically generates a melody spectrum;

音樂播放器53,用以播放音頻數據信號;a music player 53 for playing an audio data signal;

數字音頻提取單元54,與所述音樂播放器53相連,用於提取所述音樂播放器53的播放流,從而獲得數字音頻信號信息;a digital audio extracting unit 54, connected to the music player 53, for extracting a play stream of the music player 53, thereby obtaining digital audio signal information;

律動算法單元55,與所述數字音頻提取模組和所述律動算法配置單元52相連接,根據所述算法參數對所述數字音頻信號信息進行快速傅立葉變換,獲得當前音樂不同頻率區域內的信息,並根據律動燈光數目决定律動的節奏譜;The rhythm algorithm unit 55 is connected to the digital audio extraction module and the rhythm algorithm configuration unit 52, and performs fast Fourier transform on the digital audio signal information according to the algorithm parameters to obtain information in different frequency regions of the current music. And determine the rhythm spectrum of the rhythm according to the number of rhythmic lights;

光譜混合單元56,與所述律動算法配置單元52和所述律動算法模組相連,對所述旋律譜和所述節奏譜進行混合,獲得律動驅動信號;a spectral mixing unit 56, connected to the rhythm algorithm configuration unit 52 and the rhythm algorithm module, mixing the melody spectrum and the rhythm spectrum to obtain a rhythm driving signal;

燈光驅動單元57,與所述光譜混合單元56以及燈珠相連,並根據所述律動驅動信號驅動點亮所述燈珠,獲得燈光效果。The light driving unit 57 is connected to the spectrum mixing unit 56 and the lamp bead, and drives the lamp bead to be illuminated according to the rhythm driving signal to obtain a lighting effect.

所述光譜混合單元56還接收來自雲端或者用戶的旋律譜,且優先接收來自雲端或者用戶輸入的旋律譜。所述光譜混合單元56在獲得所述旋律譜和所述節奏譜之後,對兩者進行混合,即將代表所述節奏譜的數字乘到代表所述旋律譜的數字中,獲得一組全新的三個一組的數組,這些數組即爲所述律動驅動信號。The spectral mixing unit 56 also receives melody spectra from the cloud or user and preferentially receives melody spectra from the cloud or user input. The spectrum mixing unit 56, after obtaining the melody spectrum and the rhythm spectrum, mixes the two, that is, multiplies the number representing the rhythm spectrum into a number representing the melody spectrum to obtain a brand new three. An array of arrays, which are the rhythm drive signals.

本發明提供了一種燈光隨特定音樂互動系統,利用音樂燈光編輯裝置1使得用戶可以自行的對每一首音樂編寫光譜,將編寫好的光譜文件放入雲存儲中,實現了將所述光譜開放給其他用戶的可能。所述音樂設備通過所述光譜,能夠調出預期的燈光效果。利用所述音樂燈光律動裝置5,除了能夠讓用戶從雲存儲中調取自己想要的光譜,還能夠根據用戶喜好、周圍環境和音樂類型等自動産生光譜旋律。The invention provides a lighting and specific music interaction system, which utilizes the music lighting editing device 1 to enable the user to write a spectrum for each piece of music by himself, and put the prepared spectral file into the cloud storage, thereby realizing the opening of the spectrum. The possibility for other users. The music device is capable of recalling the desired lighting effect through the spectrum. With the music light rhythm device 5, in addition to enabling the user to retrieve the spectrum desired by the user from the cloud storage, the spectral melody can be automatically generated according to the user's preference, the surrounding environment, and the type of music.

以上所述僅爲本發明較佳的實施例,並非因此限制本發明的實施方式及保護範圍,對於本領域技術人員而言,應當能夠意識到凡運用本發明說明書及圖示內容所做出的等同替換和顯而易見的變化所得到的方案,均應當包含在本發明的保護範圍內。The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the embodiments and the scope of the present invention. Those skilled in the art should be able to Combinations of equivalent substitutions and obvious variations are intended to be included within the scope of the invention.

S1-S6‧‧‧步驟
S11-S13‧‧‧步驟
S61-S68‧‧‧步驟
1‧‧‧音樂燈光編輯裝置
2‧‧‧燈光譜寫器
3‧‧‧索引添加裝置
4‧‧‧傳輸裝置
5‧‧‧音樂燈光律動裝置
6‧‧‧燈光設備
11‧‧‧接收單元
12‧‧‧編輯單元
13‧‧‧代碼文件生成單元
51‧‧‧場景採集單元
52‧‧‧律動算法配置單元
53‧‧‧音樂播放器
54‧‧‧數字音頻提取單元
55‧‧‧律動算法單元
56‧‧‧光譜混合單元
57‧‧‧燈光驅動單元
S1-S6‧‧‧ steps
S11-S13‧‧‧ steps
S61-S68‧‧‧Steps
1‧‧‧Music lighting editing device
2‧‧‧Light Spectrum Writer
3‧‧‧ index adding device
4‧‧‧Transportation device
5‧‧‧Musical lighting rhythm device
6‧‧‧Lighting equipment
11‧‧‧ Receiving unit
12‧‧‧editing unit
13‧‧‧Code file generation unit
51‧‧‧Scenario acquisition unit
52‧‧‧Rhythm Algorithm Configuration Unit
53‧‧‧ music player
54‧‧‧Digital Audio Extraction Unit
55‧‧‧Rhythm algorithm unit
56‧‧‧Spectral mixing unit
57‧‧‧Lighting drive unit

圖1是本發明一種燈光隨特定音樂互動的方法流程圖一; 圖2是本發明一種燈光隨特定音樂互動的方法流程圖二; 圖3是本發明一種燈光隨特定音樂互動的方法流程圖三; 圖4是本發明一種燈光隨特定音樂互動系統的結構示意圖一; 圖5是本發明一種燈光隨特定音樂互動系統的結構示意圖二。1 is a flow chart 1 of a method for interacting with a specific music according to the present invention; FIG. 2 is a flow chart 2 of a method for interacting with a specific music according to the present invention; FIG. 3 is a flow chart 3 of a method for interacting with a specific music according to the present invention. 4 is a schematic structural view of a lighting interactive system with a specific music according to the present invention; FIG. 5 is a schematic structural view 2 of a lighting interactive system according to the present invention.

S11-S13‧‧‧步驟 S11-S13‧‧‧ steps

S2-S5‧‧‧步驟 S2-S5‧‧‧Steps

S61-S68‧‧‧步驟 S61-S68‧‧‧Steps

Claims (11)

一種燈光隨特定音樂互動的方法,包括步驟:S1:利用音樂燈光編輯裝置和能夠調試的燈光設備,配合音樂調試出燈光效果並獲得相應代碼文件;S2:利用燈光譜寫器並根據所述代碼文件生成光譜文件;S3:調試所述光譜文件,為所述光譜文件加上索引文件,所述索引文件包括:歌名、和/或歌手、和/或光譜風格、和/或光譜創作人信息;S4:將所述光譜文件以及所述索引文件傳輸到雲存儲中;S5:啟動所述音樂燈光律動裝置,向所述雲存儲發出查詢信息,獲取查詢結果;所述步驟S5包括步驟:S51:啟動所述音樂燈光律動裝置,向所述雲存儲發出查詢信息;S52:將所述查詢信息轉換成為查詢索引;S53:通過所述索引文件獲得光譜文件地址;S54:通過所述光譜文件地址讀取所述光譜文件的內容,即獲取查詢結果;S6:所述音樂燈光律動裝置接收所述查詢結果,驅動並點亮所述燈光設備中的LED燈珠,使得所述LED燈珠按照一定規律進行閃爍。 A method for interacting with a specific music, comprising the steps of: S1: utilizing a music lighting editing device and a lighting device capable of debugging, debugging a lighting effect with a music and obtaining a corresponding code file; S2: utilizing a light spectrum writer and according to the code file Generating a spectral file; S3: Debugging the spectral file, adding an index file to the spectral file, the index file including: song title, and/or singer, and/or spectral style, and/or spectral creator information; S4: transmitting the spectrum file and the index file to the cloud storage; S5: starting the music light rhythm device, sending query information to the cloud storage, and obtaining a query result; the step S5 includes the following steps: S51: Activating the music lighting rhythm device to issue query information to the cloud storage; S52: converting the query information into a query index; S53: obtaining a spectral file address by using the index file; S54: reading through the spectral file address Taking the content of the spectral file, that is, obtaining the query result; S6: the music light rhythm device receiving the query result Driving the lighting device and the lighting LED lamp, such that the LED lamp blink according to certain rules. 根據專利申請範圍第1項所述的燈光隨特定音樂互動的方法,所述雲存儲包括光譜的索引存儲和光譜的文件存儲,所述光譜的索引存儲用於存儲所述索引文件,所述光譜的文件存儲用於存儲所述光譜文件。 The method for interacting with a particular music according to the method of claim 1, wherein the cloud storage comprises an index storage of a spectrum and a file storage of a spectrum, the index storage of the spectrum being used to store the index file, the spectrum The file storage is used to store the spectral file. 根據專利申請範圍第2項所述的燈光隨特定音樂互動的方法,所述光譜的索引存儲使用Redis數據庫。 According to the method of lighting according to the second aspect of the patent application, the index storage of the spectrum uses a Redis database. 根據專利申請範圍第2項所述的燈光隨特定音樂互動的方法,在所述步驟S54中,當所述光譜文件地址為本地地址時,通過Python語言open方法讀取所述光譜文件,當光譜文件地址為遠程地址時,根據URL地址協議,選擇不同的客戶端來讀取所述光譜文件地址對應的所述光譜文件。 According to the method of interacting with a specific music according to the second aspect of the patent application, in the step S54, when the spectral file address is a local address, the spectral file is read by the Python language open method, when the spectrum When the file address is a remote address, according to the URL address protocol, different clients are selected to read the spectrum file corresponding to the spectral file address. 根據專利申請範圍第4項所述的燈光隨特定音樂互動的方法,所述光譜文件和所述索引文件通過HTTP或HTTPS或私有TCP協議傳輸到所述雲存儲中。 According to the method of interacting with a specific music according to the fourth aspect of the patent application, the spectral file and the index file are transmitted to the cloud storage via HTTP or HTTPS or a private TCP protocol. 根據專利申請範圍第1項所述的燈光隨特定音樂互動的方法,所述步驟S1包括步驟:S11:接收編輯指令;S12:根據所述編輯指令在相應的LED燈軸線的相應時刻設置相應的關鍵幀節點;S13:根據所述關鍵幀節點產生一代碼文件,所述代碼文件為二進制文件。 According to the method of interacting with the specific music according to the first aspect of the patent application, the step S1 includes the steps of: S11: receiving an editing instruction; S12: setting corresponding to the corresponding time of the corresponding LED lamp axis according to the editing instruction. a key frame node; S13: generating a code file according to the key frame node, the code file being a binary file. 根據專利申請範圍第6項所述的燈光隨特定音樂互動的方法,所述關鍵幀節點用於表示所述關鍵幀節點所在的所述LED燈軸線的當前時刻的所述LED燈珠的燈光的色相、亮度和對比度。 According to the method of interacting with a specific music according to the sixth aspect of the patent application, the key frame node is used to indicate the light of the LED lamp bead at the current moment of the LED lamp axis where the key frame node is located. Hue, brightness and contrast. 根據專利申請範圍第1項所述的燈光隨特定音樂互動的方法,所述步驟S6包括步驟:S61:獲取環境信息和外界輸入信息,對這些信息處理後獲得律動參數,將所述律動參數輸入至律動算法配置單元;S62:根據所述律動參數配置算法參數,並自動生成所述旋律譜;S63:從音樂播放器中提取播放流,獲得數字音頻信號信息; S64:根據所述算法參數對所述數字音頻信號信息進行處理,獲得節奏譜;S65:判斷光譜混合單元中是否有來自用戶輸入的所述查詢結果,如果沒有,執行S66,否則執行S67;S66:所述光譜混合單元接收所述律動算法配置單元傳遞來的所述旋律譜,並與所述節奏譜進行混合,獲得律動驅動信號;S67:所述光譜混合單元接收來自用戶輸入的所述查詢結果,並與所述節奏譜進行混合,獲得律動驅動信號;S68:所述燈光驅動單元接收所述律動驅動信號,驅動點亮所述LED燈珠。 According to the method for interacting with a specific music according to the first aspect of the patent application, the step S6 includes the following steps: S61: acquiring environmental information and external input information, processing the information to obtain a rhythm parameter, and inputting the rhythm parameter. To the rhythm algorithm configuration unit; S62: configuring an algorithm parameter according to the rhythm parameter, and automatically generating the melody spectrum; S63: extracting a play stream from the music player to obtain digital audio signal information; S64: processing the digital audio signal information according to the algorithm parameter to obtain a rhythm spectrum; S65: determining whether the query result from the user input is in the spectral mixing unit, if not, executing S66, otherwise executing S67; S66 : the spectral mixing unit receives the melody spectrum transmitted by the rhythm algorithm configuration unit, and mixes with the rhythm spectrum to obtain a rhythm driving signal; S67: the spectral mixing unit receives the query from a user input As a result, and mixed with the rhythm spectrum, a rhythm driving signal is obtained; S68: the light driving unit receives the rhythm driving signal, and drives the LED lamp bead to be illuminated. 一種燈光隨特定音樂互動系統,包括音樂燈光編輯裝置,用以結合音樂調試出燈光效果並獲得相應的代碼文件;燈光譜寫器,連接所述音樂燈光編輯裝置,用以根據所述音樂燈光編輯裝置編輯出的所述代碼文件生成光譜文件;索引添加裝置,連接所述燈光譜寫器,用以調試所述光譜文件,並為所述光譜文件加上索引文件;傳輸裝置,連接所述索引添加裝置,用以將所述光譜文件以及所述索引文件傳輸到所述雲存儲中;音樂燈光律動裝置,用以向所述雲存儲發出查詢信息,並獲取查詢結果;燈光設備,連接所述音樂燈光編輯裝置和所述音樂燈光律動裝置,所述燈光設備包括LED燈珠,所述音樂燈光律動裝置接收所述查詢結果,驅動並點亮所述燈光設備中的所述LED燈珠,使得所述LED燈珠按照一定規律進行閃爍。 A lighting interaction system with a specific music, comprising a music lighting editing device for debugging a lighting effect in combination with music and obtaining a corresponding code file; a light spectrum writer connecting the music lighting editing device for using the music lighting editing device Editing the code file to generate a spectral file; index adding means, connecting the lamp spectral writer, for debugging the spectral file, and adding an index file to the spectral file; and transmitting means connecting the index adding device And transmitting the spectral file and the index file to the cloud storage; the music lighting rhythm device is configured to send query information to the cloud storage, and obtain a query result; and a lighting device connecting the music light An editing device and the music lighting rhythm device, the lighting device comprising an LED lamp bead, the music lighting rhythm device receiving the query result, driving and illuminating the LED lamp bead in the lighting device, such that LED lamp beads flash according to certain rules. 根據專利申請範圍第9項所述的燈光隨特定音樂互動系統,所述音樂燈光編輯裝置包括: 接收單元,連接所述燈光設備,用於接收編輯指令;編輯單元,連接接收單元,用於根據所述編輯指令在相應的LED燈軸線的相應時刻設置相應的所述關鍵幀節點;代碼文件生成單元,連接所述接收單元和所述編輯單元,用於將所述編輯單元包括的所有所述關鍵幀節點生成一所述代碼文件。 According to the lighting according to the ninth aspect of the patent application, the music lighting editing apparatus includes: a receiving unit, connected to the lighting device, for receiving an editing instruction; an editing unit, a connection receiving unit, configured to set a corresponding key frame node according to the editing instruction at a corresponding moment of a corresponding LED lamp axis; code file generation And a unit, connected to the receiving unit and the editing unit, for generating all of the key frame nodes included in the editing unit to generate the code file. 根據專利申請範圍第10項所述的燈光隨特定音樂互動系統,所述音樂燈光律動裝置包括:場景採集單元,用於採集環境信息和外界輸入信息;律動算法配置單元,與所述場景採集單元相連,用以接收律動參數,並根據所述律動參數配置具體的算法參數,並自動生成旋律譜;音樂播放器,用以播放音頻數據信號;數字音頻提取單元,與所述音樂播放器相連,用於提取所述音樂播放器的播放流,從而獲得數字音頻信號信息;律動算法模組,與所述數字音頻提取單元和所述律動算法配置單元相連,用以根據所述算法參數對所述數字音頻信號信息進行處理,獲得節奏譜;光譜混合單元,與所述律動算法配置單元和所述律動算法模組相連,用以將所述旋律譜或所述查詢結果與所述節奏譜進行混合,獲得所述律動驅動信號;燈光驅動單元,與所述光譜混合單元以及所述LED燈珠相連,並根據所述律動驅動信號驅動點亮所述LED燈珠。 According to the specific music interaction system according to the tenth aspect of the patent application, the music light rhythm device comprises: a scene collection unit, configured to collect environmental information and external input information; a rhythm algorithm configuration unit, and the scene collection unit Connected to receive rhythm parameters, and configure specific algorithm parameters according to the rhythm parameters, and automatically generate a melody spectrum; a music player for playing an audio data signal; and a digital audio extraction unit connected to the music player, And a method for extracting a play stream of the music player, thereby obtaining digital audio signal information; and a rhythm algorithm module, connected to the digital audio extracting unit and the rhythm algorithm configuration unit, configured to perform according to the algorithm parameter Digital audio signal information is processed to obtain a rhythm spectrum; a spectral mixing unit is coupled to the rhythm algorithm configuration unit and the rhythm algorithm module for mixing the melody spectrum or the query result with the rhythm spectrum Obtaining the rhythm driving signal; a light driving unit, and the spectral mixing unit And is connected to the LED lamp, and the lighting drive signal to the LED lamp according to the rhythm.
TW105120495A 2015-06-30 2016-06-29 A method and system of light interacting with given music TWI601132B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510383576.5A CN106332394B (en) 2015-06-30 2015-06-30 A kind of method and system that light is interacted with specific music

Publications (2)

Publication Number Publication Date
TW201701276A TW201701276A (en) 2017-01-01
TWI601132B true TWI601132B (en) 2017-10-01

Family

ID=57607843

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105120495A TWI601132B (en) 2015-06-30 2016-06-29 A method and system of light interacting with given music

Country Status (4)

Country Link
CN (1) CN106332394B (en)
HK (1) HK1231668A1 (en)
TW (1) TWI601132B (en)
WO (1) WO2017000805A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107660036B (en) * 2017-09-06 2019-12-24 咪咕音乐有限公司 Lamplight control method and device and storage medium
JP7335255B2 (en) * 2018-02-26 2023-08-29 シグニファイ ホールディング ビー ヴィ Resume dynamic light effects depending on effect type and/or user preference
CN109640465A (en) * 2018-11-07 2019-04-16 萤火虫(深圳)灯光科技有限公司 Lamp light control method, device, equipment and the storage medium of automatic identification music
CN111271807A (en) * 2019-07-22 2020-06-12 宁波奥克斯电气股份有限公司 Air conditioner control system and method, air conditioner and medium
CN110582150B (en) * 2019-09-03 2021-06-22 无锡金顺照明科技有限公司 Ambient light and music control system and method
CN110719665B (en) * 2019-10-12 2022-06-28 浙江创意声光电科技有限公司 Script execution method and device based on light control system
CN111601275B (en) * 2020-04-08 2022-11-11 吉利汽车研究院(宁波)有限公司 Multi-vehicle synchronous rhythm control method, device, equipment and storage medium
CN111918453A (en) * 2020-08-18 2020-11-10 深圳市秀骑士科技有限公司 LED light scene control system and control method thereof
CN112700758A (en) * 2021-01-08 2021-04-23 吟飞科技(江苏)有限公司 Percussion pad controller editing method based on light display
CN112954611A (en) * 2021-01-25 2021-06-11 安徽华米信息科技有限公司 Display control method, wearable device and storage medium
CN112967640B (en) * 2021-02-01 2022-07-26 秦皇岛职业技术学院 Self-tracking music rhythm display device based on aesthetics
CN112959938A (en) * 2021-03-22 2021-06-15 一汽奔腾轿车有限公司 Automobile light rhythm control method for man-vehicle interaction
CN114954222A (en) * 2022-05-12 2022-08-30 重庆长安汽车股份有限公司 SOA (service oriented architecture) -based music light show control method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202404901U (en) * 2012-01-09 2012-08-29 陕西理工学院 Automobile sound and lighting controller based on MCS51 single chip
CN202939973U (en) * 2012-12-06 2013-05-15 重庆交通大学 Car audio lighting controller based on 51 single chip microcomputer
CN104239007A (en) * 2013-06-13 2014-12-24 上海能感物联网有限公司 Method for natural persons speaking Chinese to remotely control lamp through voice

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0676605A (en) * 1992-08-25 1994-03-18 Bridgestone Corp Sound/light system
CN1703129B (en) * 2004-12-24 2010-04-14 北京中星微电子有限公司 Light cluster device varied with music
CN102438046B (en) * 2011-12-09 2016-02-10 广州杰赛科技股份有限公司 A kind of karaoke song requesting system based on cloud computing and method for ordering song thereof
CN103985379A (en) * 2014-05-04 2014-08-13 苏州乐聚一堂电子科技有限公司 Karaoke mobile phone VOD system with special light effect
CN104053280A (en) * 2014-06-12 2014-09-17 苏州乐聚一堂电子科技有限公司 Song automatic identification lamplight special effect system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202404901U (en) * 2012-01-09 2012-08-29 陕西理工学院 Automobile sound and lighting controller based on MCS51 single chip
CN202939973U (en) * 2012-12-06 2013-05-15 重庆交通大学 Car audio lighting controller based on 51 single chip microcomputer
CN104239007A (en) * 2013-06-13 2014-12-24 上海能感物联网有限公司 Method for natural persons speaking Chinese to remotely control lamp through voice

Also Published As

Publication number Publication date
WO2017000805A1 (en) 2017-01-05
CN106332394B (en) 2019-03-26
TW201701276A (en) 2017-01-01
HK1231668A1 (en) 2017-12-22
CN106332394A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
TWI601132B (en) A method and system of light interacting with given music
JP6736186B2 (en) System and method for generating audio files
CN104240293A (en) Method for implementing high-reality virtual stages
JP5166549B2 (en) System and method for automatically generating sound associated with a lighting atmosphere
JP2019041412A (en) Track trapping and transfer
CN109845249A (en) With the method and system of the synchronous MIDI file of external information
AU2016228113A1 (en) A system, content editing server, audio recording slave device and content editing interface for distributed live performance scheduled audio recording, cloud-based audio content editing and online content distribution of audio track and associated metadata
CN104822095A (en) Composite beat special effect system and composite beat special effect processing method
JP7095597B2 (en) Playback device, playback method, program, and playback system
CN102483944A (en) Method and device for processing audio data
CN108806732B (en) Background music processing method based on artificial intelligence and electronic equipment
CN104822094A (en) Polyrhythm special-effect system and polyrhythm special-effect processing method
KR20140022537A (en) Apparatus and method for controlling illumination using beat synchronization
JP2008217123A (en) Communication system, terminal device, server, control method for terminal device and program therefor
KR20200119616A (en) Data group outputting apparatus, system and method of the same
CN203689907U (en) Karaoke machine and song synchronization automation control circumference equipment system
JP6013879B2 (en) Collaboration singing system
JP2004328568A (en) Program production system, program production terminal, program production server, and program production program in program production terminal
Costa et al. Internet of Musical Things Environments and Pure Data: A Perfect Match?
JPWO2018008081A1 (en) Lighting control data generation music selection apparatus, lighting control data generation music selection method, and lighting control data generation music selection program
TW201523577A (en) Interactive entertainment platform system
TWI564879B (en) A karaoke control peripheral equipment system and method thereof
TW201508544A (en) Method for controlling sound and light implemented by QR code and application program using for the same
JP2009237470A (en) Electronic music producing/reproducing device, and program for achieving its control method
Steinmetz Granabular: a collaborative granular synthesizer