MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ stereo_width()

MAYAFLUX_API double MayaFlux::stereo_width ( const std::vector< Kakshya::DataVariant > &  lr_channels)

Calculate stereo width measure for L/R channels.

Parameters
lr_channelsVector containing exactly 2 channels (L, R)
Returns
Stereo width value (0.0 = mono, 1.0 = full stereo)
Exceptions
std::invalid_argumentif input doesn't have exactly 2 channels