Nothing
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#' Calculate Canonical Loudness (Native C++ Engine)
#'
#' Native C++ port of the bramslow2004 canonical engine, corrected per
#' AMToolbox 1.6.0 reference with noted simplifications.
#'
#' @param inputF Vector of input frequencies (Hz)
#' @param inputLdB Vector of input spectrum levels (dB/Hz, free field)
#' @param HLcf Audiogram frequencies (Hz)
#' @param HLohcdB0 OHC loss at audiogram frequencies (dB)
#' @param HLihcdB0 IHC loss at audiogram frequencies (dB)
#' @param NoChan Number of ERB channels (default 30)
#' @param E_Beg Lowest ERB rate (default 3.0)
#' @param E_End Highest ERB rate (default 32.0)
#' @param Binaural Integer indicating whether to compute binaural loudness (default 0L)
#' @return A list containing Loudness (sones), Excitation, Cams, and CFs.
#' @export
calculate_loudness_cpp <- function(inputF, inputLdB, HLcf, HLohcdB0, HLihcdB0, NoChan = 30L, E_Beg = 3.0, E_End = 32.0, Binaural = 0L) {
.Call(`_SII_calculate_loudness_cpp`, inputF, inputLdB, HLcf, HLohcdB0, HLihcdB0, NoChan, E_Beg, E_End, Binaural)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.