channel: Channel conversion for Wave objects

View source: R/channel.R

channelR Documentation

Channel conversion for Wave objects

Description

Convenient wrapper to extract one or more channels (or mirror channels) from an object of class Wave.

Usage

channel(object, which = c("both", "left", "right", "mirror"))

Arguments

object

Object of class Wave.

which

Character indicating which channel(s) should be returned.

Details

For objects of WaveMC-class, channel selection can be performed by simple matrix indexing, e.g. WaveMCobject[,2] selects the second channel.

Value

Wave object including channels specified by which.

Author(s)

Uwe Ligges ligges@statistik.tu-dortmund.de

See Also

Wave, Wave-class, mono, extractWave


tuneR documentation built on Nov. 27, 2023, 5:11 p.m.

Related to channel in tuneR...