lib/minim/src/ddf/minim/ugens/Wavetable.java
/**
	 * Inverts all values in the table that are less than zero. -1 -&gt; 1, -0.2 -&gt; 0.2, etc.
	 * 
	 * @example Synthesis/WavetableMethods
	 * 
	 * @related Wavetable
	 */
Inverts all values in the table that are less than zero.



@related Wavetable
Inverts all values in the table that are less than zero . @related Wavetable
public void rectify()
	{
		for ( int i = 0; i < waveform.length; i++ )
		{
			if ( waveform[i] < 0 )
				waveform[i] *= -1;
		}
	}
public void rectify ( ) { for ( int i = 0 ; i < waveform . length ; i ++ ) { if ( waveform [ i ] < 0 ) waveform [ i ] *= - 1 ; } }
Inverts all values in the table that are less than zero.
Inverts all values in the table that are less than zero .