resamp {seewave} | R Documentation |
This function resamples (down- or over-samples) a time wave. This corresponds to a sampling frequency change.
resamp(wave, f, g)
wave |
data describing a time wave. |
f |
sampling frequency of wave . |
g |
new sampling frequency of wave . |
Data are returned as a one-column matrix.
Resampling might change frequency properties of the time wave.
Jérôme Sueur jerome.sueur@ibaic.u-psud.fr
data(peewit) # downsampling a<-resamp(peewit,f=22050,g=11025) # oversampling b<-resamp(peewit,f=22050,g=44100)