Import a Stereo Wave File as Mono and Optionally Remove DC Offset
Source:R/import_stereo_mix.R
import_stereo_mix.RdThis function reads a stereo wave file, converts it to mono by averaging both channels,
and optionally removes the DC offset from the audio signal. The removal of the DC offset
is controlled by the remove.dc.off parameter. This function uses the tuneR
package to read and convert the wave file and the seewave package to remove the DC offset.