retune
retune(
@pitchgrid 0
@threshold 0
@ambiencethreshold 0.3
@amount 100
@bypass 100
@quality 'basic'
) -> llll
Generates an audio process operation for applying Ztx-based autotune to a buffer.
Arguments
@pitchgrid[int/float/list]: Pitch grid to retune to, as a list of pitch classes. (default:0).@threshold[int/float]: Correction threshold. (default:0).@ambiencethreshold[int/float]: Correction ambience threshold, between -10 and 10. (default:0.3).@amount[int/float]: Pitch correction amount. (default:100).@bypass[int/float]: Pitch correction auto-bypass threshold, at which signal passes unaffected. (default:100).@quality[symbol]: Pitch correction quality. (default:'basic').'basic''good''better''best'
Output
Retune operation [llll]
Usage
retune is meant to be used with the process function:
$buffer = importaudio('singing.wav'); ## input buffer
$op = retune(); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.view('after retune process')