Internal soundgen function
.bandpass(
audio,
lwr,
upr,
action = c("pass", "stop")[1],
na.rm = TRUE,
normalize = FALSE,
plot = FALSE,
width = 900,
height = 500,
units = "px",
res = NA,
...
)
a list returned by readAudio
cutoff frequencies, Hz. Specifying just lwr gives a low-pass filter, just upr high-pass filter with action = 'pass' (or vice versa with action = 'stop'). Specifying both lwr and upr a bandpass/bandstop filter, depending on 'action'
cutoff frequencies, Hz. Specifying just lwr gives a low-pass filter, just upr high-pass filter with action = 'pass' (or vice versa with action = 'stop'). Specifying both lwr and upr a bandpass/bandstop filter, depending on 'action'
"pass" = preserve the selected frequency range (bandpass), "stop" = remove the selected frequency range (bandstop)
if TRUE, NAs are interpolated, otherwise they are preserved in the output
if TRUE, resets the output to the original scale (otherwise filtering often reduces the amplitude)
should a spectrogram be plotted? TRUE / FALSE
graphical parameters for saving plots passed to
png
graphical parameters for saving plots passed to
png
graphical parameters for saving plots passed to
png
graphical parameters for saving plots passed to
png
other graphical parameters