Skip to main content

groove

groove(
@rate 1
@duration 1000
) -> llll

Audio processing operation for applying variable-rate sample playback to a buffer.


Arguments

  • @rate [int/float/list/llll]: playback rate, as either a single number, envelope, or control buffer. (default: 1).
  • @duration [int/float]: duration in milliseconds. Ignored if @rate is a buffer. (default: 1000).

Output

groove operation [llll]


Usage

groove is meant to be used with the process function:

$buffer = importaudio('singing.wav'); ## input buffer
$op = groove(@rate 0.5 2 @duration 5000); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.inspect('after groove process')