The delta function returns the current frames value minus the last frames value. The function is thus a shortcut for this procedure:
offset = channel_value - channel_value[ frame - 1 ];
This is the same as
offset = delta( channel_value );
Since the function needs to be able to index its argument you can only use the function with indexable arguments (channels).
|