lessthan
lessthan(
@operand 0
) -> llll
Generates an audio process operation for performing a sample-wise less than comparison on a buffer.
Arguments
@operand[int/float/llll]: Comparison operand, either as a single number, envelope, or buffer. (default:0).
Output
Less than comparison operation [llll]
Usage
lessthan is meant to be used with the process function:
$buffer = importaudio('singing.wav'); ## input buffer
$op = lessthan(); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.view('after lessthan process')