Skip to content

Reference library > Processors: Panning > StereoWidth

StereoWidth

StereoWidth(input=0, width=1)

Reduces the width of a stereo signal. When width = 1, input is unchanged. When width = 0, outputs a pair of identical channels both containing L+R.

Examples

#-------------------------------------------------------------------------------
# Using StereoWidth to continuously alter the width of a stereo signal.
#-------------------------------------------------------------------------------
low = TriangleOscillator(220)
high = TriangleOscillator(660)
panned = ChannelArray([low, high])
width = StereoWidth(panned, TriangleLFO(0.5, 0, 1)) * 0.3
width.play()

Last update: 2024-02-15
Created: 2023-12-03