Skip to contents

Interactive Spectrogram with Standardized Resolution

Usage

spectrogram_plotly(
  wave,
  floor = -50,
  background = "#274C77",
  foreground = "white",
  hover_bgcolor = "white",
  hover_fontcolor = "black",
  overlap = 50,
  zero_padding = 0
)

Arguments

wave

A Wave object.

floor

Background noise level, in dB FS.

background

Background color.

foreground

Color for plot lines and spectral signatures.

hover_bgcolor

Color for the hover background.

hover_fontcolor

Color for the hover text.

overlap

FFT overlap.

zero_padding

Number of zeroes to be added around the signal to improve frequency resolution.

Value

An interactive spectrogram.

Examples

if (FALSE) { # \dontrun{
data(coryphoda)
spectrogram_plotly(coryphoda)
} # }