downsample: Downsampling a Wave or WaveMC object

View source: R/downsample.R

downsampleR Documentation

Downsampling a Wave or WaveMC object

Description

Downsampling an object of class Wave or class WaveMC.

Usage

downsample(object, samp.rate)

Arguments

object

Object of class Wave or class WaveMC.

samp.rate

Sampling rate the object is to be downsampled to. samp.rate must be in [2000, 192000]; typical values are 11025, 22050, and 44100 for CD quality. If the object's sampling rate is already equal or smaller than samp.rate, the object will be returned unchanged.

Value

An object of class Wave or class WaveMC.

Author(s)

Uwe Ligges ligges@statistik.tu-dortmund.de

See Also

Wave-class, Wave, WaveMC-class, WaveMC


tuneR documentation built on May 29, 2024, 11:28 a.m.

Related to downsample in tuneR...