CN115202243A - Multi-channel acousto-optic conversion method - Google Patents
Multi-channel acousto-optic conversion method Download PDFInfo
- Publication number
- CN115202243A CN115202243A CN202110380241.3A CN202110380241A CN115202243A CN 115202243 A CN115202243 A CN 115202243A CN 202110380241 A CN202110380241 A CN 202110380241A CN 115202243 A CN115202243 A CN 115202243A
- Authority
- CN
- China
- Prior art keywords
- audio
- signals
- lamp
- lamp set
- digital
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 15
- 230000005236 sound signal Effects 0.000 claims abstract description 53
- 230000005540 biological transmission Effects 0.000 claims description 11
- 238000013139 quantization Methods 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 2
- 238000013178 mathematical model Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 3
- 239000003086 colorant Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/115—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
- H05B47/12—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by detecting audible sound
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
A multi-channel acousto-optic conversion method comprises the following steps: step 1: receiving an audio signal by an audio receiving device; the audio receiving device sends the received audio signal to an audio processing device; step 2: the audio processing device processes the received audio signals and sends the processed audio signals to the lamp set; and step 3: the lamp set receives the processed audio signal and controls the color, brightness, shape or stroboscopic of the lamp according to the processed audio signal. The invention can collect analog sound signals, digital quantity audio signals and sound waveform files. The collected various sound models are subjected to digital processing, a mathematical model is established, the original digital sound signals are recalculated and coded and then are sent to a background lamp according to a fixed frequency, so that the brightness, the color, the shape and the strobe change of the lamp light make regular changes along with the collected sound signals.
Description
Technical Field
The invention relates to the field of lighting, in particular to a voice and light collecting and controlling device which can enhance interactivity.
Background
Most lamps on the market are controlled by a console or a built-in fixed program, and few lamps are controlled by sound signals. In a few products for controlling the light by sound, the control effect is single, and the single control of the light brightness can be realized.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a multi-channel acousto-optic conversion method.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a multi-channel acousto-optic conversion method comprises the following steps:
step 1: receiving an audio signal through an audio receiving device; the audio receiving device sends the received audio signals to the audio processing device; the audio receiving device comprises an audio signal access, wherein the audio signal access comprises an audio file, an analog audio input and a digital audio input;
step 2: the audio processing device processes the received audio signals and sends the processed audio signals to the lamp set;
for the audio file, decoding the audio file, extracting sound waveform characteristic quantity, performing waveform characteristic quantity algorithm conversion, assigning values according to a standard transmission protocol, and sending the values to the lamp set at specified time intervals;
example (c): for audio files in MP3 format, etc., the audio files are decoded, the digital information in the files is stripped, and the digital information is processed according to an algorithm after the analog quantity audio is quantized and encoded. And completing the process of converting the audio file into the light control signal.
For analog audio input, pulse code modulation is directly carried out on the analog audio input to carry out PCM quantization coding, value assignment is carried out according to a standard transmission protocol, and a specified time interval is sent to a lamp set;
example (c): for analog audio input, signals of the analog audio input are collected, pulse code modulation is used for PCM quantization coding, the analog audio signals are converted into light control signals through complex algorithm processing, finally fixed industry protocols (DMX 512 or Art-net and the like) are installed and sent to a background lamp, and data processed through the algorithm respectively control the brightness, color, action and other physical characteristics of the lamp.
For digital audio input, firstly extracting digital audio characteristic quantity of the digital audio input, then converting the digital audio characteristic quantity, assigning values according to a standard transmission protocol, and sending the values to a lamp set at a specified time interval;
example (a): for digital audio input, such as MIDI signals output by professional musical instruments, the input MIDI signals are identified and recoded, the digital audio signals are converted into light control signals through algorithm processing, the light control signals are finally sent to a background lamp according to a fixed industry protocol (DMX 512 or Art-net, etc.), and the data processed through the algorithm respectively control the brightness, color, motion and other physical characteristics of the lamp.
And 3, step 3: the lamp set receives the processed audio signal and controls the color, brightness, shape or stroboscopic of the lamp according to the processed audio signal.
The invention also has the following additional technical features:
the technical scheme of the invention is further specifically optimized as follows:
compared with the prior art, the invention has the advantages that:
the method has the advantages that 1: the invention has any audio acquisition function, can acquire analog quantity and digital quantity signals, can acquire environmental sounds in real time, can process sound waveform files, and can select or filter sound sources. The adopted technical means include but are not limited to a single chip microcomputer and an embedded system. The invention has the function of processing the audio files with any built-in format, including but not limited to WAV and MP3.
The method has the advantages that (2): the invention can output the processed audio signal through special protocols in the lighting industry, including but not limited to DXM512 protocol and Art-net protocol; the transmission mode is wired or wireless transmission.
The advantages are that (3): the invention can output the processing result to the lamp according to the mode specified by the algorithm after the audio signal is collected and processed, and control the color, brightness, shape, stroboscopic and the like of the lamp.
The advantages are that: the invention has wide usability and can adapt to various sound sources; various sound sources can be selected; the volume is small, the power consumption is low, and the carrying is convenient; the lamp can be controlled in real time.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a diagram of the hardware connections of the present invention;
FIG. 2 is a data flow diagram of the present invention;
FIG. 3 is a mathematical model of a simulated sound source of the present invention;
fig. 4 is a mathematical model of a digital sound source of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings, in order that the present disclosure may be more fully understood and fully conveyed to those skilled in the art. While the exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure is not limited to the embodiments set forth herein.
A multi-channel acousto-optic conversion method comprises the following steps:
step 1: receiving an audio signal through an audio receiving device; the audio receiving device sends the received audio signal to an audio processing device; the audio receiving device comprises an audio signal access, and the audio signal access comprises an audio file, an analog audio input and a digital audio input.
And 2, step: the audio processing device processes the received audio signals and sends the processed audio signals to the lamp set.
For the audio file, firstly, PCM decoding is performed on the audio file, where PCM decoding refers to restoring the data encoded by the audio file to the data of the original analog signal, and then audio processing of a lower layer can be performed after decoding, and then parameters such as characteristic quantities (amplitude, frequency, waveform) and the like are extracted from the analog signal restored by sound, for example: the remainder obtained for the frequency value in unit time/7 can correspond to 7 different colors; for another example: carrying out 0 to 255 quantization coding on the amplitude value, wherein the amplitude value can directly correspond to the brightness value of the lamp; and then the waveform characteristic quantity algorithm is converted, the values are assigned according to a standard transmission protocol, and the quantized values are sent to the lamp set according to a specified time interval and a protocol.
Example (a): for audio files in MP3 format and the like, the audio files are decoded, digital information in the files is stripped, and the digital information is processed according to an algorithm after analog quantity audio quantization coding. And finishing the process of converting the audio file into the light control signal.
Wherein, for analog audio input, PCM quantization coding is directly carried out on the analog audio input through pulse code modulation.
Example (a): for analog audio input, for digital audio input, firstly, digital audio characteristic quantities (key position, intensity, action and the like) of the digital audio input are extracted, for example, key position information of extracted digital audio signal MIDI signals corresponds to different light types, and for example, intensity of the digital audio signal MIDI signals corresponds to different light intensities and the like, PCM quantization coding is carried out through pulse code modulation, the analog audio signals are converted into light control signals through complex algorithm processing, finally, fixed industry protocols (DMX 512 or Art-net and the like) are installed and sent to a background lamp, and data processed through the algorithm respectively control the brightness, color, action and other physical characteristics of the lamp.
For digital audio input, firstly, digital audio characteristic quantity extraction is carried out on the digital audio input, then the digital audio characteristic quantity conversion is carried out, assignment is carried out according to a standard transmission protocol, and a specified time interval is sent to the lamp set.
Example (c): for digital audio input, such as MIDI signals output by professional musical instruments, the input MIDI signals are identified and recoded, the digital audio signals are converted into light control signals through algorithm processing, the light control signals are finally sent to a background lamp according to a fixed industry protocol (DMX 512 or Art-net, etc.), and the data processed through the algorithm respectively control the brightness, color, motion and other physical characteristics of the lamp.
And 3, step 3: and the lamp set receives the processed audio signal and outputs the audio signal through a DMX512 or Artnet standard protocol according to the processed audio signal to control the color, brightness, shape or stroboscopic of the lamp.
Example (a): and controlling the lamp by using a standard protocol in the light industry, and transmitting a control signal in a wired or wireless mode.
Example 1
FIG. 1 is a hardware connection diagram of the present invention, in which a sound signal enters an acousto-optic conversion device, a hardware switch selectively filters the signal, a model number is processed by a program algorithm inside the device, and a processed result is output to a lamp as a light control signal.
Fig. 2 is a data flow chart of the present invention, which performs different processing modes for different sound sources.
For analog audio signals. The analog audio signal is collected, quantized and coded through pulse code modulation, and the analog audio signal is converted into a light control signal through complex algorithm processing. Finally, a fixed industry protocol (DMX 512 or Art-net, etc.) is installed and sent to the background lamp, and the data processed by the algorithm respectively control the brightness, color, action, etc. of the lamp.
For digital audio files, the audio files are decoded, audio digital information in the files is extracted, and the audio digital information is processed according to an algorithm after analog quantity audio quantization coding. And finishing the process of converting the audio file into the light control signal.
Fig. 3 is a mathematical model of the algorithm for the above two sound source types.
For digital audio signals, such as MIDI signals output by professional musical instruments, the input MIDI signals are recognized, recoded, and subjected to algorithm processing to convert the digital audio signals into light control signals. And finally, sending the data to a background lamp according to a fixed industry protocol (DMX 512 or Art-net and the like), and respectively controlling the brightness, the color, the action and other physical characteristics of the lamp by the data processed by an algorithm.
Fig. 4 is a mathematical model of the algorithm for the above two sound source types.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention are clearly and completely described above with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the above detailed description of the embodiments of the invention presented in the drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Claims (5)
1. A multi-channel acousto-optic conversion method is characterized in that: the method comprises the following steps:
step 1: receiving an audio signal by an audio receiving device; the audio receiving device sends the received audio signals to the audio processing device; the audio receiving device comprises an audio signal access, wherein the audio signal access comprises an audio file, an analog audio input and a digital audio input;
step 2: the audio processing device processes the received audio signals and sends the processed audio signals to the lamp set;
for the audio file, decoding the audio file, extracting sound waveform characteristic quantity, performing waveform characteristic quantity algorithm conversion, assigning values according to a standard transmission protocol, and sending the values to the lamp set at specified time intervals;
for analog audio input, PCM quantization coding is directly carried out on the analog audio input through pulse code modulation, value assignment is carried out according to a standard transmission protocol, and a specified time interval is sent to the lamp set;
for digital audio input, firstly extracting digital audio characteristic quantity of the digital audio input, then converting the digital audio characteristic quantity, assigning values according to a standard transmission protocol, and sending the values to a lamp set at a specified time interval;
and 3, step 3: the lamp set receives the processed audio signal and controls the color, brightness, shape or stroboscopic of the lamp according to the processed audio signal.
2. The multi-channel acousto-optic conversion method according to claim 1, characterized in that: for an audio file, firstly carrying out PCM decoding on the audio file, and then extracting characteristic quantity parameters of an analog signal of sound restoration; and then the waveform characteristic quantity algorithm is converted, the values are assigned according to a standard transmission protocol, and the quantized values are sent to the lamp set according to a specified time interval and a protocol.
3. The multi-channel acousto-optic conversion method according to claim 1, characterized in that: wherein, for analog audio input, the analog audio input is directly PCM quantized by pulse code modulation.
4. The multi-channel acousto-optic conversion method according to claim 1, characterized in that: for digital audio input, firstly, digital audio characteristic quantity extraction is carried out on the digital audio input, and quantized numerical values are sent to the lamp set according to a specified time interval and a protocol.
5. The multi-channel acousto-optic conversion method according to claim 1, characterized in that: the lamp set receives the processed audio signals, outputs the audio signals through a DMX512 or Artnet standard protocol according to the processed audio signals, and controls the color, brightness, shape or stroboscopic of the lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110380241.3A CN115202243A (en) | 2021-04-09 | 2021-04-09 | Multi-channel acousto-optic conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110380241.3A CN115202243A (en) | 2021-04-09 | 2021-04-09 | Multi-channel acousto-optic conversion method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115202243A true CN115202243A (en) | 2022-10-18 |
Family
ID=83570499
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110380241.3A Pending CN115202243A (en) | 2021-04-09 | 2021-04-09 | Multi-channel acousto-optic conversion method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115202243A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104507237A (en) * | 2014-12-29 | 2015-04-08 | 古龙辉 | Voice-operated lighting scene effect realization method |
US20150338833A1 (en) * | 2014-05-22 | 2015-11-26 | Martin Professional Aps | System Combining an Audio Mixing Unit and a Lighting Control Unit |
CN111712025A (en) * | 2020-07-02 | 2020-09-25 | 广州博锐电子有限公司 | Intelligent lamplight acousto-optic linkage control system and control method thereof |
CN111867179A (en) * | 2020-08-11 | 2020-10-30 | 深圳市嘉润原新显科技有限公司 | Audio lamp controller, audio lamp and display |
CN112254277A (en) * | 2020-10-26 | 2021-01-22 | 四川长虹空调有限公司 | Music air conditioner and control method thereof |
-
2021
- 2021-04-09 CN CN202110380241.3A patent/CN115202243A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150338833A1 (en) * | 2014-05-22 | 2015-11-26 | Martin Professional Aps | System Combining an Audio Mixing Unit and a Lighting Control Unit |
CN104507237A (en) * | 2014-12-29 | 2015-04-08 | 古龙辉 | Voice-operated lighting scene effect realization method |
CN111712025A (en) * | 2020-07-02 | 2020-09-25 | 广州博锐电子有限公司 | Intelligent lamplight acousto-optic linkage control system and control method thereof |
CN111867179A (en) * | 2020-08-11 | 2020-10-30 | 深圳市嘉润原新显科技有限公司 | Audio lamp controller, audio lamp and display |
CN112254277A (en) * | 2020-10-26 | 2021-01-22 | 四川长虹空调有限公司 | Music air conditioner and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111526644B (en) | Control method and device for light display | |
CN106304539B (en) | A kind of music lantern controller design method followed based on rhythm | |
CN104507237A (en) | Voice-operated lighting scene effect realization method | |
US7667126B2 (en) | Method of establishing a harmony control signal controlled in real-time by a guitar input signal | |
CN201063914Y (en) | Intelligent voice control lamp | |
NO316576B1 (en) | Digital hearing aid as well as device and method for programming this | |
CN1248824A (en) | Audio signal coding device and method, decoding device and method | |
CN111048085A (en) | Off-line voice control method, system and storage medium based on ZIGBEE wireless technology | |
CN115202243A (en) | Multi-channel acousto-optic conversion method | |
CN100508677C (en) | Method and apparatus for controlling LED indicating lamp | |
CN204442647U (en) | A kind of audio processing equipment | |
CN1477914A (en) | Music lamp and its implement method | |
US20150177714A1 (en) | Battery powered wireless theatrical prop controller | |
CN115571047A (en) | Vehicle-mounted atmosphere lamp rhythm control method, device, equipment, chip and system | |
CN207011060U (en) | A kind of adaptive lamp light control system based on stage set sound | |
CN218350748U (en) | Atmosphere lamp adjusting system changing along with change of volume inside vehicle | |
CN115767854A (en) | Acousto-optic synchronous linkage method and acousto-optic synchronous linkage system | |
CN115534844A (en) | Vehicle-mounted atmosphere lamp music rhythm control method and system | |
CN111596589A (en) | Multimedia music fountain control system | |
CN211240226U (en) | Stage lamp automatic control equipment based on DSP audio processing | |
CN2571117Y (en) | Music lamp | |
CN113853046A (en) | Music frequency-based automobile light control method, equipment and storage medium | |
CN109256130A (en) | The television set of phonetic incepting function | |
CN118019196A (en) | Wireless microphone light effect control method, device, equipment and storage medium | |
CN117395840A (en) | Light control method, light control device, electronic equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |