Plot a spectrogram
spectro(
wave,
channel = "left",
FFT_size = 256,
FFT_overlap = 0.875,
FFT_win = "hann",
LPF,
HPF = 0,
tlim = NULL,
flim = NULL,
ticks_y = NULL,
col = gray.colors(25, 1, 0)
)a Wave object.
character. Channel to keep for analysis in a stereo recording: "left" or "right". Default setting is left.
integer. Size of the Fast Fourrier Transform (FFT) window. Default setting is 256.
numeric. Percentage of overlap between two FFT windows (from 0 to 1). Default setting is 0.875.
character. Specify the type of FFT window: "hann", "blackman4", or "blackman7". Default setting is "hann".
integer. Low-Pass Filter (Hz). Frequencies above the cutoff are greatly attenuated. Default setting is the Nyquist frequency of the recording.
integer. High-Pass Filter (Hz). Frequencies below the cutoff are greatly attenuated. Default setting is 0 Hz.
numeric. Specify the time limits on the X-axis in seconds (s).
Default setting is NULL, i.e no time limits.
numeric. Specify the frequency limits on the Y-axis in Hz. Default
setting is NULL, i.e. frequency limits are equal to c(0, LPF).
numeric. Whether tickmarks should be drawn on the frequency Y-axis or not.
The lower and upper bounds of the tickmarks and their intervals (in Hz) has to be specified.
Default setting is NULL.
set the colors for the amplitude scale (dB) of the spectrogram.
# NOT RUN {
data(myotis)
spectro(myotis, tlim = c(1, 2))
# }
Run the code above in your browser using DataLab