Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to mix two audio channels?

I have two mono audio channels (pcm format) of audio call, incoming and outgoing. how to mix them? how to position them in space? (e.g. incoming channel sounds slightly on the left and outgoing on the right)

like image 292
Andriy Tylychko Avatar asked Dec 30 '10 23:12

Andriy Tylychko


People also ask

What is a mix channel?

A channel mix plan for a social and behavior change communication (SBCC) program is a strategic document that identifies the types of communication channels that best reach the priority audience to deliver the messages and the optimal blend of channels that maximizes reach and effectiveness of the messages.

How do I edit audio channels?

Choose audio channel settingsChoose a channel configuration preset to quickly assign Channel Format and Number of Audio Clips settings. Choose a Clip Channel Format to assign channels as mono, stereo, 5.1, or Adaptive. Select the number of clips that will be added when the clip is edited into sequences.


1 Answers

Mixing is just a weighted addition of both signals. So if you want them to be equal in one mono signal, lower both signals by a factor of 2 and add them. If you want to position them in the stereo space, use different weighting on the left and right channel. For example 0.6 of signal 1 and 0.4 of signal 2 on the left channel and vice versa on the right channel will do the trick. For better results, a slight timeshift would be necessary, but that depends on your needs.

like image 117
groovingandi Avatar answered Oct 11 '22 11:10

groovingandi