MayaFlux 0.1.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 576 of file Yantra.cpp.

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

References normalize().

+ Here is the call graph for this function: