The tab "Color Organ" (term "Color Organ" is historicaly established as a name for music visualizations) in the Effector-12 generates control signals for the Effector hardware board. These control signals turn on lights up appropriate outputs of Effector board. 

The tab "Color Organ" can generate signals in the form of certain automatic effects, and in accordance with the music or other sounds played on PC. The tab allows the user to create different versions (Schemes) of music visualizations and auto effects.

Control elements in tab "Color Organ" (from top to bottom):
- buttons Start and Stop for starting and stopping visualization process
- drop-down menu of Visual Schemes
- button for saving current slider positions for visual Scheme
- button for Scheme list refresh
- visual audio spectrum analyzer for monitoring of audio frequencies (spectrum)
- visual row of lights representing Effector device outputs A-L and value of elements "Beat" and "Act"
- level control sliders for "Beat", "A-L", "Act"
- area with PC audio mixer sliders and selections
- area with description of current visual Scheme
- checkbox for enabling visual effects in absence of music
- checkbox for sublist from file list.ini
- checkbox for random change of Schemes.

To start the Color Organ: 
1 Click "Start" button on the "Color Organ" tab
2 Select the sound source from the list that appears at the bottom 
- usually this will be «Wave», «What U hear», «Stereo Mix». Stereo Mix is optimal choice, if available 
- in Windows 7 and 8 in this list may not appear - see below what to do in this case 
3 Play the music track on PC (any player) .
4 From the dropdown list at the top choose any of Visual Schemes.

The main element forming visualization rules is the Scheme file. 
All schema files are located in "schemes" subfolder of Effector-12 program. 
Scheme file extension must be .lsc (Light SCheme). 
The file name will appear in the drop-down list, so it is advisable to make files names meaningful (example: spectrum mirror.lsc or running wave.lsc).

Scheme file is, in fact, the ini-file, so when creating / editing a file you need to comply with relevant rules of the ini-file: 
Ini file can contain three types of records (each record must begin on a new line) 
1 Comments. Must begin with a ";" and from the very beginning of the line (not allowed to comment on the same line of section or key) 
2 Section. These are sections (areas) of keys, united by some common principles. Section name should be in brackets, preferably typed in lowercase. (e.g., [support]). Section names must be unique within the file. 
3 Keys. Keys are kind of "named parameters". The key is stated from the very beginning of line,  preferably typed in lowercase, and shall have the value or meaning prescribed after the "=" sign. (key_name = 123 or another_key = "Any text"). Key names must be unique within the section. If you have the editor supports the themes of colored highlights - choose a theme for .ini files - it will be much easier to work with a file.

Short rules for the formation of light effects: 
- Tab "Color Organ" generates signals for 12 output channels of Effector board (A to L) 
- Signals are formed and send to Effector board per in order from channel A to L 
- The frequency of generating signals for all channels (frequency iteration) - 20 Hz 
- Rules for the values for each of the channels is given by the formula constructed in the Scheme file. 
Example: A = {band_1} * 8 - the formula to form level values for channel A 
- The result of a formula is rounded to whole numbers in range: 0-channel is not lit up, to 8- maximum brightness 
- There are 15 channels (xA to xL and xX, xY, xZ) for internal use (values are calculated at each iteration, but is not given out - they can be used to generate intermediate values).

In the formulas following elements can be used: 
- The values of the levels of audio spectrum components (fractional value in the range 0-1) 
- The values of the sliders on the form (integer values in the range 0-8) 
- The values of other formulas, previously calculated. 
In addition, you can use the special keys: 
- Iteration number - a number from 0 to 359, incremented +1 in cycles after each conversion of all channels 
- Total random number in the range 0 - 360 (calculated once, before conversion of all channels, this number is for all channels the same) 
- Individual random number in the range 0 - 360 (calculated before conversion for each channel - different for each channel).

The above values are specified in the formula with special names, enclosed in curly brackets (braces) {}:  

