Internal soundgen function called by pitchShift().
dPhase(
phase,
magn,
step_s,
freqs,
alpha,
propagation = c("time", "adaptive")[1],
tol = 10^(-6),
nr = nrow(phase),
nc = ncol(phase)
)
phase and magnitude of a spectrogram
step in s
a vector of central frequencies per bin
stretch factor
the method for propagating phase: "time" = horizontal propagation (default), "adaptive" = an experimental implementation of "vocoder done right" (Prusa & Holighaus 2017)
tolerance of "vocoder done right" algorithm
dimensions of input spectrogram