powered by
Internal soundgen function
warpMatrix(m, scaleFactor, interpol = c("approx", "spline")[1])
matrix (rows = frequency bins, columns = time)
1 = no change, >1 = raise formants
interpolation method
Warps or scales each column of a matrix (normally a spectrogram).
a = matrix(1:12, nrow = 4) a soundgen:::warpMatrix(a, 1.5, 'approx') soundgen:::warpMatrix(a, 1/1.5, 'spline')
Run the code above in your browser using DataLab