panorama: Narrow the Panorama of a Stereo Sample

panoramaR Documentation

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)

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 ligges@statistik.tu-dortmund.de, Sarah Schnackenberg, based on code by Matthias Heymann

See Also

Wave-class, Wave, WaveMC-class, WaveMC


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

Related to panorama in tuneR...