src/codeandchords/ModuleMenu.java
public void addModulateSliders(int xVal, int[] modulateYVals)
	{
		this.redGreenBlueMod		 	= new float[3];

		String[]	values	= new String[] { "Red Modulate", "Green Mod.", "Blue Modulate" };

		this.firstRGBSliderId	= this.nextSliderId;
		for(int i = 0; i < modulateYVals.length; i++)
		{
			this.addSliderGroup(xVal, modulateYVals[i], values[i], -255, 255, 0, "color");
		} // for
	}
/**
	 * Method called during instantiation, to initialize the RGB color modulate sliders.
	 * 
	 * @param xVal 	x value for the leftmost edge of this group
	 * @param modulateYVals	int[] of the y values of the red, green, and blue sliders, respectively.
	 */
Method called during instantiation, to initialize the RGB color modulate sliders.

@param xVal  x value for the leftmost edge of this group
@param modulateYVals int[] of the y values of the red, green, and blue sliders, respectively.
Method called during instantiation to initialize the RGB color modulate sliders . @param xVal x value for the leftmost edge of this group @param modulateYVals int [] of the y values of the red green and blue sliders respectively .
public void addModulateSliders(int xVal, int[] modulateYVals)
	{
		this.redGreenBlueMod		 	= new float[3];
		String[]	values	= new String[] { "Red Modulate", "Green Mod.", "Blue Modulate" };
		this.firstRGBSliderId	= this.nextSliderId;
		for(int i = 0; i < modulateYVals.length; i++)
		{
			this.addSliderGroup(xVal, modulateYVals[i], values[i], -255, 255, 0, "color");
		} 
	}
public void addModulateSliders ( int xVal , int [ ] modulateYVals ) { this . redGreenBlueMod = new float [ 3 ] ; String [ ] values = new String [ ] { "Red Modulate" , "Green Mod." , "Blue Modulate" } ; this . firstRGBSliderId = this . nextSliderId ; for ( int i = 0 ; i < modulateYVals . length ; i ++ ) { this . addSliderGroup ( xVal , modulateYVals [ i ] , values [ i ] , - 255 , 255 , 0 , "color" ) ; } }
Method called during instantiation, to initialize the RGB color modulate sliders.
Method called during instantiation to initialize the RGB color modulate sliders .
// for