The level of the corresponding music frequency, set as a fractional number in the range 0 - 1.0  
{band_1} ... {band_12} - values of music frequencies levels  
{band_over} - the value of summary signal level  
{band_beat} - level value of the music spectrum that is responsible for the low-frequency beat-level  

{count} - iteration number - a number from 0 to 359, incremented by +1 in after each conversion of all channels 
{rnd} - common random number in the range 0 - 360 calculated once before conversion all channels)
{rnd_cnl} - private random number in the range 0 - 360 (calculated before conversion for each channel)  

The value of the slider, set as an integer in the range 0 - 8  
{bar_beat} - value of the slider "beat"  
{bar_1} ... {bar_12} - value of the slider 1 - 12  
{bar_act} - value of the slider "act"

Values previously calculated main channel, specified as integer in the range 0 - 8  
{A} ... {L} - the values of the channel (previously calculated) A - L 

Values of previously calculated internal channel may be any number without restrictions  
{xA} ... {xL} - values of internal channels (previously calculated) xA - xL  
{xW} ... {xZ} - values of internal channels (previously calculated) xW - xZ

The formula can use the following operators:  
x + y Addition  
x - y subtraction  
x * y multiplication  
x / y division  
x ^ y exponentiation  
x div y integer division (extract the integer part)  
x mod y remainder of the division  
cos (x) cosine of the angle, in radians  
sin (x) Sine of the angle, in radians  
tg (x) the tangent of an angle in radians  
ctg (x) the cotangent of an angle in radians  
arccos (x) arc cosine  
arcsin (x) arcsine  
ln (x) natural logarithm of 
sqrt (x) Square root of  
atan (y, x) the angle determined by the point with coordinates (x, y)  
ch (x) hyperbolic cosine (exp (x) + exp (-x)) / 2  
sh (x) hyperbolic sine (exp (x) -exp (-x)) / 2  
th (x) tanh sh (x) / ch (x)  
cth (x) hyperbolic cotangent ch (x) / sh (x)  
arcch (x) reverse ch (x)  
arcsh (x) reverse sh (x)  
arcth (x) reverse th (x)  
arccth (x) inverse cth (x)  
log (n, x) the logarithm of x to base: n ln (x) / ln (n)  
lg (x) logarithm ln (x) / ln (10)  
exp (x) exponent: e ^ x  
sqr (x) a square: x * x  
abs (x) the absolute value of the number  
sign (x) sign of the number, takes the values -1.0, + 1  
round (x [, y = 1]) round, round (x, y) = y * round (x / y)  
frac (x [, y = 1]), the fractional part, frac (x, y) = y * frac (x / y)  
trunc (x [, y]) discarding the fractional, trunc (x, y) = y * trunc (x / y)  
odd odd x  
even parity x  
floor rounding x to the lower integer  
ceil rounding x to the larger whole  
min (x [, y, ...]) find the minimum of all the arguments  
max (x [, y, ...]) we find the maximum of all arguments  
pi returns pi pi = 3.141592653589793 ...  
e returns the number of e e = 2.718281828459045 ...  
x <y takes the value 1 if the condition is satisfied, otherwise - 0  
x> y takes the value 1 if the condition is satisfied, otherwise - 0  
x <= y takes the value 1 if the condition is satisfied, otherwise - 0  
x> = y takes the value 1 if the condition is satisfied, otherwise - 0  
x = y takes the value 1 if the condition is satisfied, otherwise - 0  
x and y takes the value 1 if x <> 0 and y <> 0, otherwise - 0  
x or y takes the value 1 if x <> 0 or y <> 0, otherwise - 0  
x xor y takes the value 1 if x = 0 and y <> 0 or x <> 0 and y = 0, otherwise - 0

! Example of practical construction of the scheme, with the detailed description, can be found in the "standard scheme Standart_Scheme_eng.lsc"



















