paulfreeze
paulfreeze(
@duration 1000
@position 0
@jitter 0
@timeunit 0
@spectral 0
@framesize 8192
) -> llll
Generates an audio process operation for freezing a buffer.
Arguments
@duration
[int/float]: Freezing duration, based on@timeunit
. (default:1000
).@position
[int/float]: Freezing time position (default:0
).@jitter
[int/float]: Variation around time position, in milliseconds. To use entire buffer, use'all'
. (default:0
).@timeunit
[int]: Time unit. (default:0
).0
: Milliseconds1
: Samples2
: Duration ratio3
: Milliseconds difference4
: Samples difference
@spectral
[int]: Stretching mode. (default:0
).0
: Frequency domain1
: Time domain
@framesize
[int]: Analysis frame size, in samples. (default:8192
).
Output
Paulfreeze operation [llll]
Usage
paulfreeze
is meant to be used with the process
function:
$buffer = importaudio('singing.wav'); ## input buffer
$op = paulfreeze(); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.view('after paulfreeze process')