spectrogram_contour: Calculate contour polygons from a spectrogram

Description Usage Arguments Examples

View source: R/spectrogram_contour.R

Description

Calculate contour polygons from a spectrogram

Usage

1
spectrogram_contour(spectrogram, contour.level = NULL)

Arguments

spectrogram

A spectrogram as generated by wav2spectrogram

contour.level

A vector of contour levels. If one number it is used as the step size in the vector.

Examples

1
2
3
4
5
 wav <- read_wav(
   system.file("demo_wav/leislers.wav", package = "rhinolophus")
 )
 spectrogram <- wav2spectrogram(wav)
 spectrogram_contour(spectrogram)

ThierryO/rhinolophus documentation built on Sept. 3, 2017, 6:47 a.m.