// American DJ Mega Bar LED  6ch mode
//
// Written by:  Jon Lenard
//		Applied Electronics
//		800-883-0008
//		6/13/08

				
fixture

	manufacturer = "AMERICANDJ"
	name = "MegaBar6"
	version = 1.0
//  fullmanufacturer = "American DJ"
//  fullname = "Mega Bar LED"
//  mode = 6
//  description = ""
	
	attribute
		name = "RED"
		channel = 1
		homeVal = 0
		
	attribute
		name = "GREEN"
		channel = 2
		homeVal = 0	
		
	attribute
		name = "BLUE"
		channel = 3
		homeVal = 0	
		
	attribute
		name = "MACRO"
		channel = 4
		homeVal = 0	
		
	attribute
		name = "STROBE"
		channel = 5
		homeVal = 0
		
	attribute
		name = "INTENSITY"
		channel = 6
		homeVal = 0
		minVal = 32
		maxVal = 63
		
		
		
	/////////////////////////////////////////////////////////////////////						
		
	parameter
		name = "RED"
		displayerNum = 1
		type = C
		attribList = 1,4
		stop = (M  0:255,0:14),2,"Red="
		stop = (   0:0, R15:255),N,"Use Dsp4"
		
	parameter
		name = "GREEN"
		displayerNum = 2
		type = C
		attribList = 2,4
		stop = (M  0:255, 0:14),2,"Green="
		stop = (   0:0,  R15:255),N,"Use Dsp4"
		
	parameter
		name = "BLUE"
		displayerNum = 3
		type = C
		attribList = 3,4
		stop = (M  0:255, 0:14),2,"Blue="
		stop = (   0:0,  R15:255),N,"Use Dsp4"
		
	parameter
		name = "MACRO"
		displayerNum = 4
		type = C
		attribList = 1,2,3,4
		stop = (R 0:255,R 0:255,R 0:255, 0:14),N,"UseDsp123"
		stop = (  0:0  ,  0:0  ,  0:0  ,  15:28),N,"Red"
		stop = (  0:0  ,  0:0  ,  0:0  ,  29:42),N,"Yellow"
		stop = (  0:0  ,  0:0  ,  0:0  ,  43:56),N,"Green"
		stop = (  0:0  ,  0:0  ,  0:0  ,  57:70),N,"Cyan"
		stop = (  0:0  ,  0:0  ,  0:0  ,  71:84),N,"Blue"
		stop = (  0:0  ,  0:0  ,  0:0  ,  85:98),N,"Purple"
		stop = (  0:0  ,  0:0  ,  0:0  , 99:112),N,"White"
		stop = (  0:0  ,  0:0  ,  0:0  ,113:126),N,"Change"
		stop = (  0:0  ,  0:0  ,  0:0  ,127:140),N,"Flow"
		stop = (  0:0  ,  0:0  ,  0:0  ,141:154),N,"Dream"
		stop = (  0:0  ,  0:0  ,  0:0  ,155:168),N,"Multi"
		stop = (  0:0  ,  0:0  ,  0:0  ,169:182),N,"DreamFlow"
		stop = (  0:0  ,  0:0  ,  0:0  ,183:196),N,"2 Flow"
		stop = (  0:0  ,  0:0  ,  0:0  ,197:210),N,"CangeFade"
		stop = (  0:0  ,  0:0  ,  0:0  ,211:224),N,"FlowFade"
		stop = (  0:0  ,  0:0  ,  0:0  ,225:238),N,"2FlowFade"
		stop = (  0:0  ,  0:0  ,  0:0  ,239:255),N,"Sound"
		
   parameter
		name = "STROBE"
		displayerNum = 5
		type = B
		attribList = 4,5,6
		stop = (R 0:14,      0:  15,   R 0:255),N,"Stop"
		stop = (R 0:14,   M 16: 255,   R 0: 63),2,"Strobe:"
		stop = (R 15:255, M 16: 255,   R 0:255),2,"Speed:"
		stop = (R  0:255, M 16: 255, R 128:255),2,"Speed:"
							
	parameter
		name = "CONTROL"
		displayerNum = 6
		type = C
		attribList = 6
		stop = (    0:   0),N,"Use Fader"	
		stop = (R  32:  63),N,"Use Fader"	
		stop = (  128: 159),N,"Color Mix"
		stop = (  160: 191),N,"3 Color"
		stop = (  192: 223),N,"7 Color" 
		stop = (  224: 255),N,"Sound" 
	
end