Analysis of short-term Root Mean Square amplitude (From the 'wrassp' package)
rmsana.Rd
rmsana function adapted from libassp
Usage
rmsana(
listOfFiles = NULL,
optLogFilePath = NULL,
beginTime = 0,
centerTime = FALSE,
endTime = 0,
windowShift = 5,
windowSize = 20,
effectiveLength = TRUE,
linear = FALSE,
window = "HAMMING",
toFile = TRUE,
explicitExt = NULL,
outputDirectory = NULL,
forceToLog = useWrasspLogger,
verbose = TRUE
)
Arguments
- listOfFiles
vector of file paths to be processed by function
- optLogFilePath
path to option log file
- beginTime
= <time>: set begin of analysis interval to <time> seconds (default = 0: begin of file)
- centerTime
= <time>: set single-frame analysis with the analysis window centred at <time> seconds; overrules beginTime, endTime and windowShift options
- endTime
= <time>: set end of analysis interval to <time> seconds (default: end of file)
- windowShift
= <dur>: set analysis window shift to <dur> ms (default: 5.0)
- windowSize
= <dur>: set analysis window size to <dur> ms; overrules effectiveLength option
- effectiveLength
make window size effective rather than exact
- linear
calculate linear RMS values (default: values in dB)
- window
= <type>: set analysis window function to <type> (default: HAMMING)
- toFile
write results to file (default extension is .rms)
- explicitExt
set if you wish to override the default extension
- outputDirectory
directory in which output files are stored. Defaults to NULL, i.e. the directory of the input files
- forceToLog
is set by the global package variable useWrasspLogger. This is set to FALSE by default and should be set to TRUE is logging is desired.
- verbose
display infos & show progress bar
Details
Analysis of short-term Root Mean Square amplitude of the signal in <listOfFiles>. Per default, the RMS values are expressed in decibel (dB) so that they correspond to the short-term power of the signal. Analysis results will be written to a file with the base name of the input file and extension '.rms'. Default output is in SSFF binary format (track 'rms').