Learn R Programming

tuneR (version 1.4.7)

panorama: Narrow the Panorama of a Stereo Sample

Description

Generic function to narrow the panorama of a stereo Wave or WaveMC object.

Usage

panorama(object, pan = 1)

Value

An object of class Wave or class WaveMC with the transformed panorama.

Arguments

object

Object of class Wave or class WaveMC.

pan

Value in [-1,1] to narrow the panorama, see the Details below. The default (1) does not change anything.

Author

Uwe Ligges ligges@statistik.tu-dortmund.de, Sarah Schnackenberg, based on code by Matthias Heymann

Details

If abs(pan) < 1, mixtures of the two channels of the Wave or WaveMC objects are used for the left and the right channel of the returned Sample object if the object is of class Wave, resp. for the first and second channel of the returned Sample object if the object is of class WaveMC, so that they appear closer to the center.

For pan = 0, both sounds are completely in the center (i.e. averaged).

If pan < 0, the left and the right channel (for Wave objects, the first and the second channel for WaveMC objects) are interchanged.

See Also

Wave-class, Wave, WaveMC-class, WaveMC