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

◆ normalize_channels()

MAYAFLUX_API void MayaFlux::normalize_channels ( std::vector< Kakshya::DataVariant > &  channels,
double  target_peak = 1.0 
)

Normalize each channel independently to specified peak level (in-place)

Parameters
channelsVector of channel data (modified in-place)
target_peakTarget peak amplitude (default: 1.0)

Definition at line 578 of file Yantra.cpp.

579{
580 for (auto& channel : channels) {
581 normalize(channel, target_peak);
582 }
583}
void normalize(std::vector< double > &data, double target_peak)
Normalize single-channel data to specified peak level (in-place)
Definition Yantra.cpp:560

References normalize().

+ Here is the call graph for this function: