Skip to main content

todiffs

todiffs() -> llll

Generates an audio process operation to perform discrete differentiation of a buffer. This is the equivalent of x2dx for buffer samples.


Output

todiffs operation [llll]


Usage

todiffs is meant to be used with the process function:

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