rotate
rotate(
@shift 0
@timeunit 0
) -> llll
Generates an audio process operation for rotating a buffer.
Arguments
@shift[int/float]: Shift time, depending on the@timeunitattribute. (default:0).@timeunit[int]: Time unit for@shift. (default:0).0: Milliseconds1: Samples2: Duration ratio3: Milliseconds difference4: Samples difference
Output
Rotate operation [llll]
Usage
rotate is meant to be used with the process function:
$buffer = importaudio('singing.wav'); ## input buffer
$op = rotate(@shift 2000); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.view('after rotate process')