Class GainCalculatorHOA

Class Documentation

class ear::GainCalculatorHOA

Gain calculator for typeDefinition == “HOA”.

Public Functions

GainCalculatorHOA(const Layout &layout)
template<typename T>
void calculate(const HOATypeMetadata &metadata, std::vector<std::vector<T>> &gains, const WarningCB &warning_cb = default_warning_cb)

Calculate a decode matrix for metadata.

Gains contains one vector of per-loudspeaker gains per input channel, and must be the right size before calling.