Universal spectrogram function.

spectrogram(
  x,
  fs = NULL,
  method,
  output = "tibble",
  wintime = 25,
  steptime = 10
)

Arguments

x

a signal, `tuneR` WAVE object, or the path to an .wav or .mp3 file.

fs

sample rate if supplying the signal as a vector

method

spectrogram implementation to use

output

format of output

wintime

length of analysis window in ms

steptime

interval between steps in ms

Value

Returns a spectrogram in the desired format