Skip to main content

greaterthaneq

greaterthaneq(
@operand 0
) -> llll

Generates an audio process operation for performing a sample-wise greater than or equal to comparison on a buffer.


Arguments

  • @operand [int/float/llll]: Comparison operand, either as a single number, envelope, or buffer. (default: 0).

Output

Greater than or equal to comparison operation [llll]


Usage

greaterthaneq is meant to be used with the process function:

$buffer = importaudio('singing.wav'); ## input buffer
$op = greaterthaneq(); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.view('after greaterthaneq process')