void function ( ) { for ( int loc0 = 0 ; loc0 < waveform . length ; loc0 ++ ) { if ( waveform [ loc0 ] < 0 ) waveform [ loc0 ] *= - 1 ; } }
inverts all values in the table that are less than zero . -1 - > 1 , -0.2 - > 0.2 , etc. . concode_field_sep float lengthForValue concode_elem_sep float[] waveform concode_field_sep void set concode_elem_sep void offset concode_elem_sep void invert concode_elem_sep void setWaveform concode_elem_sep void scale concode_elem_sep float[] getWaveform concode_elem_sep int size concode_elem_sep float get concode_elem_sep void normalize concode_elem_sep float value concode_elem_sep void flip concode_elem_sep void addNoise concode_elem_sep void smooth concode_elem_sep void warp