Linear Frequency Shift
This function linearly shifts all the frequency content of a time wave.
lfs(wave, f, channel = 1, shift, wl = 1024, ovlp = 75, wn = "hanning", fftw = FALSE, output = "matrix")
wave |
an R object. |
f |
sampling frequency of |
channel |
channel of the R object, by default left channel (1). |
shift |
positive or negative frequency shift to apply (in Hz). |
wl |
window length for the analysis (even number of points, by default = 1024). |
ovlp |
overlap between successive FFT windows (in %, by default 75%). |
wn |
window name, see |
fftw |
if |
output |
character string, the class of the object to return, either
|
If plot
is FALSE
, a new wave is returned. The class
of the returned object is set with the argument output
.
Jerome Sueur sueur@mnhn.fr and Thierry Aubin thierry.aubin@u-psud.fr
Hopp, S. L., Owren, M. J. and Evans, C. S. (Eds) 1998. Animal acoustic communication. Springer, Berlin, Heidelberg.
data(orni) a<-lfs(orni,f=22050,shift=1000) spectro(a,f=22050) # to be compared with the original signal spectro(orni,f=22050)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.