powered by
Internal soundgen function
getRough(m, roughRange, colNames = NULL)
numeric matrix of non-negative values with colnames giving temporal modulation frequency
the range of temporal modulation frequencies that constitute the "roughness" zone, Hz
numeric vector with frequencies corresponding to columns
Returns roughness in percent.
Helper function for calculating roughness - the proportion of energy / amplitude in the roughness range
# NOT RUN { m = modulationSpectrum(soundgen(), samplingRate = 16000)$original soundgen:::getRough(m, roughRange = c(30, Inf)) # }
Run the code above in your browser using DataLab