panorama

0th

Percentile

Narrow the Panorama of a Stereo Sample

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

Keywords
manip
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.

Wave-class, Wave, WaveMC-class, WaveMC