Patent ID: 7473837

Claim:
A method for synchronizing illumination along with an audio signal, the method comprising: receiving the audio signal continuously and processing one phase of the audio signal at a time; analyzing the one phase of the audio signal to detect a volume of the one phase of the audio signal and variations of the volume so as to produce an index number for the one phase of the audio signal and to determine a set of light controlling parameters according to the index number for the one phase of the audio signal; storing the index number of the one phase of the audio signal in a register; analyzing another phase of the audio signal to detect a volume thereof and variations of a volume therein so as to produce another index number for the another phase of the audio signal; if the another index number is greater than the index number in the register, receiving the light controlling parameters from a look-un-table according to the index number already in the register; and adjusting, in accordance with the light controlling parameters, duty cycles of square waves used to drive a plurality of light sources such as the illumination produced is in accordance with the another phase of the audio signal, if the another index number is not greater than the index number in the register, decrementing the index in the register by one to create a revised index number; receiving the light controlling parameters from a look-up-table according to the revised index number; and adjusting, in accordance with the light controlling parameters, duty cycles of square waves used to drive a plurality of light sources such as the illumination produced is in accordance with the another phase of the audio signal.