Computes summary statistics based on spectral similarity (consecutive pairwise comparison of PSD vectors) over user-defined time steps for specified frequency bands.
Arguments
- wave
A Wave object representing the audio file to be analyzed.
- timestep
Numeric value indicating the time step (in seconds) for segmenting the audio file to calculate the Power Spectral Densitiess.
- rmoffset
Logical value indicating whether to remove DC offset from the audio (default is TRUE).
- highpass
Numeric value indicating the cutoff frequency for the high-pass filter (in Hz, default is 0 Hz).
- lfc
A numeric vector of length 2 indicating the lower frequency range (e.g., c(0, 2) for 0-2 Hz).
- mfc
A numeric vector of length 2 indicating the mid-frequency range (e.g., c(2, 10) for 2-10 Hz).
- hfc
A numeric vector of length 2 indicating the high-frequency range (e.g., c(10, 16) for 10-16 Hz).
- ufc
A numeric vector of length 2 indicating the ultra-frequency range (e.g., c(16, 24) for 16-24 Hz).