Skip to content

Function matrix_halfsum_halfdiff

function matrix_halfsum_halfdiff() dsp

template <int = 0>
f64x2x2 matrix_halfsum_halfdiff()

Returns a 2x2 matrix that computes half-sum/half-difference of stereo channels.

Output row 0 = (L + R) / 2, output row 1 = (L - R) / 2.

Returns
{ {0.5, 0.5}, {0.5, -0.5} } .

Fully qualified name: kfr::matrix_halfsum_halfdiff()

Declared at dsp/mixdown.hpp:97

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.