length of the window for the analysis
(even number of points).
zp
zero-padding (even number of points), see Details.
ovlp
overlap between two successive windows (in % ).
plot
logical, if TRUE plots the spectrogram
(by default TRUE).
magt
magnification of the time axis.
magf
magnification of the frequency axis.
maga
magnification of the amplitude axis.
palette
a color palette function to be used to assign colors in
the plot, see Details.
Value
If plot is FALSE, this function returns a matrix. Each column
corresponds to a Fourier transform of length wl.
Details
A Hanning function is applied to the analysis window.
zp adds 0 values on both sides of the analysis window. This increases
frequency resolution without altering time resolution.
Any colour palette can be used. In particular, it is possible to use other palettes coming with
seewave: spectro.colors and rev.heat.colors,
rev.cm.colors, rev.topo.colors, corresponding to the reverse
of heat.colors,topo.colors,
cm.colors.
Use magt, magf and maga to resize the plot.