warpMatrix | R Documentation |
Internal soundgen function
warpMatrix(m, scaleFactor, interpol = c("approx", "spline")[1])
m |
matrix (rows = frequency bins, columns = time) |
scaleFactor |
1 = no change, >1 = raise formants |
interpol |
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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.