powered by
Internal soundgen function
getRough(m, roughRange)
numeric matrix of non-negative values with rownames giving temporal modulation frequency
range of temporal modulation frequencies corresponding to roughness
Returns roughness in percent.
Helper function for calculating roughness - the proportion of energy / amplitude in the roughness range
# NOT RUN { m = matrix(rnorm(100, 10, 1), nrow = 10) rownames(m) = seq(-10, 10, length.out = nrow(m)) soundgen:::getRough(m, roughRange = c(6, 8)) # }
Run the code above in your browser using DataLab