Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth

 

Avisynth 
Logo

MonoToStereo

( Diese Seite in flag-germany.gif Deutsch )

MonoToStereo(left_channel_clip clip, right_channel_clip clip)

Starting from v2.5 MonoToStereo is replaced by MergeChannels. MonoToStereo converts two mono signals to one stereo signal. This can be used, if one or both channels has been modified seperately, and then has to be recombined.

The sample rate of the two clips need to be the same (use ResampleAudio if this is a problem). If either of the sources are in stereo, the signal will be taken from the corresponding channel (left channel from the left channel clip, and vice versa for right channel).

Example:

# combines two separate wave sources to a stereo signal:

left_channel = WavSource("c:\left_channel.wav")

right_channel = WavSource("c:\right_channel.wav")

return MonoToStereo(left_channel, right_channel)

SourceForge Logo

 


Edit this document | View document history
Document last modified Thu, 21 Aug 2003 17:28:25