1
$\begingroup$

Is there a function that takes right channel of audio and combines it with inverted left channel of audio? Do not confuse inverted with reversed.

The following does not work since it does not allow negative arguments.

AudioChannelMix[someaudio, {"Mono", {1, -1}}]

AudioChannelCombine is also of no use.

$\endgroup$
2
$\begingroup$
a = ExampleData[{"Audio", "Bird"}, "Audio"];
{lc, rc} = AudioChannelSeparate[a];
Audio[(AudioData[rc] - AudioData[lc])/2] // AudioNormalize
$\endgroup$
1
  • $\begingroup$ I do not understand why they did not integrate it in the AudioChannelMix. It is standard of all audio editing software to be able mixing channels also with negative weights. Too long code for a trivial task. $\endgroup$ Oct 9 '20 at 23:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.