acoustat(wave, f, wl = 512, ovlp = 0, wn = "hanning",
tlim = NULL, flim = NULL,
aggregate = sum, fraction = 90,
plot = TRUE, type = "l", ...)
wave
(in Hz). Does not need to be specified if embedded in wave
.ftwindow
(by default
"hanning"
).sum
.TRUE
a two-frame plot is returned
with the time and frequency contours and percentiles displayed.plot
is TRUE
, type of plot that should be drawn. See plot
for details (by default "l" for lines).plot
graphical parameters.acoustat
is as follows:
wl
for window length,ovlp
for overlap of
successive windows, andwn
for the name of window shape).aggregate
set by default tosum
) accross rows and
columns of time * frequency matrix.)fraction
) that sets the percent of the contour amplitude to be captured by the initial and terminal percentile values. A fraction of 50\% would result in the familiar quartiles and interquartile range. An energy fraction of 80\% would return the 10th and 90th percentile values, and the width of the range in between.meanspec
, specprop
data(tico)
note <- cutw(tico, from=0.5, to=0.9, output="Wave")
## default setting
acoustat(note)
## change the percentile fraction
acoustat(note, fraction=50)
## change the STFT parameters
acoustat(note, wl=1024, ovlp=80)
## change the function to compute the aggregate contours
## standard deviation instead of sum
acoustat(note, aggregate=sd)
## direct time and frequency selection
acoustat(tico, tlim=c(0.5,0.9), flim=c(3,6))
## some useless graphical changes
acoustat(note, type="o", col="blue")
Run the code above in your browser using DataLab