Channel conversion for Wave objects

Description

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

Usage

1
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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.