lib/minim/src/ddf/minim/ugens/Wavetable.java
/**
	 * Flip the values in the table around a particular value. For example, if
	 * you flip around 2, values greater than 2 will become less than two by the
	 * same amount and values less than 2 will become greater than 2 by the same
	 * amount. 3 -&gt; 1, 0 -&gt; 4, etc.
	 * 
	 * @shortdesc Flip the values in the table around a particular value.
	 * 
	 * @example Synthesis/WavetableMethods
	 * 
	 * @param in
	 *            float: the value to flip the table around
	 *            
	 * @related Wavetable
	 */
Flip the values in the table around a particular value. For example, if
you flip around 2, values greater than 2 will become less than two by the
same amount and values less than 2 will become greater than 2 by the same
amount.

@shortdesc Flip the values in the table around a particular value.



@param in
float: the value to flip the table around

@related Wavetable
Flip the values in the table around a particular value . For example if you flip around 2 values greater than 2 will become less than two by the same amount and values less than 2 will become greater than 2 by the same amount . @shortdesc Flip the values in the table around a particular value . @param in float : the value to flip the table around @related Wavetable
public void flip(float in)
	{
		for ( int i = 0; i < waveform.length; i++ )
		{
			if ( waveform[i] > in )
				waveform[i] = in - ( waveform[i] - in );
			else
				waveform[i] = in + ( in - waveform[i] );
		}
	}
public void flip ( float in ) { for ( int i = 0 ; i < waveform . length ; i ++ ) { if ( waveform [ i ] > in ) waveform [ i ] = in - ( waveform [ i ] - in ) ; else waveform [ i ] = in + ( in - waveform [ i ] ) ; } }
Flip the values in the table around a particular value.
Flip the values in the table around a particular value .