The replacement form can be used to reset the number of channels of a Sample object (here, filenames are not accepted).
If a mono sample is transformed into a stereo sample, each channel of the stereo sample equals the waveform of the mono sample. If a stereo Sample is transformed to a mono sample, (left(s)+right(s))/2 is returned.