Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
specreator
creates spectrograms of signals selected by manualoc
or autodetec
.specreator(X, wl = 512, flim = c(0, 22), wn = "hanning", pal
= reverse.gray.colors.2, ovlp = 70, inner.mar = c(5, 4, 4, 2), outer.mar =
c(0, 0, 0, 0), picsize = 1, res = 100, cexlab = 1, title = TRUE,
propwidth = FALSE, xl = 1, osci = FALSE, gr = FALSE, sc = FALSE, line = TRUE,
mar = 0.05, it = "jpeg", parallel = 1)
manualoc
or
spectro
. Default is c(0, 22).ftwindow
for more options.spectro
. Default is reverse.gray.colors.2.spectro
. Default is 70.par
.par
.TRUE
.spectro
.TRUE
.FALSE
.TRUE
. Default is 1.spectro
. Default is FALSE
.FALSE
.FALSE
.TRUE
.warbleR
from github to run parallel.
Note that creating images is not compatrackfreqs
for creating spectrograms to visualize
frequency measurements by specan
, snrspecs
for
creating spectrograms to optimize noise margins used in sig2noise
Other spectrogram.creators: dfDTW
,
dfts
, ffDTW
,
ffts
, snrspecs
,
trackfreqs
# First set empty folder
setwd(tempdir())
data(list = c("Phae.long1", "Phae.long2","manualoc.df"))
writeWave(Phae.long1, "Phae.long1.wav") #save sound files
writeWave(Phae.long2, "Phae.long2.wav")
# make spectrograms
specreator(manualoc.df, flim = c(0, 11), inner.mar = c(4,4.5,2,1), outer.mar = c(4,2,2,1),
picsize = 2, res = 300, cexlab = 2, mar = 0.05)
#check this folder!!
getwd()
Run the code above in your browser using DataLab