spectrogram {retimer}R Documentation

spectrogram

Description

Universal spectrogram function.

Usage

spectrogram(
  x,
  fs = NULL,
  method = NULL,
  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. Available options are 'phonTools', 'tuneR', 'gsignal', and 'seewave'. Default is to select the first of these methods that is available.

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


[Package retimer version 0.1.3 Index]