Description Usage Arguments Details Value
View source: R/utilities_analyze.R
Internal soundgen function.
1 |
frame |
the real part of the spectrum of a frame, as returned by
|
samplingRate |
sampling rate (Hz) |
bin |
the width of one bin in spectrogram, Hz |
domSmooth |
the width of smoothing interval (Hz) for finding
|
domThres |
(0 to 1) to find the lowest dominant frequency band, we do short-term FFT and take the lowest frequency with amplitude at least domThres |
pitchFloor |
absolute bounds for pitch candidates (Hz) |
Calculate the lowest frequency band in the spectrum above pitchFloor whose power exceeds a certain threshold.
Returns a list of $dom (NA or numeric) and $dom_array (either NULL or a dataframe of pitch candidates).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.