Help Contents / Arithmetic / Numeric Operations / saturateAbove

saturateAbove limit in

outputs a new FloatArray, IntArray or Int16Array, depending on the type of the input, of the saturated FloatArray, IntArray or Int16Array in. Every item of in is checked if it goes above the limit. If it does, the limit is output. 

Example: 

	saturateAbove 50 rseqFA 1 100 10 
	;{1 12 23 34 45 50 50 50 50 50}  ;-) 


previous: lowPassFilter	next: saturateBelow
