Description Usage Arguments Value
View source: R/beat_spectrum.R
Beat spectra represent the periodicity in signal amplitude. It is computed by performing a continuous wavelet transform on the envelope of a preprocessed signal, and processing the average power per frequency band.
1 | beatSpectrum(wave, min_period = 5e-04, max_period = 30, dj = 1/32, ...)
|
wave |
an R object or path to a wave file |
min_period |
the minimal rythmicity period expected, in seconds |
max_period |
the maximal rythmicity period expected, in seconds |
dj |
the frequency resolution of the cwt (in voices per octave) |
... |
extra arguments passed to |
a spectrum as a data.table
.
It contains two columns: power
and period
.
The number of rows depend on the resolution and frequency range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.