panorama: Narrow the Panorama of a Stereo Sample

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

1
panorama(object, pan = 1)

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.

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.

Value

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

Author(s)

Uwe Ligges [email protected], Sarah Schnackenberg, based on code by Matthias Heymann

See Also

Wave-class, Wave, WaveMC-class, WaveMC


tuneR documentation built on July 10, 2018, 1:02 a.m.