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, path = NULL, pb = TRUE)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.NULL (default) then the current working directory is used.TRUE. Note that progress bar is only used
when parallel = 1.spectro function from the 'seewave' package. The function creates spectrograms for visualization of vocalizations.
Setting inner.mar to c(4,4.5,2,1) and outer.mar to c(4,2,2,1) works well when picsize = 2 or 3.
Title font size, inner.mar and outer.mar (from mar and oma) don't work well when osci or sc = TRUE,
this may take some optimization by the user.
trackfreqs for creating spectrograms to visualize
frequency measurements by specan, snrspecs for
creating spectrograms to optimize noise margins used in sig2noiseOther spectrogram.creators: dfDTW,
dfts, ffDTW,
ffts, snrspecs,
trackfreqs
## Not run:
# # 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), res = 300, mar = 0.05, wl = 300)
#
# #' #check this folder!!
# getwd()
# ## End(Not run)
Run the code above in your browser using DataLab