constructs a perfect sawtooth wave with the specified duty cycle . concode_field_sep Wavetable SINE concode_elem_sep Wavetable SAW concode_elem_sep Wavetable PHASOR concode_elem_sep Wavetable SQUARE concode_elem_sep Wavetable TRIANGLE concode_elem_sep int tSby4 concode_elem_sep int tableSize concode_elem_sep int tSby2 concode_elem_sep Wavetable QUARTERPULSE concode_field_sep Wavetable add concode_elem_sep Wavetable square concode_elem_sep Wavetable randomNHarms concode_elem_sep Wavetable squareh concode_elem_sep Wavetable randomNOddHarms concode_elem_sep Wavetable pulse concode_elem_sep Wavetable sawh concode_elem_sep Wavetable triangleh concode_elem_sep Wavetable randomNoise concode_elem_sep Wavetable triangle
Wavetable function ( float arg0 ) { arg0 = Math . max ( 0 , Math . min ( arg0 , 1 ) ) ; int loc0 = ( int ) ( tableSize * arg0 ) ; return WavetableGenerator . gen7 ( tableSize , new float [ ] { 0 , - 1 , 1 , 0 } , new int [ ] { loc0 , 0 , tableSize - loc0 } ) ; }