manualoc
produces an interactive spectrographic view in which the start
and end times of acoustic signals can be measured.manualoc(wl = 512, flim = c(0,12), seltime = 1, tdisp = NULL, reccomm =
FALSE, wn = "hanning", title = TRUE, selcomm = FALSE, osci = FALSE, player =
NULL, pal = reverse.gray.colors.2, path = NULL, flist = NULL, fast.spec = FALSE)
spectro
.
Default is c(0,12).TRUE
).
Default is 1 second.NULL
which displays the full sound file.TRUE
pops up a comment window at the end of each sound file.
The comment needs to be quoted. Default is FALSE
.ftwindow
for more options.TRUE
the name of the sound file will be printed as the main
title of the spectrogram window. Default is TRUE
TRUE
pops up a comment window after each selection. The
comment is printed as a label on the selected unit. The comment must be quoted. Default is FALSE
TRUE
adds a oscillogram whenever the spectrograms are produced
with higher resolution (see seltime). Default is FALSE
.NULL
.spectro
. Default is reverse.gray.colors.2. See Details.NULL
(default) then the current working directory is used.TRUE
then image function is used internally to create spectrograms, which substantially
increases performance (much faster), although some options become unavailable, as collevels, and sc (amplitude scale).
This option is indicated for signals with high background noise levels. Palette colors gray.1
, gray.2
,
gray.3
, topo.1
and rainbow.1
(which should be imported from the package monitoR) seem
to work better with 'fast' spectograms. Palette colors gray.1
, gray.2
,
gray.3
offer
decreasing darkness levels. THIS IS STILL BEING TESTED.seltailor
## Not run: ------------------------------------
# #Set temporary working directory
# setwd(tempdir())
#
# # save wav file examples
# data(list = c("Phae.long1", "Phae.long2", "Phae.long3", "Phae.long4"))
# writeWave(Phae.long1,"Phae.long1.wav")
# writeWave(Phae.long2,"Phae.long2.wav")
# writeWave(Phae.long3,"Phae.long3.wav")
# writeWave(Phae.long4,"Phae.long4.wav")
#
# manualoc(wl = 300)
# # need to use the buttoms to manipulate function
# # check working directory for .csv file after stopping function
# #check here:
# getwd()
## ---------------------------------------------
Run the code above in your browser using DataLab