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