freqshift
freqshift(
@shift 0
@negative 0
) -> llll
Generates an audio process operation for applying frequency shifting to a buffer.
Arguments
@shift
[int/float/list/llll]: Frequency shift in Hertz, as either a single number, an envelope or buffer. (default:0
).@negative
[int]: Include negative sideband in output. (default:0
).0
: Off1
: On
Output
Freqshift operation [llll]
Usage
freqshift
is meant to be used with the process
function:
$buffer = importaudio('singing.wav'); ## input buffer
$op = freqshift(-20); ## processing operation
$buffer = $buffer.process($op); ## apply processing
$buffer.view('after freqshift process')