- analysis.type
type of analysis intended. If analysis.type = "threeDshape"
, semilandmarks are acquired from spectrogram data using a 3D representation of sound (same as in MacLeod et al., 2013). If analysis.type = "twoDshape"
and add.points = TRUE
, semilandmarks are acquired using energy quantiles and a 2D curve of relative amplitude. By default: analysis.type = NULL
(i.e. method must be specified before the analysis).
- wav.at
filepath to the folder where ".wav"
files are stored. Should be presented between quotation marks. By default: wav.at = NULL
(i.e. user must specify the filepath to ".wav"
files)
- store.at
filepath to the folder where spectrogram plots and tps
file will be stored. Should be presented between quotation marks. By default: store.at = wav.at
(i.e. store outputs in the same folder as ".wav"
files)
- dBlevel
absolute amplitude value to be used as relative amplitude contour, which will serve as reference for semilandmark acquisition in both analysis.type = "threeDshape"
and "twoDshape"
. By default: dBlevel = 25
- flim
modifications of the frequency limits (Y-axis). Vector with two values in kHz. By default: flim = c(0, 10)
- tlim
modifications of the time limits (X-axis). Vector with two values in seconds. By default: tlim = c(0, 1)
- x.length
only applies when analysis.type = "threeDshape"
. Length of sequence (i.e. number of cells per side on sound window) to be used as sampling grid coordinates on the time (X-axis). By default: x.length = 80
- y.length
only applies when analysis.type = "threeDshape"
. Length of sequence (i.e. number of cells per side on sound window) to be used as sampling grid coordinates on the frequency (Y-axis). By default: y.length = 60
- log.scale
only applies when analysis.type = "threeDshape"
. A logical. If TRUE
, eigensound
will use a logarithmic scale on the time (X-axis), which is recommeded when the analyzed sounds present great variation on this axis (e.g. emphasize short duration sounds). If FALSE
, a linear scale is used instead (same as MacLeod et al., 2013). By default: log.scale = TRUE
- back.amp
only applies when analysis.type = "twoDshape"
and plot.exp = TRUE
. Absolute amplitude value to be used as background in the 2D spectrogram plot. By default: back.amp = 35
- add.points
only applies when analysis.type = "twoDshape"
. A logical. If TRUE
, eigensound
will compute semilandmarks acquired by cross-correlation between energy quantiles (i.e. EQ
) and a curve of relative amplitude (i.e. dBlevel
). If plot.exp = TRUE
, semilandmarks will be included in spectrogram plots. By default: add.points = FALSE
(see Details
)
- add.contour
only applies when analysis.type = "twoDshape"
and plot.exp = TRUE
. A logical. If TRUE
, exported spectrogram plots will include the curves of relative amplitude at the level specified by dBlevel
. By default: add.contour = TRUE
- lwd
only applies when plot.exp = TRUE
and add.contour = TRUE
. The line width for the curves of relative amplitude at the level specified by dBlevel
. Same as in par
. By default: lwd = 1
- EQ
only applies when analysis.type = "twoDshape"
and add.points = TRUE
. A vector of energy quantiles intended (with 0 < EQ < 1
). By default: EQ = c(0.05, 0.15, 0.3, 0.5, 0.7, 0.85, 0.95)
Note: When dealing with narrow banded calls, consider reducing the number of quantiles to prevent errors in the analysis.
- mag.time
only applies when analysis.type = "twoDshape"
. Optional argument for magnifying the time coordinates (X-axis). This is sometimes desired for small sound windows (e.g. less than 1 s), in which the time coordinates will be on a different scale than that of frequency coordinates. In those cases, it is recommended to include mag.time = 10
or mag.time = 100
, depending on the lenght of sound window. By default: mag.time = 1
(i.e. no magnification is performed)
- f
sampling frequency of Wave
's for the analysis (in Hz). By default: f = 44100
- wl
length of the window for the analysis. By default: wl = 512
- ovlp
overlap between two successive windows (in %) for increased spectrogram resolution. By default: ovlp = 70
- plot.exp
a logical. If TRUE
, for each ".wav"
file on the folder indicated by wav.at
, eigensound
will store a spectrogram image on the folder indicated by store.at
. Depending on the analysis.type
, plots may consist of 2D or 3D spectrogram images. By default: plot.exp = TRUE
- plot.as
only applies when plot.exp = TRUE
. plot.as = "jpeg"
will generate compressed images for quick inspection of semilandmarks; plot.as = "tiff"
or "tif"
will generate uncompressed high resolution images that can be edited and used for publication. By default: plot.as = "jpeg"
- plot.type
only applies when analysis.type = "threeDshape"
and plot.exp = TRUE
. plot.type = "surface"
will produce simplified 3D sound surfaces from the calculated semilandmarks (same output employed by MacLeod et al., 2013); plot.type = "points"
will produce 3D graphs with semilandmarks as points. By default: plot.type = "surface"
- rotate.Xaxis
only applies when analysis.type = "threeDshape"
and plot.exp = TRUE
. Rotation of the X-axis. Same as theta
from persp3D
(plot3D
package). By default: rotate.Xaxis = 60
- rotate.Yaxis
only applies when analysis.type = "threeDshape"
and plot.exp = TRUE
. Rotation of the Y-axis. Same as phi
from persp3D
(plot3D
package). By default: rotate.Yaxis = 40
- TPS.file
Desired name for the tps
file containing semilandmark coordinates. Should be presented between quotation marks. Note: Whenever analysis.type = "twoDshape"
, it will only work if add.points = TRUE
. By default: TPS.file = NULL
(i.e. prevents eigensound
from creating a tps
file)