s <- stereo(Sine(440,1),Sine(330,1))
play(s)
play(panorama(s,30)) # now right and left tones are closer to the center
play(panorama(s,10)) # now even closer
play(panorama(s,0)) # now both at the center, the same as setChannels(s,1)
play(panorama(s,-30)) # again wider, but both sides switched
play(panorama(s,-50)) # the same as mirror(s)
Run the code above in your browser using DataLab